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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41536c
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 0x414d6f
mov edx, dword [ecx + 0x7c]
cmp edx, 1
jg 0x414d6f
mov ebx, dword [ecx + 0x78]
test ebx, ebx
jne 0x414d6f
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x414d97
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414d97
mov dword [eax + 8], 0xfffffade
jmp 0x414d97
nop
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x414d8d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414d8d
mov dword [eax + 8], 0xfffffade
add esp, 0x60
ret
inc dword [0x57f1bc]
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.00414b90
movzx eax, byte [esp + 0x10]
test al, al
jne 0x414dc8
xor eax, eax
jmp 0x414dd4
call fcn.00423150
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x414d91
lea eax, [0x57f4f8]
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.004480e0
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.00414b90
movzx eax, byte [esp + 0x10]
test al, al
je 0x414f4d
mov eax, dword [0x5a3ff8]
cmp eax, 1
jne 0x414e43
mov eax, 1
jmp 0x414e51
cmp eax, 2
jne 0x414e4f
mov eax, 2
jmp 0x414e51
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, [0x5691c8]
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.004480e0
lea eax, [0x5691e8]
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.004480e0
movzx eax, byte [esp + 0x23]
mov byte [0x57f50c], al
movzx eax, byte [0x588328]
test al, al
je 0x414f35
nop
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [0x588358]
mov ecx, dword [0x58835c]
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.00456400
mov eax, dword [0x588358]
mov ecx, dword [0x58835c]
add eax, 1
adc ecx, 0
mov dword [0x588358], eax
mov dword [0x58835c], ecx
mov eax, dword [0x57f0b0]
mov dword [esp + 0x54], eax
mov ecx, dword [0x57f0b4]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x414f7c
nop
lea eax, [0x57f4f8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448400
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 0x414fb1
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.00401fd0
mov eax, dword [0x583d78]
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x414f6d
jmp 0x4152b5
call fcn.00416d70
lea eax, [0x4d864c]
mov dword [esp], eax
call fcn.00462260
mov eax, dword [0x5a3d10]
mov dword [0x57f530], eax
mov dword [0x57f534], eax
mov ecx, dword [0x5a3d2c]
cmp ecx, eax
jge 0x414fe6
mov dword [0x57f530], ecx
lea eax, [0x5a45f0]
mov dword [esp], eax
call fcn.00402240
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x57f56c], eax
mov dword [0x57f568], ecx
mov dword [0x57f558], 0
mov dword [0x57f55c], 0
mov eax, dword [esp + 0x28]
mov dword [0x57f508], eax
call fcn.00464540
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [0x57f53c], eax
mov dword [0x57f538], ecx
mov dword [0x57f564], eax
mov dword [0x57f560], ecx
movzx eax, byte [0x588328]
test al, al
je 0x4150a7
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.00456400
lea eax, [0x4d870c]
mov dword [esp], eax
call fcn.00462260
lea eax, [0x4d8650]
mov dword [esp], eax
call fcn.00462260
call fcn.00417d50
nop
lea eax, [0x57f52c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402140
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x5a3d10]
lea ebx, [0x5a45a0]
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.0041cf80
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x5a4040]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00418340
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41515b
mov byte [esp], 0
call fcn.004440b0
lea eax, [0x5a3d0c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402210
mov eax, dword [0x5a3d0c]
cmp eax, 1
jne 0x415183
mov eax, 1
jmp 0x415189
cmp eax, 2
sete al
mov byte [0x5a3e94], al
test al, al
je 0x41519a
mov eax, 1
jmp 0x4151a1
movzx eax, byte [0x5a3e95]
mov byte [0x5a3e90], al
nop
mov dword [0x57f4b8], 0xffffffff
mov dword [0x57f4c4], 0xffffffff
call fcn.004190f0
call fcn.0041ce30
lea eax, [0x5a3d04]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402210
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, [0x415380]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
mov dword [esp], ecx
call fcn.00462260
lea eax, [0x5691e8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448400
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 0x41527f
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x415277
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x415285
mov eax, dword [esp + 0x28]
test eax, eax
jmp 0x415285
mov eax, dword [esp + 0x28]
test eax, eax
je 0x415295
lea eax, [0x4d8660]
mov dword [esp], eax
call fcn.00462200
nop
lea eax, [0x57f4f8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448400
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.00437050
lea eax, [0x4cf140]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00437ca0
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00437aa0
lea eax, [0x4cea59]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00437ca0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00437920
lea eax, [0x4cf587]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00437ca0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00437920
call fcn.00437270
call fcn.004370c0
lea eax, [0x4d1553]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004358a0
nop
call fcn.00462370
jmp fcn.00414d00