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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
imul eax, ecx
push esi
mov esi, dword [ebp + 8]
cmp esi, 2
push edi
mov dword [esp + 0xc], eax
jne 0x528f74
cmp edx, 1
jne 0x528fdd
mov edi, eax
imul edi, edi, 0x78
add edi, 0x1bc
push edi
call fcn.00412d80
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x529afc
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
lea edx, [eax + eax*8]
lea ecx, [esi + 0x6c]
lea eax, [eax + eax*2]
mov dword [esi + 0x48], ecx
lea ecx, [ecx + edx*8]
shl eax, 4
add eax, ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x68], eax
jmp 0x52903d
cmp esi, 3
jne 0x528fd8
imul eax, edx
dec ecx
lea edx, [ebx - 1]
imul edx, ecx
mov dword [esp + 0x34], eax
imul eax, eax, 0x78
shl edx, 4
lea edi, [edx + eax + 0x6c]
push edi
call fcn.00412d80
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x529afc
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
lea edx, [eax + eax*8]
lea ecx, [esi + 0x6c]
lea eax, [eax + eax*2]
mov dword [esi + 0x48], ecx
lea ecx, [ecx + edx*8]
shl eax, 4
add eax, ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], eax
jmp 0x52903d
cmp edx, 1
je 0x528fe6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
lea edx, [ebx - 1]
imul edx, ecx
lea eax, [eax + eax*2]
lea edi, [edx + eax*4]
lea edi, [edi*8 + 0x6c]
push edi
call fcn.00412d80
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x529afc
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xc]
lea ecx, [esi + 0x6c]
lea edx, [eax + eax*8]
mov dword [esi + 0x48], ecx
lea ecx, [ecx + edx*8]
lea eax, [eax + eax*2]
mov dword [esi + 0x4c], ecx
lea ecx, [ecx + eax*8]
mov dword [esi + 0x50], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], edx
mov edx, dword [ebp + 0x24]
mov dword [esi + 0x14], edx
mov edx, dword [ebp + 0x10]
mov ecx, 2
cmp eax, ecx
mov dword [esi + 0x20], edx
mov edx, dword [0x909ad4]
mov dword [esi], eax
mov dword [esi + 4], 3
mov dword [esi + 0xc], ecx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x44], edx
je 0x529082
cmp eax, 3
je 0x529082
mov dword [esi + 0x18], 1
jmp 0x529085
mov dword [esi + 0x18], ecx
cmp eax, 3
je 0x5290c0
mov eax, dword [0xeebb14]
test eax, eax
jne 0x5290aa
push 0x20
call fcn.0042d710
movzx eax, ax
add esp, 4
add eax, 0x1b0
mov dword [esi + 0x5c], eax
jmp 0x5290c0
push 0x30
call fcn.0042d710
movzx ecx, ax
add esp, 4
add ecx, 0x206
mov dword [esi + 0x5c], ecx
mov edx, dword [ebp + 0x24]
test edx, edx
mov eax, dword [esi + 0x4c]
mov edi, dword [ebp + 0x10]
jbe 0x5291c1
mov dword [esp + 0x30], edx
jmp 0x5290e0
test edi, edi
mov edx, eax
mov dword [esp + 0x10], 0
jbe 0x52917d
xor ecx, ecx
test ebx, ebx
jbe 0x52916c
lea edi, [ebx - 1]
test edi, edi
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
jge 0x52910d
fadd dword [0x87079c]
mov edi, dword [esp + 0x10]
fild dword [esp + 0x10]
test edi, edi
jge 0x52911f
fadd dword [0x87079c]
mov edi, dword [ebp + 0x10]
dec edi
test edi, edi
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
jge 0x529135
fadd dword [0x87079c]
fdivp st(1)
fmul dword [0x8cb160]
fadd dword [0x886824]
test ecx, ecx
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
jge 0x529155
fadd dword [0x87079c]
fdiv st(2)
inc ecx
add eax, 0x18
cmp ecx, ebx
fstp dword [eax - 8]
fst dword [eax - 4]
jb 0x529143
mov edi, dword [ebp + 0x10]
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, edi
mov dword [esp + 0x10], ecx
jb 0x5290f2
cmp dword [esi + 0x18], 2
jne 0x5291b4
test edi, edi
jbe 0x5291b4
mov dword [esp + 0x34], edi
jmp 0x529190
test ebx, ebx
jbe 0x5291ae
mov ecx, ebx
mov edi, dword [edx + 0x10]
mov dword [eax + 0x10], edi
mov edi, dword [edx + 0x14]
mov dword [eax + 0x14], edi
add edx, 0x18
add eax, 0x18
dec ecx
jne 0x529196
mov edi, dword [ebp + 0x10]
dec dword [esp + 0x34]
jne 0x529190
dec dword [esp + 0x30]
jne 0x5290e0
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x5291ea
lea eax, [edi - 1]
mov edi, dword [esi + 0x18]
imul edi, eax
lea ecx, [ebx - 1]
imul edi, ecx
imul edi, edx
shl edi, 2
mov dword [esi + 0x50], 0xd9af30
mov dword [esi + 0x54], edi
jmp 0x529253
cmp eax, 3
mov edi, ebx
jne 0x52921f
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x18]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 0x50]
mov ecx, 1
call fcn.00527ee0
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x18]
add esp, 8
dec eax
imul edx, eax
lea ecx, [ebx - 1]
imul edx, ecx
jmp 0x52924d
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 0x50]
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.00527ee0
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x18]
add esp, 8
dec eax
imul edx, eax
lea ecx, [ebx - 1]
imul edx, ecx
imul edx, dword [ebp + 0x24]
shl edx, 2
mov dword [esi + 0x54], edx
mov edx, dword [ebp + 0x14]
mov edi, dword [edx]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x2c]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [esi]
cmp eax, 2
je 0x529279
cmp eax, 3
jne 0x52928d
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 4]
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [eax + 4]
mov dword [esi + 0x64], edi
jmp 0x529293
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
test ecx, ecx
mov edi, dword [ebp + 0x1c]
fld dword [edi]
mov dword [esp + 0x3c], ecx
fsub dword [eax]
fld dword [edi + 4]
fsub dword [eax + 4]
fld dword [edi + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x58]
fld dword [edx]
fsub dword [eax]
fstp dword [esp + 0x70]
fld dword [edx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x74]
fld dword [edx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x78]
fild dword [esp + 0x3c]
jge 0x5292d8
fadd dword [0x87079c]
fdivr dword [0x87076c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
fst dword [esp + 0x28]
fmul st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x54]
fstp st(0)
fstp st(0)
fld dword [esp + 0x28]
fmul dword [esp + 0x58]
fstp dword [esp + 0x58]
fild dword [esp + 0x1c]
jge 0x529314
fadd dword [0x87079c]
fdivr dword [0x87076c]
mov ecx, dword [ebp + 0x24]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x18], eax
fld dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fmul st(1)
fstp dword [esp + 0x74]
fmul dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fsqrt
fstp dword [esi + 0x24]
fld dword [esp + 0x78]
fmul dword [esp + 0x78]
fld dword [esp + 0x74]
fmul dword [esp + 0x74]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [esp + 0x70]
faddp st(1)
fsqrt
fstp dword [esi + 0x28]
jbe 0x529afa
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*8]
shl eax, 3
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], eax
cmp dword [esi], 3
jne 0x52943a
mov edi, dword [esi + 0x48]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
add edi, eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x30], eax
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
fld dword [edi + 0x34]
fmul dword [0x870e6c]
sub esp, 8
mov edx, eax
fstp dword [esp + 4]
fld dword [edx]
fmul dword [0x870e6c]
fstp dword [esp]
call fcn.00511d80
fstp dword [edi + 0x20]
push 0x12c
call fcn.0042d710
movzx eax, ax
mov dword [esp + 0x3c], eax
push 0x64
fild dword [esp + 0x40]
fmul dword [0x886824]
fstp dword [edi + 0x24]
call fcn.0042d710
movzx ecx, ax
mov dword [esp + 0x40], ecx
add esp, 0x10
fild dword [esp + 0x30]
fmul dword [0x8cb168]
fadd dword [0x8cb164]
fstp dword [edi + 0x28]
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jbe 0x529abf
jmp 0x529450
test edi, edi
mov dword [esp + 0x38], edi
fild dword [esp + 0x38]
jge 0x529462
fadd dword [0x87079c]
mov eax, dword [esi]
fst dword [esp + 0x20]
cmp eax, 2
fmul dword [esp + 0x70]
fld dword [esp + 0x20]
fmul dword [esp + 0x74]
fld dword [esp + 0x20]
fmul dword [esp + 0x78]
fstp dword [esp + 0x68]
jne 0x529498
fxch st(1)
fadd dword [esi + 0x2c]
fxch st(1)
fadd dword [esi + 0x30]
fld dword [esp + 0x68]
fadd dword [esi + 0x34]
jmp 0x5294b1
cmp eax, 3
jne 0x5294b5
mov eax, dword [esp + 0x24]
fxch st(1)
fadd dword [eax]
fxch st(1)
fadd dword [eax + 4]
fld dword [esp + 0x68]
fadd dword [eax + 8]
fstp dword [esp + 0x68]
mov eax, dword [ebp + 0x18]
fxch st(1)
fadd dword [eax]
fstp dword [esp + 0x60]
fadd dword [eax + 4]
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fadd dword [eax + 8]
xor eax, eax
cmp ebx, 4
fstp dword [esp + 0x68]
jl 0x529976
mov edx, dword [esp + 0x28]
imul edi, ebx
lea ecx, [edi + edx]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 3
jmp 0x5294fd
mov edi, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
jge 0x52950f
fadd dword [0x87079c]
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x50]
fmul st(1)
lea ecx, [edx + eax]
mov edx, dword [esi + 0x48]
lea ecx, [ecx + ecx*8]
shl ecx, 3
fstp dword [esp + 0x40]
fld dword [esp + 0x54]
add edx, ecx
mov dword [esp + 0x38], ecx
fmul st(1)
mov ecx, dword [esi + 0x18]
imul ecx, dword [esp + 0x18]
fstp dword [esp + 0x44]
fmul dword [esp + 0x58]
fld dword [esp + 0x40]
fadd dword [esp + 0x60]
fld dword [esp + 0x44]
fadd dword [esp + 0x64]
imul ecx, dword [esp + 0xc]
fxch st(2)
fadd dword [esp + 0x68]
fstp dword [esp + 0x48]
add ecx, edi
mov edi, dword [esi + 0x4c]
add ecx, eax
fstp dword [edx]
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx*8]
mov edi, dword [esp + 0x48]
fstp dword [edx + 4]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ecx
mov edi, edx
mov ebx, dword [edi]
mov dword [esp + 0x14], ecx
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov edi, dword [edi + 8]
mov dword [ecx + 8], edi
cmp dword [esi + 0x18], 2
jne 0x5295bc
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx*8]
mov edi, edx
mov ebx, dword [edi]
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov edi, dword [edi + 8]
mov dword [ecx + 8], edi
test eax, eax
jne 0x5295c5
mov dword [edx + 0x38], edx
jmp 0x5295cb
lea ecx, [edx - 0x48]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp + 0xc]
lea edi, [ecx - 1]
cmp eax, edi
jne 0x5295da
mov dword [edx + 0x3c], edx
jmp 0x5295e0
lea edi, [edx + 0x48]
mov dword [edx + 0x3c], edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x5295ed
mov dword [edx + 0x40], edx
jmp 0x5295fa
lea edi, [ecx + ecx*8]
shl edi, 3
mov ebx, edx
sub ebx, edi
mov dword [edx + 0x40], ebx
mov edi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x10]
dec edi
cmp ebx, edi
mov dword [esp + 0x1c], edi
jne 0x52960f
mov dword [edx + 0x44], edx
jmp 0x529618
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*8]
mov dword [edx + 0x44], ecx
lea ecx, [eax + 1]
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x52962d
fadd dword [0x87079c]
mov edx, dword [esi + 0x48]
fld dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
fmul st(1)
lea ecx, [edx + ecx + 0x48]
mov edx, dword [esi + 0x18]
imul edx, dword [esp + 0x18]
fstp dword [esp + 0x40]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x58]
imul edx, dword [esp + 0xc]
fld dword [esp + 0x40]
fadd dword [esp + 0x60]
fld dword [esp + 0x44]
fadd dword [esp + 0x64]
fxch st(2)
fadd dword [esp + 0x68]
fstp dword [esp + 0x48]
add edx, dword [esp + 0x20]
mov edi, dword [esi + 0x4c]
lea edx, [edx + eax + 1]
fstp dword [ecx]
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
mov edi, dword [esp + 0x48]
fstp dword [ecx + 4]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edx
mov edi, ecx
mov ebx, dword [edi]
mov dword [esp + 0x14], edx
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
cmp dword [esi + 0x18], 2
jne 0x5296d3
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
mov edi, ecx
mov ebx, dword [edi]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
lea edx, [eax + 1]
test edx, edx
jne 0x5296df
mov dword [ecx + 0x38], ecx
jmp 0x5296e5
lea edi, [ecx - 0x48]
mov dword [ecx + 0x38], edi
mov edi, dword [ebp + 0xc]
lea ebx, [edi - 1]
cmp edx, ebx
jne 0x5296f4
mov dword [ecx + 0x3c], ecx
jmp 0x5296fa
lea edx, [ecx + 0x48]
mov dword [ecx + 0x3c], edx
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x529707
mov dword [ecx + 0x40], ecx
jmp 0x529714
lea edx, [edi + edi*8]
shl edx, 3
mov ebx, ecx
sub ebx, edx
mov dword [ecx + 0x40], ebx
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x1c]
jne 0x529723
mov dword [ecx + 0x44], ecx
jmp 0x52972c
lea edx, [edi + edi*8]
lea edx, [ecx + edx*8]
mov dword [ecx + 0x44], edx
lea ecx, [eax + 2]
test ecx, ecx
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
jge 0x529741
fadd dword [0x87079c]
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x50]
fmul st(1)
mov edi, dword [esp + 0x20]
lea ecx, [ecx + eax + 2]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x48]
fstp dword [esp + 0x40]
fld dword [esp + 0x54]
lea ecx, [ecx + edx*8]
mov edx, dword [esi + 0x18]
fmul st(1)
imul edx, dword [esp + 0x18]
fstp dword [esp + 0x44]
fmul dword [esp + 0x58]
fld dword [esp + 0x40]
fadd dword [esp + 0x60]
fld dword [esp + 0x44]
imul edx, dword [esp + 0xc]
fadd dword [esp + 0x64]
fxch st(2)
fadd dword [esp + 0x68]
fstp dword [esp + 0x48]
add edx, edi
mov edi, dword [esi + 0x4c]
lea edx, [edx + eax + 2]
fstp dword [ecx]
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
mov edi, dword [esp + 0x48]
fstp dword [ecx + 4]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edx
mov edi, ecx
mov ebx, dword [edi]
mov dword [esp + 0x14], edx
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
cmp dword [esi + 0x18], 2
jne 0x5297ef
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
mov edi, ecx
mov ebx, dword [edi]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
lea edx, [eax + 2]
test edx, edx
jne 0x5297fb
mov dword [ecx + 0x38], ecx
jmp 0x529801
lea edi, [ecx - 0x48]
mov dword [ecx + 0x38], edi
mov edi, dword [ebp + 0xc]
lea ebx, [edi - 1]
cmp edx, ebx
jne 0x529810
mov dword [ecx + 0x3c], ecx
jmp 0x529816
lea edx, [ecx + 0x48]
mov dword [ecx + 0x3c], edx
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x529823
mov dword [ecx + 0x40], ecx
jmp 0x529830
lea edx, [edi + edi*8]
shl edx, 3
mov ebx, ecx
sub ebx, edx
mov dword [ecx + 0x40], ebx
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x1c]
jne 0x52983f
mov dword [ecx + 0x44], ecx
jmp 0x529848
lea edx, [edi + edi*8]
lea edx, [ecx + edx*8]
mov dword [ecx + 0x44], edx
mov ecx, dword [esp + 0x30]
fild dword [esp + 0x30]
test ecx, ecx
jge 0x52985a
fadd dword [0x87079c]
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x50]
lea ecx, [edx + eax + 3]
fmul st(1)
mov edx, dword [esi + 0x48]
mov edi, dword [esp + 0x20]
fstp dword [esp + 0x40]
lea ecx, [ecx + ecx*8]
fld dword [esp + 0x54]
lea ecx, [edx + ecx*8]
mov edx, dword [esi + 0x18]
fmul st(1)
imul edx, dword [esp + 0x18]
fstp dword [esp + 0x44]
fmul dword [esp + 0x58]
fld dword [esp + 0x40]
fadd dword [esp + 0x60]
fld dword [esp + 0x44]
imul edx, dword [esp + 0xc]
fadd dword [esp + 0x64]
fxch st(2)
fadd dword [esp + 0x68]
fstp dword [esp + 0x48]
add edx, edi
mov edi, dword [esi + 0x4c]
lea edx, [edx + eax + 3]
fstp dword [ecx]
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
mov edi, dword [esp + 0x48]
fstp dword [ecx + 4]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edx
mov edi, ecx
mov ebx, dword [edi]
mov dword [esp + 0x14], edx
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
cmp dword [esi + 0x18], 2
jne 0x529908
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
mov edi, ecx
mov ebx, dword [edi]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x529915
mov dword [ecx + 0x38], ecx
jmp 0x52991b
lea edx, [ecx - 0x48]
mov dword [ecx + 0x38], edx
mov ebx, dword [ebp + 0xc]
lea edx, [ebx - 1]
cmp edi, edx
jne 0x52992a
mov dword [ecx + 0x3c], ecx
jmp 0x529930
lea edx, [ecx + 0x48]
mov dword [ecx + 0x3c], edx
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x52993d
mov dword [ecx + 0x40], ecx
jmp 0x52994e
lea edx, [ebx + ebx*8]
shl edx, 3
mov edi, ecx
sub edi, edx
mov dword [ecx + 0x40], edi
mov edi, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
dec edx
cmp edi, edx
jne 0x52995b
mov dword [ecx + 0x44], ecx
jmp 0x529964
lea edx, [ebx + ebx*8]
lea edx, [ecx + edx*8]
mov dword [ecx + 0x44], edx
add eax, 4
lea ecx, [eax + 3]
cmp ecx, ebx
mov dword [esp + 0x30], ecx
jb 0x5294f9
cmp eax, ebx
jae 0x529aaf
mov ecx, dword [esp + 0x28]
imul edi, ebx
lea edx, [edi + ecx]
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], edx
jmp 0x529996
mov edi, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
jge 0x5299a8
fadd dword [0x87079c]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x50]
add ecx, eax
fmul st(1)
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x48]
lea edx, [ecx + edx*8]
fstp dword [esp + 0x40]
mov ecx, dword [esi + 0x18]
fld dword [esp + 0x54]
imul ecx, dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x58]
fld dword [esp + 0x40]
fadd dword [esp + 0x60]
imul ecx, dword [esp + 0xc]
fld dword [esp + 0x44]
fadd dword [esp + 0x64]
fxch st(2)
fadd dword [esp + 0x68]
fstp dword [esp + 0x48]
add ecx, edi
mov edi, dword [esi + 0x4c]
add ecx, eax
fstp dword [edx]
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx*8]
mov edi, dword [esp + 0x48]
fstp dword [edx + 4]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ecx
mov edi, edx
mov ebx, dword [edi]
mov dword [esp + 0x14], ecx
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov edi, dword [edi + 8]
mov dword [ecx + 8], edi
cmp dword [esi + 0x18], 2
jne 0x529a4e
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx*8]
mov edi, edx
mov ebx, dword [edi]
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov edi, dword [edi + 8]
mov dword [ecx + 8], edi
test eax, eax
jne 0x529a57
mov dword [edx + 0x38], edx
jmp 0x529a5d
lea ecx, [edx - 0x48]
mov dword [edx + 0x38], ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebx - 1]
cmp eax, ecx
jne 0x529a6c
mov dword [edx + 0x3c], edx
jmp 0x529a72
lea ecx, [edx + 0x48]
mov dword [edx + 0x3c], ecx
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x529a7f
mov dword [edx + 0x40], edx
jmp 0x529a90
lea ecx, [ebx + ebx*8]
shl ecx, 3
mov edi, edx
sub edi, ecx
mov dword [edx + 0x40], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
dec ecx
cmp edi, ecx
jne 0x529a9d
mov dword [edx + 0x44], edx
jmp 0x529aa6
lea ecx, [ebx + ebx*8]
lea ecx, [edx + ecx*8]
mov dword [edx + 0x44], ecx
inc eax
cmp eax, ebx
jb 0x529992
mov eax, dword [ebp + 0x10]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jb 0x529450
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add ecx, 0xc
add edi, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [ebp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edx
jb 0x5293a6
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret