Function at 0x1800c9860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, rcx
mov ecx, 0x180
call fcn.1804688ec
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea rdx, [rdi + 0x50]
test rdi, rdi
cmove rdx, r15
lea r9, [rsp + 0x20]
mov rcx, rax
call fcn.180124170
mov rbx, rax
movss xmm7, dword [0x180601708]
movss xmm6, dword [0x1806016e8]
test rax, rax
je 0x1800c99fb
mov dword [rax + 0x40], 0x426
movss xmm0, dword [0x1806c80f8]
comiss xmm0, xmm7
jb 0x1800c990b
mov r8d, 0x27d8
jmp 0x1800c991d
mov eax, 0x3fc
mov r8d, 0x66
comiss xmm0, xmm6
cmovae r8d, eax
mov r9d, 4
mov rdx, qword [0x1806d4c60]
mov rcx, rbx
call fcn.180128990
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov r8d, 2
lea rdx, [0x1805e120c]
lea rcx, [rbp - 0x51]
call fcn.18007da60
nop
lea rcx, [rbx + 0x118]
lea rax, [rbp - 0x51]
cmp rcx, rax
je 0x1800c9989
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x41]
call fcn.18007da60
mov byte [rbx + 0xe1], 1
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1800c99d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c99ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c99ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r15w
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, rdi
call fcn.180125e20
mov ecx, 0x180
call fcn.1804688ec
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea rdx, [rdi + 0x50]
test rdi, rdi
cmove rdx, r15
lea r9, [rsp + 0x20]
mov rcx, rax
call fcn.180124170
mov rbx, rax
test rax, rax
je 0x1800c9b3f
mov dword [rax + 0x40], 0x427
movss xmm0, dword [0x1806c80f8]
comiss xmm0, xmm7
jb 0x1800c9a4f
mov r8d, 0x283c
jmp 0x1800c9a61
mov eax, 0x406
mov r8d, 0x67
comiss xmm0, xmm6
cmovae r8d, eax
mov r9d, 4
mov rdx, qword [0x1806d4c60]
mov rcx, rbx
call fcn.180128990
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov r8d, 3
lea rdx, [0x1805e13b8]
lea rcx, [rbp - 0x31]
call fcn.18007da60
nop
lea rcx, [rbx + 0x118]
lea rax, [rbp - 0x31]
cmp rcx, rax
je 0x1800c9acd
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
call fcn.18007da60
mov byte [rbx + 0xe1], 1
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800c9b17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c9b12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c9b12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r15w
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, rdi
call fcn.180125e20
mov ecx, 0x180
call fcn.1804688ec
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea rdx, [rdi + 0x50]
test rdi, rdi
cmove rdx, r15
lea r9, [rsp + 0x20]
mov rcx, rax
call fcn.180124170
mov rbx, rax
test rax, rax
je 0x1800c9c83
mov dword [rax + 0x40], 0x428
movss xmm0, dword [0x1806c80f8]
comiss xmm0, xmm7
jb 0x1800c9b93
mov r8d, 0x4e84
jmp 0x1800c9ba5
mov eax, 0x7da
mov r8d, Ordinal_203
comiss xmm0, xmm6
cmovae r8d, eax
mov r9d, 4
mov rdx, qword [0x1806d4c60]
mov rcx, rbx
call fcn.180128990
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
mov r8d, 2
lea rdx, [0x1805e13c0]
lea rcx, [rbp - 0x11]
call fcn.18007da60
nop
lea rcx, [rbx + 0x118]
lea rax, [rbp - 0x11]
cmp rcx, rax
je 0x1800c9c11
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
call fcn.18007da60
mov byte [rbx + 0xe1], 1
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800c9c5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c9c56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c9c56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, rdi
call fcn.180125e20
mov r12d, 0xfffffff4
cmp byte [rdi + 0x7c], 0
je 0x1800ca1d4
mov ecx, 0x188
call fcn.1804688ec
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x20]
lea rdx, [rdi + 0x50]
mov rcx, rax
call fcn.180124170
nop
lea rax, vtable.RC::RCWidgetMaskImageButton.0
mov qword [rbx], rax
lea rax, vtable.RC::RCWidgetMaskImageButton.2.0
mov qword [rbx + 0x60], rax
lea rax, vtable.RC::RCWidgetMaskImageButton.1.0
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x180], r15
mov dword [rbx + 0x40], 0x42c
mov qword [rbx + 0x158], 0xffffffffffffffff
mov qword [rbx + 0x160], 0xffffffffffffffff
mov dword [rbx + 0xe4], 1
mov qword [rbx + 0xe8], 1
mov dword [rbx + 0xf0], r15d
cmp byte [0x1806c74ae], 0
je 0x1800c9d2a
mov eax, r12d
jmp 0x1800c9d3e
movss xmm0, dword [0x1806c80f8]
mulss xmm0, dword [0x180601a60]
cvttss2si eax, xmm0
cmp dword [rbx + 0x178], eax
je 0x1800c9d58
mov dword [rbx + 0x178], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
mov r8d, 5
lea rdx, [0x1805e1290]
lea rcx, [rbp - 0x71]
call fcn.18007da60
nop
lea rdx, [rbp - 0x71]
mov rcx, rbx
call fcn.180124bc0
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1800c9dd8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c9dd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c9dd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
movss xmm0, dword [0x1806c80f8]
comiss xmm0, xmm7
jb 0x1800c9dfe
mov r8d, 0x4bc8
jmp 0x1800c9e10
mov eax, 0x794
mov r8d, 0xc2
comiss xmm0, xmm6
cmovae r8d, eax
mov r9d, 1
mov rdx, qword [0x1806d4c60]
mov rcx, rbx
call fcn.180128990
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, rdi
call fcn.180125e20
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
mov r8d, 3
lea rdx, [0x1805e13b0]
lea rcx, [rbp - 0x71]
call fcn.18007da60
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1806c74ae]
test al, al
je 0x1800c9e8c
mov r15d, recv
lea r14d, [r15 + 4]
jmp 0x1800c9ec1
movss xmm0, dword [0x1806c80f8]
mulss xmm0, dword [0x180601928]
cvttss2si r15d, xmm0
mov r8d, 0x60
mov edx, dword [0x1806c8078]
lea ecx, [r8 - 0x50]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1806c74ae]
test al, al
je 0x1800c9ecc
mov esi, 0x2d
jmp 0x1800c9ee4
mov r8d, 0x60
mov edx, dword [0x1806c80fc]
lea ecx, [r8 - 0x33]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov ecx, 0xc0
call fcn.1804688ec
mov rbx, rax
mov qword [rsp + 0x28], rax
mov r9d, r14d
mov r8d, esi
lea rdx, [rdi + 0x50]
mov rcx, rax
call fcn.1800af780
nop
lea rax, vtable.RC::RCPrinterStaticButton.0
mov qword [rcx], rax
mov dword [rcx + 0x40], 0x42b
lea rcx, [rcx + 0x60]
lea rax, [rbp - 0x71]
cmp rcx, rax
je 0x1800c9f3e
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
call fcn.18007da60
mov dword [rbx + 0x80], r15d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, rdi
call fcn.180125e20
mov qword [rbx + 0x9c], 0xffffffffffffffff
mov qword [rbx + 0xa4], 0xffffffffffffffff
mov qword [rbx + 0xac], 0xffffffffffffffff
mov qword [rbx + 0xb4], 0xffffffffffffffff
mov dword [rbx + 0x8c], 0xff4d5571
mov dword [rbx + 0x90], 0xff4d5571
mov dword [rbx + 0x94], 0xff4d5571
mov dword [rbx + 0x98], 0xff4d5571
lea rcx, [rbp - 0x71]
call fcn.18007d9c0
mov ecx, 0x188
call fcn.1804688ec
mov r14, rax
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x20]
lea rdx, [rdi + 0x50]
mov rcx, rax
call fcn.180124170
nop
lea rax, vtable.RC::RCWidgetMaskImageButton.0
mov qword [r14], rax
lea rax, vtable.RC::RCWidgetMaskImageButton.2.0
mov qword [r14 + 0x60], rax
lea rax, vtable.RC::RCWidgetMaskImageButton.1.0
mov qword [r14 + 0x78], rax
mov qword [r14 + 0x180], r15
mov dword [r14 + 0x40], 0x42a
movss xmm0, dword [0x1806c80f8]
comiss xmm0, xmm7
jb 0x1800ca031
mov edx, 0x4c2c
jmp 0x1800ca041
mov edx, 0xc3
mov eax, 0x79e
comiss xmm0, xmm6
cmovae edx, eax
mov rbx, qword [0x1806d4c60]
lea r8, [0x1805e7438]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1800ca0c5
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
test eax, eax
je 0x1800ca0c2
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800ca0c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800ca0c2
mov edx, r15d
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x1800ca0c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x1800ca0e1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r15d, r15d
movss xmm0, dword [0x1806c80f8]
comiss xmm0, xmm7
jb 0x1800ca196
mov r8d, 0x4a9c
jmp 0x1800ca1a8
mov r8, r15
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1800ca188
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1800ca188
call fcn.1801240b0
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rbx, rbx
je 0x1800ca0c5
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], r15d
test ecx, ecx
je 0x1800ca159
mov rax, qword [rbx]
lea edx, [r15 + 1]
mov rcx, rbx
call qword [rax]
mov ebx, r15d
test rbx, rbx
je 0x1800ca0c5
mov rcx, qword [r14 + 0x180]
mov qword [r14 + 0x180], rbx
test rcx, rcx
je 0x1800ca0c5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x1800ca0c5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1800ca0c5
mov eax, 0x776
mov r8d, 0xbf
comiss xmm0, xmm6
cmovae r8d, eax
mov r9d, 1
mov rdx, qword [0x1806d4c60]
mov rcx, r14
call fcn.180128990
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, r14
mov rcx, rdi
call fcn.180125e20
mov ecx, 0xb8
call fcn.1804688ec
mov rbx, rax
mov qword [rsp + 0x28], rax
lea rsi, vtable.RC::RCWidgetView.0
mov qword [rax], rsi
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov byte [rax + 0x28], 1
mov qword [rax + 0x2c], 0
mov qword [rax + 0x34], 0
mov word [rax + 0x3c], 0x101
mov dword [rax + 0x40], r15d
mov dword [rax + 0x44], 0xffffffff
mov byte [rax + 0x48], 0
lea r14, vtable.RC::RCWidgetStretchAttr.0
mov qword [rax + 0x50], r14
mov dword [rax + 0x58], r15d
mov qword [rax + 0x5c], r15
lea r13, vtable.RC::RCWidgetStatic.0
mov qword [rax], r13
lea rax, vtable.RC::RCWidgetStatic.1.0
mov qword [rbx + 0x50], rax
mov word [rbx + 0x68], 0
mov byte [rbx + 0x6a], 0xff
mov qword [rbx + 0x6c], 0
mov qword [rbx + 0x74], 0
mov dword [rbx + 0x7c], r12d
mov qword [rbx + 0x80], r15
mov qword [rbx + 0x98], r15
mov qword [rbx + 0xa0], 7
mov word [rbx + 0x88], r15w
mov dword [rbx + 0xa8], 0xff979797
mov dword [rbx + 0xac], 0xff000000
mov byte [rbx + 0xb0], 0
mov dword [rbx + 0x40], 0x424
mov r8d, dword [rdi + 0x78]
movss xmm0, dword [0x1806c80f8]
comiss xmm0, xmm7
jb 0x1800ca2c9
imul r8d, r8d, 0x64
jmp 0x1800ca2d5
comiss xmm0, xmm6
jb 0x1800ca2d5
lea r8d, [r8 + r8*4]
add r8d, r8d
mov rdx, qword [0x1806d4c60]
mov rcx, rbx
call fcn.180129220
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x30]
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x50]
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, rdi
call fcn.180125e20
mov ecx, 0xb8
call fcn.1804688ec
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rax], rsi
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov byte [rax + 0x28], 1
mov qword [rax + 0x2c], 0
mov qword [rax + 0x34], 0
mov word [rax + 0x3c], 0x101
mov dword [rax + 0x40], r15d
mov dword [rax + 0x44], 0xffffffff
mov byte [rax + 0x48], 0
mov qword [rax + 0x50], r14
mov dword [rax + 0x58], r15d
mov qword [rax + 0x5c], r15
mov qword [rax], r13
lea rax, vtable.RC::RCWidgetStatic.1.0
mov qword [rbx + 0x50], rax
mov word [rbx + 0x68], 0
mov byte [rbx + 0x6a], 0xff
mov qword [rbx + 0x6c], 0
mov qword [rbx + 0x74], 0
mov dword [rbx + 0x7c], r12d
mov qword [rbx + 0x80], r15
mov qword [rbx + 0x98], r15
mov qword [rbx + 0xa0], 7
mov word [rbx + 0x88], r15w
mov dword [rbx + 0xa8], 0xff979797
mov dword [rbx + 0xac], 0xff000000
mov byte [rbx + 0xb0], 0
cmp byte [0x1806c74ae], 0
jne 0x1800ca3f4
mov r8d, 0x60
mov edx, dword [0x1806c8078]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r12d, eax
mov dword [rbx + 0x40], 0x425
mov r8, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [r8 + 0x30]
mov r8, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [r8 + 0x50]
mov rdx, qword [rdi + 0x18]
sub rdx, qword [rdi + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, rdi
call fcn.180125e20
mov dword [rbx + 0x7c], r12d
lea rdx, [rdi + 0x58]
mov r8b, 1
mov rcx, rbx
call fcn.1801273a0
mov dword [rbx + 0x6c], r15d
mov qword [rbx + 0x70], 1
mov dword [rbx + 0x78], r15d
mov dword [rbx + 0xa8], 0xff333333
mov al, 1
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1804688c0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret