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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414ca7
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 0x4146ff
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x4146ff
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x4146ff
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414727
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414727
mov dword [eax + 8], 0xfffffade
jmp 0x414727
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x41471d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41471d
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
inc dword [0x5591ec]
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.00414560
movzx eax, byte [esp + 0x10]
test al, al
jne 0x414758
xor eax, eax
jmp 0x414764
call fcn.0041f2f0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x414721
nop
lea eax, [0x57f66c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004431e0
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.00414560
movzx eax, byte [esp + 0x10]
test al, al
je 0x4148c7
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x57f680], al
mov eax, dword [0x57eed8]
cmp eax, 1
jne 0x4147df
mov eax, 1
jmp 0x4147ed
cmp eax, 2
jne 0x4147eb
mov eax, 2
jmp 0x4147ed
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [0x543108]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004431e0
nop
lea eax, [0x543128]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004431e0
movzx eax, byte [0x563268]
test al, al
je 0x4148af
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x563298]
mov ecx, dword [0x56329c]
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.0044dfb0
mov eax, dword [0x563298]
add eax, 1
mov ecx, dword [0x56329c]
mov dword [0x563298], eax
adc ecx, 0
mov dword [0x56329c], ecx
mov eax, dword [0x5590f0]
mov dword [esp + 0x44], eax
mov ecx, dword [0x5590f4]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4148f6
nop
lea eax, [0x57f66c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004434f0
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 0x41492b
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 [0x55eccc]
cmp ecx, eax
je 0x4148e7
jmp 0x414bf0
call fcn.00416210
lea eax, [0x4c39f0]
mov dword [esp], eax
call fcn.00459230
mov eax, dword [0x57ec44]
mov dword [0x57f6ac], eax
mov dword [0x57f6b0], eax
mov ecx, dword [0x57ec60]
cmp ecx, eax
jge 0x414960
mov dword [0x57f6ac], ecx
lea eax, [0x57f3f0]
mov dword [esp], eax
call fcn.004020c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x57f6e8], eax
mov dword [0x57f6e4], ecx
mov dword [0x57f6d4], 0
mov dword [0x57f6d8], 0
mov eax, dword [esp + 0x14]
mov dword [0x57f67c], eax
call fcn.0045b600
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x57f6b8], eax
mov dword [0x57f6b4], ecx
mov dword [0x57f6e0], eax
mov dword [0x57f6dc], ecx
movzx eax, byte [0x563268]
test al, al
je 0x414a21
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.0044dfb0
lea eax, [0x4c3ab4]
mov dword [esp], eax
call fcn.00459230
lea eax, [0x4c39f4]
mov dword [esp], eax
call fcn.00459230
call fcn.00417200
inc dword [0x57f6a8]
lea eax, [0x57f3c0]
mov dword [esp], eax
call fcn.0041b340
mov eax, dword [0x57f3e0]
mov ecx, dword [0x57f3e4]
mov dword [0x57f6fc], eax
mov dword [0x57f700], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x414a7f
mov byte [esp], 0
call fcn.0043f530
nop
lea eax, [0x57ec40]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [0x57ec40]
cmp eax, 1
jne 0x414aa8
mov eax, 1
jmp 0x414aae
cmp eax, 2
sete al
mov byte [0x57eda4], al
test al, al
je 0x414abf
mov eax, 1
jmp 0x414ac6
movzx eax, byte [0x57eda5]
mov byte [0x57eda0], al
nop
mov dword [0x57f638], 0xffffffff
mov dword [0x57f644], 0xffffffff
call fcn.00417810
call fcn.0041b1a0
lea eax, [0x57ec38]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x57f438], eax
mov dword [0x57f43c], 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, [0x414cc0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00459230
nop
lea eax, [0x543128]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004434f0
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 0x414bb9
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414bb1
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x414bbf
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x414bbf
mov eax, dword [esp + 0x14]
test eax, eax
je 0x414bd0
nop
lea eax, [0x4c3a04]
mov dword [esp], eax
call fcn.004591d0
nop
lea eax, [0x57f66c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004434f0
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.00433100
lea eax, [0x4baf94]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004339e0
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004337e0
lea eax, [0x4ba942]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004339e0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00433680
lea eax, [0x4bb394]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004339e0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00433680
call fcn.00433320
call fcn.00433170
lea eax, [0x4bd26a]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00431be0
nop
call fcn.00459340
jmp fcn.00414690