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

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x4c
movzx eax, byte [esp + 0x6c]
test al, al
mov byte [esp + 0x37], al
je 0x6fde44d0
mov eax, dword [ecx + 0xbc]
mov edx, dword [eax + 0x84]
test edx, edx
je 0x6fde44d0
mov esi, dword [esp + 0x64]
cmp dword [eax + 0x80], 2
lea edx, [edx + esi + 1]
lea ecx, [esi + 2]
cmovne edx, ecx
cmp edx, dword [esp + 0x70]
mov dword [esp + 0x3c], edx
cmovg edx, dword [esp + 0x70]
cmp dword [esp + 0x68], edx
mov dword [esp + 0x2c], edx
jg 0x6fde446d
lea eax, [edi + 0x10]
mov ebx, esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
lea eax, [eax + esi*4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
lea esi, [eax + ebx*4]
mov ebx, dword [esp + 0x68]
jmp 0x6fde4390
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov ebp, dword [eax]
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.6fde2e20
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x58]
mov ecx, dword [edi + 0xd0]
sub esp, 0x10
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, ebx
sub eax, edx
lea eax, [eax + eax*8]
shl eax, 4
mov edx, dword [ebp + eax + 0x5c]
mov eax, dword [ebp + eax + 0x58]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0x20], eax
sub edx, ecx
mov ecx, dword [edi + 0xbc]
fild dword [ecx + 0x98]
fmul qword [0x707658d8]
mov eax, dword [ecx + 0x74]
mov ebp, dword [ecx + 0x78]
cmp eax, ebp
fld st(0)
je 0x6fde4414
fmul dword [0x70765908]
test eax, eax
lea ecx, [eax + 3]
cmovns ecx, eax
sar ecx, 2
cmp edx, ecx
jg 0x6fde4520
fstp st(1)
fmul dword [0x70765908]
fild qword [esp + 0x20]
fld1
fsubrp st(2)
fild qword [esp + 0x18]
fmulp st(2)
fcompi st(1)
fstp st(0)
jae 0x6fde445d
cmp dword [esp + 0x64], ebx
jge 0x6fde445d
mov eax, dword [esp + 0x28]
lea esi, [esi]
mov edx, dword [eax]
sub eax, 4
cmp eax, esi
mov byte [edx + 0x51], 0
jne 0x6fde4450
inc ebx
add dword [esp + 0x28], 4
cmp ebx, dword [esp + 0x2c]
jle 0x6fde4390
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x64], eax
jg 0x6fde44d0
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x74]
jg 0x6fde4561
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
jmp 0x6fde44a0
cmp ebx, esi
jge 0x6fde44cb
xor eax, eax
mov ecx, edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.6fde3b20
sub esp, 0x10
test al, al
je 0x6fde44cb
mov eax, dword [ebp + ebx*4]
mov byte [eax + 0x51], 0
inc ebx
cmp esi, ebx
jge 0x6fde44a0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov eax, dword [eax + esi*4]
movzx eax, byte [eax + 0x51]
test al, al
je 0x6fde450d
movzx eax, byte [esp + 0x37]
mov ecx, edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.6fde3b20
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
cmp edx, eax
jg 0x6fde4540
fstp st(1)
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
mov dword [esp + 0x38], eax
fmulp st(1)
fild dword [esp + 0x38]
fdivp st(1)
jmp 0x6fde442f
fsub st(1), st(0)
sub edx, eax
mov dword [esp + 0x38], edx
sub ebp, eax
fild dword [esp + 0x38]
mov dword [esp + 0x38], ebp
fmulp st(2)
fild dword [esp + 0x38]
fdivp st(2)
faddp st(1)
jmp 0x6fde442f
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x60]
lea eax, [eax + ebx*4]
mov ebx, dword [esp + 0x2c]
lea ecx, [esi + ebx*4 + 4]
nop
lea esi, [esi]
mov edx, dword [eax]
add eax, 4
cmp eax, ecx
mov byte [edx + 0x51], 0
jne 0x6fde4580
jmp 0x6fde44d0