Function at 0x1400cf420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x8d8
mov rcx, qword [rsp + 0x8e8]
call fcn.1400fedd0
movzx eax, al
test eax, eax
je 0x1400cf454
mov rax, qword [rsp + 0x8e0]
mov dword [rax + 0x38], 1
mov rax, qword [rsp + 0x8e0]
cmp dword [rax + 0x38], 0
je 0x1400cf878
lea rax, [rsp + 0x290]
mov qword [rsp + 0x90], rax
lea rdx, [0x1402411c8]
mov rcx, qword [rsp + 0x90]
call fcn.1400becb0
mov qword [rsp + 0x98], rax
mov edx, 0xea
mov rcx, qword [rsp + 0x98]
call fcn.14014b1d0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x8e8]
lea rcx, [rsp + 0x4f0]
call fcn.1400bf630
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400e4dd0
movzx eax, al
test eax, eax
jne 0x1400cf5eb
lea rax, [rsp + 0x298]
mov qword [rsp + 0xa0], rax
lea rdx, [0x1402411e0]
mov rcx, qword [rsp + 0xa0]
call fcn.1400becb0
mov qword [rsp + 0xa8], rax
mov edx, 0xed
mov rcx, qword [rsp + 0xa8]
call fcn.14014b1d0
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x8e8]
call fcn.1400dc640
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400bebf0
mov qword [rsp + 0xb8], rax
mov edx, 0xee
mov rcx, qword [rsp + 0xb8]
call fcn.14014b1d0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 8
mov rdx, qword [rsp + 0x8e8]
lea rcx, [rsp + 0x3e0]
call fcn.1400bfe70
nop
lea rcx, [rsp + 0x3e0]
call fcn.1400e4df0
movzx eax, al
test eax, eax
je 0x1400cf5cb
lea rdx, [0x1402411f0]
lea rcx, [rsp + 0x3e0]
call fcn.1400b29d0
lea rcx, [rsp + 0x3e0]
call fcn.1400df230
nop
lea rcx, [rsp + 0x3e0]
call fcn.1400c7fb0
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400c7eb0
jmp 0x1400cfe54
lea rcx, [rsp + 0x2e0]
call fcn.1400c0ad0
nop
mov rax, qword [rsp + 0x8e0]
mov rcx, rax
call fcn.1400decf0
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x4f0]
call fcn.1400bd580
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400cf858
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x600]
call fcn.1400bfc70
nop
lea rcx, [rsp + 0x210]
call fcn.1400c0ad0
nop
lea rcx, [rsp + 0x1f0]
call fcn.1400c0ad0
nop
mov r8b, 0x3d
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x600]
call fcn.1400bd5f0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400cf82a
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x600]
call fcn.1400bd580
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400cf82a
mov rax, qword [rsp + 0x8e0]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c6370
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.1400c5920
lea rax, [rsp + 0x340]
mov qword [rsp + 0xc8], rax
lea rdx, [0x1402411f4]
mov rcx, qword [rsp + 0xc8]
call fcn.140071ff0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x360]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x8e8]
mov rcx, qword [rsp + 0xe0]
call fcn.1400c0270
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400e4b30
test eax, eax
je 0x1400cf82a
mov rax, qword [rsp + 0x8e0]
add rax, 0x10
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x100]
call fcn.1400c6370
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.1400c5920
nop
lea rcx, [rsp + 0x1f0]
call fcn.1400722f0
nop
lea rcx, [rsp + 0x210]
call fcn.1400722f0
nop
lea rcx, [rsp + 0x600]
call fcn.1400c7f30
jmp 0x1400cf609
lea rcx, [rsp + 0x2e0]
call fcn.1400722f0
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400c7eb0
jmp 0x1400cfe54
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x108], rax
lea rdx, [0x1402411f8]
mov rcx, qword [rsp + 0x108]
call fcn.1400becb0
mov qword [rsp + 0x110], rax
mov edx, 0x105
mov rcx, qword [rsp + 0x110]
call fcn.14014b1d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
lea r8, [0x140241210]
mov edx, 0x89
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400cf933
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x118], rax
lea rdx, [0x140241220]
mov rcx, qword [rsp + 0x118]
call fcn.1400becb0
mov qword [rsp + 0x120], rax
mov edx, 0x10c
mov rcx, qword [rsp + 0x120]
call fcn.14014b1d0
jmp 0x1400cfe54
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400cf993
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x128], rax
lea rdx, [0x140241230]
mov rcx, qword [rsp + 0x128]
call fcn.1400becb0
mov qword [rsp + 0x130], rax
mov edx, 0x10f
mov rcx, qword [rsp + 0x130]
call fcn.14014b1d0
jmp 0x1400cfe54
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400cf9f1
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x138], rax
lea rdx, [0x140241240]
mov rcx, qword [rsp + 0x138]
call fcn.1400becb0
mov qword [rsp + 0x140], rax
mov edx, 0x112
mov rcx, qword [rsp + 0x140]
call fcn.14014b1d0
jmp 0x1400cfe54
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400cfa4c
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x148], rax
lea rdx, [0x140241258]
mov rcx, qword [rsp + 0x148]
call fcn.1400becb0
mov qword [rsp + 0x150], rax
mov edx, 0x115
mov rcx, qword [rsp + 0x150]
call fcn.14014b1d0
jmp 0x1400cfe54
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x300]
call fcn.1400c0420
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov r9d, 1
mov r8d, 1
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x7e0]
call fcn.1400bfc70
nop
lea rcx, [rsp + 0x300]
call fcn.1400722f0
lea rcx, [rsp + 0x270]
call fcn.1400c0ad0
nop
mov rax, qword [rsp + 0x8e0]
mov rcx, rax
call fcn.1400decf0
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x7e0]
call fcn.1400bd580
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400cfe39
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x6f0]
call fcn.1400bfc70
nop
lea rcx, [rsp + 0x250]
call fcn.1400c0ad0
nop
lea rcx, [rsp + 0x230]
call fcn.1400c0ad0
nop
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x168], rax
lea rdx, str.line
mov rcx, qword [rsp + 0x168]
call fcn.1400becb0
mov qword [rsp + 0x170], rax
mov edx, 0x11e
mov rcx, qword [rsp + 0x170]
call fcn.14014b1d0
lea rax, [rsp + 0x380]
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x178]
call fcn.1400c0270
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x320]
call fcn.1400ee770
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x190]
call fcn.140076810
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1400becb0
nop
lea rcx, [rsp + 0x320]
call fcn.1400c4860
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x198], rax
lea r8, [rsp + 0x88]
lea rdx, str.line
mov rcx, qword [rsp + 0x198]
call fcn.1400c6b80
mov qword [rsp + 0x1a0], rax
mov edx, 0x120
mov rcx, qword [rsp + 0x1a0]
call fcn.14014b1d0
mov r8b, 0x3d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x6f0]
call fcn.1400bd5f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400cfdfd
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x6f0]
call fcn.1400bd580
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x1400cfdfd
mov rax, qword [rsp + 0x8e0]
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400c6370
lea rdx, [rsp + 0x230]
mov rcx, rax
call fcn.1400c5920
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x1b0], rax
lea rdx, [0x1402411f4]
mov rcx, qword [rsp + 0x1b0]
call fcn.140071ff0
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x8e8]
mov rcx, qword [rsp + 0x1c8]
call fcn.1400c0270
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1e0], rax
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400e4b30
test eax, eax
je 0x1400cfdfd
mov rax, qword [rsp + 0x8e0]
add rax, 0x10
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x1e8]
call fcn.1400c6370
lea rdx, [rsp + 0x230]
mov rcx, rax
call fcn.1400c5920
nop
lea rcx, [rsp + 0x88]
call fcn.1400c39e0
nop
lea rcx, [rsp + 0x230]
call fcn.1400722f0
nop
lea rcx, [rsp + 0x250]
call fcn.1400722f0
nop
lea rcx, [rsp + 0x6f0]
call fcn.1400c7f30
jmp 0x1400cfaca
lea rcx, [rsp + 0x270]
call fcn.1400722f0
nop
lea rcx, [rsp + 0x7e0]
call fcn.1400c7f30
add rsp, 0x8d8
ret