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

Disassembly:
sub esp, 0x978
mov dword [esp + 0x68], 9
push ebx
xor edx, edx
mov eax, dword [esp + 0x990]
push esi
push edi
and eax, 0xfffffffe
mov ecx, dword [esp + 0x994]
push ebp
mov dword [esp + 0x7c], 5
mov dword [esp + 0x80], 2
lea ebx, [ecx + eax*2 + 8]
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x99c]
mov dword [esp + 0x74], ebx
mov ecx, dword [ebx]
and eax, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x50], 1
mov dword [esp + 0x58], eax
add eax, 2
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x54], eax
cmp ebp, edx
jne 0x10004be3
cmp ecx, 0x12
jne 0x10004bd2
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov eax, 0x8c
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x10004be3
mov dword [esp + 0x34], eax
lea edx, [esp + 0x848]
mov ecx, dword [esp + 0x34]
dec ecx
mov eax, dword [esp + 0x994]
mov dword [esp + 0x14], edx
push ecx
lea edx, [esp + 0x8c]
push eax
mov dword [esp + 0x34], ecx
push edx
call fcn.10002790
lea edi, [esp + 0xb0]
lea ecx, [esp + 0x1ac]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], ecx
add esp, 0xc
sub ebx, 2
cmp ebx, 0x3c
mov dword [esp + 0x20], ebx
jle 0x10004c3e
mov dword [esp + 0x20], 0x3c
xor ecx, ecx
mov esi, dword [esp + 0x20]
sub esi, 3
mov dword [esp + 0x18], esi
test esi, esi
jle 0x10004d84
lea edi, [esp + 0x1a0]
mov esi, dword [esp + 0x990]
mov dword [esp + 0x38], 0
xor ebx, ebx
lea eax, [esp + 0x1a0]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
cmp edi, eax
jb 0x10004ce6
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fld dword [esp + 0x24]
fld dword [esp + 0x38]
mov eax, esi
lea edx, [esp + 0xa4]
lea ebp, [ecx + 1]
mov ebx, ebp
fld dword [eax]
fmul dword [edx]
fld dword [eax + 4]
fmul dword [edx]
fxch st(1)
faddp st(2)
fld dword [eax + 8]
fmul dword [edx]
fxch st(1)
faddp st(5)
fld dword [eax + 0xc]
fmul dword [edx]
fxch st(1)
faddp st(3)
sub eax, 4
add edx, 4
faddp st(3)
dec ebp
jne 0x10004cac
fstp dword [esp + 0x38]
fstp dword [esp + 0x24]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
mov eax, ecx
mov edx, dword [esp + 0x990]
sub eax, ebx
fld dword [edx + eax*4 + 4]
fmul dword [esp + ebx*4 + 0xa4]
fld dword [edx + eax*4 + 8]
fmul dword [esp + ebx*4 + 0xa4]
fxch st(1)
fadd dword [esp + 0x10]
fld dword [edx + eax*4 + 0xc]
fmul dword [esp + ebx*4 + 0xa4]
fxch st(2)
fadd dword [esp + 0x24]
fxch st(2)
fadd dword [esp + 0x1c]
lea eax, [edx + eax*4]
inc ebx
mov eax, ecx
sub eax, ebx
fld dword [edx + eax*4 + 8]
fmul dword [esp + ebx*4 + 0xa4]
lea eax, [edx + eax*4]
inc ebx
fadd st(3)
fld dword [eax + 0xc]
fmul dword [esp + ebx*4 + 0xa0]
mov eax, ecx
sub eax, ebx
fadd st(2)
fld dword [edx + eax*4 + 0xc]
fmul dword [esp + ebx*4 + 0xa4]
mov ebx, dword [esp + 0x38]
mov dword [edi], ebx
add edi, 0x10
faddp st(1)
fxch st(3)
fstp dword [edi - 0xc]
fstp dword [edi - 8]
fxch st(2)
fstp st(0)
fstp dword [edi - 4]
fstp st(0)
add esi, 0x10
add ecx, 4
cmp dword [esp + 0x18], ecx
jg 0x10004c61
mov eax, dword [esp + 0x20]
cmp eax, ecx
jle 0x10004de8
lea esi, [esp + ecx*4 + 0x1a0]
mov edx, dword [esp + 0x990]
lea edi, [edx + ecx*4]
xor edx, edx
lea eax, [esp + 0x1a0]
mov dword [esp + 0x18], edx
cmp esi, eax
jb 0x10004dd2
fld dword [esp + 0x18]
lea ebp, [esp + 0xa4]
mov eax, edi
lea ebx, [ecx + 1]
fld dword [eax]
fmul dword [ebp]
add ebp, 4
sub eax, 4
dec ebx
faddp st(1)
jne 0x10004dbe
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add esi, 4
add edi, 4
inc ecx
mov ebx, dword [esp + 0x20]
mov dword [esi - 4], eax
cmp ebx, ecx
jg 0x10004d9f
cmp ecx, 0x39
jge 0x10004eae
lea esi, [esp + ecx*4 + 0x1a0]
mov edx, dword [esp + 0x990]
mov eax, 0x3c
xor edi, edi
lea edx, [edx + ecx*4]
sub eax, ecx
shr eax, 2
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
test eax, eax
jle 0x10004e7d
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x10]
fld dword [esp + 0x24]
mov ebp, edx
lea ebx, [esp + 0xa4]
fld dword [ebp]
fmul dword [ebx]
fld dword [ebp + 4]
fmul dword [ebx]
fxch st(1)
faddp st(4)
fld dword [ebp + 8]
fmul dword [ebx]
fxch st(1)
faddp st(3)
fld dword [ebp + 0xc]
fmul dword [ebx]
fxch st(1)
faddp st(2)
sub ebp, 4
add ebx, 4
faddp st(4)
dec eax
jne 0x10004e42
fstp dword [esp + 0x24]
fstp dword [esp + 0x10]
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov dword [esi], eax
mov ebp, dword [esp + 0x24]
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], ebp
add esi, 0x10
add edx, 0x10
nop
mov dword [esi - 4], eax
lea eax, [esp + 0x284]
cmp esi, eax
jb 0x10004e11
cmp ecx, 0x3c
jge 0x10004f0f
lea esi, [esp + ecx*4 + 0x1a0]
mov edx, dword [esp + 0x990]
xor edi, edi
lea edx, [edx + ecx*4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edi
test eax, eax
jle 0x10004ef6
fld dword [esp + 0x18]
lea eax, [esp + 0xa4]
mov ebx, edx
mov ecx, dword [esp + 0x20]
fld dword [ebx]
fmul dword [eax]
add eax, 4
sub ebx, 4
dec ecx
faddp st(1)
jne 0x10004ee3
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add esi, 4
add edx, 4
nop
mov dword [esi - 4], eax
lea eax, [esp + 0x290]
cmp esi, eax
jb 0x10004ec6
xor eax, eax
lea edx, [esp + 0x2a8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
cmp ecx, 0x3c
jge 0x100050d6
mov eax, 0x3c
mov esi, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + ecx*4 + 0xa4]
cdq
idiv dword [esp + 0x2c]
inc eax
mov dword [esp + esi*4 + 0x2a8], ecx
cmp esi, 0x3b
jge 0x10004f7a
mov ecx, dword [esp + esi*4 + 0xa8]
mov edx, dword [esp + 0x990]
mov dword [esp + esi*4 + 0x2ac], ecx
fld dword [edx + 4]
fmul dword [esp + esi*4 + 0xa4]
fadd dword [esp + esi*4 + 0x2ac]
fstp dword [esp + esi*4 + 0x2ac]
mov esi, dword [esp + 0x20]
add esi, 2
mov dword [esp + 0x30], esi
cmp esi, 0x39
jge 0x10005064
mov ecx, esi
mov edx, dword [esp + 0x2c]
sub ecx, edx
mov ebx, dword [esp + 0x990]
shl ecx, 2
lea esi, [esp + esi*4 + 0x2a8]
lea edi, [ecx + ebx + 8]
lea edx, [esp + ecx + 0x1a0]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], 0x3c
lea ecx, [esp + ebx*4 + 0xa0]
lea ebx, [esp + ebx*4 + 0x9c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
sub ecx, ebp
mov dword [esp + 0x10], ecx
shr ecx, 2
mov dword [esp + 0x10], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ecx + ebp*4]
mov dword [esp + 0x30], ecx
jmp 0x10004ff7
fstp dword [esi - 4]
fld dword [edi - 4]
fld dword [edi]
fmul dword [ebx]
fld dword [edi]
fld dword [edi + 4]
fmul dword [ebx]
mov ecx, dword [esp + 0x18]
add edi, 0x10
fxch st(1)
fmul dword [ecx]
fxch st(3)
fmul dword [ecx]
fxch st(3)
fadd dword [edx + 4]
fxch st(3)
fadd dword [edx]
add edx, 0x10
add esi, 0x10
faddp st(2)
fld dword [edi - 0xc]
fmul dword [ecx]
fxch st(2)
fstp dword [esi - 0x10]
faddp st(2)
fadd dword [edx - 8]
fld dword [edi - 8]
fmul dword [ebx]
fxch st(2)
fstp dword [esi - 0xc]
faddp st(1)
fld dword [edi - 8]
fmul dword [ecx]
fld dword [edi - 4]
fmul dword [ebx]
fxch st(1)
fadd dword [edx - 4]
fxch st(2)
fstp dword [esi - 8]
faddp st(1)
lea ecx, [esp + 0x38c]
cmp esi, ecx
jb 0x10004ff4
fstp dword [esi - 4]
mov ecx, dword [esp + 0x30]
cmp ecx, 0x3c
jge 0x100050d6
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x990]
sub ecx, edx
shl ecx, 2
lea esi, [ecx + ebx + 4]
lea edi, [esp + ecx + 0x1a0]
mov ecx, dword [esp + 0x30]
lea ebp, [esp + ecx*4 + 0x2a8]
lea ecx, [esp + edx*4 + 0xa0]
lea edx, [esp + edx*4 + 0x9c]
jmp 0x100050a6
fstp dword [ebp - 4]
fld dword [esi]
fmul dword [ecx]
fld dword [esi + 4]
fmul dword [edx]
mov ebx, dword [edi]
add esi, 4
mov dword [ebp], ebx
add edi, 4
fxch st(1)
fadd dword [ebp]
add ebp, 4
lea ebx, [esp + 0x398]
cmp ebp, ebx
fstp dword [ebp - 4]
fadd dword [ebp - 4]
jb 0x100050a3
fstp dword [ebp - 4]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x54]
test ecx, ecx
jle 0x1000574a
mov ecx, dword [esp + 0x98c]
mov edx, dword [esp + 0x990]
add ecx, 4
add edx, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10005270
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub ecx, 4
inc edx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
inc ebx
sub ebp, 4
mov esi, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
sub esi, 8
mov dword [esp + 0x20], edx
mov edx, dword [ecx]
mov dword [esp + 0x2c], ebx
mov ecx, 0xf
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], esi
mov dword [ebp], edx
mov esi, dword [esp + 0x24]
lea edx, [ebp + 4]
jmp 0x1000515b
fstp dword [edx - 4]
mov edi, dword [esp + 0x28]
add esi, 0x10
add edx, 0x10
dec ecx
fld dword [edi]
fmul dword [esi - 0x10]
fld dword [esi - 0xc]
fmul dword [edi]
fxch st(1)
fadd dword [edx - 0x10]
fld dword [esi - 8]
fmul dword [edi]
fld dword [esi - 4]
fmul dword [edi]
fxch st(2)
fstp dword [edx - 0x10]
fxch st(2)
fadd dword [edx - 0xc]
fstp dword [edx - 0xc]
fxch st(1)
fadd dword [edx - 8]
fstp dword [edx - 8]
fadd dword [edx - 4]
jne 0x10005158
fstp dword [edx - 4]
test eax, eax
je 0x10005270
mov ecx, dword [edi - 8]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
inc esi
cmp esi, 0x39
nop
mov dword [edx + esi*4 - 4], ecx
jge 0x1000522b
mov ecx, esi
mov edx, dword [esp + 0x2c]
sub ecx, edx
mov ebp, dword [esp + 0x990]
mov edx, dword [esp + 0x44]
nop
lea ebx, [ebp + ecx*4 + 8]
mov ecx, 0x3c
lea edx, [edx + esi*4]
sub ecx, esi
shr ecx, 2
lea esi, [esi + ecx*4]
jmp 0x100051e7
fstp dword [edx - 4]
fld dword [ebx]
fld dword [ebx + 4]
fld dword [ebx + 8]
fld dword [ebx + 0xc]
mov edi, dword [esp + 0x28]
add ebx, 0x10
add edx, 0x10
dec ecx
fmul dword [edi - 8]
fxch st(1)
fmul dword [edi - 8]
fxch st(2)
fmul dword [edi - 8]
fxch st(3)
fmul dword [edi - 8]
fadd dword [edx - 0x10]
fstp dword [edx - 0x10]
fxch st(2)
fadd dword [edx - 0xc]
fstp dword [edx - 0xc]
fadd dword [edx - 8]
fstp dword [edx - 8]
fadd dword [edx - 4]
jne 0x100051e4
fstp dword [edx - 4]
cmp esi, 0x3c
jge 0x10005270
mov ecx, esi
mov edx, dword [esp + 0x2c]
sub ecx, edx
mov ebp, dword [esp + 0x990]
mov edx, dword [esp + 0x44]
nop
lea ebx, [ebp + ecx*4 + 8]
nop
lea ecx, [edx + esi*4]
mov edx, 0x3c
sub edx, esi
jmp 0x10005258
fstp dword [ecx - 4]
fld dword [ebx]
mov edi, dword [esp + 0x28]
add ebx, 4
add ecx, 4
dec edx
fmul dword [edi - 8]
fadd dword [ecx - 4]
jne 0x10005255
fstp dword [ecx - 4]
mov esi, dword [esp + 0x4c]
lea edx, [esp + 0x758]
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov ebp, dword [esi + 8]
mov dword [edx], ecx
mov ecx, dword [esi + 0xc]
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
add esi, 0x10
mov dword [edx + 0xc], ecx
add edx, 0x10
lea ecx, [esp + 0x848]
cmp edx, ecx
jb 0x1000527b
test eax, eax
jle 0x10005362
xor edi, edi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov ebx, esi
cmp esi, 0x39
jge 0x10005316
mov ecx, esi
mov edx, dword [esp + 0x44]
sub ecx, edi
lea ebp, [edx + ecx*4]
lea ecx, [esp + esi*4 + 0x758]
mov edx, 0x3c
sub edx, esi
shr edx, 2
lea ebx, [esi + edx*4]
jmp 0x100052df
fstp dword [ecx - 4]
fld dword [ebp]
fadd dword [ecx]
fld dword [ebp + 4]
fld dword [ebp + 8]
fld dword [ebp + 0xc]
fxch st(3)
fstp dword [ecx]
fxch st(1)
fadd dword [ecx + 4]
add ebp, 0x10
add ecx, 0x10
lea edx, [esp + 0x83c]
cmp ecx, edx
fstp dword [ecx - 0xc]
fadd dword [ecx - 8]
fstp dword [ecx - 8]
fadd dword [ecx - 4]
jb 0x100052dc
fstp dword [ecx - 4]
cmp ebx, 0x3c
jge 0x1000534b
mov ecx, ebx
mov edx, dword [esp + 0x44]
sub ecx, edi
lea ebp, [edx + ecx*4]
lea ecx, [esp + ebx*4 + 0x758]
jmp 0x10005332
fstp dword [ecx - 4]
fld dword [ebp]
fadd dword [ecx]
add ebp, 4
add ecx, 4
lea edx, [esp + 0x848]
cmp ecx, edx
jb 0x1000532f
fstp dword [ecx - 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
add edi, ecx
add esi, ecx
dec edx
mov dword [esp + 0x10], edx
jne 0x100052b4
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
add esi, 0x14
add edx, 0x28
lea ecx, [esp + 0x758]
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
fld dword [esp + 0x1c]
mov edx, dword [esp + 0x98c]
fld dword [ecx]
fmul dword [ecx]
fld dword [edx]
fmul dword [ecx]
fxch st(1)
fadd dword [esp + 0x10]
fld dword [ecx + 4]
fmul dword [ecx + 4]
fxch st(2)
fadd st(3)
fld dword [edx + 4]
fmul dword [ecx + 4]
fxch st(3)
fadd st(2)
fxch st(2)
fstp st(0)
fadd st(2), st(0)
fld dword [ecx + 8]
fmul dword [ecx + 8]
fxch st(1)
fstp st(0)
fld dword [edx + 8]
fmul dword [ecx + 8]
fxch st(1)
fadd st(2)
fxch st(2)
fstp st(0)
fadd st(2)
fld dword [ecx + 0xc]
fmul dword [ecx + 0xc]
fxch st(3)
fstp st(0)
fld dword [edx + 0xc]
fmul dword [ecx + 0xc]
fxch st(3)
fadd st(2)
fxch st(2)
fstp st(0)
faddp st(2)
add edx, 0x10
add ecx, 0x10
fstp dword [esp + 0x10]
fstp st(1)
lea edi, [esp + 0x848]
cmp ecx, edi
jb 0x10005396
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fmul dword [0x100100e4]
fstp dword [esi + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], 3
mov ebx, dword [esp + 0x28]
add esi, 0xc
mov dword [edx + 0x10], ecx
sub ebx, 0x10
lea ecx, [esp + 0x668]
add edx, 0xc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x5c], ecx
lea edx, [ebx + 0xc]
fld dword [edx]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x98c]
mov dword [esp + 0x14], 0
fst dword [ecx]
fmul dword [ebx]
fstp dword [esp + 0x64]
fld dword [ecx]
fmul dword [ecx]
fstp dword [esp + 0x60]
add ecx, 0xec
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x64]
fld dword [esp + 0x60]
fld dword [esp + 0x14]
mov ebp, dword [ebx]
lea esi, [ebx + 4]
mov ebx, dword [esp + 0x24]
add ecx, 4
mov dword [esp + 0x10], 0x3b
mov dword [esp + 0x48], ebp
fld dword [ecx]
fmul dword [esp + 0x48]
fld dword [ebx]
fmul dword [edx]
fxch st(1)
faddp st(2)
fld dword [edi]
fxch st(1)
fadd dword [ecx]
add edi, 4
add esi, 4
add ebx, 4
add ecx, 4
fst dword [esp + 0x48]
fmul dword [esp + 0x48]
fxch st(1)
fmul dword [esp + 0x48]
fxch st(1)
faddp st(3)
mov ebp, dword [esp + 0x48]
faddp st(3)
mov dword [esi - 4], ebp
mov ebp, dword [esp + 0x10]
dec ebp
mov dword [esp + 0x10], ebp
jne 0x100054b7
fstp dword [esp + 0x14]
fstp dword [esp + 0x60]
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x38]
add ebx, 4
fld dword [ecx + 0xf0]
fmul dword [esp + 0x48]
fadd dword [esp + 0x14]
mov ebp, dword [ebx - 4]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ebx
fstp dword [edi + ebp*4]
fld dword [esp + 0x60]
fmul dword [0x100100e4]
mov dword [ecx], esi
mov ebx, dword [esp + 0x68]
sub ebx, 4
sub ecx, 4
sub edx, 4
mov dword [esp + 0x68], ebx
fstp dword [ebx + 4]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
sub ebx, 0xf0
dec ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], ecx
test ecx, ecx
jge 0x1000545c
mov ecx, dword [esp + 0x28]
add edi, 4
add ecx, 0x10
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
fld dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x578]
jmp 0x100055a4
fstp st(1)
fld dword [ecx - 0x1e0]
fmul dword [ecx]
fld dword [ecx + 4]
fmul dword [ecx - 0x1dc]
fxch st(1)
fadd st(2)
fld dword [ecx + 8]
fmul dword [ecx - 0x1d8]
fxch st(2)
faddp st(1)
fld dword [ecx - 0x1d4]
fmul dword [ecx + 0xc]
fxch st(2)
faddp st(1)
add ecx, 0x10
lea edx, [esp + 0x668]
cmp ecx, edx
faddp st(1)
jb 0x100055a2
fstp st(1)
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov dword [edx], ecx
add edx, 4
fld dword [esp + 0x10]
lea ecx, [esp + 0x668]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
fld dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x14], edx
jmp 0x10005624
fstp st(1)
fld dword [ecx - 0x2d0]
fmul dword [ecx]
fld dword [ecx - 0x1e0]
fmul dword [ecx]
fxch st(1)
fadd st(3)
fld dword [ecx - 0x2cc]
fmul dword [ecx + 4]
fxch st(2)
fadd st(3)
fld dword [ecx - 0x1dc]
fmul dword [ecx + 4]
fxch st(3)
fadd st(2)
fxch st(2)
fstp st(0)
faddp st(2)
add ecx, 8
lea edx, [esp + 0x758]
fstp st(3)
cmp ecx, edx
jb 0x10005622
fstp st(1)
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add edx, 4
mov dword [esp + 0x10], 0
mov dword [edx - 4], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x1c], 0
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
mov dword [edx - 4], ecx
mov dword [esp + 0x14], edx
add edx, 4
lea ecx, [esp + 0x758]
mov dword [esp + 0x38], 0
fld dword [esp + 0x38]
mov dword [esp + 0x14], edx
fld dword [ecx - 0x3c0]
fmul dword [ecx]
fld dword [ecx - 0x2d0]
fmul dword [ecx]
fxch st(1)
faddp st(4)
fld dword [ecx - 0x1e0]
fmul dword [ecx]
fxch st(1)
faddp st(3)
add ecx, 4
lea edx, [esp + 0x848]
faddp st(1)
cmp ecx, edx
jb 0x100056c4
fstp dword [esp + 0x38]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add edx, 4
mov dword [esp + 0x14], edx
add edx, 4
mov dword [esp + 0x14], edx
add edx, 4
mov dword [esp + 0x14], edx
add edx, 4
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
inc ebx
mov dword [edx - 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x54]
mov dword [edx - 0xc], ecx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x38]
cmp ebp, ebx
mov dword [edx - 8], ecx
jg 0x10005106
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
cmp ecx, eax
jle 0x100059e6
lea ecx, [esp + 0x848]
xor edi, edi
mov eax, dword [esp + 0x58]
cmp eax, edi
mov eax, dword [esp + 0x34]
jne 0x10005781
add eax, dword [esp + 0x3c]
dec eax
cmp eax, 0x3a
jl 0x1000578b
jmp 0x10005786
cmp eax, 0x3a
jl 0x1000578b
mov edi, 1
mov ebx, dword [edi*4 + 0x100117d8]
mov eax, dword [edi*4 + 0x100117e0]
lea edx, [edi*8]
lea ebp, [edi + edi*4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], edx
lea eax, [edi + ebp*4]
xor ebp, ebp
lea esi, [edi + eax*4]
mov eax, dword [esp + 0x18]
cmp eax, ebp
jle 0x100058ac
fld dword [ebx + 4]
fmul dword [ecx + 4]
fld dword [ebx]
fmul dword [ecx]
fld dword [ebx + 8]
fmul dword [ecx + 8]
fxch st(1)
faddp st(2)
fld dword [ebx + 0xc]
fmul dword [ecx + 0xc]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x10]
fmul dword [ecx + 0x10]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x14]
fmul dword [ecx + 0x14]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x18]
fmul dword [ecx + 0x18]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x1c]
fmul dword [ecx + 0x1c]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x20]
fmul dword [ecx + 0x20]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x24]
fmul dword [ecx + 0x24]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x28]
fmul dword [ecx + 0x28]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x2c]
fmul dword [ecx + 0x2c]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x30]
fmul dword [ecx + 0x30]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x34]
fmul dword [ecx + 0x34]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x38]
fmul dword [ecx + 0x38]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x3c]
fmul dword [ecx + 0x3c]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x40]
fmul dword [ecx + 0x40]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x44]
fmul dword [ecx + 0x44]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x48]
fmul dword [ecx + 0x48]
fxch st(1)
faddp st(2)
fld dword [ebx + 0x4c]
fmul dword [ecx + 0x4c]
fxch st(1)
faddp st(2)
add ebx, 0x50
faddp st(1)
fcom dword [esp + 0x24]
fstp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x1000589f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
add edx, ebp
mov dword [esp + 0x24], eax
inc ebp
mov eax, dword [esp + 0x18]
cmp eax, ebp
jg 0x100057bf
mov edi, dword [edi*4 + 0x10016798]
mov eax, dword [edx*4 + 0x100167a0]
mov ebx, dword [edx*4 + 0x100167a0]
mov edx, dword [edx*4 + 0x10016800]
lea eax, [eax + eax*4]
add esi, ebx
shl eax, 4
xor ebx, ebx
add edi, eax
test edx, edx
jle 0x100059ce
fld dword [edi + 4]
fmul dword [ecx + 4]
fld dword [edi]
fmul dword [ecx]
fld dword [edi + 8]
fmul dword [ecx + 8]
fxch st(1)
faddp st(2)
fld dword [edi + 0xc]
fmul dword [ecx + 0xc]
fxch st(1)
faddp st(2)
fld dword [edi + 0x10]
fmul dword [ecx + 0x10]
fxch st(1)
faddp st(2)
fld dword [edi + 0x14]
fmul dword [ecx + 0x14]
fxch st(1)
faddp st(2)
fld dword [edi + 0x18]
fmul dword [ecx + 0x18]
fxch st(1)
faddp st(2)
fld dword [edi + 0x1c]
fmul dword [ecx + 0x1c]
fxch st(1)
faddp st(2)
fld dword [edi + 0x20]
fmul dword [ecx + 0x20]
fxch st(1)
faddp st(2)
fld dword [edi + 0x24]
fmul dword [ecx + 0x24]
fxch st(1)
faddp st(2)
fld dword [edi + 0x28]
fmul dword [ecx + 0x28]
fxch st(1)
faddp st(2)
fld dword [edi + 0x2c]
fmul dword [ecx + 0x2c]
fxch st(1)
faddp st(2)
fld dword [edi + 0x30]
fmul dword [ecx + 0x30]
fxch st(1)
faddp st(2)
fld dword [edi + 0x34]
fmul dword [ecx + 0x34]
fxch st(1)
faddp st(2)
fld dword [edi + 0x38]
fmul dword [ecx + 0x38]
fxch st(1)
faddp st(2)
fld dword [edi + 0x3c]
fmul dword [ecx + 0x3c]
fxch st(1)
faddp st(2)
fld dword [edi + 0x40]
fmul dword [ecx + 0x40]
fxch st(1)
faddp st(2)
fld dword [edi + 0x44]
fmul dword [ecx + 0x44]
fxch st(1)
faddp st(2)
fld dword [edi + 0x48]
fmul dword [ecx + 0x48]
fxch st(1)
faddp st(2)
fld dword [edi + 0x4c]
fmul dword [ecx + 0x4c]
fxch st(1)
faddp st(2)
add edi, 0x50
faddp st(1)
fcom dword [esp + 0x24]
fstp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100059c5
mov eax, dword [esp + 0x10]
lea ebp, [ebx + esi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
inc ebx
cmp edx, ebx
jg 0x100058dc
add ecx, 0x50
mov eax, dword [esp + 0x3c]
inc eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
cmp edx, eax
jg 0x10005767
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
movsx edx, word [eax*2 + 0x10016860]
test ecx, ecx
jne 0x10005a12
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], 1
lea ebx, [eax + ecx - 1]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x99c]
mov ecx, dword [esp + 0x99c]
shl eax, 3
mov ebx, dword [esp + 0x998]
sub eax, ecx
lea ecx, [ebx + eax*4]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x74]
nop
mov dword [ecx + 0x10], eax
xor eax, eax
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x34]
mov dword [ebx], ecx
cmp ecx, 0x3a
jl 0x10005a50
mov eax, 1
lea ecx, [eax + eax*4]
lea ebx, [eax + ecx*4]
lea ecx, [eax + ebx*4]
mov eax, dword [eax*4 + 0x1001b368]
add ecx, edx
movsx edx, word [ecx*2 + 0x1001a280]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x34]
shl ecx, 4
add eax, ecx
mov ecx, dword [esp + 0x994]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
add eax, edx
lea edx, [esp + 0x88]
dec eax
push eax
push ecx
push edx
call fcn.10002790
mov ecx, dword [esp + 0x9b4]
lea esi, [esp + 0xa0]
add esp, 0xc
mov edi, ecx
xor edx, edx
mov eax, esi
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x78]
mov ebp, 5
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x10]
fld dword [esp + 0x24]
fld dword [eax]
fmul dword [ebx]
fld dword [eax + 4]
fmul dword [ebx]
fxch st(1)
faddp st(5)
fld dword [eax + 8]
fmul dword [ebx]
fxch st(1)
faddp st(4)
fld dword [eax + 0xc]
fmul dword [ebx]
fxch st(1)
faddp st(3)
add eax, 4
add ebx, 4
faddp st(1)
dec ebp
jne 0x10005ad7
fstp dword [esp + 0x24]
fstp dword [esp + 0x10]
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [edi], eax
mov ebp, dword [esp + 0x10]
mov dword [edi + 4], ebx
mov eax, dword [esp + 0x24]
mov dword [edi + 8], ebp
add edi, 0x10
add esi, 0x10
nop
mov dword [edi - 4], eax
lea eax, [esp + 0x184]
cmp esi, eax
jb 0x10005aac
xor ebx, ebx
mov esi, dword [esp + 0x990]
mov edi, dword [esp + 0x98c]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ebp, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], eax
test ebx, ebx
jl 0x10005bc3
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fld dword [esp + 0x10]
fld dword [esp + 0x24]
mov ebp, esi
mov edx, ecx
lea eax, [ebx + 1]
fld dword [ebp]
fmul dword [edx]
fld dword [ebp + 4]
fmul dword [edx]
fxch st(1)
fsubp st(5)
fld dword [ebp + 8]
fmul dword [edx]
fxch st(1)
fsubp st(4)
fld dword [ebp + 0xc]
fmul dword [edx]
fxch st(1)
fsubp st(3)
sub ebp, 4
add edx, 4
fsubp st(1)
dec eax
jne 0x10005b88
fstp dword [esp + 0x24]
fstp dword [esp + 0x10]
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
lea ebp, [ebx + 1]
mov eax, ebx
sub eax, ebp
mov edx, dword [esp + 0x990]
fld dword [edx + eax*4 + 4]
fmul dword [ecx + ebp*4]
fld dword [edx + eax*4 + 8]
fmul dword [ecx + ebp*4]
fxch st(1)
fsubr dword [esp + 0x18]
fld dword [edx + eax*4 + 0xc]
fmul dword [ecx + ebp*4]
fxch st(2)
fsubr dword [esp + 0x10]
fxch st(2)
fsubr dword [esp + 0x24]
lea eax, [edx + eax*4]
lea ebp, [ebx + 2]
mov eax, ebx
sub eax, ebp
fld dword [edx + eax*4 + 8]
fmul dword [ecx + ebp*4]
lea eax, [edx + eax*4]
fsubr st(3)
fld dword [eax + 0xc]
fmul dword [ecx + ebp*4]
lea eax, [ebx + 3]
mov ebp, ebx
sub ebp, eax
fsubr st(2)
fld dword [edx + ebp*4 + 0xc]
fmul dword [ecx + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
add esi, 0x10
fsubp st(1)
fxch st(3)
fstp dword [edi + 4]
fstp dword [edi + 8]
fstp st(0)
fstp dword [edi + 0xc]
fstp st(0)
add edi, 0x10
add ebx, 4
cmp ebx, 0x3c
jl 0x10005b52
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x978
ret