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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 4]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x2c]
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], ecx
mov ecx, dword [0x12088]
push dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x20]
mov ecx, eax
shl ecx, 2
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x28], ecx
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esi]
lea edx, [ecx + edx*4]
mov dword [ebp - 0x14], edx
mov edx, dword [esi + 0x28]
lea ecx, [ecx + edx*4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0xc]
shl ecx, 2
sub eax, ecx
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], eax
call fcn.00027f60
mov eax, dword [ebp + 0x10]
test eax, eax
jbe 0x288b7
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x284d4
mov ecx, dword [ebp - 0x2c]
shl ecx, 2
mov eax, dword [ebp - 8]
add ebx, dword [ebp - 0x28]
add dword [ebp - 8], 4
xor edx, edx
add eax, ecx
cmp dword [ebp - 0xc], edx
jbe 0x284c6
mov edi, dword [ebx + edx*4]
mov dword [eax], edi
add eax, ecx
inc edx
cmp edx, dword [ebp - 0xc]
jb 0x284b9
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
cmp dword [ebp - 4], eax
jae 0x284a6
mov dword [ebp - 0x24], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax*4 - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
sub eax, edx
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
lea eax, [eax + ebx*2]
lea ebx, [ebx + ebx*2]
mov edi, dword [ebp - 0x2c]
shl edi, 2
lea ecx, [ebx + ebx*4]
push edi
shl ecx, 2
sub ecx, ebx
push ebx
mov ebx, ecx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x34]
push eax
fld dword [esi + 4]
fmul dword [edi - 4]
fld dword [esi + 8]
fld dword [esi + 0xc]
fmul dword [edi - 0xc]
add eax, ebx
jns 0x2880a
fadd dword [esi]
fxch st(1)
fmul dword [edi - 8]
fxch st(2)
fadd dword [esi - 8]
fxch st(1)
fmul dword [edi]
fxch st(2)
fadd dword [esi - 4]
fxch st(1)
fmul dword [edi + 8]
fxch st(2)
fadd dword [esi - 0xc]
fxch st(1)
fmul dword [edi + 4]
fxch st(2)
fadd dword [esi - 0x14]
fxch st(1)
fmul dword [edi + 0xc]
fxch st(2)
fadd dword [esi - 0x10]
fxch st(1)
fmul dword [edi + 0x14]
fxch st(2)
fadd dword [esi - 0x18]
fxch st(1)
fmul dword [edi + 0x10]
fxch st(2)
fadd dword [esi - 0x20]
fxch st(1)
fmul dword [edi + 0x18]
fxch st(2)
fadd dword [esi - 0x1c]
fxch st(1)
fmul dword [edi + 0x20]
fxch st(2)
fadd dword [esi - 0x24]
fxch st(1)
fmul dword [edi + 0x1c]
fxch st(2)
fadd dword [esi - 0x2c]
fxch st(1)
fmul dword [edi + 0x24]
fxch st(2)
fadd dword [esi - 0x28]
fxch st(1)
fmul dword [edi + 0x2c]
fxch st(2)
fadd dword [esi - 0x30]
fxch st(1)
fmul dword [edi + 0x28]
fxch st(2)
fadd dword [esi - 0x38]
fxch st(1)
fmul dword [edi + 0x30]
fxch st(2)
fadd dword [esi - 0x34]
fxch st(1)
fmul dword [edi + 0x38]
fxch st(2)
fadd dword [esi - 0x3c]
fxch st(1)
fmul dword [edi + 0x34]
fxch st(2)
fadd dword [esi - 0x44]
fxch st(1)
fmul dword [edi + 0x3c]
fxch st(2)
fadd dword [esi - 0x40]
fxch st(1)
fmul dword [edi + 0x44]
fxch st(2)
fadd dword [esi - 0x48]
fxch st(1)
fmul dword [edi + 0x40]
fxch st(2)
fadd dword [esi - 0x50]
fxch st(1)
fmul dword [edi + 0x48]
fxch st(2)
fadd dword [esi - 0x4c]
fxch st(1)
fmul dword [edi + 0x50]
fxch st(2)
fadd dword [esi - 0x54]
fxch st(1)
fmul dword [edi + 0x4c]
fxch st(2)
fadd dword [esi - 0x5c]
fxch st(1)
fmul dword [edi + 0x54]
fxch st(2)
fadd dword [esi - 0x58]
fxch st(1)
fmul dword [edi + 0x5c]
fxch st(2)
fadd dword [esi - 0x60]
fxch st(1)
fmul dword [edi + 0x58]
fxch st(2)
fadd dword [esi - 0x68]
fxch st(1)
fmul dword [edi + 0x60]
fxch st(2)
fadd dword [esi - 0x64]
fxch st(1)
fmul dword [edi + 0x68]
fxch st(2)
fadd dword [esi - 0x6c]
fxch st(1)
fmul dword [edi + 0x64]
fxch st(2)
fadd dword [esi - 0x74]
fxch st(1)
fmul dword [edi + 0x6c]
fxch st(2)
fadd dword [esi - 0x70]
fxch st(1)
fmul dword [edi + 0x74]
fxch st(2)
fadd dword [esi - 0x78]
fxch st(1)
fmul dword [edi + 0x70]
fxch st(2)
fadd dword [esi - 0x80]
fxch st(1)
fmul dword [edi + 0x78]
fxch st(2)
fadd dword [esi - 0x7c]
fxch st(1)
fmul dword [edi + 0x80]
fxch st(2)
fadd dword [esi - 0x84]
fxch st(1)
fmul dword [edi + 0x7c]
fxch st(2)
fadd dword [esi - 0x8c]
fxch st(1)
fmul dword [edi + 0x84]
fxch st(2)
fadd dword [esi - 0x88]
fxch st(1)
fmul dword [edi + 0x8c]
fxch st(2)
fadd dword [esi - 0x90]
fxch st(1)
fmul dword [edi + 0x88]
fxch st(2)
fadd dword [esi - 0x98]
fxch st(1)
fmul dword [edi + 0x90]
fxch st(2)
fadd dword [esi - 0x94]
fxch st(1)
fmul dword [edi + 0x98]
fxch st(2)
fadd dword [esi - 0x9c]
fxch st(1)
fmul dword [edi + 0x94]
fxch st(2)
fadd dword [esi - 0xa4]
fxch st(1)
fmul dword [edi + 0x9c]
fxch st(2)
fadd dword [esi - 0xa0]
fxch st(1)
fmul dword [edi + 0xa4]
fxch st(2)
fadd dword [esi - 0xa8]
fxch st(1)
fmul dword [edi + 0xa0]
fxch st(2)
fadd dword [esi - 0xb0]
fxch st(1)
fmul dword [edi + 0xa8]
fxch st(2)
fadd dword [esi - 0xac]
fxch st(1)
fmul dword [edi + 0xb0]
fxch st(2)
fadd dword [esi - 0xb4]
fxch st(1)
fmul dword [edi + 0xac]
fxch st(2)
fadd dword [esi - 0xbc]
fxch st(1)
fmul dword [edi + 0xb4]
fxch st(2)
fadd dword [esi - 0xb8]
fxch st(1)
fmul dword [edi + 0xbc]
fxch st(2)
fadd dword [esi - 0xc0]
fxch st(1)
fmul dword [edi + 0xb8]
fxch st(2)
fadd dword [esi - 0xc8]
fxch st(1)
fmul dword [edi + 0xc0]
fxch st(2)
fadd dword [esi - 0xc4]
fxch st(1)
fmul dword [edi + 0xc8]
fxch st(2)
fadd dword [esi - 0xcc]
fxch st(1)
fmul dword [edi + 0xc4]
fxch st(2)
fadd dword [esi - 0xd4]
fxch st(1)
fmul dword [edi + 0xcc]
fxch st(2)
fadd dword [esi - 0xd0]
fxch st(1)
fmul dword [edi + 0xd4]
fxch st(2)
fadd dword [esi - 0xd8]
fxch st(1)
fmul dword [edi + 0xd0]
fxch st(2)
fadd dword [esi - 0xe0]
fxch st(1)
fmul dword [edi + 0xd8]
fxch st(2)
fadd dword [esi - 0xdc]
fxch st(1)
fmul dword [edi + 0xe0]
fxch st(2)
sub esi, 0xe4
add edi, 0xe4
add eax, ebx
js 0x2852e
sub eax, ebx
mov edx, dword [esp + 4]
add eax, edx
jns 0x2883a
fadd dword [esi]
fxch st(1)
fmul dword [edi - 8]
fxch st(2)
fadd dword [esi - 8]
fxch st(1)
fmul dword [edi]
fxch st(2)
fadd dword [esi - 4]
fxch st(1)
fmul dword [edi + 8]
fxch st(2)
sub esi, 0xc
add edi, 0xc
add eax, edx
js 0x28814
sub eax, edx
mov edx, dword [ebp - 0x10]
fxch st(1)
fmul dword [edi - 8]
fxch st(1)
add eax, edx
jns 0x2885d
fadd dword [esi]
sub esi, 4
add edi, 4
add eax, edx
fmul dword [edi - 4]
fxch st(2)
fxch st(1)
js 0x2884a
faddp st(1)
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov eax, dword [esp + 8]
faddp st(1)
sub esi, eax
dec ecx
mov dword [ebp - 0x18], esi
fadd dword [edi + ecx*4]
mov eax, dword [esp]
fstp dword [edi + ecx*4]
mov edi, dword [ebp - 0x34]
jne 0x28517
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jb 0x28899
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
add dword [ebp - 4], eax
dec dword [ebp - 0x30]
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
jne 0x28498
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
shl eax, 2
mov ecx, eax
sub ecx, dword [edi + 8]
mov eax, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
sar ecx, 2
sub eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x28923
cmp dword [ebp + 8], 0
je 0x28923
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
add ebx, dword [ebp - 0x28]
add dword [ebp - 8], 4
shl eax, 2
xor edx, edx
add ecx, eax
cmp dword [ebp - 0xc], edx
mov dword [ebp + 0xc], edx
jbe 0x28915
jmp 0x288ff
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx + edx*4]
mov dword [ecx], edx
mov edx, dword [ebp + 0xc]
add ecx, eax
inc edx
cmp edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp + 0xc], edx
jb 0x288fc
mov eax, dword [ebp - 0x10]
sub dword [ebp - 4], eax
dec dword [ebp + 8]
cmp dword [ebp - 4], eax
jae 0x288d8
mov eax, dword [esi + 0xc]
mov edi, dword [edi + 8]
mov ecx, eax
shl ecx, 2
sub edi, ecx
xor edx, edx
test eax, eax
jbe 0x2894b
mov ecx, dword [ebp - 8]
mov eax, edi
sub ecx, edi
fld dword [ecx + eax]
inc edx
fstp dword [eax]
add eax, 4
cmp edx, dword [esi + 0xc]
jb 0x2893d
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi]
pop edi
sar eax, 2
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
leave
ret 0xc