Function at 0x1400ca850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x7d8
mov rcx, qword [rsp + 0x7e8]
call fcn.1400edf10
movzx eax, al
test eax, eax
je 0x1400ca884
mov rax, qword [rsp + 0x7e0]
mov dword [rax + 0x28], 1
mov rax, qword [rsp + 0x7e0]
cmp dword [rax + 0x28], 0
je 0x1400cabc5
lea rax, [rsp + 0x190]
mov qword [rsp + 0x90], rax
lea rdx, [0x1401fee28]
mov rcx, qword [rsp + 0x90]
call fcn.1400bbae0
mov qword [rsp + 0x98], rax
mov edx, 0xdd
mov rcx, qword [rsp + 0x98]
call fcn.1401218a0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x7e8]
lea rcx, [rsp + 0x3f0]
call fcn.1400bc300
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400de0b0
movzx eax, al
test eax, eax
jne 0x1400caa1b
lea rax, [rsp + 0x198]
mov qword [rsp + 0xa0], rax
lea rdx, [0x1401fee40]
mov rcx, qword [rsp + 0xa0]
call fcn.1400bbae0
mov qword [rsp + 0xa8], rax
mov edx, 0xe0
mov rcx, qword [rsp + 0xa8]
call fcn.1401218a0
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x7e8]
call fcn.1400d6730
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400bba20
mov qword [rsp + 0xb8], rax
mov edx, 0xe1
mov rcx, qword [rsp + 0xb8]
call fcn.1401218a0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 8
mov rdx, qword [rsp + 0x7e8]
lea rcx, [rsp + 0x2e0]
call fcn.1400bc970
nop
lea rcx, [rsp + 0x2e0]
call fcn.1400de0d0
movzx eax, al
test eax, eax
je 0x1400ca9fb
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x2e0]
call fcn.1400b1c20
lea rcx, [rsp + 0x2e0]
call fcn.1400d8b30
nop
lea rcx, [rsp + 0x2e0]
call fcn.1400c3e30
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400c3d70
jmp 0x1400cb0c2
lea rcx, [rsp + 0x220]
call fcn.1400bd5d0
nop
mov rax, qword [rsp + 0x7e0]
mov rcx, rax
call fcn.1400d8780
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x3f0]
call fcn.1400ba5a0
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 0x1400caba5
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x500]
call fcn.1400bc770
nop
lea rcx, [rsp + 0x200]
call fcn.1400bd5d0
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400bd5d0
nop
mov r8b, 0x3d
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x500]
call fcn.1400ba610
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 0x1400cab77
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x500]
call fcn.1400ba5a0
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 0x1400cab77
mov rax, qword [rsp + 0x7e0]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c2490
lea rdx, [rsp + 0x1e0]
mov rcx, rax
call fcn.1400c1a80
nop
lea rcx, [rsp + 0x1e0]
call fcn.140071ab0
nop
lea rcx, [rsp + 0x200]
call fcn.140071ab0
nop
lea rcx, [rsp + 0x500]
call fcn.1400c3db0
jmp 0x1400caa39
lea rcx, [rsp + 0x220]
call fcn.140071ab0
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400c3d70
jmp 0x1400cb0c2
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0xc8], rax
lea rdx, [0x1401fee58]
mov rcx, qword [rsp + 0xc8]
call fcn.1400bbae0
mov qword [rsp + 0xd0], rax
mov edx, 0xf5
mov rcx, qword [rsp + 0xd0]
call fcn.1401218a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
lea r8, [0x1401fee70]
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 0x1400cac80
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xd8], rax
lea rdx, [0x1401fee80]
mov rcx, qword [rsp + 0xd8]
call fcn.1400bbae0
mov qword [rsp + 0xe0], rax
mov edx, 0xfc
mov rcx, qword [rsp + 0xe0]
call fcn.1401218a0
jmp 0x1400cb0c2
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 0x1400cace0
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0xe8], rax
lea rdx, [0x1401fee90]
mov rcx, qword [rsp + 0xe8]
call fcn.1400bbae0
mov qword [rsp + 0xf0], rax
mov edx, 0xff
mov rcx, qword [rsp + 0xf0]
call fcn.1401218a0
jmp 0x1400cb0c2
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 0x1400cad3e
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0xf8], rax
lea rdx, [0x1401feea0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400bbae0
mov qword [rsp + 0x100], rax
mov edx, 0x102
mov rcx, qword [rsp + 0x100]
call fcn.1401218a0
jmp 0x1400cb0c2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400cad99
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x108], rax
lea rdx, [0x1401feeb8]
mov rcx, qword [rsp + 0x108]
call fcn.1400bbae0
mov qword [rsp + 0x110], rax
mov edx, 0x105
mov rcx, qword [rsp + 0x110]
call fcn.1401218a0
jmp 0x1400cb0c2
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x280]
call fcn.1400bcf20
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov r9d, 1
mov r8d, 1
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x6e0]
call fcn.1400bc770
nop
lea rcx, [rsp + 0x280]
call fcn.140071ab0
lea rcx, [rsp + 0x170]
call fcn.1400bd5d0
nop
mov rax, qword [rsp + 0x7e0]
mov rcx, rax
call fcn.1400d8780
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x6e0]
call fcn.1400ba5a0
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 0x1400cb0a7
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x5f0]
call fcn.1400bc770
nop
lea rcx, [rsp + 0x260]
call fcn.1400bd5d0
nop
lea rcx, [rsp + 0x240]
call fcn.1400bd5d0
nop
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x128], rax
lea rdx, str.line
mov rcx, qword [rsp + 0x128]
call fcn.1400bbae0
mov qword [rsp + 0x130], rax
mov edx, 0x10e
mov rcx, qword [rsp + 0x130]
call fcn.1401218a0
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x138], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x138]
call fcn.1400bcd70
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x2a0]
call fcn.1400e6cf0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.140075fd0
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1400bbae0
nop
lea rcx, [rsp + 0x2a0]
call fcn.1400c0b70
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x158], rax
lea r8, [rsp + 0x88]
lea rdx, str.line
mov rcx, qword [rsp + 0x158]
call fcn.1400c2be0
mov qword [rsp + 0x160], rax
mov edx, 0x110
mov rcx, qword [rsp + 0x160]
call fcn.1401218a0
mov r8b, 0x3d
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x5f0]
call fcn.1400ba610
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 0x1400cb06b
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x5f0]
call fcn.1400ba5a0
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 0x1400cb06b
mov rax, qword [rsp + 0x7e0]
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x168]
call fcn.1400c2490
lea rdx, [rsp + 0x240]
mov rcx, rax
call fcn.1400c1a80
nop
lea rcx, [rsp + 0x88]
call fcn.1400c00e0
nop
lea rcx, [rsp + 0x240]
call fcn.140071ab0
nop
lea rcx, [rsp + 0x260]
call fcn.140071ab0
nop
lea rcx, [rsp + 0x5f0]
call fcn.1400c3db0
jmp 0x1400cae17
lea rcx, [rsp + 0x170]
call fcn.140071ab0
nop
lea rcx, [rsp + 0x6e0]
call fcn.1400c3db0
add rsp, 0x7d8
ret