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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x460caf
sub esp, 0x5c
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x20]
test ebx, ebx
jbe 0x460ca5
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov dword [esp], eax
call fcn.00460cc0
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.0045c5c0
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 0x4608a4
mov eax, dword [edx + 0xc]
nop
cmp eax, 0xffec
jae 0x460c9b
mov byte [edx + eax + 0x14], 0
inc dword [edx + 0xc]
mov eax, dword [edx + 0xc]
lea esi, [eax + 0xa]
cmp esi, 0xffec
ja 0x460c8f
cmp eax, esi
ja 0x460c88
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 0x46092c
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 0x46095d
test edi, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, 0x80
setb dl
and edx, ebp
test dl, dl
je 0x460905
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 0x460c7e
cmp eax, ecx
ja 0x460c79
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 0x4609a7
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 0x4609d0
cmp esi, 0x80
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x460994
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 0x460c6f
cmp eax, ecx
ja 0x460c6a
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 0x460a18
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 0x460a41
cmp esi, 0x80
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x460a05
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 0x460c60
cmp eax, ecx
ja 0x460c5b
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 0x460a83
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 0x460aa7
cmp esi, 0x80
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, 1
xchg edi, eax
test al, al
xchg edi, eax
je 0x460a75
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 0x460c51
cmp eax, ecx
ja 0x460c4c
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 0x460b12
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 0x460b40
test esi, esi
sete cl
cmp edi, 0x80
setb dl
and ecx, edx
test cl, cl
je 0x460ae9
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 0x460c42
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 0x460b69
mov ecx, ebp
mov ebx, dword [esp + 0x50]
cmp ebx, eax
je 0x460b8d
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00472440
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 0x460ba8
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
cmp eax, 4
jge 0x460c2b
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.00476610
mov eax, dword [esp + 4]
test eax, eax
jne 0x460bec
movzx ecx, byte [esp + 0x2b]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
jmp 0x460ba1
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.00460800
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
jmp 0x460ba1
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.00471b90
call fcn.00471b90
mov edx, 0xffec
call fcn.00471b50
call fcn.00471b90
mov edx, 0xffec
call fcn.00471b50
call fcn.00471b90
mov edx, 0xffec
call fcn.00471b50
call fcn.00471b90
mov edx, 0xffec
call fcn.00471b50
mov ecx, esi
call fcn.00471b90
mov ecx, esi
mov edx, 0xffec
call fcn.00471b50
mov ecx, 0xffec
call fcn.00471b30
xor eax, eax
mov ecx, eax
call fcn.00471b30
nop
call fcn.004706b0
jmp fcn.00460800