Function at 0x41eec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x11c
mov eax, dword [esp + 0x128]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x20], 1
jne 0x41ef4f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0x80000002
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x28]
lea eax, [0x5fa2a0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bdea0
jmp 0x41ef6e
mov edx, dword [esp + 0x10]
mov eax, 1
xor ecx, ecx
cmp dword [edx + 0x98], 0x110000
cmove eax, ecx
cmp eax, 1
je 0x41ef75
jmp 0x41efd8
add esp, 0x11c
ret
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x98]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], 0x80000000
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x4c]
lea eax, [0x5fa2b0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bdea0
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x60]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 1
jne 0x41f099
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
lea edx, [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00484270
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x80]
lea eax, [0x5fa2c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bdea0
mov eax, dword [esp + 0x10]
add eax, 0x10c
mov dword [esp], eax
call fcn.004c16f0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00482b00
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004cc730
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.004d4840
mov dword [esp + 0x9c], eax
mov edx, dword [esp + 0x9c]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x41f13b
mov eax, dword [esp + 0x10]
add eax, 0x100
mov dword [esp], eax
call fcn.004c15f0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00482b60
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004cc690
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
jmp 0x41f1c6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x118], ecx
mov ecx, dword [ecx]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], 0x80000000
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea ecx, [esp + 0xb0]
lea eax, [0x5fa2e0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bdea0
jmp 0x41f0d0
lea eax, [esp + 0xc4]
mov dword [esp], eax
call fcn.004d3f80
mov dword [esp + 0xcc], eax
mov edx, dword [esp + 0xcc]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
je 0x41ef6e
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x114], eax
lea ecx, [esp + 0xe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005585a0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], eax
lea ecx, [esp + 0xf0]
lea eax, [0x5fa2d0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004bdea0
jmp 0x41f1c6