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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41894e
sub esp, 0x50
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x418875
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x418875
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x418875
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418371
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418371
mov dword [eax + 8], 0xfffffade
jmp 0x418371
inc dword [0xb3b25c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.004181d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x418864
xor eax, eax
test al, al
jne 0x41836b
nop
lea eax, [0xb5a3bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00444270
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.004181d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x418844
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0xb5a3d0], al
mov eax, dword [0xb59af8]
cmp eax, 1
jne 0x41882e
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0xaf616c]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00444270
nop
lea eax, [0xaf618c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00444270
movzx eax, byte [0xb45908]
test al, al
jne 0x4187bd
mov eax, dword [0xb3ae68]
mov dword [esp + 0x44], eax
mov ecx, dword [0xb3ae6c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4184a2
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4184d7
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401fa0
mov eax, dword [esp + 4]
mov ecx, dword [0xb4138c]
cmp eax, ecx
je 0x418493
jmp 0x418897
call fcn.00419d00
lea eax, [0x877fac]
mov dword [esp], eax
call fcn.0045e1f0
mov eax, dword [0xb59644]
mov dword [0xb5a3fc], eax
mov dword [0xb5a400], eax
mov ecx, dword [0xb59658]
cmp eax, ecx
jle 0x41850c
mov dword [0xb5a3fc], ecx
lea eax, [0xb5d2b8]
mov dword [esp], eax
call fcn.004021a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0xb5a438], eax
mov dword [0xb5a434], ecx
mov dword [0xb5a424], 0
mov dword [0xb5a428], 0
mov eax, dword [esp + 0x14]
mov dword [0xb5a3cc], eax
call fcn.00460900
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0xb5a408], eax
mov dword [0xb5a404], ecx
mov dword [0xb5a430], eax
mov dword [0xb5a42c], ecx
movzx eax, byte [0xb45908]
test al, al
jne 0x41876e
lea eax, [0x878088]
mov dword [esp], eax
call fcn.0045e1f0
lea eax, [0x877fb0]
mov dword [esp], eax
call fcn.0045e1f0
call fcn.0041abc0
inc dword [0xb5a3f8]
lea eax, [0xb59f20]
mov dword [esp], eax
call fcn.00416820
mov eax, dword [0xb5bd08]
mov ecx, dword [0xb5bd0c]
mov dword [0xb5a44c], eax
mov dword [0xb5a450], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418760
nop
lea eax, [0xb59640]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [0xb59640]
cmp eax, 1
jne 0x418755
mov eax, 1
mov byte [0xb59944], al
test al, al
je 0x418749
mov eax, 1
mov byte [0xb59940], al
nop
mov dword [0xb5a398], 0xffffffff
mov dword [0xb5a3a4], 0xffffffff
call fcn.0041b200
call fcn.0041eca0
lea eax, [0xb59634]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402170
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0xb59f50], eax
mov dword [0xb59f54], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x4571b0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045e1f0
nop
lea eax, [0xaf618c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00444580
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418741
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418739
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418728
lea eax, [0xb5a3bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00444580
add esp, 0x50
ret
nop
lea eax, [0x877fc4]
mov dword [esp], eax
call fcn.0045e190
jmp 0x418709
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x418707
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x418707
movzx eax, byte [0xb59945]
jmp 0x41861e
cmp eax, 2
sete al
jmp 0x41860b
mov byte [esp], 0
call fcn.00440770
jmp 0x4185e0
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044f080
jmp 0x418587
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xb45938]
mov ecx, dword [0xb4593c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044f080
mov eax, dword [0xb45938]
add eax, 1
mov ecx, dword [0xb4593c]
mov dword [0xb45938], eax
adc ecx, 0
mov dword [0xb4593c], ecx
jmp 0x41847b
cmp eax, 2
jne 0x41883d
mov eax, 2
jmp 0x418421
xor eax, eax
jmp 0x418421
nop
lea eax, [0xb5a3bc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00444580
add esp, 0x50
ret
call fcn.00421130
cmp dword [esp], 0xffffffff
setne al
jmp 0x4183a4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418893
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418893
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.00434a60
lea eax, [0x8512f7]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00435360
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00435170
lea eax, [0x850363]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00435360
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00435000
lea eax, [0x851dd7]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00435360
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00435000
call fcn.00434c80
call fcn.00434ad0
lea eax, [0x856bff]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004331c0
nop
call fcn.0045e310
jmp fcn.004182f0