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

Disassembly:
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x410b66
sub esp, 0x4c
mov eax, dword [0x4e99a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [0x4e99a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x18]
cmp dword [eax], ecx
je 0x410677
mov edx, dword [eax + 0x7c]
cmp edx, 1
jg 0x410677
mov ebx, dword [eax + 0x78]
test ebx, ebx
jne 0x410677
lea ebx, [edx - 1]
nop
mov dword [eax + 0x7c], ebx
cmp edx, 1
jne 0x41069f
movzx eax, byte [ecx + 0x65]
test al, al
je 0x41069f
mov dword [ecx + 8], 0xfffffade
jmp 0x41069f
mov edx, dword [eax + 0x7c]
lea ebx, [edx - 1]
nop
mov dword [eax + 0x7c], ebx
cmp edx, 1
jne 0x410695
movzx eax, byte [ecx + 0x65]
test al, al
je 0x410695
mov dword [ecx + 8], 0xfffffade
add esp, 0x4c
ret
inc dword [0x4c4c0c]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call fcn.004104a0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4106d0
xor eax, eax
jmp 0x4106dc
call fcn.0041c320
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x410699
nop
lea eax, [0x4c4e98]
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.0043ae20
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call fcn.004104a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x410852
mov eax, dword [0x4e9cbc]
cmp eax, 1
jne 0x41074c
mov eax, 1
jmp 0x41075a
cmp eax, 2
jne 0x410758
mov eax, 2
jmp 0x41075a
xor eax, eax
mov dword [esp + 0x20], eax
lea ecx, [0x4c1124]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0043ae20
nop
lea eax, [0x4c1120]
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.0043ae20
mov eax, dword [esp + 0x50]
cmp eax, 2
sete cl
mov byte [0x4c4eac], cl
movzx ecx, byte [0x4cdf44]
test cl, cl
je 0x41083a
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x4cdf84]
mov ecx, dword [0x4cdf88]
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.00444020
mov eax, dword [0x4cdf84]
mov ecx, dword [0x4cdf88]
add eax, 1
mov dword [0x4cdf84], eax
adc ecx, 0
mov dword [0x4cdf88], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [0x4c4b28]
mov dword [esp + 0x40], ecx
mov edx, dword [0x4c4b2c]
mov dword [esp + 0x28], edx
xor ebx, ebx
jmp 0x410885
nop
lea eax, [0x4c4e98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043b190
add esp, 0x4c
ret
mov ebp, dword [esp + 0x24]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
cmp ebx, edx
jge 0x4108b3
mov dword [esp + 0x24], ebx
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x30]
test byte [eax], al
add eax, 0x24c
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
cmp dword [0x4c9950], eax
je 0x410872
jmp 0x410b4f
call fcn.00411c70
lea eax, [0x46f2a4]
mov dword [esp], eax
call fcn.0044bc00
mov eax, dword [0x4e9970]
mov dword [0x4c4ed0], eax
mov dword [0x4c4ed4], eax
mov ecx, dword [0x4e9974]
cmp ecx, eax
jge 0x4108e8
mov dword [0x4c4ed0], ecx
lea eax, [0x4ea108]
mov dword [esp], eax
call fcn.00402360
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x4c4f0c], eax
mov dword [0x4c4f08], ecx
mov dword [0x4c4ef8], 0
mov dword [0x4c4efc], 0
mov eax, dword [esp + 0x20]
mov dword [0x4c4ea8], eax
call fcn.0044dde0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov dword [0x4c4edc], ecx
mov dword [0x4c4ed8], eax
mov dword [0x4c4f04], ecx
mov dword [0x4c4f00], eax
lea eax, [0x46f2ac]
mov dword [esp], eax
call fcn.0044bc00
lea eax, [0x46f2b0]
mov dword [esp], eax
call fcn.0044bc00
call fcn.004127c0
nop
lea eax, [0x4c4ecc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402280
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x4e9970]
lea ebx, [0x4ea0a0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
call fcn.00416ed0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea edx, [0x4e9be0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00412d80
mov eax, dword [esp + 0x20]
test eax, eax
je 0x410a08
mov byte [esp], 0
call fcn.00438aa0
nop
lea eax, [0x4e98ec]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402340
mov eax, dword [0x4e98ec]
cmp eax, 1
jne 0x410a31
mov eax, 1
jmp 0x410a37
cmp eax, 2
sete al
mov byte [0x4e9a84], al
mov byte [0x4e9a80], al
nop
mov dword [0x4c4e58], 0xffffffff
mov dword [0x4c4e64], 0xffffffff
call fcn.00413aa0
call fcn.00416d80
lea eax, [0x4e98f0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402340
mov eax, dword [0x4e99a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x410b70]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x44]
mov dword [esp], ecx
call fcn.0044bc00
nop
lea eax, [0x4c1120]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043b190
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x4e99a4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x410b18
movzx eax, byte [ebx + 0x65]
test al, al
je 0x410b10
mov dword [ebx + 8], 0xfffffade
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x410b1e
mov eax, dword [esp + 0x20]
test eax, eax
jmp 0x410b1e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x410b2f
nop
lea eax, [0x46f2bc]
mov dword [esp], eax
call fcn.0044bba0
nop
lea eax, [0x4c4e98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043b190
add esp, 0x4c
ret
lea eax, [0x46b163]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042c470
nop
call fcn.0044bcf0
jmp fcn.00410610