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

Disassembly:
sub esp, 0x188
mov dword [esp], 8
mov dword [esp + 4], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x10000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x80
mov dword [esp + 0x34], 0x80
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 0x100000
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x20000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x100000
mov dword [esp + 0x54], 0x100000
mov dword [esp + 0x58], 0x20000
mov dword [esp + 0x5c], 0x20000
mov dword [esp + 0x60], 0x100
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x100
mov dword [esp + 0x74], 0x100
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], 0x200
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x200
mov dword [esp + 0x94], 0x200
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 4
mov dword [esp + 0xa0], 0x400
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x200
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x400
mov dword [esp + 0xb4], 0x400
mov dword [esp + 0xb8], 0x200
mov dword [esp + 0xbc], 0x200
mov dword [esp + 0xc0], 0x1000
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x20
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0x1000
mov dword [esp + 0xd4], 0x1000
mov dword [esp + 0xd8], 0x20
mov dword [esp + 0xdc], 0x20
mov dword [esp + 0xe0], 0x4000
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0x80
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0x4000
mov dword [esp + 0xf4], 0x4000
mov dword [esp + 0xf8], 0x80
mov dword [esp + 0xfc], 0x80
mov dword [esp + 0x100], 0x8000
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0x100
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0x8000
mov dword [esp + 0x114], 0x8000
mov dword [esp + 0x118], 0x100
mov dword [esp + 0x11c], 0x100
mov dword [esp + 0x120], 0x10000
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0x10
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0x10000
mov dword [esp + 0x134], 0x10000
mov dword [esp + 0x138], 0x10
mov dword [esp + 0x13c], 0x10
mov dword [esp + 0x140], 0x40000
mov edx, dword [esp + 0x190]
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 8
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0x40000
mov dword [esp + 0x154], 0x40000
mov dword [esp + 0x158], 8
mov dword [esp + 0x15c], 8
mov dword [esp + 0x160], 0x80000
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0x800
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0x80000
mov dword [esp + 0x174], 0x80000
mov dword [esp + 0x178], 0x800
mov dword [esp + 0x17c], 0x800
test dl, 0x10
je 0x1006b2a7
or edx, 1
xor edx, 1
mov ecx, edx
or ecx, 0x10
test dl, 1
cmovne ecx, edx
mov edx, ecx
or edx, 0x20
test cl, 8
cmove edx, ecx
test dl, 0x40
je 0x1006b2c8
or edx, 0x20
xor edx, 0x20
mov ecx, edx
or ecx, 0x101080
test dl, 0x40
push ebx
cmove ecx, edx
mov edx, ecx
or edx, 0x40000
test cl, 8
push ebp
cmovne edx, ecx
mov ebx, edx
or ebx, 0x9c700
test dl, 0x20
push esi
cmovne ebx, edx
xor edx, edx
movzx eax, bl
and eax, 0x10
shl eax, 8
or eax, 0x2000
lea esi, [edx + 0x18]
mov ecx, eax
xor ecx, 0x2000
test ebx, 0x20000
push edi
cmovne ecx, eax
or ecx, 0x4000
mov eax, ecx
xor eax, 0x4000
test bl, 4
cmovne eax, ecx
lea ecx, [esp + 0x14]
or eax, 0x400
mov ebp, eax
xor ebp, 0x400
test ebx, 0x800
cmovne ebp, eax
or ebp, 0x40
mov eax, ebp
xor eax, 0x40
test ebx, 0x2000
cmovne ebp, eax
mov eax, dword [ecx - 4]
and eax, ebx
cmp eax, dword [ecx]
je 0x1006b367
or edx, dword [ecx + 4]
xor edx, dword [ecx + 8]
add ecx, 0x10
sub esi, 1
jne 0x1006b358
mov edi, dword [esp + 0x19c]
or edx, ebp
and edx, 0xfffff
xorps xmm0, xmm0
mov eax, dword [edi + 0xa4]
mov esi, eax
movsd xmm1, qword [edi + 0xb0]
xor esi, ebp
and esi, 0xfffff
xor esi, eax
mov eax, dword [edi + 0xa8]
and eax, 0xfff00000
xor edx, eax
comisd xmm0, xmm1
mov dword [edi + 0xa8], edx
ja 0x1006b429
movsd xmm2, qword [0x102a8ee0]
comisd xmm1, xmm2
jae 0x1006b429
movsd xmm0, qword [0x102a8ed0]
comisd xmm0, xmm1
jb 0x1006b3d7
mov ecx, 0x1ff
jmp 0x1006b42b
divsd xmm2, xmm1
movaps xmm0, xmm2
call fcn.10278e30
movsd qword [esp + 0x190], xmm0
movsd xmm0, qword [0x102a8ed8]
call fcn.10278e30
movsd xmm1, qword [esp + 0x190]
xor ecx, ecx
divsd xmm1, xmm0
addsd xmm1, qword [0x102a2d50]
cvttsd2si eax, xmm1
test eax, eax
cmovns ecx, eax
mov eax, 0x1ff
cmp ecx, 0x200
cmovge ecx, eax
jmp 0x1006b42b
xor ecx, ecx
and esi, 0x7fffff
shl ecx, 0x17
or esi, ecx
mov dword [edi + 0xa4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret