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

Disassembly:
sub esp, 0x18c
mov eax, dword [0x100f4084]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1a0]
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 8
mov dword [esp + 0x30], 0x10000
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x80
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x80
mov dword [esp + 0x4c], 0x80
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 2
mov dword [esp + 0x58], 0x100000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x20000
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x100000
mov dword [esp + 0x6c], 0x100000
mov dword [esp + 0x70], 0x20000
mov dword [esp + 0x74], 0x20000
mov dword [esp + 0x78], 0x100
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x100
mov dword [esp + 0x8c], 0x100
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0x200
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x200
mov dword [esp + 0xac], 0x200
mov dword [esp + 0xb0], 4
mov dword [esp + 0xb4], 4
mov dword [esp + 0xb8], 0x400
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0x200
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x400
mov dword [esp + 0xcc], 0x400
mov dword [esp + 0xd0], 0x200
mov dword [esp + 0xd4], 0x200
mov dword [esp + 0xd8], 0x1000
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0x20
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0x1000
mov dword [esp + 0xec], 0x1000
mov dword [esp + 0xf0], 0x20
mov dword [esp + 0xf4], 0x20
mov dword [esp + 0xf8], 0x4000
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0x80
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0x4000
mov dword [esp + 0x10c], 0x4000
mov dword [esp + 0x110], 0x80
mov dword [esp + 0x114], 0x80
mov dword [esp + 0x118], 0x8000
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0x100
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0x8000
mov dword [esp + 0x12c], 0x8000
mov dword [esp + 0x130], 0x100
mov dword [esp + 0x134], 0x100
mov dword [esp + 0x138], 0x10000
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0x10
mov dword [esp + 0x144], 0
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x148], 0x10000
mov dword [esp + 0x14c], 0x10000
mov dword [esp + 0x150], 0x10
mov dword [esp + 0x154], 0x10
mov dword [esp + 0x158], 0x40000
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 8
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0x40000
mov dword [esp + 0x16c], 0x40000
mov dword [esp + 0x170], 8
mov dword [esp + 0x174], 8
mov dword [esp + 0x178], 0x80000
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0x800
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0x80000
mov dword [esp + 0x18c], 0x80000
mov dword [esp + 0x190], 0x800
mov dword [esp + 0x194], 0x800
test dl, 0x10
je 0x100026b3
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 0x100026d4
or edx, 0x20
xor edx, 0x20
mov ecx, edx
or ecx, 0x101080
test dl, 0x40
cmove ecx, edx
mov edx, ecx
or edx, 0x40000
test cl, 8
cmovne edx, ecx
mov ebx, edx
or ebx, 0x9c700
test dl, 0x20
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
cmovne ecx, eax
or ecx, 0x4000
mov eax, ecx
xor eax, 0x4000
test bl, 4
cmovne eax, ecx
lea ecx, [esp + 0x1c]
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 0x1000276f
or edx, dword [ecx + 4]
xor edx, dword [ecx + 8]
add ecx, 0x10
sub esi, 1
jne 0x10002760
mov esi, dword [edi + 0xa4]
or edx, ebp
xor edx, dword [edi + 0xa8]
and esi, 0xfff00000
movsd xmm1, qword [edi + 0xb0]
and edx, 0xfffff
xor dword [edi + 0xa8], edx
xorps xmm0, xmm0
or esi, ebp
comisd xmm0, xmm1
ja 0x10002819
movsd xmm2, qword [0x100de280]
comisd xmm1, xmm2
jae 0x10002819
movsd xmm0, qword [0x100de268]
comisd xmm0, xmm1
jb 0x100027cd
mov ecx, 0x1ff
jmp 0x1000281b
divsd xmm2, xmm1
movaps xmm0, xmm2
call fcn.100c7380
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [0x100de278]
call fcn.100c7380
movsd xmm1, qword [esp + 0x10]
xor ecx, ecx
divsd xmm1, xmm0
addsd xmm1, qword [0x100de270]
cvttsd2si eax, xmm1
test eax, eax
cmovns ecx, eax
mov eax, 0x1ff
cmp ecx, 0x200
cmovge ecx, eax
jmp 0x1000281b
xor ecx, ecx
shl ecx, 0x17
and esi, 0x7fffff
or ecx, esi
mov dword [edi + 0xa4], ecx
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c35e2
add esp, 0x18c
ret