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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4609bf
sub esp, 0x5c
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x20]
test ebx, ebx
jbe 0x4609b5
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov dword [esp], eax
call fcn.004609d0
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
lea ecx, [eax + 0x34]
mov edx, dword [esp + 4]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
movzx ebx, byte [esp + 0x70]
mov byte [esp + 0xc], bl
mov dword [esp + 0x10], ecx
call fcn.0045c2d0
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
movzx ebp, byte [esp + 0x20]
test al, al
je 0x4605b4
mov eax, dword [edx + 0xc]
nop
cmp eax, 0xffec
jae 0x4609ab
mov byte [edx + eax + 0x14], 0
inc dword [edx + 0xc]
mov eax, dword [edx + 0xc]
lea esi, [eax + 0xa]
cmp esi, 0xffec
ja 0x46099f
cmp eax, esi
ja 0x460998
xchg ebp, eax
mov byte [esp + 0x2b], al
xchg ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ecx
lea esi, [eax - 0xffec]
xchg esi, ebx
neg ebx
xchg esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov edi, dword [esp + 0x60]
mov ecx, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
lea esi, [esi + edx + 0x14]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
jmp 0x46063c
mov edx, ecx
or edx, 0xffffff80
mov byte [esi + ebx], dl
shr ecx, 7
mov edx, edi
shl edx, 0x19
inc ebx
or ecx, edx
shr edi, 7
mov edx, dword [esp + 0x4c]
movzx ebp, byte [esp + 0x2b]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
cmp ebx, 0xa
jge 0x46066d
test edi, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, 0x80
setb dl
and edx, ebp
test dl, dl
je 0x460615
mov byte [esi + ebx], cl
lea eax, [ebx + eax + 1]
mov edx, dword [esp + 0x4c]
movzx ebp, byte [esp + 0x2b]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
cmp ecx, 0xffec
ja 0x46098e
cmp eax, ecx
ja 0x460989
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [esp + 0x54]
mov edi, esi
lea ebx, [ebx + edx + 0x14]
xor ecx, ecx
jmp 0x4606b7
mov ebp, esi
or ebp, 0xffffff80
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
inc ecx
shr esi, 7
movzx ebp, byte [esp + 0x2b]
cmp ecx, 0xa
jge 0x4606e0
cmp esi, 0x80
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4606a4
xchg esi, eax
mov byte [ebx + ecx], al
xchg esi, eax
lea eax, [ecx + eax + 1]
movzx ebp, byte [esp + 0x2b]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
nop
nop
cmp ecx, 0xffec
ja 0x46097f
cmp eax, ecx
ja 0x46097a
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [edi]
lea ebx, [ebx + edx + 0x14]
xor ecx, ecx
jmp 0x460728
mov ebp, esi
or ebp, 0xffffff80
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
inc ecx
shr esi, 7
movzx ebp, byte [esp + 0x2b]
cmp ecx, 0xa
jge 0x460751
cmp esi, 0x80
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x460715
xchg esi, eax
mov byte [ebx + ecx], al
xchg esi, eax
lea eax, [ecx + eax + 1]
movzx ebp, byte [esp + 0x2b]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
cmp ecx, 0xffec
ja 0x460970
cmp eax, ecx
ja 0x46096b
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [edi + 4]
lea ebx, [ebx + edx + 0x14]
xor ecx, ecx
jmp 0x460793
mov edi, esi
or edi, 0xffffff80
xchg edi, eax
mov byte [ebx + ecx], al
xchg edi, eax
inc ecx
shr esi, 7
cmp ecx, 0xa
jge 0x4607b7
cmp esi, 0x80
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, 1
xchg edi, eax
test al, al
xchg edi, eax
je 0x460785
xchg esi, eax
mov byte [ebx + ecx], al
xchg esi, eax
lea eax, [ecx + eax + 1]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
cmp ecx, 0xffec
ja 0x460961
cmp eax, ecx
ja 0x46095c
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [esp + 0x2c]
mov edi, esi
sar esi, 0x1f
lea ebx, [ebx + edx + 0x14]
mov ecx, edi
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov ecx, edi
jmp 0x460822
mov ecx, edi
or ecx, 0xffffff80
mov byte [ebx + ebp], cl
shr edi, 7
mov ecx, esi
shl ecx, 0x19
lea edx, [ebp + 1]
or edi, ecx
shr esi, 7
mov ecx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x2b]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
cmp ebp, 0xa
jge 0x460850
test esi, esi
sete cl
cmp edi, 0x80
setb dl
and ecx, edx
test cl, cl
je 0x4607f9
xchg edi, eax
mov byte [ebx + ebp], al
xchg edi, eax
lea eax, [ebp + eax + 1]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
cmp eax, 0xffec
ja 0x460952
lea ebx, [eax - 0xffec]
neg ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea eax, [eax + edx + 0x14]
cmp ecx, ebp
jl 0x460879
mov ecx, ebp
mov ebx, dword [esp + 0x50]
cmp ebx, eax
je 0x46089d
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00471df0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
add dword [edx + 0xc], ecx
xor eax, eax
movzx ecx, byte [esp + 0x2b]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x58]
jmp 0x4608b8
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
cmp eax, 4
jge 0x46093b
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov byte [esp + 0x2b], cl
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x60]
lea edx, [ecx + eax*4]
nop
mov dword [esp], edx
call fcn.00475f70
mov eax, dword [esp + 4]
test eax, eax
jne 0x4608fc
movzx ecx, byte [esp + 0x2b]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
jmp 0x4608b1
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x2b]
mov byte [esp + 0x10], al
call fcn.00460510
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
jmp 0x4608b1
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
mov byte [esp + 0x80], cl
add esp, 0x5c
ret
mov ecx, 0xffec
call fcn.00471540
call fcn.00471540
mov edx, 0xffec
call fcn.00471500
call fcn.00471540
mov edx, 0xffec
call fcn.00471500
call fcn.00471540
mov edx, 0xffec
call fcn.00471500
call fcn.00471540
mov edx, 0xffec
call fcn.00471500
mov ecx, esi
call fcn.00471540
mov ecx, esi
mov edx, 0xffec
call fcn.00471500
mov ecx, 0xffec
call fcn.004714e0
xor eax, eax
mov ecx, eax
call fcn.004714e0
nop
call fcn.00470060
jmp fcn.00460510