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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [edi + 0x18]
sub esp, 0xc8
push ebx
push esi
mov esi, dword [ebp + 0x14]
push 6
pop ebx
test al, 1
jne 0x47cfa1
test esi, esi
je 0x47cec9
mov eax, dword [edi + 0x18]
test eax, 0x400
jne 0x47cf64
mov eax, dword [edi + 0x18]
test al, 0x10
jne 0x47cf2d
mov eax, dword [edi + 0x20]
fld dword [0x5c5c60]
fstp dword [esp + 0x5c]
cmp eax, 2
jne 0x47ceea
fld dword [0x5c5f08]
jmp 0x47cef5
cmp eax, 1
jne 0x47cef9
fld dword [0x5c5f04]
fstp dword [esp + 0x5c]
mov eax, edi
call fcn.0045631a
test eax, eax
jne 0x47cf10
mov eax, dword [edi + 0x1c]
push 2
pop ebx
cmp eax, ebx
jle 0x47cf10
mov ebx, eax
xor edx, edx
lea ecx, [edi + 0xb0]
fld dword [esp + 0x5c]
fcomp dword [ecx]
fnstsw ax
test ah, 5
jnp 0x47cf34
inc edx
add ecx, 4
cmp edx, ebx
jb 0x47cf18
xor eax, eax
jmp 0x47d4d3
mov eax, dword [ebp + 8]
call fcn.00457152
fmul dword [0x5c5f00]
call fcn.0048151c
cmp dword [ebp + 0x10], eax
jle 0x47cf4f
mov dword [ebp + 0x10], eax
test esi, esi
je 0x47cf60
cmp dword [esi + 0x298], 0
jne 0x47cf60
and dword [ebp + 0x14], 0
or dword [edi + 0x18], 4
mov eax, dword [edi + 0x18]
test al, 0x40
je 0x47cf74
push dword [ebp + 8]
push edi
call fcn.0047c6cc
mov eax, dword [edi + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
call fcn.00457152
fdivr dword [edi + 0x40]
mov eax, edi
fstp qword [esp + 0x50]
call fcn.0045631a
test eax, eax
je 0x47cff7
fld dword [edi + 0xa0]
fmul qword [esp + 0x50]
jmp 0x47cffb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x134]
dec eax
cmp dword [edi + 0x5c], eax
je 0x47cf64
mov eax, edi
call fcn.0045631a
test eax, eax
je 0x47cfbf
mov eax, ebx
jmp 0x47cfca
mov eax, dword [edi + 0x1c]
cmp eax, 2
jg 0x47cfca
push 2
pop eax
shl eax, 2
push eax
lea eax, [edi + 0xb0]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x18]
add esp, 0xc
test al, 0x10
je 0x47cf60
and dword [edi + 0x18], 0xfffffffb
or dword [edi + 0x18], 8
jmp 0x47cf64
fld qword [esp + 0x50]
fld qword [0x5c5ef8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x47d00e
fstp st(1)
jmp 0x47d010
fstp st(0)
fld qword [0x5c5ef0]
fmul st(1)
call fcn.0048151c
cmp dword [edi + 0x3c], 0
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x38]
jl 0x47d034
jg 0x47d030
test eax, eax
je 0x47d034
inc dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
fild dword [esp + 0x2c]
mov ebx, dword [edi + 0x20]
mov dword [esp + 0x34], ebx
imul ebx, eax
fmul qword [0x5c5c10]
fsubp st(1)
fstp qword [esp + 0x88]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], eax
test eax, eax
je 0x47d07b
mov ecx, dword [edi + 0x44]
xor eax, eax
add ecx, 2
inc eax
shl eax, cl
inc ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x28], 0
jl 0x47d154
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x2c]
jns 0x47d090
add eax, dword [edi + 0x24]
xor edx, edx
div ebx
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x18], eax
je 0x47d113
mov esi, dword [ebp + 0x10]
mov eax, edi
call fcn.0045631a
test eax, eax
jne 0x47d0b6
cmp dword [esp + 0x2c], 0x1000000
je 0x47d0f1
mov eax, dword [esp + 0x2c]
imul dword [ebp + 0x10]
mov esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], edx
cdq
add esi, eax
mov eax, dword [esp + 0xc]
adc eax, edx
add esi, 0x1ffffff
adc eax, 0
shrd esi, eax, 0x18
sar eax, 0x18
cmp dword [esp + 0x58], 0
je 0x47d0f1
mov eax, dword [esp + 0x6c]
shr eax, 1
lea esi, [esi + eax - 1]
cmp dword [esp + 0x18], esi
jge 0x47d113
mov ecx, dword [ebp + 0x14]
mov edx, esi
sub edx, dword [esp + 0x18]
push 3
imul edx, ebx
call fcn.004747dc
and dword [ebp + 0x14], 0
jmp 0x47d085
cmp dword [esp + 0x2c], 0x1000000
je 0x47d148
mov eax, dword [esp + 0x18]
cdq
shld edx, eax, 0x18
shl eax, 0x18
mov ecx, eax
mov eax, dword [esp + 8]
mov esi, edx
cdq
sub ecx, eax
mov eax, dword [esp + 0x2c]
sbb esi, edx
cdq
push edx
push eax
push esi
push ecx
call fcn.004816dc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp dword [ebp + 0x10], eax
jle 0x47d154
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jle 0x47cf2d
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], ebx
call fcn.00457111
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x54]
lea eax, [ecx + eax*4]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
test eax, 0x100
jne 0x47d468
mov esi, dword [edi + 0x54]
cmp dword [esp + 0x40], esi
jbe 0x47d468
mov eax, dword [ebp + 8]
cmp dword [eax + 0x48], ebx
jne 0x47d1e9
cmp dword [eax + 0x60], ebx
jne 0x47d1e9
mov eax, dword [eax + 0x138]
cmp eax, ebx
je 0x47d1bd
cmp dword [eax + 0x270], ebx
jne 0x47d1e9
mov eax, edi
call fcn.0045631a
test eax, eax
je 0x47d468
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x13c]
cmp eax, ebx
je 0x47d468
cmp dword [eax + 0x270], ebx
je 0x47d468
mov eax, edi
call fcn.0045631a
test eax, eax
je 0x47d208
xor ecx, ecx
cmp dword [edi + 0x84], ebx
sete cl
lea ecx, [ecx*4 + 2]
jmp 0x47d20c
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
sub eax, esi
cmp ecx, eax
jae 0x47d239
mov eax, edi
call fcn.0045631a
test eax, eax
je 0x47d235
xor eax, eax
cmp dword [edi + 0x84], ebx
sete al
lea eax, [eax*4 + 2]
jmp 0x47d239
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, edi
call fcn.0045631a
test eax, eax
je 0x47d24c
push 6
jmp 0x47d257
mov eax, dword [esp + 0x38]
cmp eax, 2
ja 0x47d258
push 2
pop eax
lea eax, [edi + eax*4 + 0xb0]
mov dword [esp + 0x1c], eax
xor eax, eax
inc eax
cmp dword [esp + 0x40], eax
jle 0x47d275
mov dword [esp + 0x48], eax
cmp dword [edi + 0x58], ebx
jne 0x47d279
mov dword [esp + 0x48], ebx
mov eax, dword [edi + 0x18]
test al, 0xc
je 0x47d4db
mov eax, dword [edi + 0x18]
test al, 1
je 0x47d290
fld dword [edi + 0x4c]
jmp 0x47d292
fldz
mov eax, dword [edi + 0x18]
fstp dword [esp + 0x10]
mov eax, dword [edi + 0x20]
cmp eax, 2
jne 0x47d2ad
fld dword [esp + 0x10]
fmul dword [0x5c59f8]
jmp 0x47d2bc
cmp eax, 1
jne 0x47d2c0
fld dword [esp + 0x10]
fmul dword [0x5c59fc]
fstp dword [esp + 0x10]
mov eax, dword [edi + 0x18]
and al, 4
movzx esi, al
neg esi
sbb esi, esi
and esi, dword [ebp + 0x10]
and dword [edi + 0x18], 0xfffffff3
mov dword [esp + 0x20], esi
cmp esi, ebx
je 0x47d362
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x134]
dec eax
cmp dword [edi + 0x5c], eax
je 0x47d362
mov eax, dword [ebp + 8]
call fcn.00457152
fmul dword [0x5c5f00]
call fcn.0048151c
cmp esi, eax
jle 0x47d30b
mov esi, eax
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x2c]
add ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x34], 4
jne 0x47d32f
fld dword [ecx]
fabs
fcomp dword [0x5c59fc]
fnstsw ax
test ah, 1
je 0x47d362
jmp 0x47d355
cmp dword [esp + 0x34], 2
jne 0x47d345
movsx eax, word [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jmp 0x47d353
movzx eax, byte [ecx]
add eax, 0xffffff80
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jge 0x47d362
add ecx, dword [esp + 0x34]
dec ebx
jne 0x47d315
xor esi, esi
mov dword [esp + 0x20], esi
and dword [esp + 0x14], 0
mov eax, edi
call fcn.0045631a
test eax, eax
je 0x47d3c9
and dword [esp + 0xc], 0
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 0xb0]
lea ebx, [eax + 0x30]
mov edx, eax
sub ebx, eax
mov eax, dword [esp + 0xc]
sub edx, ecx
mov dword [esp + 0x30], edx
jmp 0x47d39c
mov edx, dword [esp + 0x30]
add edx, ecx
fld dword [edx + ebx]
fmul st(1)
test esi, esi
je 0x47d3b7
fsub dword [edx]
fidiv dword [esp + 0x20]
fstp dword [ecx]
mov edx, dword [ecx]
or dword [esp + 0x14], edx
jmp 0x47d3bd
fstp dword [edx]
fldz
fstp dword [ecx]
inc eax
add ecx, 4
cmp eax, dword [esp + 0x3c]
jb 0x47d398
jmp 0x47d448
fld dword [edi + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x24]
and dword [esp + 0x18], 0
fld dword [esp + 0x10]
add edx, dword [esp + 0x38]
fld1
lea ecx, [edi + 0xb0]
sub ecx, eax
cmp edx, 2
jne 0x47d411
cmp dword [esp + 0x24], 0
jg 0x47d40a
test byte [esp + 0x18], 1
je 0x47d411
fld dword [esp + 0x24]
fadd st(1)
jmp 0x47d41b
test byte [esp + 0x18], 1
je 0x47d415
fld st(1)
jmp 0x47d41d
fld dword [esp + 0x24]
fsubr st(1)
fmul st(2)
test esi, esi
je 0x47d432
fsub dword [eax + ecx]
fidiv dword [esp + 0x20]
fstp dword [eax]
mov ebx, dword [eax]
or dword [esp + 0x14], ebx
jmp 0x47d439
fstp dword [eax + ecx]
fldz
fstp dword [eax]
inc dword [esp + 0x18]
add eax, 4
cmp dword [esp + 0x18], edx
jb 0x47d3ef
fstp st(0)
cmp dword [esp + 0x14], 0
je 0x47d45d
or dword [edi + 0x18], 8
fstp st(0)
mov dword [ebp + 0x10], esi
jmp 0x47d4e0
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x47d4e0
mov eax, dword [edi + 0x18]
test al, 1
je 0x47cf2d
mov ebx, dword [ebp + 0x10]
mov eax, dword [esp + 0x2c]
or dword [edi + 0x18], 2
imul ebx
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, edx
cdq
add esi, eax
adc ecx, edx
mov eax, esi
and eax, 0xffffff
add ebx, dword [esp + 0x5c]
mov dword [edi + 0x30], eax
mov dword [esp + 0x50], ebx
fild dword [esp + 0x50]
jns 0x47d4ab
fadd qword [0x5c5c38]
mov eax, esi
shrd eax, ecx, 0x18
imul eax, dword [esp + 0x44]
add eax, dword [edi + 0x2c]
xor edx, edx
sar ecx, 0x18
div dword [edi + 0x24]
mov eax, ebx
mov dword [edi + 0x2c], edx
fmul qword [esp + 0x88]
fadd qword [edi + 0x38]
fstp qword [edi + 0x38]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x4c], ebx
je 0x47d468
and dword [edi + 0x18], 0xfffffffd
cmp dword [esp + 0x58], 0
je 0x47d528
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x134]
dec eax
cmp dword [edi + 0x5c], eax
je 0x47d528
mov eax, dword [edi + 0x28]
cmp eax, dword [edi + 0x24]
jae 0x47d528
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
sub ecx, eax
push ecx
mov ecx, dword [edi + 0x20]
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffffff80
sub ecx, 0xffffff80
push ecx
mov ecx, dword [edi + 0x2c]
add ecx, eax
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov ebx, dword [edi + 0x14]
mov esi, dword [edi + 0x2c]
mov eax, edi
mov dword [esp + 0x14], ebx
call fcn.0045631a
test eax, eax
jne 0x47d761
cmp dword [esp + 0x2c], 0x1000000
jne 0x47d761
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [edi + 0xb0]
sub ecx, eax
cmp dword [esp + 0x34], 4
mov dword [esp + 0x20], ecx
jne 0x47d61b
and dword [esp + 0x28], 0
lea ecx, [esi + ebx]
sub ecx, dword [esp + 0x1c]
lea edx, [edi + 0xb0]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
sub ecx, edx
lea eax, [edi + 0xb0]
mov dword [esp + 0x10], ecx
jmp 0x47d59a
fstp st(0)
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
add ecx, eax
fld dword [ecx + edx]
fld dword [ecx]
mov ecx, dword [esp + 0x10]
fadd dword [eax]
fst dword [eax]
fmul st(1)
fadd dword [ecx + eax]
fstp dword [ecx + eax]
mov ecx, dword [esp + 0x28]
inc ecx
add eax, 4
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x3c]
jb 0x47d598
cmp dword [esp + 0x48], 0
je 0x47d5f3
mov edx, dword [esp + 0x1c]
mov eax, ecx
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmulp st(1)
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
jmp 0x47d5f5
fstp st(0)
mov eax, dword [esp + 0x40]
add esi, dword [esp + 0x44]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47d60c
sub esi, eax
dec dword [esp + 0x14]
jne 0x47d571
jmp 0x47e2ae
cmp dword [esp + 0x34], 2
jne 0x47d6c2
and dword [esp + 0xc], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
lea eax, [edi + 0xb0]
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x47d642
fstp st(0)
lea ecx, [esi + ebx]
movsx ecx, word [ecx + edx*2]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
inc edx
fild dword [esp + 0xc]
fld dword [eax + ecx]
mov ecx, dword [esp + 0x10]
fadd dword [eax]
fst dword [eax]
fmul st(1)
fadd dword [ecx + eax]
fstp dword [ecx + eax]
add eax, 4
cmp edx, dword [esp + 0x3c]
jb 0x47d640
cmp dword [esp + 0x48], 0
je 0x47d69a
mov eax, edx
mov edx, dword [esp + 0x1c]
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmulp st(1)
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
jmp 0x47d69c
fstp st(0)
mov eax, dword [esp + 0x40]
add esi, dword [esp + 0x44]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47d6b3
sub esi, eax
dec dword [esp + 0x14]
jne 0x47d626
jmp 0x47e2ae
and dword [esp + 0xc], 0
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xb0]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc]
jmp 0x47d6de
fstp st(0)
lea edx, [esi + ebx]
movzx edx, byte [ecx + edx]
add edx, 0xffffff80
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x20]
inc ecx
fild dword [esp + 0xc]
fld dword [eax + edx]
mov edx, dword [esp + 0x10]
fadd dword [eax]
fst dword [eax]
fmul st(1)
fadd dword [edx + eax]
fstp dword [edx + eax]
add eax, 4
cmp ecx, dword [esp + 0x3c]
jb 0x47d6dc
cmp dword [esp + 0x48], 0
je 0x47d739
mov edx, dword [esp + 0x1c]
mov eax, ecx
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmulp st(1)
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
jmp 0x47d73b
fstp st(0)
mov eax, dword [esp + 0x40]
add esi, dword [esp + 0x44]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47d752
sub esi, eax
dec dword [esp + 0x14]
jne 0x47d6c2
jmp 0x47e2ae
cmp dword [esp + 0x58], 0
je 0x47d77a
mov eax, dword [esp + 0x6c]
shr eax, 1
dec eax
imul eax, dword [esp + 0x44]
sub ebx, eax
mov dword [esp + 0x14], ebx
mov eax, edi
call fcn.0045631a
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x47d9f4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
lea eax, [edi + 0xb0]
sub ecx, eax
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x58], 0
lea edx, [esi + ebx]
je 0x47d911
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
and eax, 0x1ffff
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
fild dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
fmul dword [0x5c5eec]
sar eax, 0x11
shl eax, cl
cmp dword [esp + 0x34], 4
mov ecx, dword [esp + 0x58]
fstp dword [esp + 0xc]
movss xmm2, dword [esp + 0xc]
lea eax, [ecx + eax*4]
shufps xmm2, xmm2, 0
xorps xmm1, xmm1
jne 0x47d81e
movaps xmm3, xmmword [eax + 0x10]
movups xmm0, xmmword [edx]
mulps xmm3, xmm2
addps xmm3, xmmword [eax]
add edx, 0x10
add eax, 0x20
sub dword [esp + 0x14], 4
mulps xmm3, xmm0
addps xmm1, xmm3
jne 0x47d7f9
jmp 0x47d8d9
cmp dword [esp + 0x34], 2
jne 0x47d87b
lea ecx, [edx + 4]
movsx edx, word [ecx - 4]
xorps xmm0, xmm0
cvtsi2ss xmm0, edx
movsx edx, word [ecx - 2]
xorps xmm3, xmm3
cvtsi2ss xmm3, edx
movsx edx, word [ecx]
xorps xmm4, xmm4
cvtsi2ss xmm4, edx
movsx edx, word [ecx + 2]
xorps xmm5, xmm5
cvtsi2ss xmm5, edx
add ecx, 8
unpcklps xmm0, xmm4
unpcklps xmm3, xmm5
unpcklps xmm0, xmm3
movaps xmm3, xmmword [eax + 0x10]
mulps xmm3, xmm2
addps xmm3, xmmword [eax]
add eax, 0x20
sub dword [esp + 0x14], 4
mulps xmm3, xmm0
addps xmm1, xmm3
jne 0x47d828
jmp 0x47d8d9
movaps xmm3, xmmword [0x5c4c40]
lea ecx, [edx + 2]
movzx edx, byte [ecx - 2]
xorps xmm0, xmm0
cvtsi2ss xmm0, edx
movzx edx, byte [ecx - 1]
xorps xmm4, xmm4
cvtsi2ss xmm4, edx
movzx edx, byte [ecx]
xorps xmm5, xmm5
cvtsi2ss xmm5, edx
movzx edx, byte [ecx + 1]
xorps xmm6, xmm6
cvtsi2ss xmm6, edx
add ecx, 4
unpcklps xmm0, xmm5
unpcklps xmm4, xmm6
unpcklps xmm0, xmm4
movaps xmm4, xmmword [eax + 0x10]
mulps xmm4, xmm2
addps xmm4, xmmword [eax]
subps xmm0, xmm3
add eax, 0x20
sub dword [esp + 0x14], 4
mulps xmm4, xmm0
addps xmm1, xmm4
jne 0x47d885
movaps xmm0, xmmword [esp + 0xb0]
movhlps xmm0, xmm1
addps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 1
movaps xmmword [esp + 0xb0], xmm1
addss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x84], xmm0
fld dword [esp + 0x84]
jmp 0x47d96e
cmp dword [esp + 0x34], 4
fild dword [esp + 8]
fmul dword [0x5c5c18]
jne 0x47d92d
fld dword [edx + 4]
fsub dword [edx]
fmulp st(1)
fadd dword [edx]
jmp 0x47d96e
cmp dword [esp + 0x34], 2
jne 0x47d94f
movsx eax, word [edx]
movsx ecx, word [edx + 2]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], eax
fimul dword [esp + 0xc]
fiadd dword [esp + 0x30]
jmp 0x47d96e
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], eax
fimul dword [esp + 0xc]
fiadd dword [esp + 0x30]
fsub dword [0x5c5a04]
mov ecx, dword [ebp + 0xc]
and dword [esp + 0x24], 0
lea eax, [edi + 0xb0]
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x47d988
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
fld dword [eax + edx]
inc dword [esp + 0x24]
fadd dword [eax]
fst dword [eax]
fld st(1)
fmulp st(1)
fadd dword [ecx + eax]
fstp dword [ecx + eax]
mov ecx, dword [esp + 0x24]
add eax, 4
cmp ecx, dword [esp + 0x3c]
jb 0x47d984
mov eax, dword [esp + 0x40]
fstp st(0)
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
sar eax, 0x18
test eax, eax
je 0x47d9e5
imul eax, dword [esp + 0x34]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47d9e5
sub esi, eax
dec dword [esp + 0x28]
jne 0x47d7a0
jmp 0x47e2ae
cmp dword [esp + 0x58], 0
mov dword [esp + 0x18], eax
je 0x47dfb8
cmp dword [esp + 0x34], 4
jne 0x47dbdd
mov ecx, dword [esp + 0x38]
mov eax, ecx
imul eax, eax, 0xc
mov edx, ecx
mov dword [esp + 0x10], ecx
shl dword [esp + 0x10], 4
shl edx, 3
sub edx, eax
shl ecx, 2
sub ecx, eax
xorps xmm4, xmm4
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
jmp 0x47da41
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
sar eax, 0x11
shl eax, cl
mov ecx, dword [esp + 0x58]
and dword [esp + 0x20], 0
lea edx, [esi + ebx]
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + eax*4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 8]
and eax, 0x1ffff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, edx
neg eax
add ebx, eax
fmul dword [0x5c5eec]
lea eax, [eax + edi + 0xb0]
mov ecx, edx
mov dword [esp + 0x4c], ebx
fstp dword [esp + 0xc]
movss xmm3, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
sub eax, edx
shufps xmm3, xmm3, 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov ebx, ecx
movaps xmm2, xmm4
add edx, ecx
mov eax, dword [esp + 0x60]
movss xmm1, dword [eax + edx]
movss xmm0, dword [edx]
mov eax, dword [esp + 0x64]
movss xmm5, dword [eax + edx]
mov eax, dword [esp + 0x28]
add edx, dword [esp + 0x10]
unpcklps xmm1, xmm0
movss xmm0, dword [ebx]
add ebx, dword [esp + 0x10]
unpcklps xmm0, xmm5
movaps xmm5, xmmword [eax + 0x10]
mulps xmm5, xmm3
addps xmm5, xmmword [eax]
add eax, 0x20
sub dword [esp + 0x24], 4
movlhps xmm0, xmm1
mulps xmm5, xmm0
addps xmm2, xmm5
mov dword [esp + 0x28], eax
jne 0x47dac5
movaps xmm0, xmmword [esp + 0x90]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
fld dword [edx + ecx]
movhlps xmm0, xmm2
fadd dword [eax + ecx]
addps xmm0, xmm2
movaps xmm1, xmm0
shufps xmm1, xmm0, 1
fst dword [eax + ecx]
mov eax, dword [esp + 0x50]
movaps xmmword [esp + 0x90], xmm1
addss xmm0, dword [esp + 0x90]
movss dword [esp + 0x78], xmm0
fmul dword [esp + 0x78]
fadd dword [eax + ecx]
fstp dword [eax + ecx]
mov eax, dword [esp + 0x20]
inc eax
add ecx, 4
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x3c]
jb 0x47daaa
cmp dword [esp + 0x48], 0
je 0x47db99
mov edx, dword [esp + 0x1c]
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmul dword [esp + 0x78]
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
mov eax, dword [esp + 0x40]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
sar eax, 0x18
test eax, eax
je 0x47dbce
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47dbce
sub esi, eax
dec dword [esp + 0x18]
jne 0x47da3d
jmp 0x47e2ae
cmp dword [esp + 0x34], 2
mov eax, dword [esp + 0x38]
mov edx, eax
jne 0x47ddd6
shl edx, 3
mov ecx, eax
mov dword [esp + 0x28], edx
lea edx, [eax + eax]
imul eax, eax, 6
shl ecx, 2
sub eax, ecx
sub edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [edi + 0xb0]
sub ecx, eax
xorps xmm3, xmm3
mov dword [esp + 0x64], edx
mov dword [esp + 0x20], ecx
jmp 0x47dc25
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
and dword [esp + 0x30], 0
sar eax, 0x11
shl eax, cl
mov ecx, dword [esp + 0x58]
add ebx, esi
mov dword [esp + 0x24], ebx
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
and eax, 0x1ffff
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
lea eax, [edi + 0xb0]
sub ecx, eax
mov dword [esp + 0x10], ecx
fmul dword [0x5c5eec]
fstp dword [esp + 0x50]
movss xmm2, dword [esp + 0x50]
shufps xmm2, xmm2, 0
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x38]
shl ecx, 2
movaps xmm1, xmm3
add ecx, ebx
movsx edx, word [ebx]
xorps xmm0, xmm0
cvtsi2ss xmm0, edx
mov edx, dword [esp + 0x64]
movsx edx, word [edx + ecx]
add ebx, dword [esp + 0x28]
xorps xmm4, xmm4
cvtsi2ss xmm4, edx
movsx edx, word [ecx]
xorps xmm5, xmm5
cvtsi2ss xmm5, edx
mov edx, dword [esp + 0xc]
movsx edx, word [edx + ecx]
add ecx, dword [esp + 0x28]
xorps xmm6, xmm6
cvtsi2ss xmm6, edx
mov edx, dword [esp + 0x60]
unpcklps xmm0, xmm5
unpcklps xmm4, xmm6
unpcklps xmm0, xmm4
movaps xmm4, xmmword [edx + 0x10]
mulps xmm4, xmm2
addps xmm4, xmmword [edx]
add edx, 0x20
sub dword [esp + 0x68], 4
mulps xmm4, xmm0
addps xmm1, xmm4
mov dword [esp + 0x60], edx
jne 0x47dc9c
movaps xmm0, xmmword [esp + 0xa0]
mov ecx, dword [esp + 0x20]
fld dword [ecx + eax]
mov ecx, dword [esp + 0x10]
fadd dword [eax]
add dword [esp + 0x24], 2
movhlps xmm0, xmm1
addps xmm0, xmm1
movaps xmm1, xmm0
fst dword [eax]
shufps xmm1, xmm0, 1
movaps xmmword [esp + 0xa0], xmm1
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x80], xmm0
fmul dword [esp + 0x80]
fadd dword [ecx + eax]
fstp dword [ecx + eax]
mov ecx, dword [esp + 0x30]
inc ecx
add eax, 4
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x3c]
jb 0x47dc7c
cmp dword [esp + 0x48], 0
je 0x47dd92
mov edx, dword [esp + 0x1c]
mov eax, ecx
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmul dword [esp + 0x80]
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
mov eax, dword [esp + 0x40]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
sar eax, 0x18
test eax, eax
je 0x47ddc7
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47ddc7
sub esi, eax
dec dword [esp + 0x18]
jne 0x47dc21
jmp 0x47e2ae
movaps xmm3, xmmword [0x5c4c40]
lea ecx, [eax + eax]
mov dword [esp + 0x24], eax
imul eax, eax, 3
sub dword [esp + 0x24], ecx
sub eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
shl edx, 2
lea eax, [edi + 0xb0]
sub ecx, eax
xorps xmm4, xmm4
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], ecx
jmp 0x47de11
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
and dword [esp + 0xc], 0
sar eax, 0x11
shl eax, cl
mov ecx, dword [esp + 0x58]
add ebx, esi
mov dword [esp + 0x28], ebx
lea eax, [ecx + eax*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
and eax, 0x1ffff
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0xb0]
sub eax, ecx
fmul dword [0x5c5eec]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x50]
movss xmm2, dword [esp + 0x50]
shufps xmm2, xmm2, 0
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
add eax, eax
movaps xmm1, xmm4
add eax, ebx
movzx edx, byte [ebx]
xorps xmm0, xmm0
cvtsi2ss xmm0, edx
mov edx, dword [esp + 0x24]
movzx edx, byte [edx + eax]
add ebx, dword [esp + 0x30]
xorps xmm5, xmm5
cvtsi2ss xmm5, edx
movzx edx, byte [eax]
xorps xmm6, xmm6
cvtsi2ss xmm6, edx
mov edx, dword [esp + 0x64]
movzx edx, byte [edx + eax]
add eax, dword [esp + 0x30]
xorps xmm7, xmm7
cvtsi2ss xmm7, edx
mov edx, dword [esp + 0x68]
unpcklps xmm0, xmm6
unpcklps xmm5, xmm7
unpcklps xmm0, xmm5
movaps xmm5, xmmword [edx + 0x10]
mulps xmm5, xmm2
addps xmm5, xmmword [edx]
add edx, 0x20
sub dword [esp + 0x60], 4
subps xmm0, xmm3
mulps xmm5, xmm0
addps xmm1, xmm5
mov dword [esp + 0x68], edx
jne 0x47de87
movaps xmm0, xmmword [esp + 0xc0]
mov eax, dword [esp + 0x20]
fld dword [eax + ecx]
mov eax, dword [esp + 0x10]
fadd dword [ecx]
movhlps xmm0, xmm1
addps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 1
fst dword [ecx]
movaps xmmword [esp + 0xc0], xmm1
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x7c], xmm0
fmul dword [esp + 0x7c]
fadd dword [eax + ecx]
fstp dword [eax + ecx]
mov eax, dword [esp + 0xc]
inc eax
inc dword [esp + 0x28]
add ecx, 4
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x3c]
jb 0x47de68
cmp dword [esp + 0x48], 0
je 0x47df74
mov edx, dword [esp + 0x1c]
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmul dword [esp + 0x7c]
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
mov eax, dword [esp + 0x40]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
sar eax, 0x18
test eax, eax
je 0x47dfa9
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47dfa9
sub esi, eax
dec dword [esp + 0x18]
jne 0x47de0d
jmp 0x47e2ae
cmp dword [esp + 0x34], 4
je 0x47dfe3
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 0xb0]
sub ecx, eax
cmp dword [esp + 0x34], 2
mov dword [esp + 0x20], ecx
jne 0x47e1cf
jmp 0x47e0da
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
fild dword [esp + 8]
and dword [esp + 0xc], 0
lea eax, [esi + ebx]
mov ebx, dword [esp + 0x1c]
fmul dword [0x5c5c18]
lea edx, [eax + ecx*4]
mov ecx, eax
neg ecx
add ebx, ecx
lea ecx, [ecx + edi + 0xb0]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], ecx
jmp 0x47e026
mov ecx, dword [esp + 0x50]
fstp st(0)
fld dword [edx]
mov ebx, dword [esp + 0x4c]
fsub dword [eax]
add ebx, eax
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x64]
fmul st(1)
add edx, 4
fadd dword [eax]
fld dword [ebx + eax]
mov ebx, dword [esp + 0x30]
fadd dword [ebx]
fst dword [ebx]
fld st(1)
fmulp st(1)
fadd dword [ecx + eax]
fstp dword [ecx + eax]
mov ecx, dword [esp + 0xc]
inc ecx
add eax, 4
mov dword [esp + 0xc], ecx
cmp ecx, dword [esp + 0x3c]
jb 0x47e020
cmp dword [esp + 0x48], 0
fstp st(1)
je 0x47e090
mov edx, dword [esp + 0x1c]
mov eax, ecx
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmulp st(1)
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
jmp 0x47e092
fstp st(0)
mov eax, dword [esp + 0x40]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
sar eax, 0x18
test eax, eax
je 0x47e0c7
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47e0c7
sub esi, eax
dec dword [esp + 0x18]
jne 0x47dfdf
jmp 0x47e2ae
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
fild dword [esp + 8]
and dword [esp + 0x28], 0
lea ecx, [esi + ebx]
fmul dword [0x5c5c18]
lea edx, [ecx + edx*2]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0xc]
lea eax, [edi + 0xb0]
sub edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
jmp 0x47e10e
fstp st(0)
movsx edx, word [ecx + edx*2]
mov ebx, dword [esp + 0x24]
movsx ebx, word [ebx]
sub ebx, edx
add dword [esp + 0x24], 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x20]
fild dword [esp + 0x50]
fmul st(1)
fiadd dword [esp + 0x4c]
fld dword [eax + edx]
fadd dword [eax]
mov edx, dword [esp + 0x10]
fst dword [eax]
fmul st(1)
fadd dword [edx + eax]
fstp dword [edx + eax]
mov edx, dword [esp + 0x28]
inc edx
add eax, 4
mov dword [esp + 0x28], edx
cmp edx, dword [esp + 0x3c]
jb 0x47e10c
cmp dword [esp + 0x48], 0
fstp st(1)
je 0x47e185
mov eax, edx
mov edx, dword [esp + 0x1c]
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmulp st(1)
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
jmp 0x47e187
fstp st(0)
mov eax, dword [esp + 0x40]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
sar eax, 0x18
test eax, eax
je 0x47e1bc
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47e1bc
sub esi, eax
dec dword [esp + 0x18]
jne 0x47e0d6
jmp 0x47e2ae
mov ebx, dword [esp + 0x14]
fild dword [esp + 8]
mov edx, dword [ebp + 0xc]
and dword [esp + 0xc], 0
lea eax, [edi + 0xb0]
fmul dword [0x5c5c18]
sub edx, eax
lea ecx, [esi + ebx]
mov dword [esp + 0x10], edx
jmp 0x47e1f4
fstp st(0)
movzx edx, byte [ecx]
mov ebx, dword [esp + 0x38]
movzx ebx, byte [ecx + ebx]
sub ebx, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x20]
fild dword [esp + 0x50]
fmul st(1)
fiadd dword [esp + 0x4c]
fsub dword [0x5c5a04]
fld dword [eax + edx]
mov edx, dword [esp + 0x10]
fadd dword [eax]
fst dword [eax]
fmul st(1)
fadd dword [edx + eax]
fstp dword [edx + eax]
mov edx, dword [esp + 0xc]
inc edx
inc ecx
add eax, 4
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x3c]
jb 0x47e1f2
cmp dword [esp + 0x48], 0
fstp st(1)
je 0x47e26d
mov eax, edx
mov edx, dword [esp + 0x1c]
fld dword [edx + eax*4]
lea ecx, [edi + eax*4 + 0xb0]
fadd dword [ecx]
fst dword [ecx]
mov ecx, dword [ebp + 0xc]
fmulp st(1)
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
jmp 0x47e26f
fstp st(0)
mov eax, dword [esp + 0x40]
shl eax, 2
add dword [ebp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
sar eax, 0x18
test eax, eax
je 0x47e2a4
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x47e2a4
sub esi, eax
dec dword [esp + 0x18]
jne 0x47e1cb
mov eax, dword [ebp + 0x10]
add dword [esp + 0x5c], eax
sub dword [esp + 0x74], eax
mov dword [edi + 0x2c], esi
je 0x47e2cc
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x10], eax
xor ebx, ebx
jmp 0x47d279
mov eax, dword [esp + 8]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x5c]
mov ecx, eax
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
test ecx, ecx
jns 0x47d4c6
fadd qword [0x5c5c38]
jmp 0x47d4c6