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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x74]
mov ecx, dword [ebx + 0x68]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
push ebp
push esi
mov esi, dword [edx]
lea eax, [esi + 3]
mov ecx, eax
and ecx, 0xfffffffc
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0xc]
neg ecx
and ecx, 3
mov dword [esp + 0x10], edx
mov edx, dword [edx + 4]
lea edx, [edx + ecx + 3]
mov dword [esp + 0x50], ecx
shr eax, 2
lea ecx, [esi - 1]
and ecx, 3
push edi
lea edi, [ecx + eax*4]
shr edx, 2
imul edi, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax]
add ecx, edi
lea ebp, [ebx + 0x58]
push ecx
mov ecx, 2
mov esi, ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x70], edi
call fcn.0042fb10
test eax, eax
je 0x485244
mov edx, dword [esp + 0x8c]
push edx
lea esi, [ebx + 0x60]
call fcn.004878d0
test eax, eax
je 0x485244
xor ebx, ebx
cmp edi, ebx
jne 0x484909
lea eax, [ebx + 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x10
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
add ecx, dword [ebp]
push edi
push ebx
push ecx
call fcn.004a16b0
add esp, 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
jmp 0x484932
xor ebx, ebx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
add eax, edx
cmp eax, 3
seta al
cmp dword [ecx + 0x2c], 0x10
mov byte [esp + 0x13], al
jbe 0x484a27
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x44], ecx
cmp dword [edx + 4], ebx
jbe 0x4851fa
mov edx, dword [esp + 0x4c]
movsx eax, al
add eax, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x40], edx
jmp 0x484993
xor ebx, ebx
mov eax, dword [esp + 0x54]
add eax, ecx
shr eax, 2
imul eax, dword [esp + 0x58]
add eax, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x80]
add eax, dword [esp + 0x34]
mov esi, dword [edx + 0x58]
add edx, 0x58
mov edx, dword [esp + 0x14]
add esi, eax
xor ebp, ebp
cmp dword [edx], ebx
jbe 0x484a04
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov cl, byte [ecx]
add eax, ebp
shr eax, 2
mov dl, byte [eax + esi]
add eax, esi
movzx edi, cl
movzx ebx, dl
add edi, ebx
cmp edi, 0xff
jbe 0x4849ef
mov byte [eax], 0xff
jmp 0x4849f3
add cl, dl
mov byte [eax], cl
mov edx, dword [esp + 0x14]
inc dword [esp + 0x2c]
inc ebp
cmp ebp, dword [edx]
jb 0x4849c6
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
cmp ecx, dword [eax + 4]
jb 0x484991
jmp 0x4851fa
movsx eax, al
add eax, dword [esp + 0x4c]
lea esi, [esp + 0x70]
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.00431170
test eax, eax
je 0x485237
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], ebx
cmp dword [edi + 4], ebx
jbe 0x484d4f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x70]
neg eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
mov ebx, 1
sub ebx, eax
sub eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x58], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
add ecx, edx
mov dword [esp + 0x44], ecx
test ebp, ebp
je 0x484ab8
mov eax, dword [esp + 0x74]
shr eax, 1
add eax, eax
add eax, eax
push eax
push 0
push ebp
call fcn.004a16b0
add esp, 0xc
xor esi, esi
cmp dword [esp + 0x24], esi
jbe 0x484cde
mov ecx, esi
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x484ad8
fadd qword [0x4d3588]
fadd qword [0x4c88e8]
fmul qword [0x4c88e0]
fsub qword [0x4bab50]
call fcn.004b2870
sub eax, dword [esp + 0x30]
mov ecx, 0x4e3d20
lea edx, [eax - 5]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x44]
lea eax, [eax + edx - 5]
lea edx, [ebx + eax - 3]
test edx, edx
jl 0x484b3e
cmp edx, dword [edi]
jge 0x484b3e
movzx edx, byte [eax - 2]
movss xmm0, dword [ecx - 8]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
lea edx, [ebx + eax - 2]
test edx, edx
jl 0x484b75
cmp edx, dword [edi]
jge 0x484b75
movzx edx, byte [eax - 1]
movss xmm0, dword [ecx - 4]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
mov edx, dword [esp + 0x20]
test edx, edx
jl 0x484baa
cmp edx, dword [edi]
jge 0x484baa
movzx edx, byte [eax]
movss xmm0, dword [ecx]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
lea edx, [eax + ebx]
test edx, edx
jl 0x484be0
cmp edx, dword [edi]
jge 0x484be0
movzx edx, byte [eax + 1]
movss xmm0, dword [ecx + 4]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
lea edx, [ebx + eax + 1]
test edx, edx
jl 0x484c17
cmp edx, dword [edi]
jge 0x484c17
movzx edx, byte [eax + 2]
movss xmm0, dword [ecx + 8]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
lea edx, [ebx + eax + 2]
test edx, edx
jl 0x484c4e
cmp edx, dword [edi]
jge 0x484c4e
movzx edx, byte [eax + 3]
movss xmm0, dword [ecx + 0xc]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
lea edx, [ebx + eax + 3]
test edx, edx
jl 0x484c85
cmp edx, dword [edi]
jge 0x484c85
movzx edx, byte [eax + 4]
movss xmm0, dword [ecx + 0x10]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
lea edx, [ebx + eax + 4]
test edx, edx
jl 0x484cbc
cmp edx, dword [edi]
jge 0x484cbc
movzx edx, byte [eax + 5]
movss xmm0, dword [ecx + 0x14]
cvtps2pd xmm0, xmm0
cvtsi2sd xmm1, edx
mulsd xmm0, xmm1
movss xmm1, dword [ebp + esi*4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
movss dword [ebp + esi*4], xmm0
add dword [esp + 0x20], 8
add ecx, 0x20
add eax, 8
cmp ecx, 0x4e3d60
jl 0x484b07
inc esi
cmp esi, dword [esp + 0x24]
jb 0x484ac4
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
jbe 0x484d31
lea esp, [esp]
movss xmm0, dword [ebp + eax*4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x484d04
mov byte [esi + eax], 0
jmp 0x484d2c
cvtps2pd xmm1, xmm0
comisd xmm1, xmmword [0x4d3580]
jbe 0x484d17
mov byte [esi + eax], 0xff
jmp 0x484d2c
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fistp dword [esp + 0x50]
mov dl, byte [esp + 0x50]
mov byte [esi + eax], dl
inc eax
cmp eax, ecx
jb 0x484cf0
mov eax, dword [esp + 0x48]
add esi, dword [esp + 0x18]
add ebx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], esi
cmp eax, dword [edi + 4]
jb 0x484a90
mov eax, dword [esp + 0x28]
push eax
lea esi, [esp + 0x74]
call fcn.00431170
mov esi, dword [esp + 0x70]
test eax, eax
je 0x485253
xor ebx, ebx
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x24], ebx
jbe 0x4851e2
lea esp, [esp]
test esi, esi
je 0x484d9a
mov ecx, dword [esp + 0x74]
shr ecx, 1
add ecx, ecx
add ecx, ecx
push ecx
push 0
push esi
call fcn.004a16b0
add esp, 0xc
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x48515c
mov edx, dword [esp + 0x54]
fild dword [esp + 0x54]
test edx, edx
jge 0x484db8
fadd qword [0x4d3588]
mov edi, dword [esp + 0x18]
add edi, edi
add edi, edi
add edi, edi
mov eax, ebp
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
test eax, eax
jge 0x484dd6
fadd qword [0x4d3588]
fadd qword [0x4c88e8]
fmul qword [0x4c88e0]
fsub st(1)
fsub qword [0x4bab50]
call fcn.004b2870
lea ecx, [eax - 6]
mov dword [esp + 0x1c], ecx
mov ecx, eax
imul ecx, dword [esp + 0x18]
add ecx, ebx
add ecx, dword [esp + 0x88]
movsd xmm0, qword [0x4d3af0]
lea edx, [eax - 5]
mov dword [esp + 0x48], ecx
imul edx, dword [esp + 0x18]
lea ecx, [eax - 1]
imul ecx, dword [esp + 0x18]
add ecx, ebx
add ecx, dword [esp + 0x88]
add edx, ebx
mov dword [esp + 0x44], ecx
lea ecx, [eax - 2]
imul ecx, dword [esp + 0x18]
add ecx, ebx
add ecx, dword [esp + 0x88]
add edx, dword [esp + 0x88]
mov dword [esp + 0x40], ecx
lea ecx, [eax - 3]
imul ecx, dword [esp + 0x18]
add ecx, ebx
add ecx, dword [esp + 0x88]
mov dword [esp + 0x20], 0x4e3d20
mov dword [esp + 0x3c], ecx
lea ecx, [eax - 4]
imul ecx, dword [esp + 0x18]
add ecx, ebx
add ecx, dword [esp + 0x88]
add eax, 0xfffffff9
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], 2
add ecx, dword [esp + 0x88]
add eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x1c]
add ebx, 0xffffffff
js 0x484efa
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x484ef6
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi - 8]
movzx esi, byte [eax]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x484efa
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jl 0x484f45
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x484f41
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi - 4]
movzx esi, byte [ecx]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x484f45
mov esi, dword [esp + 0x70]
add ebx, 1
js 0x484f8c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x484f88
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi]
movzx esi, byte [edx]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x484f8c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 2
js 0x484fdc
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x484fd8
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi + 4]
mov esi, dword [esp + 0x38]
movzx esi, byte [esi]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x484fdc
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 3
js 0x48502c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485028
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi + 8]
mov esi, dword [esp + 0x3c]
movzx esi, byte [esi]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x48502c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 4
js 0x48507c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485078
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi + 0xc]
mov esi, dword [esp + 0x40]
movzx esi, byte [esi]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x48507c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 5
js 0x4850cc
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x4850c8
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi + 0x10]
mov esi, dword [esp + 0x44]
movzx esi, byte [esi]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x4850cc
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 6
js 0x48511c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485118
mov esi, dword [esp + 0x20]
movss xmm1, dword [esi + 0x14]
mov esi, dword [esp + 0x48]
movzx esi, byte [esi]
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, esi
mov esi, dword [esp + 0x70]
mulsd xmm1, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [esi + ebp*4]
cvtps2pd xmm2, xmm2
addsd xmm1, xmm2
cvtpd2ps xmm1, xmm1
movss dword [esi + ebp*4], xmm1
jmp 0x48511c
mov esi, dword [esp + 0x70]
add dword [esp + 0x1c], 8
add dword [esp + 0x20], 0x20
add dword [esp + 0x38], edi
add dword [esp + 0x3c], edi
add dword [esp + 0x40], edi
add dword [esp + 0x44], edi
add dword [esp + 0x48], edi
add eax, edi
add ecx, edi
add edx, edi
sub dword [esp + 0x58], 1
jne 0x484eae
mov ebx, dword [esp + 0x2c]
inc ebp
cmp ebp, dword [esp + 0x28]
jb 0x484dc2
fstp st(0)
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x4851d3
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
xor edi, edi
mov edx, dword [esp + 0x48]
movss xmm0, dword [esi + ebp*4]
xorps xmm1, xmm1
lea eax, [edi + edx]
mov edx, dword [esp + 0x80]
add eax, dword [edx + 0x58]
add edx, 0x58
add eax, ecx
comiss xmm1, xmm0
jbe 0x4851a0
mov byte [eax + ebx], 0
jmp 0x4851c8
cvtps2pd xmm1, xmm0
comisd xmm1, xmmword [0x4d3580]
jbe 0x4851b3
mov byte [eax + ebx], 0xff
jmp 0x4851c8
movss dword [esp + 0x68], xmm0
fld dword [esp + 0x68]
fistp dword [esp + 0x5c]
mov dl, byte [esp + 0x5c]
mov byte [eax + ebx], dl
add edi, dword [esp + 0x24]
inc ebp
cmp ebp, dword [esp + 0x28]
jb 0x485177
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, dword [esp + 0x24]
jb 0x484d80
test esi, esi
je 0x4851eb
call fcn.0045f130
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], 0
and eax, 1
movsx eax, byte [esp + 0x13]
add eax, dword [esp + 0x4c]
imul eax, dword [esp + 0x28]
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, 4
jb 0x484930
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x6c]
add dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x10
mov esi, dword [esp + 0x70]
cmp esi, ebx
je 0x485244
call fcn.0045f130
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x6c
ret 0x10
test esi, esi
jmp 0x48523d