Function at 0x1400cbcb0
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.1400f5f30
movzx eax, al
test eax, eax
je 0x1400cbce4
mov rax, qword [rsp + 0x8e0]
mov dword [rax + 0x38], 1
mov rax, qword [rsp + 0x8e0]
cmp dword [rax + 0x38], 0
je 0x1400cc108
lea rax, [rsp + 0x290]
mov qword [rsp + 0x90], rax
lea rdx, [0x140229f48]
mov rcx, qword [rsp + 0x90]
call fcn.1400bc990
mov qword [rsp + 0x98], rax
mov edx, 0xe6
mov rcx, qword [rsp + 0x98]
call fcn.14013acd0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x8e8]
lea rcx, [rsp + 0x4f0]
call fcn.1400bd240
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400e0080
movzx eax, al
test eax, eax
jne 0x1400cbe7b
lea rax, [rsp + 0x298]
mov qword [rsp + 0xa0], rax
lea rdx, [0x140229f60]
mov rcx, qword [rsp + 0xa0]
call fcn.1400bc990
mov qword [rsp + 0xa8], rax
mov edx, 0xe9
mov rcx, qword [rsp + 0xa8]
call fcn.14013acd0
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x8e8]
call fcn.1400d8190
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.1400bc8d0
mov qword [rsp + 0xb8], rax
mov edx, 0xea
mov rcx, qword [rsp + 0xb8]
call fcn.14013acd0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 8
mov rdx, qword [rsp + 0x8e8]
lea rcx, [rsp + 0x3e0]
call fcn.1400bd8b0
nop
lea rcx, [rsp + 0x3e0]
call fcn.1400e00a0
movzx eax, al
test eax, eax
je 0x1400cbe5b
lea rdx, [0x140229f70]
lea rcx, [rsp + 0x3e0]
call fcn.1400b2440
lea rcx, [rsp + 0x3e0]
call fcn.1400daa10
nop
lea rcx, [rsp + 0x3e0]
call fcn.1400c53e0
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400c5320
jmp 0x1400cc6e4
lea rcx, [rsp + 0x2e0]
call fcn.1400be510
nop
mov rax, qword [rsp + 0x8e0]
mov rcx, rax
call fcn.1400da660
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x4f0]
call fcn.1400bb3e0
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 0x1400cc0e8
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x600]
call fcn.1400bd6b0
nop
lea rcx, [rsp + 0x210]
call fcn.1400be510
nop
lea rcx, [rsp + 0x1f0]
call fcn.1400be510
nop
mov r8b, 0x3d
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x600]
call fcn.1400bb450
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 0x1400cc0ba
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x600]
call fcn.1400bb3e0
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 0x1400cc0ba
mov rax, qword [rsp + 0x8e0]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xc0]
call fcn.1400c38c0
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.1400c2eb0
lea rax, [rsp + 0x340]
mov qword [rsp + 0xc8], rax
lea rdx, [0x140229f74]
mov rcx, qword [rsp + 0xc8]
call fcn.140071e30
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.1400bdcb0
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.1400dfde0
test eax, eax
je 0x1400cc0ba
mov rax, qword [rsp + 0x8e0]
add rax, 0x10
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x100]
call fcn.1400c38c0
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.1400c2eb0
nop
lea rcx, [rsp + 0x1f0]
call fcn.140072130
nop
lea rcx, [rsp + 0x210]
call fcn.140072130
nop
lea rcx, [rsp + 0x600]
call fcn.1400c5360
jmp 0x1400cbe99
lea rcx, [rsp + 0x2e0]
call fcn.140072130
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400c5320
jmp 0x1400cc6e4
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x108], rax
lea rdx, [0x140229f78]
mov rcx, qword [rsp + 0x108]
call fcn.1400bc990
mov qword [rsp + 0x110], rax
mov edx, 0x101
mov rcx, qword [rsp + 0x110]
call fcn.14013acd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
lea r8, [0x140229f90]
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 0x1400cc1c3
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x118], rax
lea rdx, [0x140229fa0]
mov rcx, qword [rsp + 0x118]
call fcn.1400bc990
mov qword [rsp + 0x120], rax
mov edx, 0x108
mov rcx, qword [rsp + 0x120]
call fcn.14013acd0
jmp 0x1400cc6e4
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 0x1400cc223
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x128], rax
lea rdx, [0x140229fb0]
mov rcx, qword [rsp + 0x128]
call fcn.1400bc990
mov qword [rsp + 0x130], rax
mov edx, 0x10b
mov rcx, qword [rsp + 0x130]
call fcn.14013acd0
jmp 0x1400cc6e4
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 0x1400cc281
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x138], rax
lea rdx, [0x140229fc0]
mov rcx, qword [rsp + 0x138]
call fcn.1400bc990
mov qword [rsp + 0x140], rax
mov edx, 0x10e
mov rcx, qword [rsp + 0x140]
call fcn.14013acd0
jmp 0x1400cc6e4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400cc2dc
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x148], rax
lea rdx, [0x140229fd8]
mov rcx, qword [rsp + 0x148]
call fcn.1400bc990
mov qword [rsp + 0x150], rax
mov edx, 0x111
mov rcx, qword [rsp + 0x150]
call fcn.14013acd0
jmp 0x1400cc6e4
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x300]
call fcn.1400bde60
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.1400bd6b0
nop
lea rcx, [rsp + 0x300]
call fcn.140072130
lea rcx, [rsp + 0x270]
call fcn.1400be510
nop
mov rax, qword [rsp + 0x8e0]
mov rcx, rax
call fcn.1400da660
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x7e0]
call fcn.1400bb3e0
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 0x1400cc6c9
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x6f0]
call fcn.1400bd6b0
nop
lea rcx, [rsp + 0x250]
call fcn.1400be510
nop
lea rcx, [rsp + 0x230]
call fcn.1400be510
nop
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x168], rax
lea rdx, str.line
mov rcx, qword [rsp + 0x168]
call fcn.1400bc990
mov qword [rsp + 0x170], rax
mov edx, 0x11a
mov rcx, qword [rsp + 0x170]
call fcn.14013acd0
lea rax, [rsp + 0x380]
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x178]
call fcn.1400bdcb0
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x320]
call fcn.1400e8d90
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x190]
call fcn.140076650
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1400bc990
nop
lea rcx, [rsp + 0x320]
call fcn.1400c1ec0
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x198], rax
lea r8, [rsp + 0x88]
lea rdx, str.line
mov rcx, qword [rsp + 0x198]
call fcn.1400c4050
mov qword [rsp + 0x1a0], rax
mov edx, 0x11c
mov rcx, qword [rsp + 0x1a0]
call fcn.14013acd0
mov r8b, 0x3d
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x6f0]
call fcn.1400bb450
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 0x1400cc68d
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x6f0]
call fcn.1400bb3e0
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 0x1400cc68d
mov rax, qword [rsp + 0x8e0]
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400c38c0
lea rdx, [rsp + 0x230]
mov rcx, rax
call fcn.1400c2eb0
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x1b0], rax
lea rdx, [0x140229f74]
mov rcx, qword [rsp + 0x1b0]
call fcn.140071e30
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.1400bdcb0
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.1400dfde0
test eax, eax
je 0x1400cc68d
mov rax, qword [rsp + 0x8e0]
add rax, 0x10
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x1e8]
call fcn.1400c38c0
lea rdx, [rsp + 0x230]
mov rcx, rax
call fcn.1400c2eb0
nop
lea rcx, [rsp + 0x88]
call fcn.1400c12e0
nop
lea rcx, [rsp + 0x230]
call fcn.140072130
nop
lea rcx, [rsp + 0x250]
call fcn.140072130
nop
lea rcx, [rsp + 0x6f0]
call fcn.1400c5360
jmp 0x1400cc35a
lea rcx, [rsp + 0x270]
call fcn.140072130
nop
lea rcx, [rsp + 0x7e0]
call fcn.1400c5360
add rsp, 0x8d8
ret