Function at 0x1800d2fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
call fcn.1800d3e90
movss xmm0, dword [0x180670fc8]
comiss xmm0, dword [0x1805bec68]
jb 0x1800d2fe3
mov edx, 0x29cc
jmp 0x1800d2ff7
comiss xmm0, dword [0x1805bec48]
mov edx, WSAGetLastError
mov eax, 0x42e
cmovae edx, eax
mov rbx, qword [0x18067c090]
lea r8, [0x1805a5ed8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1800d3129
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1800d3129
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800d3129
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800d3129
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1800d3129
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1800d3120
mov r8d, ebp
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1800d3120
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800d3120
call fcn.1800f76c0
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rbx, rbx
je 0x1800d3129
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], 0
test ecx, ecx
je 0x1800d3101
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
jmp 0x1800d3129
mov rcx, qword [rsi + 0xd8]
mov qword [rsi + 0xd8], rbx
test rcx, rcx
je 0x1800d3129
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x1800d3129
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
movzx eax, byte [0x1806703ae]
mov edi, 0xa
test al, al
je 0x1800d313e
mov r15d, edi
jmp 0x1800d315c
mov edx, dword [0x180670fcc]
mov r8d, 0x60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1806703ae]
test al, al
je 0x1800d3165
mov r14d, edi
jmp 0x1800d3183
mov edx, dword [0x180670fcc]
mov r8d, 0x60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1806703ae]
test al, al
je 0x1800d318b
mov ebp, edi
jmp 0x1800d31a8
mov edx, dword [0x180670fcc]
mov r8d, 0x60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebp, eax
movzx eax, byte [0x1806703ae]
test al, al
jne 0x1800d31c2
mov edx, dword [0x180670fcc]
mov r8d, 0x60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov dword [rsi + 0xe0], edi
lea rcx, [rsi + 0xc0]
mov dword [rsi + 0xe8], ebp
mov dword [rsi + 0xe4], r14d
mov dword [rsi + 0xec], r15d
mov dword [rsi + 0xf0], 0
mov rdx, qword [rsi + 8]
call fcn.1800d3f80
or byte [rsi + 0xd0], 1
lea rcx, [rsi + 0xc0]
call fcn.1800d4590
mov rdx, qword [rsi + 8]
lea rcx, [rsi + 0xc0]
call fcn.1800d44f0
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret