Function at 0x1400fbba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x4e8
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [rsp + 0x68], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
lea r8, [0x14021db18]
mov edx, reloc.WLDAP32.dll_Ordinal_143
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400fbc24
lea rax, [rsp + 0x288]
mov qword [rsp + 0x70], rax
lea rdx, [0x14021db28]
mov rcx, qword [rsp + 0x70]
call fcn.1400bc990
mov qword [rsp + 0x78], rax
mov edx, 0x15c5
mov rcx, qword [rsp + 0x78]
call fcn.14013acd0
xor eax, eax
jmp 0x1400fc441
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 0x1400fbc86
lea rax, [rsp + 0x290]
mov qword [rsp + 0x80], rax
lea rdx, [0x14021db38]
mov rcx, qword [rsp + 0x80]
call fcn.1400bc990
mov qword [rsp + 0x88], rax
mov edx, 0x15c8
mov rcx, qword [rsp + 0x88]
call fcn.14013acd0
xor eax, eax
jmp 0x1400fc441
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jne 0x1400fbce6
lea rax, [rsp + 0x298]
mov qword [rsp + 0x90], rax
lea rdx, [0x14021db48]
mov rcx, qword [rsp + 0x90]
call fcn.1400bc990
mov qword [rsp + 0x98], rax
mov edx, 0x15cb
mov rcx, qword [rsp + 0x98]
call fcn.14013acd0
xor eax, eax
jmp 0x1400fc441
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400fbd43
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xa0], rax
lea rdx, [0x14021db60]
mov rcx, qword [rsp + 0xa0]
call fcn.1400bc990
mov qword [rsp + 0xa8], rax
mov edx, 0x15ce
mov rcx, qword [rsp + 0xa8]
call fcn.14013acd0
xor eax, eax
jmp 0x1400fc441
mov eax, dword [rsp + 0x2c]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x338]
call fcn.1400bde60
nop
lea rcx, [rsp + 0x370]
call fcn.1400bf170
nop
lea r8, [rsp + 0x338]
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x370]
call fcn.1400dec80
nop
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x3f0]
call fcn.1400bd7b0
nop
lea rcx, [rsp + 0x268]
call fcn.1400be7a0
nop
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0x20]
call fcn.1400bca90
nop
mov dword [rsp + 0x28], 0
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x3f0]
call fcn.1400bb6d0
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 0x1400fc2ef
lea rcx, [rsp + 0x268]
call fcn.14006ea80
cmp rax, 2
jbe 0x1400fc2ea
lea rcx, [rsp + 0x268]
call fcn.140076650
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c2d60
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0xb0], rax
lea rdx, [0x14021db70]
mov rcx, qword [rsp + 0xb0]
call fcn.1400bc990
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0xc8]
call fcn.1400bc870
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call fcn.1400dfe70
test eax, eax
jle 0x1400fbef1
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0xe8], rax
lea rdx, str._EN_
mov rcx, qword [rsp + 0xe8]
call fcn.1400bc990
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
call fcn.1400bc870
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.1400dfe70
test eax, eax
jle 0x1400fbf98
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x120], rax
lea rdx, str._zid_
mov rcx, qword [rsp + 0x120]
call fcn.1400bc990
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x138], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x138]
call fcn.1400bc870
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x150]
call fcn.1400dfe70
test eax, eax
jle 0x1400fc03f
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x158], rax
lea rdx, str._zi_
mov rcx, qword [rsp + 0x158]
call fcn.1400bc990
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x170]
call fcn.1400bc870
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.1400dfe70
test eax, eax
jle 0x1400fc0e6
mov dword [rsp + 0x28], 3
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0x190], rax
lea rdx, [0x14021dbac]
mov rcx, qword [rsp + 0x190]
call fcn.1400bc990
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x1a8], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x1a8]
call fcn.1400bc870
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1c0]
call fcn.1400dfe70
test eax, eax
je 0x1400fc2ea
lea rcx, [rsp + 0x20]
call fcn.1400d2080
lea rcx, [rsp + 0x248]
call fcn.1400bc590
nop
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x1c8], rax
lea rdx, [0x14021dbb0]
mov rcx, qword [rsp + 0x1c8]
call fcn.1400bc990
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x1e0], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400bc870
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f8], rax
lea r8, [rsp + 0x248]
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f8]
call fcn.1400e7960
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x10
lea rcx, [0x1404a6d20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x210], rax
xor edx, edx
lea rcx, [rsp + 0x248]
call fcn.1400c3790
mov qword [rsp + 0x208], rax
mov edx, 1
lea rcx, [rsp + 0x248]
call fcn.1400c3790
mov qword [rsp + 0x200], rax
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0x238]
call fcn.1400b13c0
nop
lea r8, [rsp + 0x238]
lea rdx, [rsp + 0x358]
mov rcx, qword [rsp + 0x210]
call fcn.1400bb7b0
nop
lea rcx, [rsp + 0x238]
call fcn.1400c2090
nop
lea rcx, [rsp + 0x248]
call fcn.1400c1230
jmp 0x1400fbdd4
lea rdx, [0x14021dbb4]
lea rcx, [rsp + 0x20]
call fcn.1400c2cd0
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, [0x1404a6d20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x218], rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x218]
call fcn.1400de960
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, [0x1404a6d20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x220], rax
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x220]
call fcn.1400ddf30
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400c35f0
movzx eax, al
test eax, eax
je 0x1400fc3da
lea rcx, [rsp + 0x58]
call fcn.1400c3ab0
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c2ca0
lea rax, [rsp + 0x310]
mov qword [rsp + 0x228], rax
lea r8, [rsp + 0x20]
lea rdx, [0x14021dbb8]
mov rcx, qword [rsp + 0x228]
call fcn.1400c4050
mov qword [rsp + 0x230], rax
mov edx, 0x15fc
mov rcx, qword [rsp + 0x230]
call fcn.14013acd0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x20]
call fcn.1400c12e0
nop
lea rcx, [rsp + 0x268]
call fcn.1400c1ec0
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400c53a0
nop
lea rcx, [rsp + 0x318]
call fcn.1400c1ec0
nop
lea rcx, [rsp + 0x370]
call fcn.1400c22c0
nop
lea rcx, [rsp + 0x338]
call fcn.140072130
mov eax, dword [rsp + 0x38]
add rsp, 0x4e8
ret