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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414d72
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 0x414c99
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x414c99
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x414c99
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414841
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414841
mov dword [eax + 8], 0xfffffade
jmp 0x414841
inc dword [0x5b255c]
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.00414680
movzx eax, byte [esp + 0x10]
test al, al
jne 0x414c88
xor eax, eax
test al, al
jne 0x41483b
nop
lea eax, [0x5b2a40]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00434c30
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.00414680
movzx eax, byte [esp + 0x10]
test al, al
je 0x414c70
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x414c65
mov eax, 1
mov byte [0x5b2a54], al
mov eax, dword [0x5c263c]
cmp eax, 1
jne 0x414c4f
mov eax, 1
mov dword [esp + 0x14], eax
nop
lea ecx, [0x5a00bc]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00434c30
movzx eax, byte [0x5ba2e8]
test al, al
jne 0x414bde
mov eax, dword [0x5b2498]
mov dword [esp + 0x40], eax
mov ecx, dword [0x5b249c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x414946
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x41497d
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x34]
test byte [ebx], al
test byte [ecx], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00402080
mov eax, dword [esp + 4]
mov ecx, dword [0x5b3ecc]
cmp eax, ecx
je 0x414937
jmp 0x414cbb
call fcn.00415ec0
call fcn.00416c50
mov eax, dword [0x5c241c]
mov dword [0x5b2a80], eax
mov dword [0x5b2a84], eax
mov ecx, dword [0x5c2424]
cmp eax, ecx
jle 0x4149a9
mov dword [0x5b2a80], ecx
lea eax, [0x5c4fb0]
mov dword [esp], eax
call fcn.00402280
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x5b2ab8], eax
mov dword [0x5b2abc], ecx
mov dword [0x5b2aa8], 0
mov dword [0x5b2aac], 0
mov eax, dword [esp + 0x14]
mov dword [0x5b2a50], eax
call fcn.0044b6e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x5b2a88], eax
mov dword [0x5b2a8c], ecx
mov dword [0x5b2ab0], eax
mov dword [0x5b2ab4], ecx
movzx eax, byte [0x5ba2e8]
test al, al
jne 0x414b8f
lea eax, [0x4f84e0]
mov dword [esp], eax
call fcn.00449150
lea eax, [0x4f841c]
mov dword [esp], eax
call fcn.00449150
call fcn.00416dd0
inc dword [0x5b2a7c]
lea eax, [0x5c28e0]
mov dword [esp], eax
call fcn.00412f40
mov eax, dword [0x5c3a2c]
mov ecx, dword [0x5c3a28]
mov dword [0x5b2ad0], ecx
mov dword [0x5b2ad4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x414b81
nop
lea eax, [0x5c2418]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402260
mov eax, dword [0x5c2418]
cmp eax, 1
jne 0x414b76
mov eax, 1
mov byte [0x5c2564], al
test al, al
je 0x414b6a
mov eax, 1
mov byte [0x5c2560], al
nop
mov dword [0x5b2a18], 0xffffffff
mov dword [0x5b2a24], 0xffffffff
call fcn.00417a50
call fcn.0041afc0
lea eax, [0x5c240c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402260
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x5c2910], ecx
mov dword [0x5c2914], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x446a20]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00449150
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x414b58
nop
lea eax, [0x5b2a40]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00434f40
add esp, 0x4c
ret
nop
nop
lea eax, [0x4f842c]
mov dword [esp], eax
call fcn.004490f0
jmp 0x414b40
movzx eax, byte [0x5c2565]
jmp 0x414abb
cmp eax, 2
sete al
jmp 0x414aa8
mov byte [esp], 0
call fcn.00431420
jmp 0x414a7d
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.0043ea70
jmp 0x414a24
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x5ba31c]
mov ecx, dword [0x5ba318]
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.0043ea70
mov eax, dword [0x5ba318]
add eax, 1
mov ecx, dword [0x5ba31c]
mov dword [0x5ba318], eax
adc ecx, 0
mov dword [0x5ba31c], ecx
jmp 0x41491f
cmp eax, 2
jne 0x414c5e
mov eax, 2
jmp 0x4148f0
xor eax, eax
jmp 0x4148f0
cmp eax, 3
sete al
jmp 0x4148d6
nop
lea eax, [0x5b2a40]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.00434f40
add esp, 0x4c
ret
call fcn.0041b7f0
cmp dword [esp], 0xffffffff
setne al
jmp 0x414874
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414cb7
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414cb7
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 + 4]
mov dword [esp + 0x1c], eax
call fcn.00426f30
lea eax, [0x4efc79]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004277c0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00427610
lea eax, [0x4ef616]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004277c0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004274e0
lea eax, [0x4f0091]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004277c0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004274e0
call fcn.00427150
call fcn.00426fa0
lea eax, [0x4f2032]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004266a0
ud2
call fcn.00449270
jmp fcn.004147c0