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

Disassembly:
mov ecx, dword [0x5d54ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418d24
sub esp, 0x48
nop
lea eax, [0x5972fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044b110
jmp 0x418a73
mov dword [eax + 0x74], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [0x418d30]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov dword [esp], ecx
call fcn.004661b0
nop
lea eax, [0x57b3ac]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b470
cmp dword [0x5d541c], 1
jne 0x418d04
mov eax, dword [0x5972c4]
cmp dword [0x5972b8], eax
jne 0x418d04
mov dword [esp], 0
call fcn.0041aab0
movzx eax, byte [esp + 4]
test al, al
jne 0x418d04
nop
lea eax, [0x57b3ac]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044b110
mov dword [0x5d5424], 0
nop
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [0x418ea0]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0x1e
lea ecx, [0x4e6298]
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x3c]
mov dword [esp], edx
call fcn.004661b0
mov eax, dword [0x5d5424]
test eax, eax
je 0x418b44
nop
lea eax, [0x57b3ac]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b470
jmp 0x418a73
nop
call fcn.00468380
mov eax, dword [esp]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
mov dword [0x597348], eax
mov dword [0x59734c], ecx
mov edx, dword [0x5d54ec]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov dword [edx + 0x78], 5
mov ebx, dword [0x5d5590]
test ebx, ebx
je 0x418b8e
mov ebx, dword [edx + 0x74]
call fcn.004676a0
mov dword [edi], ebx
lea eax, [0x4da7e8]
mov dword [edx + 0x74], eax
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x418e50]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x38], edx
lea ebx, [esp + 0x34]
mov dword [esp], ebx
call fcn.004661b0
mov byte [esp + 0x17], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea eax, [0x418db0]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x17]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
call fcn.004661b0
movzx eax, byte [esp + 0x17]
test al, al
je 0x418c48
mov eax, dword [0x5d54ec]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x78], 0
mov ecx, dword [0x5d5590]
test ecx, ecx
je 0x418a22
mov ecx, dword [eax + 0x74]
call fcn.004676a0
mov dword [edi], ecx
jmp 0x418a22
call fcn.0044feb0
lea eax, [0x5d5420]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402e30
lea eax, [0x5d5780]
mov dword [esp], eax
mov byte [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
call fcn.0041b940
call fcn.0041de60
nop
lea eax, [0x5972fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b470
mov byte [esp], 1
call fcn.00447e30
mov eax, dword [0x5d54a8]
movzx ecx, byte [0x59730c]
lea edx, [0x5d5d60]
mov dword [esp], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], cl
call fcn.004210a0
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov byte [esp], al
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00418f20
add esp, 0x48
ret
nop
lea eax, [0x5972fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b470
add esp, 0x48
ret
call fcn.004662a0
jmp fcn.004189e0