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

Disassembly:
sub esp, 0x1e0
mov eax, dword [0x1008a2c0]
xor eax, esp
mov dword [esp + 0x1dc], eax
mov eax, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1e4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1fc]
mov ecx, dword [esp + 0x1f8]
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [esp + 0x1ec]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 8]
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
push esi
shr eax, 2
push edi
mov edi, dword [esp + 0x204]
mov dword [esp + 0x94], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x80], edi
imul edi, dword [esp + 0x6c]
shr eax, 2
mov dword [esp + 0x70], edx
mov edx, dword [edx + 0x18]
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], edx
xor esi, esi
lea eax, [ebp + ebp*2]
lea edx, [esp + 0xa8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xa4], eax
mov dword [esp + 0x48], edx
cmp edi, 0x51
jle 0x10053ad4
lea ecx, [edi*4]
push ecx
call sub.MSVCR100.dll_malloc
mov edx, eax
add esp, 4
mov dword [esp + 0x48], edx
test edx, edx
jne 0x10053ad0
lea eax, [esi + 1]
jmp 0x10054988
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x18], eax
cmp edi, 4
jl 0x10053b3d
mov ecx, dword [esp + 0x1fc]
lea eax, [edi - 4]
shr eax, 2
inc eax
mov dword [esp + 0x88], eax
add eax, eax
add edx, 8
add ecx, 0x10
add eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
lea esp, [esp]
fld qword [ecx - 0x10]
add ecx, 0x20
fstp dword [edx - 8]
add edx, 0x10
dec eax
fld qword [ecx - 0x28]
fstp dword [edx - 0x14]
fld qword [ecx - 0x20]
fstp dword [edx - 0x10]
fld qword [ecx - 0x18]
fstp dword [edx - 0xc]
jne 0x10053b10
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
cmp eax, edi
jge 0x10053b5b
mov edx, dword [esp + 0x1fc]
fld qword [edx + eax*8]
mov edx, dword [esp + 0x48]
fstp dword [edx + eax*4]
inc eax
cmp eax, edi
jl 0x10053b41
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
cmp edi, 1
jne 0x10053b8f
mov eax, dword [esp + 0x210]
mov ecx, dword [esp + 0x80]
push eax
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x7c]
push ebx
call fcn.100532b0
add esp, 0x10
jmp 0x10054988
imul eax, dword [esp + 0x98]
imul ecx, ebp
mov edx, 1
sub edx, edi
add dword [esp + 0x2c], edx
mov edx, 1
sub edx, dword [esp + 0x80]
add ecx, eax
mov eax, dword [esp + 0x90]
add dword [esp + 0x84], edx
lea ecx, [eax + ecx*4]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x68], esi
test ebp, ebp
jle 0x1005496c
jmp 0x10053be0
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x68]
mov edx, 1
dec ecx
shl edx, cl
test dword [esp + 0x210], edx
je 0x10054959
cmp dword [esp + 0x84], 0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x68]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x8c], edx
lea edx, [ecx + eax*4]
mov dword [esp + 0x44], edx
jle 0x10054959
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x84]
and eax, 1
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x94]
add eax, eax
add eax, eax
mov dword [esp + 0x88], ecx
jmp 0x10053c60
cmp dword [esp + 0x80], 0
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x4c], ebp
jle 0x100547e1
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x58], edx
mov dword [esp + 0x70], eax
lea esp, [esp]
cmp dword [esp + 0x6c], 0
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x5c], 0
jle 0x100547c8
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + ecx]
add ecx, ecx
lea edi, [eax*4]
add ecx, ecx
lea esp, [esp]
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
cmp eax, 0xe
jle 0x10053cdb
mov dword [esp + 0x64], 7
jmp 0x10053ce9
cmp eax, 7
jle 0x10053ce9
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x64], eax
fld dword [ebx]
mov eax, dword [esp + 0xa4]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x64]
fld dword [ecx + ebx]
add eax, eax
fstp dword [esp + 0x14]
mov esi, dword [esp + 0x44]
fld dword [edi + ebx]
add eax, eax
fstp dword [esp + 0x20]
add ebx, eax
fld dword [ebx]
mov dword [esp + 0x18], 0
fstp dword [esp + 0x34]
fld dword [ecx + ebx]
fstp dword [esp + 0x50]
fld dword [ebp]
fstp dword [esp + 0x40]
fld dword [ebp + 4]
fstp dword [esp + 0x30]
fld dword [ebp + 8]
fstp dword [esp + 0x38]
fld dword [ebp + 0xc]
fstp dword [esp + 0x3c]
fld dword [ebp + 0x10]
fstp dword [esp + 0x54]
fld dword [ebp + 0x14]
fstp dword [esp + 0x60]
fld dword [ebp + 0x18]
fstp dword [esp + 0x78]
cmp edx, 7
jne 0x10053fb0
add ebx, eax
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov edx, ebx
jne 0x10053e89
add eax, 0xfffffffe
js 0x100547a4
fld dword [esp + 0x10]
add eax, 2
fld dword [esp + 0x14]
shr eax, 1
fld dword [esp + 0x20]
lea ebp, [eax + eax]
fld dword [esp + 0x34]
mov dword [esp + 0x18], ebp
fld dword [esp + 0x50]
fxch st(4)
mov ebp, edx
fstp dword [esp + 0x24]
sub ebp, ecx
fxch st(2)
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [ebp]
fstp dword [esp + 0x34]
fld dword [edx]
fstp dword [esp + 0x50]
fld dword [ecx + edx]
add edx, edi
fstp dword [esp + 0x74]
fld dword [esp + 0x1c]
fmul dword [esp + 0x30]
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x54]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x60]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x78]
fld dword [esp + 0x50]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esi]
fld dword [esp + 0x1c]
fmul dword [esp + 0x40]
fld dword [esp + 0x30]
fmul st(6)
faddp st(1)
fld dword [esp + 0x38]
fmul st(5)
faddp st(1)
fld dword [esp + 0x3c]
fmul st(4)
faddp st(1)
fld dword [esp + 0x54]
fmul st(3)
faddp st(1)
fld dword [esp + 0x60]
fmul st(2)
faddp st(1)
fld dword [esp + 0x78]
fmul dword [esp + 0x74]
faddp st(1)
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10053da0
fstp st(4)
fstp st(2)
fstp st(0)
fstp st(0)
jmp 0x100547a2
add eax, 0xfffffffe
js 0x100547a4
fld dword [esp + 0x10]
mov edx, ebx
sub edx, dword [esp + 0x44]
fld dword [esp + 0x14]
fld dword [esp + 0x20]
add eax, 2
fld dword [esp + 0x34]
shr eax, 1
fld dword [esp + 0x50]
lea ebp, [eax + eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ebp
jmp 0x10053ec2
mov edx, dword [esp + 0x28]
fxch st(4)
add edx, esi
fstp dword [esp + 0x24]
mov ebp, edx
fxch st(2)
sub ebp, ecx
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [ebp]
fstp dword [esp + 0x34]
fld dword [edx]
fstp dword [esp + 0x50]
fld dword [ecx + edx]
fstp dword [esp + 0x74]
fld dword [esp + 0x1c]
fmul dword [esp + 0x30]
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x54]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x60]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x78]
fld dword [esp + 0x50]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [esi]
fstp dword [esi]
fld dword [esp + 0x1c]
fmul dword [esp + 0x40]
fld dword [esp + 0x30]
fmul st(6)
faddp st(1)
fld dword [esp + 0x38]
fmul st(5)
faddp st(1)
fld dword [esp + 0x3c]
fmul st(4)
faddp st(1)
fld dword [esp + 0x54]
fmul st(3)
faddp st(1)
fld dword [esp + 0x60]
fmul st(2)
faddp st(1)
fld dword [esp + 0x78]
fmul dword [esp + 0x74]
faddp st(1)
fadd dword [ecx + esi]
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10053ebe
fstp st(4)
fstp st(2)
fstp st(0)
fstp st(0)
jmp 0x100547a2
mov eax, dword [esp + 0x2c]
cmp edx, 6
jne 0x100541e2
add ebx, edi
cmp ebp, dword [esp + 0x48]
jne 0x100540d3
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x10]
mov ebp, ebx
sub ebp, dword [esp + 0x44]
fld dword [esp + 0x14]
fld dword [esp + 0x20]
add eax, 2
fld dword [esp + 0x34]
shr eax, 1
fld dword [esp + 0x50]
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x10054006
fxch st(3)
fxch st(4)
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(4)
lea edx, [esi + ebp]
fstp dword [esp + 0x24]
fxch st(2)
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [edx]
fstp dword [esp + 0x34]
fld dword [ecx + edx]
fstp dword [esp + 0x50]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [esp + 0x30]
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x54]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x60]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esi]
fld dword [esp + 0x40]
fmulp st(5)
fld dword [esp + 0x30]
fmul st(4)
faddp st(5)
fld dword [esp + 0x38]
fmul st(3)
faddp st(5)
fld dword [esp + 0x3c]
fmul st(2)
faddp st(5)
fld dword [esp + 0x54]
fmul st(1)
faddp st(5)
fld dword [esp + 0x60]
fld dword [esp + 0x50]
fld st(0)
fmulp st(2)
fxch st(6)
faddp st(1)
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10053ffa
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
jmp 0x100547a2
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x10]
mov ebp, ebx
sub ebp, dword [esp + 0x44]
fld dword [esp + 0x14]
fld dword [esp + 0x20]
add eax, 2
fld dword [esp + 0x34]
shr eax, 1
fld dword [esp + 0x50]
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x10054110
fxch st(3)
fxch st(4)
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(4)
lea edx, [esi + ebp]
fstp dword [esp + 0x24]
fxch st(2)
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [edx]
fstp dword [esp + 0x34]
fld dword [ecx + edx]
fstp dword [esp + 0x50]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [esp + 0x30]
fld dword [esp + 0x24]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x54]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x60]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [esi]
fstp dword [esi]
fld dword [esp + 0x40]
fmulp st(5)
fld dword [esp + 0x30]
fmul st(4)
faddp st(5)
fld dword [esp + 0x38]
fmul st(3)
faddp st(5)
fld dword [esp + 0x3c]
fmul st(2)
faddp st(5)
fld dword [esp + 0x54]
fmul st(1)
faddp st(5)
fld dword [esp + 0x60]
fld dword [esp + 0x50]
fld st(0)
fmulp st(2)
fxch st(6)
faddp st(1)
fadd dword [ecx + esi]
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10054104
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
jmp 0x100547a2
cmp edx, 5
jne 0x100543cc
add ebx, ecx
cmp ebp, dword [esp + 0x48]
jne 0x100542df
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov ebp, ebx
sub ebp, dword [esp + 0x44]
fld dword [esp + 0x10]
fld dword [esp + 0x14]
add eax, 2
fld dword [esp + 0x20]
shr eax, 1
fld dword [esp + 0x34]
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x10054232
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fxch st(3)
lea edx, [esi + ebp]
fstp dword [esp + 0x24]
fxch st(1)
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [edx]
fstp dword [esp + 0x20]
fld dword [ecx + edx]
fstp dword [esp + 0x34]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [esp + 0x30]
fld dword [esp + 0x24]
fmul st(3)
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x54]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esi]
fld st(4)
fmulp st(4)
fld dword [esp + 0x30]
fmul st(3)
faddp st(4)
fld dword [esp + 0x38]
fmul st(2)
faddp st(4)
fld dword [esp + 0x3c]
fmul st(1)
faddp st(4)
fld dword [esp + 0x54]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(5)
faddp st(1)
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10054228
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x100547a2
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov ebp, ebx
sub ebp, dword [esp + 0x44]
fld dword [esp + 0x10]
fld dword [esp + 0x14]
add eax, 2
fld dword [esp + 0x20]
shr eax, 1
fld dword [esp + 0x34]
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x1005431a
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fxch st(3)
lea edx, [esi + ebp]
fstp dword [esp + 0x24]
fxch st(1)
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [edx]
fstp dword [esp + 0x20]
fld dword [ecx + edx]
fstp dword [esp + 0x34]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [esp + 0x30]
fld dword [esp + 0x24]
fmul st(3)
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x54]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [esi]
fstp dword [esi]
fld st(4)
fmulp st(4)
fld dword [esp + 0x30]
fmul st(3)
faddp st(4)
fld dword [esp + 0x38]
fmul st(2)
faddp st(4)
fld dword [esp + 0x3c]
fmul st(1)
faddp st(4)
fld dword [esp + 0x54]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(5)
faddp st(1)
fadd dword [ecx + esi]
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10054310
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x100547a2
cmp edx, 4
jne 0x10054558
cmp ebp, dword [esp + 0x48]
jne 0x10054497
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov ebp, ebx
sub ebp, dword [esp + 0x44]
fld dword [esp + 0x30]
fld dword [esp + 0x10]
add eax, 2
fld dword [esp + 0x14]
shr eax, 1
fld dword [esp + 0x20]
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x10054414
fxch st(1)
fxch st(2)
fxch st(2)
lea edx, [esi + ebp]
fstp dword [esp + 0x24]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fld dword [edx]
fstp dword [esp + 0x14]
fld dword [ecx + edx]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fld st(0)
fmul st(2)
fld dword [esp + 0x24]
fmul st(4)
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esi]
fld st(4)
fmulp st(3)
fld st(3)
fmul st(2)
faddp st(3)
fld dword [esp + 0x38]
fmul st(1)
faddp st(3)
fld dword [esp + 0x3c]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10054410
fstp st(1)
fstp st(0)
jmp 0x1005479e
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov ebp, ebx
sub ebp, dword [esp + 0x44]
fld dword [esp + 0x30]
fld dword [esp + 0x10]
add eax, 2
fld dword [esp + 0x14]
shr eax, 1
fld dword [esp + 0x20]
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x100544cc
fxch st(1)
fxch st(2)
fxch st(2)
lea edx, [esi + ebp]
fstp dword [esp + 0x24]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
fld dword [edx]
fstp dword [esp + 0x14]
fld dword [ecx + edx]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fld st(0)
fmul st(2)
fld dword [esp + 0x24]
fmul st(4)
faddp st(1)
fld dword [esp + 0x38]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [esi]
fstp dword [esi]
fld st(4)
fmulp st(3)
fld st(3)
fmul st(2)
faddp st(3)
fld dword [esp + 0x38]
fmul st(1)
faddp st(3)
fld dword [esp + 0x3c]
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fxch st(4)
faddp st(1)
fadd dword [ecx + esi]
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x100544c8
fstp st(1)
fstp st(0)
jmp 0x1005479e
cmp edx, 3
jne 0x100546ba
sub ebx, ecx
cmp ebp, dword [esp + 0x48]
jne 0x10054611
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov eax, ebx
sub eax, dword [esp + 0x44]
fld dword [esp + 0x30]
fld dword [esp + 0x38]
fld dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x14]
shr eax, 1
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x100545a5
fxch st(1)
mov edx, dword [esp + 0x28]
fxch st(1)
fstp dword [esp + 0x24]
add edx, esi
fstp dword [esp + 0x1c]
fld dword [edx]
fstp dword [esp + 0x10]
fld dword [ecx + edx]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld st(0)
fmul st(3)
fld dword [esp + 0x24]
fmul st(5)
faddp st(1)
fld st(2)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esi]
fld st(4)
fmulp st(2)
fld st(3)
fmul st(1)
faddp st(2)
fld st(2)
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x100545a3
fstp st(0)
fstp st(0)
fstp st(2)
fstp st(0)
fstp st(0)
jmp 0x100547a8
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov eax, ebx
sub eax, dword [esp + 0x44]
fld dword [esp + 0x30]
fld dword [esp + 0x38]
fld dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x14]
shr eax, 1
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
jmp 0x10054649
fxch st(1)
mov edx, dword [esp + 0x28]
fxch st(1)
fstp dword [esp + 0x24]
add edx, esi
fstp dword [esp + 0x1c]
fld dword [edx]
fstp dword [esp + 0x10]
fld dword [ecx + edx]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld st(0)
fmul st(3)
fld dword [esp + 0x24]
fmul st(5)
faddp st(1)
fld st(2)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [esi]
fstp dword [esi]
fld st(4)
fmulp st(2)
fld st(3)
fmul st(1)
faddp st(2)
fld st(2)
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fadd dword [ecx + esi]
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x10054647
fstp st(0)
fstp st(0)
fstp st(2)
fstp st(0)
fstp st(0)
jmp 0x100547a8
sub ebx, edi
cmp ebp, dword [esp + 0x48]
jne 0x10054738
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov eax, ebx
sub eax, dword [esp + 0x44]
fld dword [esp + 0x30]
fld dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
shr eax, 1
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
fstp dword [esp + 0x24]
fld dword [edx + esi]
add edx, esi
fstp dword [esp + 0x1c]
fld dword [ecx + edx]
fstp dword [esp + 0x10]
fld dword [esp + 0x1c]
fld st(0)
fmul st(2)
fld dword [esp + 0x24]
fmul st(4)
faddp st(1)
fstp dword [esi]
fmul st(2)
fld st(1)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x100546ee
fstp st(0)
fstp st(1)
fstp st(0)
jmp 0x100547a8
add eax, 0xfffffffe
js 0x100547a8
fld dword [esp + 0x40]
mov ebp, ebx
sub ebp, dword [esp + 0x44]
fld dword [esp + 0x30]
fld dword [esp + 0x10]
add eax, 2
shr eax, 1
lea edx, [eax + eax]
mov dword [esp + 0x18], edx
fstp dword [esp + 0x24]
lea edx, [esi + ebp]
fld dword [edx]
fstp dword [esp + 0x1c]
fld dword [ecx + edx]
fstp dword [esp + 0x10]
fld dword [esp + 0x1c]
fld st(0)
fmul st(2)
fld dword [esp + 0x24]
fmul st(4)
faddp st(1)
fadd dword [esi]
fstp dword [esi]
fmul st(2)
fld st(1)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fadd dword [ecx + esi]
fstp dword [ecx + esi]
add esi, edi
dec eax
jne 0x1005475b
fstp st(0)
fstp st(1)
fstp st(0)
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
add dword [esp + 0x5c], eax
lea ebp, [ebp + eax*4]
mov eax, dword [esp + 0x6c]
add ebx, ecx
mov dword [esp + 0x4c], ebp
cmp dword [esp + 0x5c], eax
jl 0x10053cc0
mov eax, dword [esp + 0x94]
add eax, eax
add eax, eax
add dword [esp + 0x58], eax
dec dword [esp + 0x70]
jne 0x10053c90
cmp dword [esp + 0xa0], 0
je 0x10054936
mov ecx, dword [esp + 0x18]
fldz
imul ecx, dword [esp + 0x7c]
fstp dword [esp + 0x28]
cmp dword [esp + 0x80], 0
mov edx, dword [esp + 0x8c]
lea ebx, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
jle 0x10054930
mov eax, dword [esp + 0x80]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], eax
lea esp, [esp]
cmp dword [esp + 0x6c], 4
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x5c], 0
jl 0x100548e0
lea edx, [edi + edi*2]
lea edx, [ebx + edx*4]
mov dword [esp + 0x64], edx
lea edx, [ebx + edi*8]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x6c]
add edx, 0xfffffffc
mov eax, edi
shr edx, 2
shl eax, 4
inc edx
lea ebp, [edx*4]
mov dword [esp + 0x58], ebx
lea ebx, [ebx + edi*4]
mov dword [esp + 0x5c], ebp
lea ebx, [ebx]
mov ebp, dword [esp + 0x58]
fld dword [ebp]
mov ebp, dword [esp + 0x74]
fmul dword [ecx]
add dword [esp + 0x58], eax
add dword [esp + 0x74], eax
add ecx, 0x10
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [ecx - 0xc]
fmul dword [ebx]
add ebx, eax
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [ecx - 8]
fmul dword [ebp]
mov ebp, dword [esp + 0x64]
add dword [esp + 0x64], eax
dec edx
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [ecx - 4]
fmul dword [ebp]
faddp st(1)
fstp dword [esp + 0x28]
jne 0x10054880
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x5c], eax
jge 0x10054915
mov edx, dword [esp + 0x5c]
imul edx, edi
sub eax, dword [esp + 0x5c]
lea ebp, [edi*4]
lea edx, [ebx + edx*4]
nop
fld dword [edx]
add ecx, 4
fmul dword [ecx - 4]
add edx, ebp
dec eax
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
jne 0x10054900
mov eax, dword [esp + 0x94]
add eax, eax
add eax, eax
add ebx, eax
dec dword [esp + 0x78]
mov dword [esp + 0x70], ebx
jne 0x10054830
fld dword [esp + 0x28]
fstp dword [esi]
mov ecx, dword [esp + 0x98]
add dword [esp + 0x8c], eax
add ecx, ecx
add ecx, ecx
add dword [esp + 0x44], ecx
dec dword [esp + 0x88]
jne 0x10053c60
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0x7c]
jl 0x10053be0
lea eax, [esp + 0xa8]
cmp dword [esp + 0x48], eax
je 0x10054986
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR100.dll_free
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d356
add esp, 0x1e0
ret