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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x48640a
sub esp, 0xd0
mov eax, dword [esp + 0xf0]
cmp eax, 0x20
je 0x485bf8
cmp eax, 0x40
jne 0x4863f1
movsd xmm0, qword [esp + 0xe0]
movsd qword [esp], xmm0
call fcn.004840f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [0x5a1330]
jmp 0x485c1b
movsd xmm0, qword [esp + 0xe0]
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call fcn.004840c0
mov eax, dword [esp + 4]
xor ecx, ecx
lea edx, [0x5a1320]
mov dword [esp + 0x48], ecx
mov ebx, dword [edx + 4]
mov dword [esp + 0x74], ebx
mov ebp, dword [edx]
mov dword [esp + 0x70], ebp
mov esi, edx
lea edx, [ebx + ebp]
cmp edx, 0x20
mov edi, edx
sbb edx, edx
lea ebx, [ebp + ebx - 0x20]
mov dword [esp + 0x6c], ebx
neg ebx
cmp ebx, 0x20
sbb ebp, ebp
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x6c]
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x64], ebp
mov ecx, edi
mov ebp, dword [esp + 0x48]
shr ebp, cl
test edx, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov edi, eax
shr eax, cl
and eax, edx
mov ecx, ebx
mov edx, dword [esp + 0x48]
mov ebx, edx
shl edx, cl
mov ecx, ebp
mov ebp, dword [esp + 0x68]
and edx, ebp
or eax, edx
mov edx, ecx
mov ecx, dword [esp + 0x6c]
shr ebx, cl
mov ebp, dword [esp + 0x64]
and ebx, ebp
or ebx, eax
test ebx, ebx
setne bl
mov byte [esp + 0x3b], bl
mov ebp, dword [esp + 0x70]
mov eax, edx
lea edx, [ebp - 0x20]
mov dword [esp + 0x6c], edx
neg edx
mov dword [esp + 0x68], edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x6c]
cmp ebx, 0x20
sbb edx, edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x74]
cmp edx, 0x20
sbb edx, edx
mov dword [esp + 0x5c], edx
cmp ebp, 0x20
sbb edx, edx
mov dword [esp + 0x58], edx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
and ebx, edx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x6c]
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x60]
and edx, ebp
mov ecx, dword [esp + 0x68]
mov ebp, 1
shr ebp, cl
mov ebx, dword [esp + 0x64]
and ebp, ebx
or ebp, edx
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x54]
add edx, 0xffffffff
adc ebp, 0xffffffff
mov dword [esp + 0x50], ebp
movzx ebp, byte [esp + 0x3b]
or ebp, eax
mov eax, ebp
mov ebp, dword [esp + 0x48]
shl ebp, cl
and ebp, ebx
mov ecx, dword [esp + 0x70]
mov ebx, edi
shr edi, cl
mov ecx, edx
mov edx, dword [esp + 0x58]
and edi, edx
or edi, ebp
mov edx, ecx
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x48]
shr ebp, cl
mov ecx, edx
mov edx, dword [esp + 0x60]
and ebp, edx
or ebp, edi
mov edx, ecx
mov ecx, dword [esp + 0x74]
mov edi, edx
mov edx, 1
shl edx, cl
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
and ebx, edx
lea edx, [ebx - 1]
and ebp, edx
and edi, ecx
mov ebx, dword [esp + 0x50]
mov ecx, edx
mov edx, dword [esp + 0x48]
and ebx, edx
cmp ebp, ecx
jne 0x485e80
test edi, edi
setne cl
test ebx, ebx
setne dl
or edx, ecx
test dl, dl
je 0x485da8
mov eax, 3
lea ecx, [0x503975]
jmp 0x485dc4
test al, al
je 0x485db9
mov eax, 4
lea ecx, [0x503a1f]
jmp 0x485dc4
mov eax, 4
lea ecx, [0x503a1b]
mov edx, dword [esp + 0xd8]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xdc]
cmp ebp, ebx
jb 0x485de2
mov esi, dword [esp + 0xd4]
jmp 0x485e34
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x4ec9a0]
mov dword [esp + 0x10], ecx
call fcn.0044cd30
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xd8]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xb8], esi
mov dword [esp + 0x4c], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00465a70
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xfc], eax
add esp, 0xd0
ret
test ebp, ebp
jne 0x485e8b
mov ebp, 1
jmp 0x485e97
mov ecx, dword [esp + 0x54]
or edi, ecx
mov ecx, dword [esp + 0x68]
or ebx, ecx
add ebp, dword [esi + 8]
movzx ecx, byte [esp + 0xe8]
cmp cl, 0x62
je 0x486390
cmp cl, 0x78
je 0x485eb5
cmp cl, 0x58
jne 0x485f25
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
call fcn.00487710
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
add esp, 0xd0
ret
movzx edx, byte [0x5a1201]
test dl, dl
je 0x486320
mov byte [esp + 0x3b], al
mov edx, edi
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.0046537b
mov ecx, dword [esp + 0xec]
test ecx, ecx
jl 0x48618a
mov dword [esp + 0x6c], edx
mov edi, ebp
movzx ebp, byte [esp + 0xe8]
xchg ebp, eax
cmp al, 0x66
xchg ebp, eax
je 0x4860fc
mov dword [esp + 0x40], ebx
xchg ebp, eax
cmp al, 0x47
xchg ebp, eax
ja 0x485f99
xchg ebp, eax
cmp al, 0x45
xchg ebp, eax
je 0x485fa0
xchg ebp, eax
cmp al, 0x47
xchg ebp, eax
jne 0x485f8d
test ecx, ecx
jmp 0x485fc0
mov ebx, dword [esp + 0xf0]
cmp ebx, 0x20
jmp 0x485fef
xchg ebp, eax
cmp al, 0x65
xchg ebp, eax
jne 0x485fb7
lea ebx, [ecx + 1]
mov edx, dword [esp + 0xf0]
cmp edx, 0x20
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ecx
jmp 0x485ff8
xchg ebp, eax
cmp al, 0x67
xchg ebp, eax
jne 0x485fe5
test ecx, ecx
jne 0x485fd3
mov ebx, dword [esp + 0xf0]
cmp ebx, 0x20
mov ebx, 1
jmp 0x485fdf
mov ebx, dword [esp + 0xf0]
cmp ebx, 0x20
mov ebx, ecx
mov dword [esp + 0x5c], ebx
jmp 0x485ff8
mov ebx, dword [esp + 0xf0]
cmp ebx, 0x20
mov ebx, 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xb4], esi
mov dword [esp + 0x4c], edi
lea edi, [esp + 0x78]
call fcn.0046537a
jne 0x486071
cmp ebx, 9
jg 0x486071
lea eax, [esp + 0x78]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0x18
mov dword [esp + 0xc4], 0x18
mov eax, dword [esi]
lea ecx, [esp + 0xbc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x4c]
sub ebp, eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.00488080
mov edx, dword [esp + 0x6c]
movzx ebp, byte [esp + 0xe8]
mov esi, dword [esp + 0xb4]
mov eax, 1
jmp 0x4860e3
cmp ebx, 0x12
jg 0x4860e0
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x78]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0x18
mov dword [esp + 0xc4], 0x18
mov eax, dword [esi]
lea ecx, [esp + 0xbc]
mov dword [esp], ecx
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 4], edx
mov edi, dword [esp + 0x4c]
sub edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.004882f0
mov eax, dword [esp + 0x44]
cmp eax, 0x12
mov edx, dword [esp + 0x6c]
movzx ebp, byte [esp + 0xe8]
mov esi, dword [esp + 0xb4]
setle al
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
mov byte [esp + 0x3a], al
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0xec]
jmp 0x486106
mov eax, ecx
xor eax, eax
mov byte [esp + 0x3a], al
mov eax, ecx
movzx edx, byte [esp + 0x3a]
test dl, dl
je 0x486116
test eax, eax
jmp 0x4862a1
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
xchg ebp, eax
mov byte [esp + 0x10], al
xchg ebp, eax
movzx eax, byte [esp + 0x3b]
mov byte [esp + 0x11], al
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
call fcn.00486420
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
add esp, 0xd0
ret
lea edi, [esp + 0x90]
call fcn.00465378
lea ecx, [esp + 0x90]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], 0x20
mov dword [esp + 0xc4], 0x20
mov ecx, dword [esi]
mov eax, esi
lea esi, [esp + 0xbc]
mov dword [esp], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
sub ebp, ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.00488b90
movzx ecx, byte [esp + 0xe8]
cmp cl, 0x47
ja 0x48620f
cmp cl, 0x45
je 0x486214
cmp cl, 0x47
jne 0x486201
mov eax, dword [esp + 0xec]
test eax, eax
jmp 0x486256
mov eax, dword [esp + 0xec]
test eax, eax
jmp 0x48629d
cmp cl, 0x65
jne 0x486243
mov eax, dword [esp + 0xc8]
dec eax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00488050
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xec]
test ecx, ecx
movzx ecx, byte [esp + 0xe8]
jmp 0x48629d
cmp cl, 0x66
je 0x48626a
cmp cl, 0x67
jne 0x48625f
mov eax, dword [esp + 0xec]
test eax, eax
mov eax, dword [esp + 0xc8]
jmp 0x48629d
mov eax, dword [esp + 0xec]
test eax, eax
jmp 0x48629d
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xcc]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00488050
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xec]
test ecx, ecx
movzx ecx, byte [esp + 0xe8]
mov ebp, ecx
mov ecx, eax
mov dword [esp + 0x5c], ecx
setl al
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
movzx eax, byte [esp + 0x3b]
mov byte [esp + 0xd], al
lea edi, [esp + 0x10]
lea esi, [esp + 0xbc]
call fcn.0046585e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
xchg ebp, eax
mov byte [esp + 0x28], al
xchg ebp, eax
call fcn.00486770
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
add esp, 0xd0
ret
mov edx, dword [esp + 0xd4]
mov dword [esp], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
call fcn.00486420
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
add esp, 0xd0
ret
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00487560
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
add esp, 0xd0
ret
lea eax, [0x4ec7e0]
mov dword [esp], eax
lea eax, [0x518118]
mov dword [esp + 4], eax
call fcn.00438510
nop
call fcn.00463e70
jmp fcn.00485ba0