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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4154e7
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 0x414f3f
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x414f3f
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x414f3f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414f67
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414f67
mov dword [eax + 8], 0xfffffade
jmp 0x414f67
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414f5d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414f5d
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x5955cc]
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.00414da0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x414f98
xor eax, eax
jmp 0x414fa4
call fcn.0041fb30
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x414f61
nop
lea eax, [0x5bbb2c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00443ea0
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.00414da0
movzx eax, byte [esp + 0x10]
test al, al
je 0x415107
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x5bbb40], al
mov eax, dword [0x5bb398]
cmp eax, 1
jne 0x41501f
mov eax, 1
jmp 0x41502d
cmp eax, 2
jne 0x41502b
mov eax, 2
jmp 0x41502d
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x57f108]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00443ea0
nop
lea eax, [0x57f128]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00443ea0
movzx eax, byte [0x59f6a8]
test al, al
je 0x4150ef
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x59f6d8]
mov ecx, dword [0x59f6dc]
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.0044efb0
mov eax, dword [0x59f6d8]
add eax, 1
mov ecx, dword [0x59f6dc]
mov dword [0x59f6d8], eax
adc ecx, 0
mov dword [0x59f6dc], ecx
mov eax, dword [0x595468]
mov dword [esp + 0x44], eax
mov ecx, dword [0x59546c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x415136
nop
lea eax, [0x5bbb2c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004441b0
add esp, 0x50
ret
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x41516b
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.00401eb0
mov eax, dword [esp + 4]
mov ecx, dword [0x59b10c]
cmp ecx, eax
je 0x415127
jmp 0x415430
call fcn.00416a50
lea eax, [0x4ead8c]
mov dword [esp], eax
call fcn.0045aa50
mov eax, dword [0x5bb08c]
mov dword [0x5bbb6c], eax
mov dword [0x5bbb70], eax
mov ecx, dword [0x5bb0a8]
cmp ecx, eax
jge 0x4151a0
mov dword [0x5bbb6c], ecx
lea eax, [0x5bb8b0]
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5bbba8], eax
mov dword [0x5bbba4], ecx
mov dword [0x5bbb94], 0
mov dword [0x5bbb98], 0
mov eax, dword [esp + 0x14]
mov dword [0x5bbb3c], eax
call fcn.0045ce20
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x5bbb78], eax
mov dword [0x5bbb74], ecx
mov dword [0x5bbba0], eax
mov dword [0x5bbb9c], ecx
movzx eax, byte [0x59f6a8]
test al, al
je 0x415261
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.0044efb0
lea eax, [0x4eae68]
mov dword [esp], eax
call fcn.0045aa50
lea eax, [0x4ead90]
mov dword [esp], eax
call fcn.0045aa50
call fcn.00417a40
inc dword [0x5bbb68]
lea eax, [0x5bb880]
mov dword [esp], eax
call fcn.0041bb80
mov eax, dword [0x5bb8a0]
mov ecx, dword [0x5bb8a4]
mov dword [0x5bbbbc], eax
mov dword [0x5bbbc0], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4152bf
mov byte [esp], 0
call fcn.004401f0
nop
lea eax, [0x5bb088]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [0x5bb088]
cmp eax, 1
jne 0x4152e8
mov eax, 1
jmp 0x4152ee
cmp eax, 2
sete al
mov byte [0x5bb254], al
test al, al
je 0x4152ff
mov eax, 1
jmp 0x415306
movzx eax, byte [0x5bb255]
mov byte [0x5bb250], al
nop
mov dword [0x5bbaf8], 0xffffffff
mov dword [0x5bbb04], 0xffffffff
call fcn.00418050
call fcn.0041b9e0
lea eax, [0x5bb080]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x5bb8f8], eax
mov dword [0x5bb8fc], 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, [0x415500]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045aa50
nop
lea eax, [0x57f128]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004441b0
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 0x4153f9
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4153f1
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4153ff
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4153ff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x415410
nop
lea eax, [0x4eada0]
mov dword [esp], eax
call fcn.0045a9f0
nop
lea eax, [0x5bbb2c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004441b0
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.00433cd0
lea eax, [0x4e18c4]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004345b0
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004343b0
lea eax, [0x4e1233]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004345b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00434250
lea eax, [0x4e1d24]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004345b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00434250
call fcn.00433ef0
call fcn.00433d40
lea eax, [0x4e3d21]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004327b0
nop
call fcn.0045ab60
jmp fcn.00414ed0