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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0
push 1
xor eax, eax
mov edi, ebx
call fcn.006c09e8
add esp, 0xc
mov dword [esp + 0x1c], 0
test eax, eax
je 0x6c1f1f
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x1c]
sub ecx, dword [ebp + 0x10]
cmp dword [esp + 0x1c], ecx
jge 0x6c1f0b
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
movzx ecx, byte [eax + 2]
movzx edx, byte [eax + 3]
add eax, 2
shl ecx, 8
add ecx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], 0
test ecx, ecx
jle 0x6c20e5
mov ebx, dword [ebx + 0x14]
add ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 8]
push eax
push esi
lea ebx, [esp + 0x78]
call fcn.006c0e08
fld1
mov esi, ebx
fstp dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov ecx, 0xc
lea edi, [esp + 0x48]
add esp, 8
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
test ebx, ebx
jle 0x6c1fc6
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x258]
add ecx, ecx
test edx, edx
jne 0x6c1fad
fld dword [esp + eax*4 + 0x4c]
fld dword [esp + eax*4 + 0x48]
jmp 0x6c1fb5
fild dword [esp + eax*4 + 0x4c]
fild dword [esp + eax*4 + 0x48]
fsubp st(1)
add eax, 2
cmp eax, ecx
fmul dword [esp + 0xc]
fstp dword [esp + 0xc]
jl 0x6c1f9f
mov edx, dword [ebp + 0xc]
push edi
lea esi, [esp + 0x44]
call fcn.006c1c38
fld1
add esp, 4
fst dword [esp + 0x18]
xor eax, eax
test ebx, ebx
jle 0x6c2014
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x258]
add ecx, ecx
test edx, edx
jne 0x6c1ffb
fld dword [esp + eax*4 + 0x4c]
fld dword [esp + eax*4 + 0x48]
jmp 0x6c2003
fild dword [esp + eax*4 + 0x4c]
fild dword [esp + eax*4 + 0x48]
fsubp st(1)
add eax, 2
cmp eax, ecx
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
jl 0x6c1fed
fld dword [esp + 0x18]
xor eax, eax
fsub dword [esp + 0xc]
fstp dword [esp + 0x18]
fstp dword [esp + 0xc]
test ebx, ebx
jle 0x6c205f
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x258]
add ecx, ecx
lea ecx, [ecx]
test edx, edx
jne 0x6c2046
fld dword [esp + eax*4 + 0x7c]
fld dword [esp + eax*4 + 0x78]
jmp 0x6c204e
fild dword [esp + eax*4 + 0x7c]
fild dword [esp + eax*4 + 0x78]
fsubp st(1)
add eax, 2
cmp eax, ecx
fmul dword [esp + 0xc]
fstp dword [esp + 0xc]
jl 0x6c2038
mov ecx, dword [esp + 0x10]
fld dword [esp + 0x18]
fld dword [esp + 0xc]
test ecx, ecx
je 0x6c21b3
fld dword [esp + 0x2c]
fldz
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x6c21af
fld st(1)
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x6c20a2
fld dword [esp + 0x20]
fcomp st(4)
fnstsw ax
test ah, 0x41
je 0x6c21af
fucompp
fnstsw ax
test ah, 0x44
jp 0x6c20cb
fld st(1)
fld dword [esp + 0x20]
fucompp
fnstsw ax
test ah, 0x44
jp 0x6c20cb
fld dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x6c21b3
fstp st(1)
fstp st(0)
mov esi, dword [esp + 0x14]
inc ecx
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
jl 0x6c1f5f
mov ebx, dword [ebp + 8]
push 0
call fcn.0065b508
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
mov eax, esi
mov edi, ebx
call fcn.006c09e8
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
add esp, 0xc
add dword [esi + 0x10], eax
jne 0x6c2186
cmp dword [esi + 8], 1
jne 0x6c2125
cmp dword [esi + 0xc], 0
jne 0x6c2125
mov dword [ebx + 0x1c], eax
mov eax, dword [esi]
test eax, eax
je 0x6c2139
push eax
push ebx
call fcn.006c0d38
add esp, 8
test eax, eax
jne 0x6c2143
mov edi, esi
call fcn.006c0c78
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, ecx
je 0x6c217d
push ecx
push eax
call fcn.006c0878
lea ecx, [ebx + eax*4 + 0x28]
mov eax, dword [ecx]
add esp, 8
cmp eax, esi
je 0x6c2171
jmp 0x6c2168
lea ecx, [eax + 0x1c]
mov eax, dword [ecx]
cmp eax, esi
jne 0x6c2168
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov dword [esi + 0x1c], 0
push esi
call fcn.0065b508
add esp, 4
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x1c]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
je 0x6c1f1b
mov eax, dword [ebp + 0x14]
pop edi
mov edx, ecx
pop esi
mov dword [eax], edx
mov eax, dword [esp + 8]
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(1)
fstp st(0)
fldz
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
fstp dword [esp + 0x2c]
fxch st(1)
mov dword [esp + 0x30], edx
fstp dword [esp + 0x20]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x3c]
jmp 0x6c20cf