Function at 0x140105770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x388
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [rsp + 0x70], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
lea r8, [0x14022b348]
mov edx, 0x91
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140105800
lea rax, [rsp + 0x180]
mov qword [rsp + 0x80], rax
lea rdx, [0x14022b358]
mov rcx, qword [rsp + 0x80]
call fcn.1400becb0
mov qword [rsp + 0x88], rax
mov edx, 0x16dc
mov rcx, qword [rsp + 0x88]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105c93
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140105862
lea rax, [rsp + 0x188]
mov qword [rsp + 0x90], rax
lea rdx, [0x14022b378]
mov rcx, qword [rsp + 0x90]
call fcn.1400becb0
mov qword [rsp + 0x98], rax
mov edx, 0x16df
mov rcx, qword [rsp + 0x98]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105c93
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1401058c2
lea rax, [rsp + 0x190]
mov qword [rsp + 0xa0], rax
lea rdx, [0x14022b388]
mov rcx, qword [rsp + 0xa0]
call fcn.1400becb0
mov qword [rsp + 0xa8], rax
mov edx, 0x16e2
mov rcx, qword [rsp + 0xa8]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105c93
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14010591f
lea rax, [rsp + 0x198]
mov qword [rsp + 0xb0], rax
lea rdx, [0x14022b3c8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400becb0
mov qword [rsp + 0xb8], rax
mov edx, 0x16e5
mov rcx, qword [rsp + 0xb8]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105c93
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1e0]
call fcn.1400c0420
nop
lea rcx, [rsp + 0x210]
call fcn.1400c1820
nop
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x210]
call fcn.1400e3690
nop
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x290]
call fcn.1400bfd70
nop
lea rcx, [rsp + 0x160]
call fcn.1400c0d60
nop
mov dword [rsp + 0x74], 0
lea rcx, [rsp + 0x28]
call fcn.1400bedb0
nop
mov dword [rsp + 0x78], 0
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x290]
call fcn.1400bd870
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 0x140105c2c
lea rcx, [rsp + 0x160]
call fcn.14006ec40
cmp rax, 2
jbe 0x140105c27
lea rcx, [rsp + 0x160]
call fcn.140076810
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c57d0
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0xc0], rax
lea rdx, [0x14022b3e8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400becb0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xd8]
call fcn.1400beb90
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400e4bc0
test eax, eax
je 0x140105c27
lea rcx, [rsp + 0x28]
call fcn.1400d5850
lea rcx, [rsp + 0x140]
call fcn.1400be8b0
nop
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xf8], rax
lea rdx, [0x14022b3ec]
mov rcx, qword [rsp + 0xf8]
call fcn.1400becb0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x110]
call fcn.1400beb90
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x128], rax
lea r8, [rsp + 0x140]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.1400eceb0
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400c6240
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400beb90
nop
mov edx, 1
lea rcx, [rsp + 0x140]
call fcn.1400c6240
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400beb90
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400b1520
nop
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x200]
lea rcx, [0x1404bfbe0]
call fcn.1400bd950
nop
lea rcx, [rsp + 0x130]
call fcn.1400c4a50
nop
lea rcx, [rsp + 0x58]
call fcn.1400c39e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400c39e0
nop
lea rcx, [rsp + 0x140]
call fcn.1400c3930
jmp 0x1401059b0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x28]
call fcn.1400c39e0
nop
lea rcx, [rsp + 0x160]
call fcn.1400c4860
nop
lea rcx, [rsp + 0x290]
call fcn.1400c7f70
nop
lea rcx, [rsp + 0x1c0]
call fcn.1400c4860
nop
lea rcx, [rsp + 0x210]
call fcn.1400c4cf0
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400722f0
mov eax, dword [rsp + 0x38]
add rsp, 0x388
ret