Function at 0x484cb0
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.0042fd90
test eax, eax
je 0x485694
mov edx, dword [esp + 0x8c]
push edx
lea esi, [ebx + 0x60]
call fcn.00487d20
test eax, eax
je 0x485694
xor ebx, ebx
cmp edi, ebx
jne 0x484d59
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.004a1b50
add esp, 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
jmp 0x484d82
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 0x484e77
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x44], ecx
cmp dword [edx + 4], ebx
jbe 0x48564a
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 0x484de3
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 0x484e54
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 0x484e3f
mov byte [eax], 0xff
jmp 0x484e43
add cl, dl
mov byte [eax], cl
mov edx, dword [esp + 0x14]
inc dword [esp + 0x2c]
inc ebp
cmp ebp, dword [edx]
jb 0x484e16
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 0x484de1
jmp 0x48564a
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.00431400
test eax, eax
je 0x485687
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], ebx
cmp dword [edi + 4], ebx
jbe 0x48519f
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 0x484f08
mov eax, dword [esp + 0x74]
shr eax, 1
add eax, eax
add eax, eax
push eax
push 0
push ebp
call fcn.004a1b50
add esp, 0xc
xor esi, esi
cmp dword [esp + 0x24], esi
jbe 0x48512e
mov ecx, esi
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x484f28
fadd qword [0x4d35b8]
fadd qword [0x4c88e8]
fmul qword [0x4c88e0]
fsub qword [0x4bab50]
call fcn.004b2d00
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 0x484f8e
cmp edx, dword [edi]
jge 0x484f8e
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 0x484fc5
cmp edx, dword [edi]
jge 0x484fc5
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 0x484ffa
cmp edx, dword [edi]
jge 0x484ffa
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 0x485030
cmp edx, dword [edi]
jge 0x485030
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 0x485067
cmp edx, dword [edi]
jge 0x485067
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 0x48509e
cmp edx, dword [edi]
jge 0x48509e
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 0x4850d5
cmp edx, dword [edi]
jge 0x4850d5
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 0x48510c
cmp edx, dword [edi]
jge 0x48510c
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 0x484f57
inc esi
cmp esi, dword [esp + 0x24]
jb 0x484f14
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
jbe 0x485181
lea esp, [esp]
movss xmm0, dword [ebp + eax*4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x485154
mov byte [esi + eax], 0
jmp 0x48517c
cvtps2pd xmm1, xmm0
comisd xmm1, xmmword [0x4d35b0]
jbe 0x485167
mov byte [esi + eax], 0xff
jmp 0x48517c
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 0x485140
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 0x484ee0
mov eax, dword [esp + 0x28]
push eax
lea esi, [esp + 0x74]
call fcn.00431400
mov esi, dword [esp + 0x70]
test eax, eax
je 0x4856a3
xor ebx, ebx
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x24], ebx
jbe 0x485632
lea esp, [esp]
test esi, esi
je 0x4851ea
mov ecx, dword [esp + 0x74]
shr ecx, 1
add ecx, ecx
add ecx, ecx
push ecx
push 0
push esi
call fcn.004a1b50
add esp, 0xc
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x4855ac
mov edx, dword [esp + 0x54]
fild dword [esp + 0x54]
test edx, edx
jge 0x485208
fadd qword [0x4d35b8]
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 0x485226
fadd qword [0x4d35b8]
fadd qword [0x4c88e8]
fmul qword [0x4c88e0]
fsub st(1)
fsub qword [0x4bab50]
call fcn.004b2d00
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 [0x4d3b20]
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 0x48534a
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485346
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 0x48534a
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jl 0x485395
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485391
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 0x485395
mov esi, dword [esp + 0x70]
add ebx, 1
js 0x4853dc
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x4853d8
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 0x4853dc
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 2
js 0x48542c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485428
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 0x48542c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 3
js 0x48547c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485478
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 0x48547c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 4
js 0x4854cc
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x4854c8
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 0x4854cc
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 5
js 0x48551c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485518
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 0x48551c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
add ebx, 6
js 0x48556c
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 4]
jge 0x485568
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 0x48556c
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 0x4852fe
mov ebx, dword [esp + 0x2c]
inc ebp
cmp ebp, dword [esp + 0x28]
jb 0x485212
fstp st(0)
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x485623
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 0x4855f0
mov byte [eax + ebx], 0
jmp 0x485618
cvtps2pd xmm1, xmm0
comisd xmm1, xmmword [0x4d35b0]
jbe 0x485603
mov byte [eax + ebx], 0xff
jmp 0x485618
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 0x4855c7
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, dword [esp + 0x24]
jb 0x4851d0
test esi, esi
je 0x48563b
call fcn.0045f5a0
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 0x484d80
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 0x485694
call fcn.0045f5a0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x6c
ret 0x10
test esi, esi
jmp 0x48568d