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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [0x705898]
mov ecx, dword [ebx + 0x3c4]
push ebp
imul ecx, ecx, 0xb50
push esi
mov esi, dword [esp + 0x5c]
imul esi, esi, 0x16b0
add esi, 0xa23098
mov eax, dword [esi + 0x16a0]
xor ebp, ebp
add ecx, esi
cmp eax, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], ecx
je 0x535a54
cmp eax, 8
jge 0x535555
shl eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 2
jmp 0x53558e
cmp eax, 0x70
jle 0x53557e
lea edx, [eax - 0x70]
mov eax, 0x10
sub eax, edx
shl eax, 7
mov dword [esp + 0x20], edx
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebp
jmp 0x53558e
mov dword [esp + 0x14], 0x80
mov dword [esp + 0xc], 1
movss xmm0, dword [0x649534]
movss xmm1, dword [0x649618]
movss xmm2, dword [0x64eaec]
movss xmm3, dword [0x64f6a8]
push edi
mov edi, 0x3e8
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x30], 0x2e
jmp 0x5355e0
mov ebx, dword [0x705898]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x16a4]
lea edx, [edi - 1]
cmp eax, edx
jle 0x5355fa
cdq
idiv edi
mov esi, 0xa
cdq
idiv esi
jmp 0x535606
mov edx, ebp
sub edx, 3
neg edx
sbb edx, edx
and edx, 0xa
cmp dword [esp + 0x64], 0
mov dword [esp + 0x38], edx
je 0x535633
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
lea esi, [eax*8]
sub esi, eax
shl esi, 5
add esi, 0x72
mov eax, 0x18
jmp 0x535645
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov esi, 0x90
mov eax, 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov eax, edx
shl eax, 5
mov dword [esp + 0x48], eax
xor edi, edi
jmp 0x535664
mov ebx, dword [0x705898]
mov ecx, dword [esp + 0x28]
lea eax, [edi + ebp*4]
lea eax, [eax + eax*8]
shl eax, 4
cmp edx, 0xa
lea ecx, [eax + ecx + 0x10]
je 0x5357df
cmp dword [esp + 0x10], 0
je 0x5357c2
cmp edi, 3
jne 0x5357df
xor eax, eax
mov edx, dword [esp + 0x14]
sub edx, eax
cvtsi2ss xmm4, edx
mulss xmm4, dword [ebx + 0x3b4]
cvttss2si eax, xmm4
and eax, 0xffff
cdq
mov ebp, eax
mov eax, edx
mov dword [esp + 0x44], eax
cvtsi2ss xmm4, esi
mulss xmm4, dword [ebx + 0x3b8]
cvttss2si eax, xmm4
and eax, 0xffff
cdq
or eax, 0xffc00000
shld edx, eax, 0x10
shl eax, 0x10
or ebp, eax
mov eax, dword [esp + 0x44]
or eax, edx
mov dword [ecx + 0x7c], eax
mov eax, dword [esp + 0x1c]
add eax, esi
cvtsi2ss xmm4, eax
mov dword [ecx + 0x78], ebp
mov edx, dword [0x705898]
mulss xmm4, dword [edx + 0x3b8]
cvttss2si eax, xmm4
and eax, 0xffff
cdq
or eax, 0xffc00000
shld edx, eax, 0x10
shl eax, 0x10
mov ebx, eax
mov eax, dword [esp + 0x20]
mov ebp, edx
mov edx, dword [esp + 0x14]
add eax, edx
cvtsi2ss xmm4, eax
mov eax, dword [0x705898]
mulss xmm4, dword [eax + 0x3b4]
cvttss2si eax, xmm4
and eax, 0xffff
cdq
or ebx, eax
mov eax, dword [esp + 0x48]
cvtsi2ss xmm4, eax
add eax, 0x20
addss xmm4, xmm0
mulss xmm4, xmm1
movss dword [esp + 0x4c], xmm4
cvtsi2ss xmm4, eax
subss xmm4, xmm0
mulss xmm4, xmm1
or ebp, edx
mov edx, dword [esp + 0x4c]
movss dword [esp + 0x54], xmm4
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x80], eax
lea eax, [edi + 1]
imul eax, dword [esp + 0x18]
mov dword [ecx + 0x70], edx
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x58], xmm3
mov dword [ecx + 0x8c], ebp
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x3c]
mov dword [ecx + 0x74], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x84], edx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x38]
sar eax, 2
mov dword [ecx + 0x88], ebx
mov byte [ecx + 0x6b], al
jmp 0x5357f3
mov eax, 8
sub eax, edi
imul eax, dword [esp + 0x24]
shl eax, 5
cdq
and edx, 0xf
add eax, edx
sar eax, 4
jmp 0x535690
xor eax, eax
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], eax
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], eax
add edi, 1
cmp edi, 4
jl 0x53565a
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x30], 0xa
mov eax, 0x66666667
imul dword [esp + 0x34]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add ecx, 0x10
add ebp, 1
add eax, edx
cmp ecx, 0x60
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
jl 0x5355ce
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x16a0]
cmp eax, 8
jge 0x535861
shl eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 2
xor ebx, ebx
jmp 0x5358a0
mov eax, dword [ecx + 0x16a8]
xor ebx, ebx
cmp eax, ebx
jle 0x535890
mov ecx, eax
mov eax, 0x10
sub eax, ecx
shl eax, 7
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
jmp 0x5358a0
mov dword [esp + 0x18], 0x80
mov dword [esp + 0x10], 1
cmp dword [esp + 0x64], ebx
je 0x5358d3
mov eax, dword [esp + 0x60]
lea esi, [eax*8]
sub esi, eax
shl esi, 5
mov dword [esp + 0x14], 0x5e
add esi, 0x72
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x1c], 0x18
jmp 0x5358f0
mov dword [esp + 0x14], 0x6c
mov esi, 0x90
mov dword [esp + 0x20], 0x40
mov dword [esp + 0x1c], 0x20
xor edi, edi
mov edx, dword [esp + 0x28]
lea ecx, [edi + edi*8]
shl ecx, 4
cmp dword [esp + 0x10], ebx
lea ecx, [ecx + edx + 0x910]
je 0x535925
cmp edi, 3
je 0x53593f
mov dword [ecx + 0x78], ebx
mov dword [ecx + 0x7c], ebx
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0x8c], ebx
jmp 0x535a18
mov eax, 8
sub eax, edi
imul eax, dword [esp + 0x24]
shl eax, 5
cdq
and edx, 0xf
add eax, edx
sar eax, 4
jmp 0x535941
xor eax, eax
mov ebx, dword [0x705898]
mov edx, dword [esp + 0x14]
sub edx, eax
cvtsi2ss xmm0, edx
mulss xmm0, dword [ebx + 0x3b4]
cvttss2si eax, xmm0
and eax, 0xffff
cdq
mov ebp, eax
mov eax, edx
mov dword [esp + 0x60], eax
cvtsi2ss xmm0, esi
mulss xmm0, dword [ebx + 0x3b8]
cvttss2si eax, xmm0
and eax, 0xffff
cdq
or eax, 0xffc00000
shld edx, eax, 0x10
shl eax, 0x10
or ebp, eax
mov eax, dword [esp + 0x60]
or eax, edx
mov dword [ecx + 0x7c], eax
mov eax, dword [esp + 0x1c]
add eax, esi
cvtsi2ss xmm0, eax
mov dword [ecx + 0x78], ebp
mov edx, dword [0x705898]
mulss xmm0, dword [edx + 0x3b8]
cvttss2si eax, xmm0
and eax, 0xffff
cdq
or eax, 0xffc00000
shld edx, eax, 0x10
shl eax, 0x10
mov ebx, eax
mov eax, dword [esp + 0x20]
mov ebp, edx
mov edx, dword [esp + 0x14]
add eax, edx
cvtsi2ss xmm0, eax
mov eax, dword [0x705898]
mulss xmm0, dword [eax + 0x3b4]
cvttss2si eax, xmm0
and eax, 0xffff
cdq
or ebx, eax
lea eax, [edi + 1]
imul eax, dword [esp + 0x18]
or ebp, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0x8c], ebp
mov byte [ecx + 0x6b], al
xor ebx, ebx
add edi, 1
cmp edi, 4
jl 0x5358f2
mov edx, dword [0x705898]
mov eax, dword [edx + 0x3c4]
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ebx
shl eax, 5
push 0xb5
add eax, 0x8e89b0
push ecx
and eax, 0xfffffff
push eax
call fcn.00550200
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret