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

Disassembly:
sub esp, 0x94
push ebx
push ebp
mov eax, 0x101
mov ecx, 0xb084b4
push esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
push edi
nop dword [eax]
mov esi, dword [ecx]
test esi, esi
je 0x4860f2
nop word [eax + eax]
cmp byte [esi], 6
jne case.0x485aed.0
movzx ecx, byte [esi + 0x47]
cmp ecx, 9
ja case.0x485aed.2
movzx eax, byte [ecx + 0x486128]
jmp dword [eax*4 + 0x486114]
cmp byte [0xc27696], 0
lea edi, [esi + 0x30]
movzx eax, byte [esi + 0x46]
lea ebx, [esi + 0x1c]
lea ebp, [esi + 8]
je case.0x485aed.0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push dword [eax*4 + 0x815824]
mov ecx, 0x835e10
call fcn.00468930
cmp dword [0x58ac94], 0
je 0x485b43
movss xmm1, dword [0x58a100]
movss xmm2, dword [0x58a104]
jmp 0x485b53
movss xmm1, dword [0x6cf92c]
movss xmm2, dword [0x6cf930]
mulss xmm2, dword [esp + 0x34]
lea eax, [esp + 0x44]
push 0xfdb935
movss xmm0, dword [esp + 0x30]
mulss xmm1, dword [esp + 0x38]
push eax
addss xmm0, xmm2
push ebp
subss xmm0, xmm1
mulss xmm0, dword [0x563098]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x563098]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
call fcn.0047bd20
movd xmm0, dword [ebp + 8]
lea eax, [esp + 0x70]
cvtdq2ps xmm0, xmm0
push 0xfdb935
push eax
push ebx
mulss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x74], xmm0
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x78], xmm0
call fcn.0047bd20
movd xmm0, dword [ebx + 8]
lea eax, [esp + 0x9c]
cvtdq2ps xmm0, xmm0
push 0xfdb935
push eax
push edi
mulss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0xa0], xmm0
movd xmm0, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0xa4], xmm0
call fcn.0047bd20
movd xmm0, dword [edi + 8]
add esp, 0x24
cvtdq2ps xmm0, xmm0
push 0
push 0x82
mulss xmm0, dword [esp + 0x18]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0xa4], xmm0
movd xmm0, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0xa8], xmm0
jmp 0x4860be
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esi + 8]
push eax
call fcn.0047bd20
push 0
lea eax, [esp + 0x74]
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.0047bd20
push 0
lea eax, [esp + 0xa0]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.0047bd20
add esp, 0x24
push 0
push 0
push 0
jmp 0x4860c2
cmp byte [0xc27696], 0
lea edi, [esi + 0x30]
movzx eax, byte [esi + 0x46]
lea ebx, [esi + 0x1c]
lea ebp, [esi + 8]
je case.0x485aed.0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push dword [eax*4 + 0x815824]
mov ecx, 0x835e10
call fcn.00468930
cmp dword [0x58ac94], 0
movss xmm1, dword [esp + 0x34]
movaps xmm2, xmm1
je 0x485d3a
mulss xmm2, dword [0x58a100]
mulss xmm1, dword [0x58a104]
jmp 0x485d4a
mulss xmm2, dword [0x6cf92c]
mulss xmm1, dword [0x6cf930]
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x44]
addss xmm0, xmm1
push 0xfdb935
push eax
push ebp
subss xmm0, xmm2
mulss xmm0, dword [0x563098]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [0x563098]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm2
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x1c], xmm0
call fcn.0047bd20
movd xmm0, dword [ebp + 8]
lea eax, [esp + 0x70]
cvtdq2ps xmm0, xmm0
push 0xfdb935
push eax
push ebx
mulss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x74], xmm0
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x78], xmm0
call fcn.0047bd20
movd xmm0, dword [ebx + 8]
lea eax, [esp + 0x9c]
cvtdq2ps xmm0, xmm0
push 0xfdb935
push eax
push edi
mulss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0xa0], xmm0
movd xmm0, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0xa4], xmm0
call fcn.0047bd20
movd xmm0, dword [edi + 8]
add esp, 0x24
cvtdq2ps xmm0, xmm0
push 0
push 0x82
mulss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0xa4], xmm0
movd xmm0, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0xa8], xmm0
jmp 0x4860be
add ecx, 0xfffffffd
cmp ecx, 0x1d
ja case.0x485e9b.5
movzx eax, byte [ecx + 0x486148]
jmp dword [eax*4 + 0x486134]
mov ebx, 0x90
xor edi, edi
lea ebp, [ebx - 0x80]
jmp 0x485ecd
xor edi, edi
mov ebx, 0x92
lea ebp, [edi + 0x10]
jmp 0x485ecd
mov ebx, 0xc0
lea edi, [ebx - 0x80]
jmp 0x485ecb
xor edi, edi
mov ebx, 0x80
xor ebp, ebp
cmp byte [0xc27696], 0
movzx eax, byte [esi + 0x46]
je case.0x485aed.0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push dword [eax*4 + 0x815824]
mov ecx, 0x835e10
call fcn.00468930
cmp dword [0x58ac94], 0
movss xmm1, dword [esp + 0x34]
movaps xmm2, xmm1
je 0x485f1c
mulss xmm2, dword [0x58a100]
mulss xmm1, dword [0x58a104]
jmp 0x485f2c
mulss xmm2, dword [0x6cf92c]
mulss xmm1, dword [0x6cf930]
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x44]
addss xmm0, xmm1
push 0xfdb935
push eax
lea eax, [esi + 8]
push eax
subss xmm0, xmm2
mulss xmm0, dword [0x563098]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [0x563098]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm2
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x1c], xmm0
call fcn.0047bd20
movd xmm0, dword [esi + 0x10]
lea eax, [esp + 0x70]
cvtdq2ps xmm0, xmm0
push 0xfdb935
push eax
lea eax, [esi + 0x1c]
push eax
mulss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x74], xmm0
movd xmm0, dword [esi + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x78], xmm0
call fcn.0047bd20
movd xmm0, dword [esi + 0x24]
lea eax, [esp + 0x9c]
cvtdq2ps xmm0, xmm0
push 0xfdb935
push eax
lea eax, [esi + 0x30]
push eax
mulss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0xa0], xmm0
movd xmm0, dword [esi + 0x28]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0xa4], xmm0
call fcn.0047bd20
movd xmm0, dword [esi + 0x38]
add esp, 0x24
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x9c], xmm0
movd xmm0, dword [esi + 0x3c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 0x10]
movss dword [esp + 0xa0], xmm0
test ebp, ebp
je 0x48608a
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
test edi, edi
je 0x4860bb
mov byte [esp + 0x57], 0
or dword [esp + 0x54], 0xaa000000
mov byte [esp + 0x77], 0
or dword [esp + 0x74], 0xaa000000
mov byte [esp + 0x97], 0
or dword [esp + 0x94], 0xaa000000
push 0
push ebx
push dword [esp + 0x28]
mov ecx, dword [0x7fcb70]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00454730
mov esi, dword [esi + 4]
test esi, esi
jne 0x485ad0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
dec eax
sub ecx, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
test eax, eax
jne 0x485ac0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
push edi
movzx eax, word [ebx + 0xa]
mov word [0xc27650], ax
movzx eax, word [ebx + 0xc]
mov word [0xc27652], ax
mov eax, dword [ebx]
mov dword [0xc27608], eax
mov eax, dword [0xb080a8]
push 0xaf4efc
mov dword [0xb080b0], eax
call fcn.00495090
movzx eax, word [ebx + 4]
neg ax
push 2
movzx eax, ax
push eax
push 0xaf4efc
call fcn.0048ef50
movzx eax, word [ebx + 6]
push 0xaf4efc
push eax
call fcn.0048f620
movsx eax, word [ebx + 0xe]
imul ebp, eax, 0x36
push 0x404
push 0
push 0xb080b4
add ebp, dword [0x5c96aa]
mov dword [esp + 0x5c], ebp
call fcn.004e4d50
movsx ebx, word [ebp + 4]
add esp, 0x24
mov edi, dword [ebp + 0x18]
test ebx, ebx
jle 0x487015
mov esi, 0xaf86a8
movsx eax, word [edi]
lea ecx, [esi - 8]
mov dword [ecx], eax
movsx eax, word [edi + 2]
mov dword [esi - 4], eax
movsx eax, word [edi + 4]
push ecx
mov dword [esi], eax
mov dword [esi + 0x10], 0
call fcn.0048ae50
add esp, 4
lea esi, [esi + 0x20]
lea edi, [edi + 6]
sub ebx, 1
jne 0x486fe5
movsx eax, word [ebp + 2]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4872be
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x50]
mov esi, dword [0xb080b0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
nop word [eax + eax]
mov al, byte [edi + 6]
mov byte [esp + 0x13], al
movsx eax, word [edi + 0x28]
shl eax, 5
add eax, 0xaf86a0
mov dword [esp + 0x3c], eax
movsx eax, word [edi + 0x2a]
shl eax, 5
add eax, 0xaf86a0
mov dword [esp + 0x40], eax
movsx eax, word [edi + 0x2c]
shl eax, 5
add eax, 0xaf86a0
mov dword [esp + 0x44], eax
movsx eax, word [edi + 0x2e]
shl eax, 5
add eax, 0xaf86a0
mov dword [esp + 0x48], eax
movzx eax, word [edi + 0x30]
movzx ebx, byte [eax + 0x5cea41]
mov eax, dword [esp + 0x50]
movsx eax, byte [eax + 0x11]
add ebx, eax
cmp ebx, 1
jge 0x4870bb
mov dword [esp + 0x24], 1
jmp 0x4870ca
cmp ebx, 0x3f
mov eax, 0x3f
cmovg ebx, eax
mov dword [esp + 0x24], ebx
xor ebx, ebx
cmp byte [esp + 0x13], 3
setne bl
inc ebx
mov eax, ebx
sub eax, 1
je 0x4870e9
sub eax, 1
jne 0x487101
lea edx, [eax + 2]
lea ebp, [eax + 3]
jmp 0x4870f3
mov edx, 1
mov ebp, 2
xor ecx, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + ebp*4 + 0x3c]
mov edx, dword [esp + edx*4 + 0x3c]
mov ecx, dword [esp + ecx*4 + 0x3c]
push eax
push edx
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
call fcn.00482b30
fstp dword [esp + 0x40]
movss xmm0, dword [esp + 0x40]
add esp, 0xc
comiss xmm0, dword [0x55a8b0]
jbe 0x48729f
cmp esi, dword [0xb080ac]
jae 0x48729f
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x48]
mov edx, dword [esp + 0x14]
mov dword [0xb080b0], eax
mov eax, dword [esp + 0x38]
movsx ebp, byte [edi + 0x3a]
mov ecx, dword [ecx + 8]
add ecx, dword [edx + 8]
movsx eax, byte [eax + 6]
add ebp, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
add eax, 0xc00
add eax, ecx
imul eax, eax, 0x55
sar eax, 8
cmp eax, 0x40
jl 0x48720a
cdq
and edx, 0xf
lea ecx, [edx + eax]
sar ecx, 4
test ebp, ebp
je 0x4871f7
sub ecx, ebp
cmp ecx, 0xe00
jle 0x4871ef
mov ecx, 0xe00
mov edx, dword [esp + 0x14]
mov eax, dword [ecx*4 + 0xb080b4]
mov dword [esi + 4], eax
xor eax, eax
mov dword [ecx*4 + 0xb080b4], esi
mov ecx, dword [esp + 0x50]
mov word [esi], 6
mov word [esi + 0x44], ax
test byte [ecx + 0x12], 2
jne 0x48720e
mov al, byte [edi + 7]
mov byte [esi + 0x47], al
movzx ecx, word [edi + 2]
movsx eax, cx
test byte [eax + 0x593170], 1
je 0x4871eb
add cl, byte [0x5cf497]
inc cl
jmp 0x487221
test ecx, ecx
jns 0x4871a5
xor ecx, ecx
jmp 0x4871a5
mov edx, dword [esp + 0x14]
cmp ecx, 0xe00
jle 0x4871a9
mov ecx, 0xe00
jmp 0x4871a9
xor ecx, ecx
jmp 0x4871a9
mov byte [esi + 0x47], 1
mov al, byte [ecx + 0x10]
test byte [ecx + 0x12], 4
lea ecx, [eax + 2]
jne 0x487221
lea ecx, [eax + 1]
mov byte [esi + 0x46], cl
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [ecx + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [edi + ecx*8 + 8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + ecx*8 + 0xc]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [edi + edx*8 + 8]
mov dword [esi + 0x24], eax
mov eax, dword [edi + edx*8 + 0xc]
mov dword [esi + 0x2c], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [edi + ebp*8 + 8]
mov dword [esi + 0x38], eax
mov eax, dword [edi + ebp*8 + 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x40], eax
mov esi, dword [0xb080b0]
jmp 0x4872a7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub ebx, 1
jne 0x4870d5
add edi, 0x3c
sub dword [esp + 0x30], 1
jne 0x487050
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
jmp 0x485aa0