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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41891b
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 0x418844
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x418844
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x418844
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418341
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418341
mov dword [eax + 8], 0xfffffade
jmp 0x418341
inc dword [0x7cd59c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00418190
movzx eax, byte [esp + 0x10]
test al, al
jne 0x418833
xor eax, eax
test al, al
jne 0x41833b
nop
lea eax, [0x7e3e20]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442350
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00418190
movzx eax, byte [esp + 0x10]
test al, al
je 0x418813
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x7e3e34], al
mov eax, dword [0x7e365c]
cmp eax, 1
jne 0x4187fd
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x5e708c]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442350
nop
lea eax, [0x5e70ac]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442350
movzx eax, byte [0x7db128]
test al, al
jne 0x41878c
mov eax, dword [0x7cd318]
mov dword [esp + 0x44], eax
mov ecx, dword [0x7cd31c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x418472
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4184a7
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, 0x358
mov dword [esp], ebx
call fcn.00402770
mov eax, dword [esp + 4]
mov ecx, dword [0x7d48cc]
cmp eax, ecx
je 0x418463
jmp 0x418866
call fcn.00419ba0
lea eax, [0x692938]
mov dword [esp], eax
call fcn.0045b260
mov eax, dword [0x7e3278]
mov dword [0x7e3e60], eax
mov dword [0x7e3e64], eax
mov ecx, dword [0x7e328c]
cmp eax, ecx
jle 0x4184dc
mov dword [0x7e3e60], ecx
lea eax, [0x7e6d00]
mov dword [esp], eax
call fcn.00402960
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x7e3e98], eax
mov dword [0x7e3e9c], ecx
mov dword [0x7e3e88], 0
mov dword [0x7e3e8c], 0
mov eax, dword [esp + 0x14]
mov dword [0x7e3e30], eax
call fcn.0045d930
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x7e3e68], eax
mov dword [0x7e3e6c], ecx
mov dword [0x7e3e90], eax
mov dword [0x7e3e94], ecx
movzx eax, byte [0x7db128]
test al, al
jne 0x41873e
lea eax, [0x692a20]
mov dword [esp], eax
call fcn.0045b260
lea eax, [0x69293c]
mov dword [esp], eax
call fcn.0045b260
call fcn.0041aa10
inc dword [0x7e3e5c]
lea eax, [0x7e3a80]
mov dword [esp], eax
call fcn.00416950
mov eax, dword [0x7e5768]
mov ecx, dword [0x7e576c]
mov dword [0x7e3eb0], eax
mov dword [0x7e3eb4], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418730
nop
lea eax, [0x7e3274]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402940
mov eax, dword [0x7e3274]
cmp eax, 1
jne 0x418725
mov eax, 1
mov byte [0x7e34e4], al
test al, al
je 0x418719
mov eax, 1
mov byte [0x7e34e0], al
nop
mov dword [0x7e3df8], 0xffffffff
mov dword [0x7e3e04], 0xffffffff
call fcn.0041ae80
call fcn.0041eab0
lea eax, [0x7e3268]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402940
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x7e3ab0], eax
mov dword [0x7e3ab4], 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, [0x454e90]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045b260
nop
lea eax, [0x5e70ac]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442660
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 0x418711
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418709
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4186f8
lea eax, [0x7e3e20]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442660
add esp, 0x50
ret
nop
lea eax, [0x692950]
mov dword [esp], eax
call fcn.0045b200
jmp 0x4186d9
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4186d7
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4186d7
movzx eax, byte [0x7e34e5]
jmp 0x4185ee
cmp eax, 2
sete al
jmp 0x4185db
mov byte [esp], 0
call fcn.0043f090
jmp 0x4185b0
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.0044cfd0
jmp 0x418557
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x7db158]
mov ecx, dword [0x7db15c]
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.0044cfd0
mov eax, dword [0x7db158]
add eax, 1
mov ecx, dword [0x7db15c]
mov dword [0x7db158], eax
adc ecx, 0
mov dword [0x7db15c], ecx
jmp 0x41844b
cmp eax, 2
jne 0x41880c
mov eax, 2
jmp 0x4183f1
xor eax, eax
jmp 0x4183f1
nop
lea eax, [0x7e3e20]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442660
add esp, 0x50
ret
call fcn.004210e0
cmp dword [esp], 0xffffffff
setne al
jmp 0x418374
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418862
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418862
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.00433c00
lea eax, [0x67b7c0]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004345e0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00434410
lea eax, [0x67ae22]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004345e0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004342e0
lea eax, [0x67bebd]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004345e0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004342e0
call fcn.00433e20
call fcn.00433c70
lea eax, [0x67f161]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00432350
nop
call fcn.0045b380
jmp fcn.004182c0