Function at 0x1800ef470
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.1801086b0
movss xmm0, dword [0x1806c80f8]
comiss xmm0, dword [0x180601708]
jb 0x1800ef4b3
mov edx, 0x29cc
jmp 0x1800ef4c7
comiss xmm0, dword [0x1806016e8]
mov edx, WSAGetLastError
mov eax, 0x42e
cmovae edx, eax
mov rbx, qword [0x1806d4c60]
lea r8, [0x1805e7438]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1800ef5f9
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1800ef5f9
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800ef5f9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800ef5f9
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1800ef5f9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1800ef5f0
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 0x1800ef5f0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800ef5f0
call fcn.1801240b0
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 0x1800ef5f9
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], 0
test ecx, ecx
je 0x1800ef5d1
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
jmp 0x1800ef5f9
mov rcx, qword [rsi + 0xd8]
mov qword [rsi + 0xd8], rbx
test rcx, rcx
je 0x1800ef5f9
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x1800ef5f9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
movzx eax, byte [0x1806c74ae]
mov edi, 0xa
test al, al
je 0x1800ef60e
mov r15d, edi
jmp 0x1800ef62c
mov edx, dword [0x1806c80fc]
mov r8d, 0x60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1806c74ae]
test al, al
je 0x1800ef635
mov r14d, edi
jmp 0x1800ef653
mov edx, dword [0x1806c80fc]
mov r8d, 0x60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1806c74ae]
test al, al
je 0x1800ef65b
mov ebp, edi
jmp 0x1800ef678
mov edx, dword [0x1806c80fc]
mov r8d, 0x60
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebp, eax
movzx eax, byte [0x1806c74ae]
test al, al
jne 0x1800ef692
mov edx, dword [0x1806c80fc]
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.1801087a0
or byte [rsi + 0xd0], 1
lea rcx, [rsi + 0xc0]
call fcn.180108db0
mov rdx, qword [rsi + 8]
lea rcx, [rsi + 0xc0]
call fcn.180108d10
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