Function at 0x140104ec0
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, [0x14022b790]
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 0x140104f44
lea rax, [rsp + 0x288]
mov qword [rsp + 0x70], rax
lea rdx, [0x14022b7a0]
mov rcx, qword [rsp + 0x70]
call fcn.1400becb0
mov qword [rsp + 0x78], rax
mov edx, 0x1711
mov rcx, qword [rsp + 0x78]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105761
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 0x140104fa6
lea rax, [rsp + 0x290]
mov qword [rsp + 0x80], rax
lea rdx, [0x14022b818]
mov rcx, qword [rsp + 0x80]
call fcn.1400becb0
mov qword [rsp + 0x88], rax
mov edx, 0x1714
mov rcx, qword [rsp + 0x88]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105761
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 0x140105006
lea rax, [rsp + 0x298]
mov qword [rsp + 0x90], rax
lea rdx, [0x14022b830]
mov rcx, qword [rsp + 0x90]
call fcn.1400becb0
mov qword [rsp + 0x98], rax
mov edx, 0x1717
mov rcx, qword [rsp + 0x98]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105761
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140105063
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xa0], rax
lea rdx, [0x14022b850]
mov rcx, qword [rsp + 0xa0]
call fcn.1400becb0
mov qword [rsp + 0xa8], rax
mov edx, 0x171a
mov rcx, qword [rsp + 0xa8]
call fcn.14014b1d0
xor eax, eax
jmp 0x140105761
mov eax, dword [rsp + 0x2c]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x338]
call fcn.1400c0420
nop
lea rcx, [rsp + 0x370]
call fcn.1400c1820
nop
lea r8, [rsp + 0x338]
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x370]
call fcn.1400e3690
nop
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x3f0]
call fcn.1400bfd70
nop
lea rcx, [rsp + 0x268]
call fcn.1400c0d60
nop
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0x20]
call fcn.1400bedb0
nop
mov dword [rsp + 0x28], 0
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x3f0]
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 0x14010560f
lea rcx, [rsp + 0x268]
call fcn.14006ec40
cmp rax, 2
jbe 0x14010560a
lea rcx, [rsp + 0x268]
call fcn.140076810
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c57d0
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0xb0], rax
lea rdx, [0x14022b868]
mov rcx, qword [rsp + 0xb0]
call fcn.1400becb0
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.1400beb90
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.1400e4bc0
test eax, eax
jle 0x140105211
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.1400becb0
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.1400beb90
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.1400e4bc0
test eax, eax
jle 0x1401052b8
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.1400becb0
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.1400beb90
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.1400e4bc0
test eax, eax
jle 0x14010535f
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.1400becb0
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.1400beb90
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.1400e4bc0
test eax, eax
jle 0x140105406
mov dword [rsp + 0x28], 3
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0x190], rax
lea rdx, [0x14022b948]
mov rcx, qword [rsp + 0x190]
call fcn.1400becb0
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.1400beb90
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.1400e4bc0
test eax, eax
je 0x14010560a
lea rcx, [rsp + 0x20]
call fcn.1400d5850
lea rcx, [rsp + 0x248]
call fcn.1400be8b0
nop
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x1c8], rax
lea rdx, [0x14022b960]
mov rcx, qword [rsp + 0x1c8]
call fcn.1400becb0
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.1400beb90
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.1400eceb0
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x10
lea rcx, [0x1404c0080]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x210], rax
xor edx, edx
lea rcx, [rsp + 0x248]
call fcn.1400c6240
mov qword [rsp + 0x208], rax
mov edx, 1
lea rcx, [rsp + 0x248]
call fcn.1400c6240
mov qword [rsp + 0x200], rax
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x208]
lea rcx, [rsp + 0x238]
call fcn.1400b1520
nop
lea r8, [rsp + 0x238]
lea rdx, [rsp + 0x358]
mov rcx, qword [rsp + 0x210]
call fcn.1400bd950
nop
lea rcx, [rsp + 0x238]
call fcn.1400c4a50
nop
lea rcx, [rsp + 0x248]
call fcn.1400c3930
jmp 0x1401050f4
lea rdx, [0x14022b964]
lea rcx, [rsp + 0x20]
call fcn.1400c5740
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, [0x1404c0080]
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.1400e3270
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rcx, [0x1404c0080]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x220], rax
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x220]
call fcn.1400e2780
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400c6060
movzx eax, al
test eax, eax
je 0x1401056fa
lea rcx, [rsp + 0x58]
call fcn.1400c6590
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c5710
lea rax, [rsp + 0x310]
mov qword [rsp + 0x228], rax
lea r8, [rsp + 0x20]
lea rdx, [0x14022b978]
mov rcx, qword [rsp + 0x228]
call fcn.1400c6b80
mov qword [rsp + 0x230], rax
mov edx, 0x1748
mov rcx, qword [rsp + 0x230]
call fcn.14014b1d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x20]
call fcn.1400c39e0
nop
lea rcx, [rsp + 0x268]
call fcn.1400c4860
nop
lea rcx, [rsp + 0x3f0]
call fcn.1400c7f70
nop
lea rcx, [rsp + 0x318]
call fcn.1400c4860
nop
lea rcx, [rsp + 0x370]
call fcn.1400c4cf0
nop
lea rcx, [rsp + 0x338]
call fcn.1400722f0
mov eax, dword [rsp + 0x38]
add rsp, 0x4e8
ret