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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415431
sub esp, 0x4c
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 0x41535a
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x41535a
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x41535a
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414ee9
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414ee9
mov dword [eax + 8], 0xfffffade
jmp 0x414ef1
inc dword [0x598cfc]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call fcn.00414d50
movzx eax, byte [esp + 0x10]
test al, al
jne 0x415349
xor eax, eax
test al, al
jne 0x414eeb
nop
lea eax, [0x599280]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043dd90
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
call fcn.00414d50
movzx eax, byte [esp + 0x10]
test al, al
je 0x415329
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0x599294], al
mov eax, dword [0x5a9c3c]
cmp eax, 1
jne 0x415313
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x5840fc]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043dd90
movzx eax, byte [0x5a18c8]
test al, al
jne 0x4152a2
mov eax, dword [0x598c08]
mov dword [esp + 0x40], eax
mov ecx, dword [0x598c0c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x414ffe
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x415033
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.00401f70
mov eax, dword [esp + 4]
mov ecx, dword [0x59b4c8]
cmp eax, ecx
je 0x414fef
jmp 0x41537c
call fcn.004165e0
lea eax, [0x4e9adc]
mov dword [esp], eax
call fcn.00453f00
mov eax, dword [0x5a99e8]
mov dword [0x5992c0], eax
mov dword [0x5992c4], eax
mov ecx, dword [0x5a99f0]
cmp eax, ecx
jle 0x415068
mov dword [0x5992c0], ecx
lea eax, [0x5ac640]
mov dword [esp], eax
call fcn.00402180
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x5992f8], eax
mov dword [0x5992fc], ecx
mov dword [0x5992e8], 0
mov dword [0x5992ec], 0
mov eax, dword [esp + 0x14]
mov dword [0x599290], eax
call fcn.004567f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x5992c8], eax
mov dword [0x5992cc], ecx
mov dword [0x5992f0], eax
mov dword [0x5992f4], ecx
movzx eax, byte [0x5a18c8]
test al, al
jne 0x415254
lea eax, [0x4e9bb0]
mov dword [esp], eax
call fcn.00453f00
lea eax, [0x4e9ae0]
mov dword [esp], eax
call fcn.00453f00
call fcn.00417470
inc dword [0x5992bc]
lea eax, [0x5a9f60]
mov dword [esp], eax
call fcn.004136e0
mov eax, dword [0x5ab0ac]
mov ecx, dword [0x5ab0a8]
mov dword [0x599310], ecx
mov dword [0x599314], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x415246
nop
lea eax, [0x5a99e4]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402160
mov eax, dword [0x5a99e4]
cmp eax, 1
jne 0x41523b
mov eax, 1
mov byte [0x5a9b24], al
test al, al
je 0x41522f
mov eax, 1
mov byte [0x5a9b20], al
nop
mov dword [0x599258], 0xffffffff
mov dword [0x599264], 0xffffffff
call fcn.004178d0
call fcn.0041b1f0
lea eax, [0x5a99d8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402160
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x5a9f90], ecx
mov dword [0x5a9f94], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x4513f0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00453f00
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41521e
lea eax, [0x599280]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043e0a0
add esp, 0x4c
ret
nop
lea eax, [0x4e9af4]
mov dword [esp], eax
call fcn.00453ea0
jmp 0x4151ff
movzx eax, byte [0x5a9b25]
jmp 0x41517a
cmp eax, 2
sete al
jmp 0x415167
mov byte [esp], 0
call fcn.0043a3c0
jmp 0x41513c
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.00449490
jmp 0x4150e3
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x5a18fc]
mov ecx, dword [0x5a18f8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
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.00449490
mov eax, dword [0x5a18f8]
add eax, 1
mov ecx, dword [0x5a18fc]
mov dword [0x5a18f8], eax
adc ecx, 0
mov dword [0x5a18fc], ecx
jmp 0x414fd7
cmp eax, 2
jne 0x415322
mov eax, 2
jmp 0x414fa1
xor eax, eax
jmp 0x414fa1
nop
lea eax, [0x599280]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043e0a0
add esp, 0x4c
ret
call fcn.0041d380
cmp dword [esp], 0xffffffff
setne al
jmp 0x414f24
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x415378
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415378
mov dword [eax + 8], 0xfffffade
add esp, 0x4c
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.0042f0a0
lea eax, [0x4e0474]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042f940
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042f780
lea eax, [0x4dfe22]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042f940
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
lea eax, [0x4e0932]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042f940
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042f650
call fcn.0042f2c0
call fcn.0042f110
lea eax, [0x4e2b8d]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042db80
nop
call fcn.00454020
jmp fcn.00414e70