Function at 0x428a2c
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 0x428b35
test esi, esi
je 0x428a5d
mov eax, dword [edi + 0x18]
test eax, 0x400
jne 0x428af8
mov eax, dword [edi + 0x18]
test al, 0x10
jne 0x428ac1
mov eax, dword [edi + 0x20]
fld dword [0x4b91c0]
fstp dword [esp + 0x5c]
cmp eax, 2
jne 0x428a7e
fld dword [0x4b9468]
jmp 0x428a89
cmp eax, 1
jne 0x428a8d
fld dword [0x4b9464]
fstp dword [esp + 0x5c]
mov eax, edi
call fcn.00401eae
test eax, eax
jne 0x428aa4
mov eax, dword [edi + 0x1c]
push 2
pop ebx
cmp eax, ebx
jle 0x428aa4
mov ebx, eax
xor edx, edx
lea ecx, [edi + 0xb0]
fld dword [esp + 0x5c]
fcomp dword [ecx]
fnstsw ax
test ah, 5
jnp 0x428ac8
inc edx
add ecx, 4
cmp edx, ebx
jb 0x428aac
xor eax, eax
jmp 0x429067
mov eax, dword [ebp + 8]
call fcn.00402ce6
fmul dword [0x4b9460]
call fcn.0042d0b0
cmp dword [ebp + 0x10], eax
jle 0x428ae3
mov dword [ebp + 0x10], eax
test esi, esi
je 0x428af4
cmp dword [esi + 0x298], 0
jne 0x428af4
and dword [ebp + 0x14], 0
or dword [edi + 0x18], 4
mov eax, dword [edi + 0x18]
test al, 0x40
je 0x428b08
push dword [ebp + 8]
push edi
call fcn.00428260
mov eax, dword [edi + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
call fcn.00402ce6
fdivr dword [edi + 0x40]
mov eax, edi
fstp qword [esp + 0x50]
call fcn.00401eae
test eax, eax
je 0x428b8b
fld dword [edi + 0xa0]
fmul qword [esp + 0x50]
jmp 0x428b8f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x134]
dec eax
cmp dword [edi + 0x5c], eax
je 0x428af8
mov eax, edi
call fcn.00401eae
test eax, eax
je 0x428b53
mov eax, ebx
jmp 0x428b5e
mov eax, dword [edi + 0x1c]
cmp eax, 2
jg 0x428b5e
push 2
pop eax
shl eax, 2
push eax
lea eax, [edi + 0xb0]
push 0
push eax
call fcn.0042d320
mov eax, dword [edi + 0x18]
add esp, 0xc
test al, 0x10
je 0x428af4
and dword [edi + 0x18], 0xfffffffb
or dword [edi + 0x18], 8
jmp 0x428af8
fld qword [esp + 0x50]
fld qword [0x4b9458]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x428ba2
fstp st(1)
jmp 0x428ba4
fstp st(0)
fld qword [0x4b9450]
fmul st(1)
call fcn.0042d0b0
cmp dword [edi + 0x3c], 0
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x38]
jl 0x428bc8
jg 0x428bc4
test eax, eax
je 0x428bc8
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 [0x4b9170]
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 0x428c0f
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 0x428ce8
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x2c]
jns 0x428c24
add eax, dword [edi + 0x24]
xor edx, edx
div ebx
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x18], eax
je 0x428ca7
mov esi, dword [ebp + 0x10]
mov eax, edi
call fcn.00401eae
test eax, eax
jne 0x428c4a
cmp dword [esp + 0x2c], 0x1000000
je 0x428c85
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 0x428c85
mov eax, dword [esp + 0x6c]
shr eax, 1
lea esi, [esi + eax - 1]
cmp dword [esp + 0x18], esi
jge 0x428ca7
mov ecx, dword [ebp + 0x14]
mov edx, esi
sub edx, dword [esp + 0x18]
push 3
imul edx, ebx
call fcn.00420370
and dword [ebp + 0x14], 0
jmp 0x428c19
cmp dword [esp + 0x2c], 0x1000000
je 0x428cdc
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.0042d270
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp dword [ebp + 0x10], eax
jle 0x428ce8
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jle 0x428ac1
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.00402ca5
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 0x428ffc
mov esi, dword [edi + 0x54]
cmp dword [esp + 0x40], esi
jbe 0x428ffc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x48], ebx
jne 0x428d7d
cmp dword [eax + 0x60], ebx
jne 0x428d7d
mov eax, dword [eax + 0x138]
cmp eax, ebx
je 0x428d51
cmp dword [eax + 0x270], ebx
jne 0x428d7d
mov eax, edi
call fcn.00401eae
test eax, eax
je 0x428ffc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x13c]
cmp eax, ebx
je 0x428ffc
cmp dword [eax + 0x270], ebx
je 0x428ffc
mov eax, edi
call fcn.00401eae
test eax, eax
je 0x428d9c
xor ecx, ecx
cmp dword [edi + 0x84], ebx
sete cl
lea ecx, [ecx*4 + 2]
jmp 0x428da0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
sub eax, esi
cmp ecx, eax
jae 0x428dcd
mov eax, edi
call fcn.00401eae
test eax, eax
je 0x428dc9
xor eax, eax
cmp dword [edi + 0x84], ebx
sete al
lea eax, [eax*4 + 2]
jmp 0x428dcd
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, edi
call fcn.00401eae
test eax, eax
je 0x428de0
push 6
jmp 0x428deb
mov eax, dword [esp + 0x38]
cmp eax, 2
ja 0x428dec
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 0x428e09
mov dword [esp + 0x48], eax
cmp dword [edi + 0x58], ebx
jne 0x428e0d
mov dword [esp + 0x48], ebx
mov eax, dword [edi + 0x18]
test al, 0xc
je 0x42906f
mov eax, dword [edi + 0x18]
test al, 1
je 0x428e24
fld dword [edi + 0x4c]
jmp 0x428e26
fldz
mov eax, dword [edi + 0x18]
fstp dword [esp + 0x10]
mov eax, dword [edi + 0x20]
cmp eax, 2
jne 0x428e41
fld dword [esp + 0x10]
fmul dword [0x4b8f58]
jmp 0x428e50
cmp eax, 1
jne 0x428e54
fld dword [esp + 0x10]
fmul dword [0x4b8f5c]
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 0x428ef6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x134]
dec eax
cmp dword [edi + 0x5c], eax
je 0x428ef6
mov eax, dword [ebp + 8]
call fcn.00402ce6
fmul dword [0x4b9460]
call fcn.0042d0b0
cmp esi, eax
jle 0x428e9f
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 0x428ec3
fld dword [ecx]
fabs
fcomp dword [0x4b8f5c]
fnstsw ax
test ah, 1
je 0x428ef6
jmp 0x428ee9
cmp dword [esp + 0x34], 2
jne 0x428ed9
movsx eax, word [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x100
jmp 0x428ee7
movzx eax, byte [ecx]
add eax, 0xffffff80
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jge 0x428ef6
add ecx, dword [esp + 0x34]
dec ebx
jne 0x428ea9
xor esi, esi
mov dword [esp + 0x20], esi
and dword [esp + 0x14], 0
mov eax, edi
call fcn.00401eae
test eax, eax
je 0x428f5d
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 0x428f30
mov edx, dword [esp + 0x30]
add edx, ecx
fld dword [edx + ebx]
fmul st(1)
test esi, esi
je 0x428f4b
fsub dword [edx]
fidiv dword [esp + 0x20]
fstp dword [ecx]
mov edx, dword [ecx]
or dword [esp + 0x14], edx
jmp 0x428f51
fstp dword [edx]
fldz
fstp dword [ecx]
inc eax
add ecx, 4
cmp eax, dword [esp + 0x3c]
jb 0x428f2c
jmp 0x428fdc
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 0x428fa5
cmp dword [esp + 0x24], 0
jg 0x428f9e
test byte [esp + 0x18], 1
je 0x428fa5
fld dword [esp + 0x24]
fadd st(1)
jmp 0x428faf
test byte [esp + 0x18], 1
je 0x428fa9
fld st(1)
jmp 0x428fb1
fld dword [esp + 0x24]
fsubr st(1)
fmul st(2)
test esi, esi
je 0x428fc6
fsub dword [eax + ecx]
fidiv dword [esp + 0x20]
fstp dword [eax]
mov ebx, dword [eax]
or dword [esp + 0x14], ebx
jmp 0x428fcd
fstp dword [eax + ecx]
fldz
fstp dword [eax]
inc dword [esp + 0x18]
add eax, 4
cmp dword [esp + 0x18], edx
jb 0x428f83
fstp st(0)
cmp dword [esp + 0x14], 0
je 0x428ff1
or dword [edi + 0x18], 8
fstp st(0)
mov dword [ebp + 0x10], esi
jmp 0x429074
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x429074
mov eax, dword [edi + 0x18]
test al, 1
je 0x428ac1
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 0x42903f
fadd qword [0x4b9198]
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 0x428ffc
and dword [edi + 0x18], 0xfffffffd
cmp dword [esp + 0x58], 0
je 0x4290bc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x134]
dec eax
cmp dword [edi + 0x5c], eax
je 0x4290bc
mov eax, dword [edi + 0x28]
cmp eax, dword [edi + 0x24]
jae 0x4290bc
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 fcn.0042d320
add esp, 0xc
mov ebx, dword [edi + 0x14]
mov esi, dword [edi + 0x2c]
mov eax, edi
mov dword [esp + 0x14], ebx
call fcn.00401eae
test eax, eax
jne 0x4292f5
cmp dword [esp + 0x2c], 0x1000000
jne 0x4292f5
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 0x4291af
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 0x42912e
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 0x42912c
cmp dword [esp + 0x48], 0
je 0x429187
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 0x429189
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 0x4291a0
sub esi, eax
dec dword [esp + 0x14]
jne 0x429105
jmp 0x429e42
cmp dword [esp + 0x34], 2
jne 0x429256
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 0x4291d6
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 0x4291d4
cmp dword [esp + 0x48], 0
je 0x42922e
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 0x429230
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 0x429247
sub esi, eax
dec dword [esp + 0x14]
jne 0x4291ba
jmp 0x429e42
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 0x429272
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 0x429270
cmp dword [esp + 0x48], 0
je 0x4292cd
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 0x4292cf
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 0x4292e6
sub esi, eax
dec dword [esp + 0x14]
jne 0x429256
jmp 0x429e42
cmp dword [esp + 0x58], 0
je 0x42930e
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.00401eae
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x429588
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 0x4294a5
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 [0x4b944c]
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 0x4293b2
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 0x42938d
jmp 0x42946d
cmp dword [esp + 0x34], 2
jne 0x42940f
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 0x4293bc
jmp 0x42946d
movaps xmm3, xmmword [0x4b81a0]
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 0x429419
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 0x429502
cmp dword [esp + 0x34], 4
fild dword [esp + 8]
fmul dword [0x4b9178]
jne 0x4294c1
fld dword [edx + 4]
fsub dword [edx]
fmulp st(1)
fadd dword [edx]
jmp 0x429502
cmp dword [esp + 0x34], 2
jne 0x4294e3
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 0x429502
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 [0x4b8f64]
mov ecx, dword [ebp + 0xc]
and dword [esp + 0x24], 0
lea eax, [edi + 0xb0]
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x42951c
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 0x429518
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 0x429579
imul eax, dword [esp + 0x34]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x429579
sub esi, eax
dec dword [esp + 0x28]
jne 0x429334
jmp 0x429e42
cmp dword [esp + 0x58], 0
mov dword [esp + 0x18], eax
je 0x429b4c
cmp dword [esp + 0x34], 4
jne 0x429771
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 0x4295d5
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 [0x4b944c]
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 0x429659
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 0x42963e
cmp dword [esp + 0x48], 0
je 0x42972d
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 0x429762
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x429762
sub esi, eax
dec dword [esp + 0x18]
jne 0x4295d1
jmp 0x429e42
cmp dword [esp + 0x34], 2
mov eax, dword [esp + 0x38]
mov edx, eax
jne 0x42996a
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 0x4297b9
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 [0x4b944c]
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 0x429830
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 0x429810
cmp dword [esp + 0x48], 0
je 0x429926
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 0x42995b
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x42995b
sub esi, eax
dec dword [esp + 0x18]
jne 0x4297b5
jmp 0x429e42
movaps xmm3, xmmword [0x4b81a0]
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 0x4299a5
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 [0x4b944c]
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 0x429a1b
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 0x4299fc
cmp dword [esp + 0x48], 0
je 0x429b08
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 0x429b3d
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x429b3d
sub esi, eax
dec dword [esp + 0x18]
jne 0x4299a1
jmp 0x429e42
cmp dword [esp + 0x34], 4
je 0x429b77
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 0xb0]
sub ecx, eax
cmp dword [esp + 0x34], 2
mov dword [esp + 0x20], ecx
jne 0x429d63
jmp 0x429c6e
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 [0x4b9178]
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 0x429bba
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 0x429bb4
cmp dword [esp + 0x48], 0
fstp st(1)
je 0x429c24
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 0x429c26
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 0x429c5b
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x429c5b
sub esi, eax
dec dword [esp + 0x18]
jne 0x429b73
jmp 0x429e42
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 [0x4b9178]
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 0x429ca2
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 0x429ca0
cmp dword [esp + 0x48], 0
fstp st(1)
je 0x429d19
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 0x429d1b
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 0x429d50
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x429d50
sub esi, eax
dec dword [esp + 0x18]
jne 0x429c6a
jmp 0x429e42
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 [0x4b9178]
sub edx, eax
lea ecx, [esi + ebx]
mov dword [esp + 0x10], edx
jmp 0x429d88
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 [0x4b8f64]
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 0x429d86
cmp dword [esp + 0x48], 0
fstp st(1)
je 0x429e01
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 0x429e03
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 0x429e38
imul eax, dword [esp + 0x44]
and dword [esp + 8], 0xffffff
add esi, eax
mov eax, dword [edi + 0x24]
cmp esi, eax
jb 0x429e38
sub esi, eax
dec dword [esp + 0x18]
jne 0x429d5f
mov eax, dword [ebp + 0x10]
add dword [esp + 0x5c], eax
sub dword [esp + 0x74], eax
mov dword [edi + 0x2c], esi
je 0x429e60
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x10], eax
xor ebx, ebx
jmp 0x428e0d
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 0x42905a
fadd qword [0x4b9198]
jmp 0x42905a