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

Disassembly:
mov ecx, dword [0x57fc4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x41897f
sub esp, 0x84
call fcn.0044cbb0
mov eax, dword [esp]
mov ecx, dword [0x57fc4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x418499
cmp dword [eax + 0x7c], 1
jg 0x418499
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x418499
call fcn.0044cbd0
jmp 0x4184a5
call fcn.0044cbd0
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
call fcn.004182e0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4184e2
xor eax, eax
jmp 0x4184ee
call fcn.00426340
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x4184a5
lea eax, [0x560758]
mov dword [esp], eax
call fcn.0044d1a0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
call fcn.004182e0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4185f2
mov eax, dword [0x57ff80]
cmp eax, 1
jne 0x41854f
mov eax, 1
jmp 0x41855d
cmp eax, 2
jne 0x41855b
mov eax, 2
jmp 0x41855d
xor eax, eax
mov dword [esp + 0x44], eax
lea ecx, [0x558290]
mov dword [esp], ecx
call fcn.0044d1a0
lea eax, [0x55828c]
mov dword [esp], eax
call fcn.0044d1a0
mov eax, dword [esp + 0x88]
cmp eax, 2
sete cl
mov byte [0x560768], cl
call fcn.0045f250
mov eax, dword [esp]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], ecx
call fcn.0045f3c0
movzx eax, byte [esp + 8]
test al, al
je 0x4185da
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0045f7a0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0045f3d0
mov eax, dword [0x5601c8]
mov dword [esp + 0x68], eax
mov ecx, dword [0x5601cc]
mov dword [esp + 0x58], ecx
xor edx, edx
jmp 0x418616
lea eax, [0x560758]
mov dword [esp], eax
call fcn.0044d4d0
add esp, 0x84
ret
mov ebx, dword [esp + 0x54]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
cmp edx, ecx
jge 0x41864b
mov dword [esp + 0x54], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x60], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.004761d0
mov eax, dword [esp + 4]
mov ecx, dword [0x567c30]
cmp ecx, eax
je 0x418607
jmp 0x4188ca
call fcn.0041a070
lea eax, [0x4dbdf8]
mov dword [esp], eax
call fcn.004703d0
mov eax, dword [0x57fc08]
mov dword [0x56078c], eax
mov dword [0x560790], eax
mov ecx, dword [0x57fc0c]
cmp ecx, eax
jge 0x418680
mov dword [0x56078c], ecx
lea eax, [0x580548]
mov dword [esp], eax
call fcn.004762e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x5607bc], eax
mov dword [0x5607c0], ecx
mov dword [0x5607b4], 0
mov dword [0x5607b8], 0
mov eax, dword [esp + 0x44]
mov dword [0x560764], eax
call fcn.0046efe0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [0x560794], eax
mov dword [0x560798], ecx
lea edi, [esp + 0x20]
xor eax, eax
call fcn.004719b9
lea eax, [0x418a50]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
call fcn.004703d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
lea edx, [0x5607d4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.00434330
lea eax, [0x4dbe00]
mov dword [esp], eax
call fcn.004703d0
call fcn.0041b070
lea eax, [0x560788]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004762b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x57fc08]
lea ebx, [0x5804e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
call fcn.004203e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x57ff00]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0041b590
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4187e3
mov byte [esp], 0
call fcn.004489e0
mov dword [esp], 1
call fcn.00418180
call fcn.0041a1b0
call fcn.0041c4b0
call fcn.00420290
lea eax, [0x57fb88]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00476890
call fcn.0044cbb0
mov eax, dword [esp]
mov dword [esp + 0x64], eax
call fcn.0046efe0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [0x560790]
lea esi, [0x5607d4]
mov dword [esp], esi
sub eax, edx
mov dword [esp + 4], eax
sbb ecx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.00434330
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x418990]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.004703d0
lea eax, [0x55828c]
mov dword [esp], eax
call fcn.0044d4d0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0044cbd0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4188b5
call fcn.0043c2d0
lea eax, [0x560758]
mov dword [esp], eax
call fcn.0044d4d0
add esp, 0x84
ret
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
call fcn.0043b190
lea eax, [0x4d1ca6]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043b9a0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043b7f0
lea eax, [0x4d18fa]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043b9a0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043b6c0
lea eax, [0x4d2443]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043b9a0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043b6c0
call fcn.0043b370
call fcn.0043b1f0
lea eax, [0x4d4273]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0046c450
nop
call fcn.004704c0
jmp fcn.00418450