Function at 0x485f20
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 0x48678a
sub esp, 0xd0
mov eax, dword [esp + 0xf0]
cmp eax, 0x20
je 0x485f78
cmp eax, 0x40
jne 0x486771
movsd xmm0, qword [esp + 0xe0]
movsd qword [esp], xmm0
call fcn.004842f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [0x5a2330]
jmp 0x485f9b
movsd xmm0, qword [esp + 0xe0]
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call fcn.004842c0
mov eax, dword [esp + 4]
xor ecx, ecx
lea edx, [0x5a2320]
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 0x486200
test edi, edi
setne cl
test ebx, ebx
setne dl
or edx, ecx
test dl, dl
je 0x486128
mov eax, 3
lea ecx, [0x503a58]
jmp 0x486144
test al, al
je 0x486139
mov eax, 4
lea ecx, [0x503b02]
jmp 0x486144
mov eax, 4
lea ecx, [0x503afe]
mov edx, dword [esp + 0xd8]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xdc]
cmp ebp, ebx
jb 0x486162
mov esi, dword [esp + 0xd4]
jmp 0x4861b4
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.00465c70
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 0x48620b
mov ebp, 1
jmp 0x486217
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 0x486710
cmp cl, 0x78
je 0x486235
cmp cl, 0x58
jne 0x4862a5
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.00487a90
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 [0x5a2201]
test dl, dl
je 0x4866a0
mov byte [esp + 0x3b], al
mov edx, edi
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.0046557b
mov ecx, dword [esp + 0xec]
test ecx, ecx
jl 0x48650a
mov dword [esp + 0x6c], edx
mov edi, ebp
movzx ebp, byte [esp + 0xe8]
xchg ebp, eax
cmp al, 0x66
xchg ebp, eax
je 0x48647c
mov dword [esp + 0x40], ebx
xchg ebp, eax
cmp al, 0x47
xchg ebp, eax
ja 0x486319
xchg ebp, eax
cmp al, 0x45
xchg ebp, eax
je 0x486320
xchg ebp, eax
cmp al, 0x47
xchg ebp, eax
jne 0x48630d
test ecx, ecx
jmp 0x486340
mov ebx, dword [esp + 0xf0]
cmp ebx, 0x20
jmp 0x48636f
xchg ebp, eax
cmp al, 0x65
xchg ebp, eax
jne 0x486337
lea ebx, [ecx + 1]
mov edx, dword [esp + 0xf0]
cmp edx, 0x20
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ecx
jmp 0x486378
xchg ebp, eax
cmp al, 0x67
xchg ebp, eax
jne 0x486365
test ecx, ecx
jne 0x486353
mov ebx, dword [esp + 0xf0]
cmp ebx, 0x20
mov ebx, 1
jmp 0x48635f
mov ebx, dword [esp + 0xf0]
cmp ebx, 0x20
mov ebx, ecx
mov dword [esp + 0x5c], ebx
jmp 0x486378
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.0046557a
jne 0x4863f1
cmp ebx, 9
jg 0x4863f1
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.00488400
mov edx, dword [esp + 0x6c]
movzx ebp, byte [esp + 0xe8]
mov esi, dword [esp + 0xb4]
mov eax, 1
jmp 0x486463
cmp ebx, 0x12
jg 0x486460
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.00488670
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 0x486486
mov eax, ecx
xor eax, eax
mov byte [esp + 0x3a], al
mov eax, ecx
movzx edx, byte [esp + 0x3a]
test dl, dl
je 0x486496
test eax, eax
jmp 0x486621
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.004867a0
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.00465578
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.00488f10
movzx ecx, byte [esp + 0xe8]
cmp cl, 0x47
ja 0x48658f
cmp cl, 0x45
je 0x486594
cmp cl, 0x47
jne 0x486581
mov eax, dword [esp + 0xec]
test eax, eax
jmp 0x4865d6
mov eax, dword [esp + 0xec]
test eax, eax
jmp 0x48661d
cmp cl, 0x65
jne 0x4865c3
mov eax, dword [esp + 0xc8]
dec eax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004883d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xec]
test ecx, ecx
movzx ecx, byte [esp + 0xe8]
jmp 0x48661d
cmp cl, 0x66
je 0x4865ea
cmp cl, 0x67
jne 0x4865df
mov eax, dword [esp + 0xec]
test eax, eax
mov eax, dword [esp + 0xc8]
jmp 0x48661d
mov eax, dword [esp + 0xec]
test eax, eax
jmp 0x48661d
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xcc]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004883d0
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.00465a5e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
xchg ebp, eax
mov byte [esp + 0x28], al
xchg ebp, eax
call fcn.00486af0
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.004867a0
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.004878e0
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, [0x518214]
mov dword [esp + 4], eax
call fcn.00438510
nop
call fcn.00464070
jmp fcn.00485f20