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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x485e1b
sub esp, 0xec
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
jne 0x4855dd
movsd xmm0, qword [esp + 0xfc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x5d3300]
jmp 0x48560c
cmp edx, 0x40
jne 0x485e02
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp + 0x8c], xmm0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
lea eax, [0x5d3310]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov esi, ebx
mov ebx, dword [eax]
mov dword [esp + 0x84], ebx
mov edi, ebp
lea ebp, [edx + ebx]
mov dword [esp + 0x80], ebp
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x7c], ebp
lea edx, [ebx + edx - 0x20]
mov dword [esp + 0x78], edx
neg edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov ecx, edx
mov edx, edi
shl edi, cl
mov ecx, dword [esp + 0x80]
shr esi, cl
and esi, ebp
mov ebp, dword [esp + 0x74]
and ebp, edi
or esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x78]
mov edi, edx
shr edx, cl
and ebx, edx
or ebx, esi
test ebx, ebx
setne dl
mov ecx, ebp
shr edi, cl
mov ebp, dword [esp + 0x7c]
test ebp, edi
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov ebx, dword [esp + 0x84]
cmp ebx, 0x20
mov esi, edx
sbb edx, edx
mov dword [esp + 0x7c], edx
mov edi, ebp
mov ebp, dword [esp + 0x88]
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x70], ebp
lea ebp, [ebx - 0x20]
mov dword [esp + 0x78], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x74], ebp
cmp ebp, 0x20
sbb edx, edx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov dword [esp + 0x68], ebx
mov ecx, ebp
mov ebx, 1
shr ebx, cl
and ebx, edx
mov ecx, dword [esp + 0x78]
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x68]
and edx, ebp
or edx, ebx
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x84]
mov ebp, 1
shl ebp, cl
mov ebx, dword [esp + 0x7c]
and ebp, ebx
mov dword [esp + 0x7c], ebp
add ebp, 0xffffffff
mov dword [esp + 0x60], ebp
adc edx, 0xffffffff
mov dword [esp + 0x5c], edx
or edi, esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
shl edx, cl
mov ebp, dword [esp + 0x6c]
and edx, ebp
mov ecx, esi
mov ebp, dword [esp + 0x50]
mov esi, ebp
shr ebp, cl
and ebp, ebx
or ebp, edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
mov ebx, edx
shr edx, cl
mov ecx, ebx
mov ebx, dword [esp + 0x68]
and edx, ebx
or edx, ebp
mov ebx, ecx
mov ecx, dword [esp + 0x88]
mov ebp, 1
shl ebp, cl
mov ecx, ebx
mov ebx, dword [esp + 0x70]
and ebx, ebp
dec ebx
and edx, ebx
mov ebp, dword [esp + 0x60]
and ebp, esi
mov esi, ebp
mov ebp, dword [esp + 0x5c]
and ebp, ecx
cmp edx, ebx
jne 0x48588a
test esi, esi
setne al
test ebp, ebp
setne cl
or ecx, eax
test cl, cl
je 0x4857b0
mov eax, 3
lea ecx, [0x50cc16]
jmp 0x4857ce
xchg edi, eax
test al, al
xchg edi, eax
je 0x4857c3
mov eax, 4
lea ecx, [0x50ccc0]
jmp 0x4857ce
mov eax, 4
lea ecx, [0x50ccbc]
mov edx, dword [esp + 0xf4]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xf8]
cmp ebp, ebx
jb 0x4857ec
mov esi, dword [esp + 0xf0]
jmp 0x48583e
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x4f6540]
mov dword [esp + 0x10], ecx
call fcn.004494b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xf4]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x70], ebx
mov dword [esp + 0xd4], esi
mov dword [esp + 0x58], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00462060
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x118], eax
add esp, 0xec
ret
test edx, edx
jne 0x485895
mov edx, 1
jmp 0x4858a1
mov ecx, dword [esp + 0x64]
or ebp, ecx
mov ecx, dword [esp + 0x7c]
or esi, ecx
add edx, dword [eax + 8]
movzx ecx, byte [esp + 0x104]
cmp cl, 0x62
je 0x485d9f
cmp cl, 0x78
je 0x4858bf
cmp cl, 0x58
jne 0x485931
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], cl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.00487210
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
movzx ebx, byte [0x5d31e1]
test bl, bl
je 0x485d2d
mov dword [esp + 0xd0], eax
xchg edi, eax
mov byte [esp + 0x3b], al
xchg edi, eax
mov ebx, edi
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.0046196b
mov ecx, dword [esp + 0x108]
test ecx, ecx
jl 0x485ba5
mov dword [esp + 0x44], ebp
mov edi, edx
movzx edx, byte [esp + 0x104]
cmp dl, 0x66
je 0x485b15
cmp dl, 0x47
ja 0x4859a2
cmp dl, 0x45
je 0x4859a7
cmp dl, 0x47
jne 0x485996
test ecx, ecx
jmp 0x4859c9
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
jmp 0x4859f8
cmp dl, 0x65
jne 0x4859c2
lea ebp, [ecx + 1]
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
movzx edx, byte [esp + 0x104]
mov dword [esp + 0x70], ecx
jmp 0x485a01
cmp dl, 0x67
jne 0x4859ee
test ecx, ecx
jne 0x4859dc
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
jmp 0x4859e8
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, ecx
mov dword [esp + 0x70], ebp
jmp 0x485a01
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], edi
lea edi, [esp + 0x94]
call fcn.0046196a
jne 0x485a82
cmp ebp, 9
jg 0x485a82
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x58]
sub ebx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00487b10
movzx edx, byte [esp + 0x104]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x40]
mov eax, 1
jmp 0x485afc
cmp ebp, 0x12
jg 0x485af9
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov edi, dword [esp + 0x58]
sub edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.00487e90
mov eax, dword [esp + 0x4c]
cmp eax, 0x12
movzx edx, byte [esp + 0x104]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x40]
setle al
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
mov byte [esp + 0x3a], al
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x108]
jmp 0x485b1f
mov eax, ecx
xor eax, eax
mov byte [esp + 0x3a], al
mov eax, ecx
movzx ebp, byte [esp + 0x3a]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x485b31
test eax, eax
jmp 0x485cb5
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], bl
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x20], eax
call fcn.00485e30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea edi, [esp + 0xac]
call fcn.00461968
lea ecx, [esp + 0xac]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], 0x20
mov dword [esp + 0xe0], 0x20
mov ecx, dword [esp + 0xd0]
mov ebx, dword [ecx]
mov eax, ecx
lea ecx, [esp + 0xd8]
mov dword [esp], ecx
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
sub edx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00488af0
movzx ecx, byte [esp + 0x104]
cmp cl, 0x47
ja 0x485c2e
cmp cl, 0x45
je 0x485c33
cmp cl, 0x47
jne 0x485c23
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x485c9a
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x485cac
cmp cl, 0x65
jne 0x485c5a
mov eax, dword [esp + 0xe4]
dec eax
test eax, eax
jle 0x485c4a
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x485cac
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x485cac
cmp cl, 0x66
jne 0x485c8c
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0xe8]
test eax, eax
jle 0x485c7c
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x485cac
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x485cac
cmp cl, 0x67
jne 0x485ca3
mov eax, dword [esp + 0x108]
test eax, eax
mov eax, dword [esp + 0xe4]
jmp 0x485cac
mov eax, dword [esp + 0x108]
test eax, eax
mov edx, ecx
movzx ebx, byte [esp + 0x3b]
mov ecx, eax
mov dword [esp + 0x70], ecx
setl al
mov ebp, dword [esp + 0xf0]
mov dword [esp], ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 8], ebp
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
lea edi, [esp + 0x10]
lea esi, [esp + 0xd8]
call fcn.00461e4e
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], dl
call fcn.00486170
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], cl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.00485e30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 8], ecx
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.00487060
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea eax, [0x4f6380]
mov dword [esp], eax
lea eax, [0x54094c]
mov dword [esp + 4], eax
call fcn.00434b80
nop
call fcn.00460380
jmp fcn.00485590