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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41476c
sub esp, 0x60
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x41416f
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x41416f
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x41416f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x414197
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414197
mov dword [eax + 8], 0xfffffade
jmp 0x414197
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41418d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41418d
mov dword [eax + 8], 0xfffffade
add esp, 0x60
ret
inc dword [0x60a7bc]
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.00413f90
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4141c8
xor eax, eax
jmp 0x4141d4
call fcn.00421630
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x414191
lea eax, [0x60ab98]
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.004444a0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.00413f90
movzx eax, byte [esp + 0x10]
test al, al
je 0x41434d
mov eax, dword [0x62f778]
cmp eax, 1
jne 0x414243
mov eax, 1
jmp 0x414251
cmp eax, 2
jne 0x41424f
mov eax, 2
jmp 0x414251
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x64]
cmp ecx, 2
sete dl
mov byte [esp + 0x23], dl
lea ebx, [0x5c7230]
mov dword [esp], ebx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.004444a0
lea eax, [0x5c7250]
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.004444a0
movzx eax, byte [esp + 0x23]
mov byte [0x60abac], al
movzx eax, byte [0x6139c8]
test al, al
je 0x414335
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [0x6139f8]
mov ecx, dword [0x6139fc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044f8d0
mov eax, dword [0x6139f8]
mov ecx, dword [0x6139fc]
add eax, 1
adc ecx, 0
mov dword [0x6139f8], eax
mov dword [0x6139fc], ecx
mov eax, dword [0x60a610]
mov dword [esp + 0x54], eax
mov ecx, dword [0x60a614]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x41437c
nop
lea eax, [0x60ab98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004447c0
add esp, 0x60
ret
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x4143b1
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x4c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00401ed0
mov eax, dword [0x60f418]
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x41436d
jmp 0x4146b5
call fcn.004160f0
lea eax, [0x510364]
mov dword [esp], eax
call fcn.0045bef0
mov eax, dword [0x62f3c8]
mov dword [0x60abd0], eax
mov dword [0x60abd4], eax
mov ecx, dword [0x62f3e4]
cmp ecx, eax
jge 0x4143e6
mov dword [0x60abd0], ecx
lea eax, [0x62fd70]
mov dword [esp], eax
call fcn.00402140
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x60ac0c], eax
mov dword [0x60ac08], ecx
mov dword [0x60abf8], 0
mov dword [0x60abfc], 0
mov eax, dword [esp + 0x28]
mov dword [0x60aba8], eax
call fcn.0045e180
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [0x60abdc], eax
mov dword [0x60abd8], ecx
mov dword [0x60ac04], eax
mov dword [0x60ac00], ecx
movzx eax, byte [0x6139c8]
test al, al
je 0x4144a7
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044f8d0
lea eax, [0x510434]
mov dword [esp], eax
call fcn.0045bef0
lea eax, [0x510368]
mov dword [esp], eax
call fcn.0045bef0
call fcn.004170b0
nop
lea eax, [0x60abcc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402040
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x62f3c8]
lea ebx, [0x62fd20]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
call fcn.0041c0f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x62f7c0]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00417610
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41455b
mov byte [esp], 0
call fcn.00440a00
lea eax, [0x62f3c4]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402110
mov eax, dword [0x62f3c4]
cmp eax, 1
jne 0x414583
mov eax, 1
jmp 0x414589
cmp eax, 2
sete al
mov byte [0x62f5e4], al
test al, al
je 0x41459a
mov eax, 1
jmp 0x4145a1
movzx eax, byte [0x62f5e5]
mov byte [0x62f5e0], al
nop
mov dword [0x60ab58], 0xffffffff
mov dword [0x60ab64], 0xffffffff
call fcn.00418390
call fcn.0041bfa0
lea eax, [0x62f3bc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402110
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x414780]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
mov dword [esp], ecx
call fcn.0045bef0
lea eax, [0x5c7250]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004447c0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41467f
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414677
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x414685
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x414685
mov eax, dword [esp + 0x28]
test eax, eax
je 0x414695
lea eax, [0x510374]
mov dword [esp], eax
call fcn.0045be90
nop
lea eax, [0x60ab98]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004447c0
add esp, 0x60
ret
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.00433f80
lea eax, [0x504fe4]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004347d0
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00434610
lea eax, [0x50480f]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004347d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004344c0
lea eax, [0x50559e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004347d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004344c0
call fcn.00434180
call fcn.00433ff0
lea eax, [0x508005]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004328e0
nop
call fcn.0045c000
jmp fcn.00414100