Function at 0x140098ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push r14
sub rsp, 0x98
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [rcx + 8], 0
mov ebx, r8d
mov r14, rcx
jne 0x140098f58
mov qword [rcx + 0x18], rdx
mov dword [rcx + 0x14], ebx
xor ecx, ecx
mov qword [rsp + 0x88], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], r14
lea r8, [0x1404d345c]
mov qword [rsp + 0x50], rax
mov ecx, 0x80000000
mov rax, qword [r14 + 0x18]
test ebx, ebx
mov qword [rsp + 0x48], 0
mov r9d, 0x88000000
mov qword [rsp + 0x40], rax
cmovne r9d, ecx
mov dword [rsp + 0x38], 0
mov ecx, 0x80800a0
mov edx, 0x8080080
mov dword [rsp + 0x30], 0
cmovne ecx, edx
mov dword [rsp + 0x28], 0
lea rdx, str.basepopupshadow
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [r14 + 8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_IsWindow]
mov qword [rsp + 0xb8], rbp
lea rbx, [r14 + 0x158]
mov qword [rsp + 0xc0], rsi
xor r13d, r13d
mov qword [rsp + 0xc8], rdi
mov edx, 0xb0
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x80], r15
nop dword [rax + rax]
cmp qword [rbx - 0x18], 0
jne 0x140098ec7
call fcn.14009eae8
lea rcx, [r14 + 0x28]
mov rsi, rax
call fcn.14009c5ec
test al, al
jne 0x140098d10
lea rcx, [r14 + 0xb0]
call fcn.14009c5ec
test al, al
jne 0x140098d10
test r13d, r13d
mov ecx, 0x28
cmovne rcx, rdx
add rcx, r14
call fcn.14009c3b0
mov ecx, r13d
lea r12, [r13*8 + 0x27]
add r12, rcx
lea r12, [r14 + r12*8]
test r12, r12
je 0x140098e0a
xorps xmm2, xmm2
xor edx, edx
mov rcx, rax
call fcn.1400b9b24
test rax, rax
je 0x140098e0a
mov rbp, qword [rax + 0x2000]
movsxd rcx, dword [rax + 0x2008]
test rbp, rbp
je 0x140098e0a
test ecx, ecx
jle 0x140098e0a
xor edi, edi
mov r15, rcx
mov rdx, rcx
mov qword [rsp + 0x60], rdi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140098cdb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
je 0x140098cdb
mov r8, r15
mov rdx, rbp
mov rcx, rax
call fcn.14039b2e0
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x140098cdb
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140098ccd
mov rcx, r12
call fcn.140098590
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x60], 0
jmp 0x140098e0a
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140098ceb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rdi, rdi
je 0x140098cf9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test rsi, rsi
je 0x140098e0a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140098e0a
test r13d, r13d
jne 0x140098d1b
mov edx, dword [r14 + 0x20]
jmp 0x140098d1f
mov edx, dword [r14 + 0x24]
mov eax, r13d
lea r15, [r13*8 + 0x27]
add r15, rax
lea r15, [r14 + r15*8]
test r15, r15
je 0x140098e0a
movzx edx, dx
lea r8, [0x1405144a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140098e0a
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x140098e0a
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140098e0a
mov edx, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140098e01
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140098df8
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
call fcn.14039b2e0
lea r8, [rsp + 0x68]
mov qword [rsp + 0x68], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x140098def
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140098def
mov rcx, r15
call fcn.140098590
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rax, [rbx - 0x20]
test rax, rax
je 0x140098ec2
cmp qword [rbx - 0x18], 0
je 0x140098ec2
xor r10d, r10d
cmp dword [rbx - 8], r10d
jle 0x140098ec2
mov eax, dword [rbx - 4]
xor r11d, r11d
test eax, eax
jle 0x140098eb5
nop dword [rax]
mov eax, r10d
imul eax, dword [rbx + 4]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r9, eax
mov eax, r11d
imul eax, dword [rbx]
inc r11d
cdqe
add r9, rax
mov eax, 0x80808081
add r9, qword [rbx - 0x10]
movzx r8d, byte [r9 + 3]
movzx ecx, byte [r9]
imul ecx, r8d
mul ecx
movzx ecx, byte [r9 + 1]
mov eax, 0x80808081
shr edx, 7
mov byte [r9], dl
imul ecx, r8d
mul ecx
movzx ecx, byte [r9 + 2]
mov eax, 0x80808081
shr edx, 7
mov byte [r9 + 1], dl
imul ecx, r8d
mul ecx
shr edx, 7
mov byte [r9 + 2], dl
mov eax, dword [rbx - 4]
cmp r11d, eax
jl 0x140098e40
inc r10d
cmp r10d, dword [rbx - 8]
jl 0x140098e32
mov edx, 0xb0
inc r13d
add rbx, 0x48
cmp r13d, 2
jl 0x140098bc0
mov edx, 0x7f84
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov edx, 0x7f85
xor ecx, ecx
mov qword [r14 + 0x1c8], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov edx, 0x7f82
xor ecx, ecx
mov qword [r14 + 0x1d0], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov edx, 0x7f83
xor ecx, ecx
mov qword [r14 + 0x1d8], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
mov qword [r14 + 0x1e0], rax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140398000
add rsp, 0x98
pop r14
pop rbx
ret