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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, ecx
mov dword [ebp - 8], edx
cmp ebx, 1
jne 0x1006b396
mov eax, dword [ebp + 8]
lea ecx, [eax*4]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [edx + 4]
push eax
push ecx
call fcn.100c7590
add esp, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push edi
cmp ebx, 6
jne 0x1006b616
mov ecx, dword [edx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
shr edx, 2
xor edi, edi
cmp edx, 4
jl 0x1006b598
lea esi, [edx - 4]
shr esi, 2
inc esi
lea edi, [esi*4]
fld dword [eax + 4]
fadd dword [eax]
fadd dword [eax + 8]
fadd dword [eax + 0xc]
fadd dword [eax + 0x10]
fadd dword [eax + 0x14]
fstp dword [ecx]
fld dword [eax + 0x1c]
fadd dword [eax + 0x18]
fadd dword [eax + 0x20]
fadd dword [eax + 0x24]
fadd dword [eax + 0x28]
fadd dword [eax + 0x2c]
fstp dword [ecx + 4]
fld dword [eax + 0x34]
fadd dword [eax + 0x30]
fadd dword [eax + 0x38]
fadd dword [eax + 0x3c]
fadd dword [eax + 0x40]
fadd dword [eax + 0x44]
fstp dword [ecx + 8]
fld dword [eax + 0x4c]
fadd dword [eax + 0x48]
fadd dword [eax + 0x50]
fadd dword [eax + 0x54]
fadd dword [eax + 0x58]
fadd dword [eax + 0x5c]
fstp dword [ecx + 0xc]
fld dword [eax + 0x64]
fadd dword [eax + 0x60]
fadd dword [eax + 0x68]
fadd dword [eax + 0x6c]
fadd dword [eax + 0x70]
fadd dword [eax + 0x74]
fstp dword [ecx + 0x10]
fld dword [eax + 0x7c]
fadd dword [eax + 0x78]
fadd dword [eax + 0x80]
fadd dword [eax + 0x84]
fadd dword [eax + 0x88]
fadd dword [eax + 0x8c]
fstp dword [ecx + 0x14]
fld dword [eax + 0x94]
fadd dword [eax + 0x90]
fadd dword [eax + 0x98]
fadd dword [eax + 0x9c]
fadd dword [eax + 0xa0]
fadd dword [eax + 0xa4]
fstp dword [ecx + 0x18]
fld dword [eax + 0xac]
fadd dword [eax + 0xa8]
fadd dword [eax + 0xb0]
fadd dword [eax + 0xb4]
fadd dword [eax + 0xb8]
fadd dword [eax + 0xbc]
fstp dword [ecx + 0x1c]
fld dword [eax + 0xc4]
fadd dword [eax + 0xc0]
fadd dword [eax + 0xc8]
fadd dword [eax + 0xcc]
fadd dword [eax + 0xd0]
fadd dword [eax + 0xd4]
fstp dword [ecx + 0x20]
fld dword [eax + 0xdc]
fadd dword [eax + 0xd8]
fadd dword [eax + 0xe0]
fadd dword [eax + 0xe4]
fadd dword [eax + 0xe8]
fadd dword [eax + 0xec]
fstp dword [ecx + 0x24]
fld dword [eax + 0xf4]
fadd dword [eax + 0xf0]
fadd dword [eax + 0xf8]
fadd dword [eax + 0xfc]
fadd dword [eax + 0x100]
fadd dword [eax + 0x104]
fstp dword [ecx + 0x28]
fld dword [eax + 0x10c]
fadd dword [eax + 0x108]
fadd dword [eax + 0x110]
fadd dword [eax + 0x114]
fadd dword [eax + 0x118]
add eax, 0x180
add ecx, 0x40
dec esi
fadd dword [eax - 0x64]
fstp dword [ecx - 0x14]
fld dword [eax - 0x5c]
fadd dword [eax - 0x60]
fadd dword [eax - 0x58]
fadd dword [eax - 0x54]
fadd dword [eax - 0x50]
fadd dword [eax - 0x4c]
fstp dword [ecx - 0x10]
fld dword [eax - 0x44]
fadd dword [eax - 0x48]
fadd dword [eax - 0x40]
fadd dword [eax - 0x3c]
fadd dword [eax - 0x38]
fadd dword [eax - 0x34]
fstp dword [ecx - 0xc]
fld dword [eax - 0x2c]
fadd dword [eax - 0x30]
fadd dword [eax - 0x28]
fadd dword [eax - 0x24]
fadd dword [eax - 0x20]
fadd dword [eax - 0x1c]
fstp dword [ecx - 8]
fld dword [eax - 0x14]
fadd dword [eax - 0x18]
fadd dword [eax - 0x10]
fadd dword [eax - 0xc]
fadd dword [eax - 8]
fadd dword [eax - 4]
fstp dword [ecx - 4]
jne 0x1006b3c6
cmp edi, edx
jae 0x1006b9f7
add ecx, 8
add eax, 8
sub edx, edi
jmp 0x1006b5b0
fld dword [eax - 8]
add eax, 0x60
fadd dword [eax - 0x64]
add ecx, 0x10
dec edx
fadd dword [eax - 0x60]
fadd dword [eax - 0x5c]
fadd dword [eax - 0x58]
fadd dword [eax - 0x54]
fstp dword [ecx - 0x18]
fld dword [eax - 0x4c]
fadd dword [eax - 0x50]
fadd dword [eax - 0x48]
fadd dword [eax - 0x44]
fadd dword [eax - 0x40]
fadd dword [eax - 0x3c]
fstp dword [ecx - 0x14]
fld dword [eax - 0x34]
fadd dword [eax - 0x38]
fadd dword [eax - 0x30]
fadd dword [eax - 0x2c]
fadd dword [eax - 0x28]
fadd dword [eax - 0x24]
fstp dword [ecx - 0x10]
fld dword [eax - 0x1c]
fadd dword [eax - 0x20]
fadd dword [eax - 0x18]
fadd dword [eax - 0x14]
fadd dword [eax - 0x10]
fadd dword [eax - 0xc]
fstp dword [ecx - 0xc]
jne 0x1006b5b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 8
jne 0x1006b952
mov ecx, dword [edx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
shr edx, 2
xor edi, edi
cmp edx, 4
jl 0x1006b8c1
lea esi, [edx - 4]
shr esi, 2
inc esi
lea edi, [esi*4]
fld dword [eax + 4]
fadd dword [eax]
fadd dword [eax + 8]
fadd dword [eax + 0xc]
fadd dword [eax + 0x10]
fadd dword [eax + 0x14]
fadd dword [eax + 0x18]
fadd dword [eax + 0x1c]
fstp dword [ecx]
fld dword [eax + 0x24]
fadd dword [eax + 0x20]
fadd dword [eax + 0x28]
fadd dword [eax + 0x2c]
fadd dword [eax + 0x30]
fadd dword [eax + 0x34]
fadd dword [eax + 0x38]
fadd dword [eax + 0x3c]
fstp dword [ecx + 4]
fld dword [eax + 0x44]
fadd dword [eax + 0x40]
fadd dword [eax + 0x48]
fadd dword [eax + 0x4c]
fadd dword [eax + 0x50]
fadd dword [eax + 0x54]
fadd dword [eax + 0x58]
fadd dword [eax + 0x5c]
fstp dword [ecx + 8]
fld dword [eax + 0x64]
fadd dword [eax + 0x60]
fadd dword [eax + 0x68]
fadd dword [eax + 0x6c]
fadd dword [eax + 0x70]
fadd dword [eax + 0x74]
fadd dword [eax + 0x78]
fadd dword [eax + 0x7c]
fstp dword [ecx + 0xc]
fld dword [eax + 0x84]
fadd dword [eax + 0x80]
fadd dword [eax + 0x88]
fadd dword [eax + 0x8c]
fadd dword [eax + 0x90]
fadd dword [eax + 0x94]
fadd dword [eax + 0x98]
fadd dword [eax + 0x9c]
fstp dword [ecx + 0x10]
fld dword [eax + 0xa4]
fadd dword [eax + 0xa0]
fadd dword [eax + 0xa8]
fadd dword [eax + 0xac]
fadd dword [eax + 0xb0]
fadd dword [eax + 0xb4]
fadd dword [eax + 0xb8]
fadd dword [eax + 0xbc]
fstp dword [ecx + 0x14]
fld dword [eax + 0xc4]
fadd dword [eax + 0xc0]
fadd dword [eax + 0xc8]
fadd dword [eax + 0xcc]
fadd dword [eax + 0xd0]
fadd dword [eax + 0xd4]
fadd dword [eax + 0xd8]
fadd dword [eax + 0xdc]
fstp dword [ecx + 0x18]
fld dword [eax + 0xe4]
fadd dword [eax + 0xe0]
fadd dword [eax + 0xe8]
fadd dword [eax + 0xec]
fadd dword [eax + 0xf0]
fadd dword [eax + 0xf4]
fadd dword [eax + 0xf8]
fadd dword [eax + 0xfc]
fstp dword [ecx + 0x1c]
fld dword [eax + 0x104]
fadd dword [eax + 0x100]
fadd dword [eax + 0x108]
fadd dword [eax + 0x10c]
fadd dword [eax + 0x110]
fadd dword [eax + 0x114]
fadd dword [eax + 0x118]
fadd dword [eax + 0x11c]
fstp dword [ecx + 0x20]
fld dword [eax + 0x124]
add eax, 0x200
fadd dword [eax - 0xe0]
add ecx, 0x40
dec esi
fadd dword [eax - 0xd8]
fadd dword [eax - 0xd4]
fadd dword [eax - 0xd0]
fadd dword [eax - 0xcc]
fadd dword [eax - 0xc8]
fadd dword [eax - 0xc4]
fstp dword [ecx - 0x1c]
fld dword [eax - 0xbc]
fadd dword [eax - 0xc0]
fadd dword [eax - 0xb8]
fadd dword [eax - 0xb4]
fadd dword [eax - 0xb0]
fadd dword [eax - 0xac]
fadd dword [eax - 0xa8]
fadd dword [eax - 0xa4]
fstp dword [ecx - 0x18]
fld dword [eax - 0x9c]
fadd dword [eax - 0xa0]
fadd dword [eax - 0x98]
fadd dword [eax - 0x94]
fadd dword [eax - 0x90]
fadd dword [eax - 0x8c]
fadd dword [eax - 0x88]
fadd dword [eax - 0x84]
fstp dword [ecx - 0x14]
fld dword [eax - 0x7c]
fadd dword [eax - 0x80]
fadd dword [eax - 0x78]
fadd dword [eax - 0x74]
fadd dword [eax - 0x70]
fadd dword [eax - 0x6c]
fadd dword [eax - 0x68]
fadd dword [eax - 0x64]
fstp dword [ecx - 0x10]
fld dword [eax - 0x5c]
fadd dword [eax - 0x60]
fadd dword [eax - 0x58]
fadd dword [eax - 0x54]
fadd dword [eax - 0x50]
fadd dword [eax - 0x4c]
fadd dword [eax - 0x48]
fadd dword [eax - 0x44]
fstp dword [ecx - 0xc]
fld dword [eax - 0x3c]
fadd dword [eax - 0x40]
fadd dword [eax - 0x38]
fadd dword [eax - 0x34]
fadd dword [eax - 0x30]
fadd dword [eax - 0x2c]
fadd dword [eax - 0x28]
fadd dword [eax - 0x24]
fstp dword [ecx - 8]
fld dword [eax - 0x1c]
fadd dword [eax - 0x20]
fadd dword [eax - 0x18]
fadd dword [eax - 0x14]
fadd dword [eax - 0x10]
fadd dword [eax - 0xc]
fadd dword [eax - 8]
fadd dword [eax - 4]
fstp dword [ecx - 4]
jne 0x1006b644
cmp edi, edx
jae 0x1006b9f7
add ecx, 8
add eax, 8
sub edx, edi
fld dword [eax - 8]
sub eax, 0xffffff80
fadd dword [eax - 0x84]
add ecx, 0x10
dec edx
fadd dword [eax - 0x80]
fadd dword [eax - 0x7c]
fadd dword [eax - 0x78]
fadd dword [eax - 0x74]
fadd dword [eax - 0x70]
fadd dword [eax - 0x6c]
fstp dword [ecx - 0x18]
fld dword [eax - 0x64]
fadd dword [eax - 0x68]
fadd dword [eax - 0x60]
fadd dword [eax - 0x5c]
fadd dword [eax - 0x58]
fadd dword [eax - 0x54]
fadd dword [eax - 0x50]
fadd dword [eax - 0x4c]
fstp dword [ecx - 0x14]
fld dword [eax - 0x44]
fadd dword [eax - 0x48]
fadd dword [eax - 0x40]
fadd dword [eax - 0x3c]
fadd dword [eax - 0x38]
fadd dword [eax - 0x34]
fadd dword [eax - 0x30]
fadd dword [eax - 0x2c]
fstp dword [ecx - 0x10]
fld dword [eax - 0x24]
fadd dword [eax - 0x28]
fadd dword [eax - 0x20]
fadd dword [eax - 0x1c]
fadd dword [eax - 0x18]
fadd dword [eax - 0x14]
fadd dword [eax - 0x10]
fadd dword [eax - 0xc]
fstp dword [ecx - 0xc]
jne 0x1006b8d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
cmp dword [ebp + 8], ecx
jbe 0x1006b9f7
mov eax, dword [edx + 4]
fldz
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor edi, edi
fst dword [eax + ecx*4]
cmp ebx, 4
jl 0x1006b9b3
mov edx, dword [edx + 4]
fld dword [edx + ecx*4]
mov eax, dword [ebp - 4]
lea esi, [ebx - 4]
shr esi, 2
lea edx, [edx + ecx*4]
inc esi
lea edi, [esi*4]
fadd dword [eax]
add eax, 0x10
dec esi
fst dword [edx]
fadd dword [eax - 0xc]
fst dword [edx]
fadd dword [eax - 8]
fst dword [edx]
fadd dword [eax - 4]
fst dword [edx]
jne 0x1006b995
mov edx, dword [ebp - 8]
fstp st(0)
cmp edi, ebx
jge 0x1006b9de
mov eax, dword [edx + 4]
mov edx, dword [ebp + 0xc]
fld dword [eax + ecx*4]
lea esi, [eax + ecx*4]
mov eax, dword [ebp + 0x10]
add edx, edi
lea edx, [eax + edx*4]
mov eax, ebx
sub eax, edi
fadd dword [edx]
add edx, 4
dec eax
fst dword [esi]
jne 0x1006b9cf
mov edx, dword [ebp - 8]
fstp st(0)
add dword [ebp + 0xc], ebx
lea eax, [ebx*4]
add dword [ebp - 4], eax
inc ecx
cmp ecx, dword [ebp + 8]
jb 0x1006b96e
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10