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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff84
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, edx
call fcn.006ec0bc
mov ebx, eax
test ebx, ebx
je 0x6ec819
mov eax, dword [ebx + 0x5a]
test eax, eax
jne 0x6ec756
push dword [esp]
call fcn.006ee49c
fstp dword [esp]
wait
push dword [esp + 4]
call fcn.006ee49c
fstp dword [esp + 4]
wait
movzx eax, word [ebx + 4]
sub ax, 0x43
je 0x6ec163
sub ax, 0xc
je 0x6ec317
dec ax
je 0x6ec5f5
sub ax, 2
je 0x6ec1f3
jmp 0x6ec819
fld qword [ebx + 0xa]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fdiv dword [0x6ec820]
fstp qword [esp + 8]
wait
cmp dword [ebx + 6], 1
jle 0x6ec19f
fld qword [ebx + 0x12]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fdiv dword [0x6ec820]
fstp qword [esp + 0x10]
wait
jmp 0x6ec1a9
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edx, dword [0x63fe34]
xor eax, eax
call fcn.0063fe7c
mov ebx, eax
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 1
mov eax, ebx
mov ecx, dword [0x7cfad8]
lea edx, [esp + 0x14]
call fcn.00640198
mov dword [ebx + 0x29], 0xfa0
mov edx, ebx
mov eax, dword [0x7cfad4]
call fcn.00447d40
jmp 0x6ec819
fld qword [ebx + 0xa]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fdiv dword [0x6ec820]
fstp qword [esp + 8]
wait
fld qword [ebx + 0x12]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fdiv dword [0x6ec820]
fstp qword [esp + 0x10]
wait
cmp dword [ebx + 6], 2
jle 0x6ec249
fld qword [ebx + 0x1a]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fdiv dword [0x6ec820]
fstp qword [esp + 0x18]
wait
jmp 0x6ec253
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
fld qword [esp + 8]
call fcn.00404d4c
push edx
push eax
fld qword [esp + 0x18]
call fcn.00404d4c
cmp edx, dword [esp + 4]
jne 0x6ec270
cmp eax, dword [esp]
pop edx
pop eax
jne 0x6ec2be
mov edx, dword [0x63fe34]
xor eax, eax
call fcn.0063fe7c
mov ebx, eax
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x24]
push dword [esp + 0x24]
push 3
mov eax, ebx
mov ecx, dword [0x7cfad8]
lea edx, [esp + 0x14]
call fcn.00640198
mov dword [ebx + 0x29], 0xfa0
mov edx, ebx
mov eax, dword [0x7cfad4]
call fcn.00447d40
jmp 0x6ec819
mov edx, dword [0x63fe34]
xor eax, eax
call fcn.0063fe7c
mov ebx, eax
fld qword [esp + 0x10]
fmul dword [0x6ec820]
call fcn.00404d4c
push eax
mov eax, dword [0x7cfad8]
push eax
fld qword [esp + 0x10]
fmul dword [0x6ec820]
call fcn.00404d4c
mov ecx, eax
mov eax, ebx
lea edx, [esp + 8]
call fcn.006402e4
mov dword [ebx + 0x29], 0xfa0
mov edx, ebx
mov eax, dword [0x7cfad4]
call fcn.00447d40
jmp 0x6ec819
fld qword [ebx + 0xa]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fstp qword [esp + 8]
wait
fld qword [ebx + 0x12]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fstp qword [esp + 0x10]
wait
fld qword [esp + 8]
call fcn.00404d4c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
fld qword [esp + 0x10]
call fcn.00404d4c
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x44]
jne 0x6ec377
cmp eax, dword [esp + 0x40]
jbe 0x6ec38b
jmp 0x6ec379
jle 0x6ec38b
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
jmp 0x6ec39b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
fld qword [esp + 8]
call fcn.00404d4c
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
fld qword [esp + 0x10]
call fcn.00404d4c
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x5c]
jne 0x6ec3d3
cmp eax, dword [esp + 0x58]
jae 0x6ec3e7
jmp 0x6ec3d5
jge 0x6ec3e7
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
jmp 0x6ec3f7
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
push dword [esp + 0x64]
push dword [esp + 0x64]
mov eax, 2
xor edx, edx
call fcn.0040aa50
cmp edx, dword [esp + 0x4c]
jne 0x6ec4d9
cmp eax, dword [esp + 0x48]
jne 0x6ec4d9
cmp dword [ebx + 6], 2
jle 0x6ec441
fld qword [ebx + 0x1a]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fdiv dword [0x6ec820]
fstp qword [esp + 0x18]
wait
jmp 0x6ec44b
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
fld qword [esp + 8]
fcomp qword [esp + 0x10]
wait
fnstsw ax
sahf
jbe 0x6ec460
mov esi, 4
jmp 0x6ec465
mov esi, 7
mov edx, dword [0x63fe34]
xor eax, eax
call fcn.0063fe7c
mov ebx, eax
fld qword [esp + 8]
fcomp qword [esp + 0x10]
wait
fnstsw ax
sahf
jae 0x6ec48d
fld qword [esp + 8]
fstp qword [esp + 0x68]
wait
jmp 0x6ec496
fld qword [esp + 0x10]
fstp qword [esp + 0x68]
wait
fld qword [esp + 0x68]
fdiv dword [0x6ec820]
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
mov eax, ebx
mov ecx, dword [0x7cfad8]
lea edx, [esp + 0x14]
call fcn.00640198
mov dword [ebx + 0x29], 0xfa0
mov edx, ebx
mov eax, dword [0x7cfad4]
call fcn.00447d40
jmp 0x6ec819
mov eax, dword [esp]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
fld qword [esp + 8]
fcomp qword [esp + 0x10]
wait
fnstsw ax
sahf
jbe 0x6ec558
fld qword [esp + 0x10]
call fcn.00404d4c
mov esi, eax
fld qword [esp + 8]
fdiv dword [0x6ec820]
fsubr dword [esp + 0x28]
mov dword [esp + 0x70], esi
fild dword [esp + 0x70]
fdiv dword [0x6ec820]
faddp st(1)
fstp dword [esp + 0x28]
wait
fld qword [esp + 8]
fdiv dword [0x6ec820]
fadd dword [esp + 0x30]
mov dword [esp + 0x70], esi
fild dword [esp + 0x70]
fdiv dword [0x6ec820]
fsubp st(1)
fstp dword [esp + 0x30]
wait
jmp 0x6ec5a9
fld qword [esp + 8]
call fcn.00404d4c
mov esi, eax
fld qword [esp + 0x10]
fdiv dword [0x6ec820]
fsubr dword [esp + 0x2c]
mov dword [esp + 0x70], esi
fild dword [esp + 0x70]
fdiv dword [0x6ec820]
faddp st(1)
fstp dword [esp + 0x2c]
wait
fld qword [esp + 0x10]
fdiv dword [0x6ec820]
fadd dword [esp + 0x34]
mov dword [esp + 0x70], esi
fild dword [esp + 0x70]
fdiv dword [0x6ec820]
fsubp st(1)
fstp dword [esp + 0x34]
wait
mov edx, dword [0x63fe34]
xor eax, eax
call fcn.0063fe7c
mov ebx, eax
mov eax, ebx
mov ecx, dword [0x7cfad8]
mov edx, esi
call fcn.00640028
mov eax, ebx
lea edx, [esp + 0x28]
call fcn.00640098
mov eax, ebx
lea edx, [esp + 0x30]
call fcn.00640098
mov dword [ebx + 0x29], 0xfa0
mov edx, ebx
mov eax, dword [0x7cfad4]
call fcn.00447d40
jmp 0x6ec819
fld qword [ebx + 0xa]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.006ee49c
fdiv dword [0x6ec820]
fstp qword [esp + 8]
wait
mov eax, dword [ebx + 6]
cmp eax, 1
jle 0x6ec627
mov edx, dword [ebx + 0x12]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x16]
mov dword [esp + 0x14], edx
jmp 0x6ec631
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
cmp eax, 2
jle 0x6ec646
mov eax, dword [ebx + 0x1a]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1e]
mov dword [esp + 0x1c], eax
jmp 0x6ec650
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
fld qword [esp + 0x10]
fcomp dword [0x6ec824]
wait
fnstsw ax
sahf
jbe 0x6ec819
fld qword [esp + 0x10]
fcomp dword [0x6ec828]
wait
fnstsw ax
sahf
jae 0x6ec819
mov edx, dword [0x63fe34]
xor eax, eax
call fcn.0063fe7c
mov ebx, eax
mov eax, ebx
mov ecx, dword [0x7cfad8]
xor edx, edx
call fcn.006400d8
mov dword [ebx + 0x29], 0xfa0
fld qword [esp + 0x10]
call fcn.00404d4c
mov esi, eax
dec esi
test esi, esi
jl 0x6ec745
inc esi
xor edi, edi
fld qword [esp + 0x10]
call fcn.00404d4c
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
fild qword [esp + 0x74]
fdivr dword [0x6ec82c]
mov dword [esp + 0x70], edi
fild dword [esp + 0x70]
fmulp st(1)
fadd qword [esp + 0x18]
fstp qword [esp + 0x20]
wait
fld qword [esp + 0x20]
fdiv dword [0x6ec830]
fld xword [0x6ec834]
fmulp st(1)
fstp qword [esp + 0x20]
wait
fld qword [esp + 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00404cd4
fmul qword [esp + 8]
fadd dword [esp]
fstp dword [esp + 0x28]
wait
fld qword [esp + 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00404ce4
fmul qword [esp + 8]
fadd dword [esp + 4]
fstp dword [esp + 0x2c]
wait
mov eax, ebx
lea edx, [esp + 0x28]
call fcn.00640098
inc edi
dec esi
jne 0x6ec6b4
mov edx, ebx
mov eax, dword [0x7cfad4]
call fcn.00447d40
jmp 0x6ec819
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x6ec819
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x5a]
call fcn.00447f1c
mov edx, dword [eax]
cmp edx, 0x16
ja case.0x6ec781.0
movzx edx, byte [edx + 0x6ec788]
jmp dword [edx*4 + 0x6ec79f]
mov edx, dword [eax + 4]
mov eax, esp
call 0x6ee398
jmp case.0x6ec781.0
mov edx, dword [eax + 4]
mov eax, esp
call fcn.006eda68
jmp case.0x6ec781.0
mov edx, dword [eax + 4]
mov eax, esp
call fcn.006ede40
jmp case.0x6ec781.0
mov edx, dword [eax + 4]
mov eax, esp
call fcn.006edf3c
jmp case.0x6ec781.0
mov edx, dword [eax + 4]
mov eax, esp
call fcn.006edce4
jmp case.0x6ec781.0
mov edx, dword [eax + 4]
mov eax, esp
call fcn.006edffc
jmp case.0x6ec781.0
mov edx, dword [eax + 4]
mov eax, esp
call fcn.006ee24c
inc edi
dec esi
jne 0x6ec765
add esp, 0x7c
pop edi
pop esi
pop ebx
ret