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

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