Function at 0x18009e660
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
mov rcx, rdx
call fcn.1800d3e90
movss xmm0, dword [0x180670fc8]
comiss xmm0, dword [0x1805bec68]
jb 0x18009e69b
mov edx, 0x2774
jmp 0x18009e6af
comiss xmm0, dword [0x1805bec48]
mov edx, 0x65
mov eax, 0x3f2
cmovae edx, eax
mov rbx, qword [0x18067c090]
lea r8, [0x1805a5ed8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x18009e7db
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x18009e7db
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18009e7db
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18009e7db
mov edx, ebp
lea ecx, [r14 + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x18009e7db
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x18009e7d2
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], r14
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x18009e7d2
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18009e7d2
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 0x18009e7db
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], r14d
test ecx, ecx
je 0x18009e7b3
mov rax, qword [rbx]
lea edx, [r14 + 1]
mov rcx, rbx
call qword [rax]
jmp 0x18009e7db
mov rcx, qword [rsi + 0x1d8]
mov qword [rsi + 0x1d8], rbx
test rcx, rcx
je 0x18009e7db
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x18009e7db
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
movzx eax, byte [0x1806703ae]
test al, al
jne 0x18009e808
mov edx, dword [0x180670fcc]
mov r8d, 0x60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1806703ae]
test al, al
je 0x18009e80f
mov edi, 0x1c
jmp 0x18009e82e
mov edx, dword [0x180670f48]
mov r8d, 0x60
lea ecx, [r8 - 0x44]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
movzx eax, byte [0x1806703ae]
test al, al
je 0x18009e839
mov ebp, 0x14
jmp 0x18009e858
mov edx, dword [0x180670f48]
mov r8d, 0x60
lea ecx, [r8 - 0x4c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebp, eax
movzx eax, byte [0x1806703ae]
mov ebx, 0x18
test al, al
je 0x18009e866
mov r15d, ebx
jmp 0x18009e884
mov edx, dword [0x180670fcc]
mov r8d, 0x60
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1806703ae]
test al, al
jne 0x18009e89e
mov edx, dword [0x180670fcc]
mov r8d, 0x60
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov dword [rsi + 0x1e0], ebx
lea rcx, [rsi + 0x1c0]
mov dword [rsi + 0x1e8], r15d
mov dword [rsi + 0x1e4], ebp
mov dword [rsi + 0x1ec], edi
mov dword [rsi + 0x1f0], r14d
mov rdx, qword [rsi + 8]
call fcn.1800d3f80
mov rcx, qword [rsi + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x680
call qword [sym.imp.USER32.dll_PostMessageW]
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