Function at 0x14000d6d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, r8
mov rax, rdx
mov rdi, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rbp - 0x31], r15d
mov byte [rbp - 0x59], sil
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.14000d380
mov r14, rax
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x51], r15b
lea r8d, [r15 + 1]
lea rdx, [0x14014c534]
lea rcx, [rbp - 0x51]
call fcn.140008ab0
nop
mov dword [rsp + 0x20], 0xffffffff
lea r8, [rbp - 0x51]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14002d700
nop
lea rcx, [rbp - 0x51]
call fcn.140008a50
mov rdx, qword [rbp - 0x21]
mov rax, rdx
mov rcx, qword [rbp - 0x29]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14000d809
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov dword [rbp - 0x31], 2
lea rdx, [rbp - 0x51]
call fcn.14001a690
nop
lea esi, [r15 + 1]
lea rcx, [rbp + 0xf]
call fcn.140008840
movups xmm0, xmmword [rbp - 0x51]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbp - 0x41]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
lea rcx, [rbp - 0x51]
call fcn.140008840
mov rdx, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
sub rdx, rcx
sar rdx, 5
cmp rdx, 1
jbe 0x14000d86f
add rcx, 0x20
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
or esi, 8
mov dword [rbp - 0x31], esi
lea rdx, [rbp - 0x51]
call fcn.14001a690
nop
lea rcx, [rbp - 0x11]
call fcn.140008840
movups xmm0, xmmword [rbp - 0x51]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rbp - 0x41]
movups xmmword [rbp - 1], xmm1
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
lea rcx, [rbp - 0x51]
call fcn.140008840
nop
lea rcx, [rbp - 0x29]
call fcn.14000d9f0
lea rcx, [rbp + 0xf]
call fcn.14000d5f0
mov rbx, rax
lea rcx, [rbp - 0x11]
call fcn.14000d5f0
mov rcx, qword [rdi]
mov qword [rdi + 8], rcx
mov r8, rbx
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000d986
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x14000d986
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000d986
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x14000d986
mov rbx, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, rbx
sub rcx, rdx
cmp rsi, rcx
jae 0x14000d907
lea rbx, [rdx + rsi]
jmp 0x14000d939
jbe 0x14000d93d
mov rax, qword [rdi + 0x10]
sub rax, rdx
cmp rsi, rax
jbe 0x14000d926
mov rdx, rsi
mov rcx, rdi
call fcn.1400103d0
mov rbx, qword [rdi + 8]
jmp 0x14000d93d
mov r8, rsi
sub r8, rcx
mov rcx, rbx
add rbx, r8
xor edx, edx
call fcn.1400ec680
mov qword [rdi + 8], rbx
mov rcx, qword [rdi]
sub rbx, rcx
test rsi, rsi
je 0x14000d986
test rcx, rcx
jne 0x14000d95a
call fcn.1400f37f4
mov dword [rax], socket
jmp 0x14000d981
cmp rbx, rsi
jb 0x14000d96c
mov r8, rsi
mov rdx, r15
call fcn.1400ec270
jmp 0x14000d986
mov r8, rbx
xor edx, edx
call fcn.1400ec680
call fcn.1400f37f4
mov dword [rax], 0x22
call fcn.1400f3590
mov rbx, qword [rdi + 8]
sub rbx, qword [rdi]
cmp byte [rbp - 0x59], 0
je 0x14000d99d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rbp - 0x11]
call fcn.140008840
nop
lea rcx, [rbp + 0xf]
call fcn.140008840
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e9d60
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret