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

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x414bb3
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00413fc0
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 0xf]
mov edx, dword [esp + 8]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 4]
mov dword [esp + 0x60], esi
test cl, 0x40
jne 0x4145b7
mov ecx, dword [eax + 4]
mov edi, dword [eax]
shr ecx, 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x94]
cmp ecx, edi
je 0x414552
mov dword [esp + 0x5c], edi
shr edi, 2
cmp edi, 0x20
ja 0x41454b
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x414bad
mov dword [esp + 0x28], edi
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.00414450
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x5c]
xor edx, edx
div ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
jmp 0x414a9b
xor edi, edi
jmp 0x41492a
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x20
jbe 0x414563
mov eax, dword [eax + 0x14]
jmp 0x4147f1
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call fcn.00414450
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.00414000
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x4147b0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x84], ecx
mov ebx, dword [eax + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00412c20
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00414c70
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x60]
xor esi, esi
jmp 0x414650
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x34]
shl eax, 2
sub ecx, eax
mov dword [esp + 0x10], ecx
call fcn.00414180
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
lea esi, [edx + ecx]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], esi
mov edi, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], eax
mov eax, edi
jmp 0x414754
mov esi, dword [esp + 0x80]
movzx esi, byte [esi]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.00414000
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0x48]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x94]
cmp eax, ebx
jne 0x41460b
jmp 0x414762
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
movzx esi, byte [eax]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 8
call fcn.00414000
mov eax, dword [esp + 0x40]
add eax, 0xfffffff8
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x80]
mov dword [esp], esi
call fcn.00412c40
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x60]
cmp eax, 8
ja 0x4146c5
jmp 0x41466b
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
call fcn.00414270
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
add eax, 7
shr eax, 3
mov dword [esp + 4], eax
call fcn.00467710
add esp, 0x88
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
call fcn.00414270
add esp, 0x88
ret
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], esi
mov dword [esp], eax
call fcn.00414450
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x20
call fcn.00414000
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
mov dword [esp + 4], 4
call fcn.00412c20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add ecx, 0xffffffe0
cmp ecx, 0x20
ja 0x4147e1
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
call fcn.00414450
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
call fcn.00414000
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x4147b0
mov ecx, dword [eax + 4]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x6c]
sub edx, ecx
mov dword [esp + 0x10], edx
call fcn.00414180
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
lea edi, [edx + ecx]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x44], edi
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
jmp 0x414a58
mov dword [esp], ecx
call fcn.00414450
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.00414000
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x44]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
cmp ecx, ebx
jne 0x4148e2
jmp 0x414a7a
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.00414450
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x20
call fcn.00414000
mov eax, dword [esp + 0x3c]
add eax, 0xffffffe0
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov dword [esp + 4], 4
call fcn.00412c20
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebp
mov edi, dword [esp + 0x3c]
cmp edi, 0x20
ja 0x4149ba
jmp 0x414946
mov ebx, edx
mov edx, edi
mov ecx, esi
mov eax, ebp
jmp 0x4147b0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x58]
mov edx, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
cmp edx, 0x10
ja 0x414b2c
mov dword [esp + 0x38], ecx
test eax, 1
je 0x414af3
mov dword [esp + 0x30], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00414000
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
shr eax, 1
mov ecx, edx
mov ebx, dword [esp + 0x38]
shl ebx, cl
mov ebp, dword [esp + 0x38]
or ebp, ebx
mov ebx, dword [esp + 0x2c]
add ebx, ecx
shl ecx, 1
cmp eax, 1
jne 0x414a87
mov edx, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], edx
jmp 0x414b73
mov dword [esp + 0x30], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00414000
mov eax, dword [esp + 0x30]
dec eax
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp eax, 1
ja 0x414b36
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.00414000
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x414a7a
call fcn.00439e40
nop
call fcn.00465d00
jmp fcn.00414480