Function at 0x100fb300
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, dword [edx]
call 0x100fb316
pop eax
mov esi, 6
mov dword [esp + 0x68], eax
cmp ebx, dword [edx + 4]
je 0x100fbab0
mov dword [esp + 0x44], ecx
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], ecx
jmp 0x100fb35f
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
cmp ebx, dword [edx + 4]
je 0x100fbaa7
lea eax, [ebx + 0x28]
mov dword [esp + 0xc], ebx
mov dword [edx], eax
mov edi, dword [edx + 8]
cmp dword [ebx + 0x1c], 0x80000000
jne 0x100fb470
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0x80000000
jne 0x100fb4a0
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov eax, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
shl eax, 5
add eax, ecx
test edx, edx
mov dword [esp + 0x54], eax
je 0x100fb416
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x100fb350
mov eax, ecx
mov ecx, dword [edi + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x10]
shl edi, 3
mov dword [esp + 0x14], edi
mov dword [esp + 4], ecx
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0x18]
add eax, 0x20
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp], edx
jmp 0x100fb3ea
inc esi
add edi, 0xfffffff8
je 0x100fb350
cmp dword [ecx + esi*8 + 4], ebx
jne 0x100fb3e0
push ebx
push dword [esp + 4]
push dword [ecx + esi*8]
call fcn.10100b6a
mov ecx, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x100fb3e0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
cmp eax, dword [esp + 0x54]
jne 0x100fb3c7
mov eax, dword [esp + 0x64]
mov ecx, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x1019914c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x60], 0
je 0x100fb4d0
mov eax, dword [0x1019914c]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x74]
mov edi, dword [edx + 0x6c]
mov ecx, dword [edx + 0x68]
mov edx, dword [edx + 0x70]
mov dword [esp], eax
jmp 0x100fb51b
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x24]
cmp dword [edi + 0x18], eax
jb 0x100fb350
push eax
push dword [edi + 0x14]
mov eax, dword [esp + 0x14]
push dword [eax + 0x20]
call fcn.10100b6a
add esp, 0xc
test eax, eax
jne 0x100fb350
jmp 0x100fb378
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x18], eax
jne 0x100fb350
push eax
push dword [edi + 0xc]
mov eax, dword [esp + 0x14]
push dword [eax + 0x14]
call fcn.10100b6a
add esp, 0xc
test eax, eax
jne 0x100fb350
jmp 0x100fb389
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
push 0x10
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov edx, dword [0x1019914c]
mov esi, dword fs:[0x2c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov esi, dword [esi + edx*4]
mov edx, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esi + 0x60], 1
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], edx
mov esi, dword [0x1019914c]
mov eax, dword fs:[0x2c]
movsd xmm0, qword [0x1018e5a0]
mov eax, dword [eax + esi*4]
movsd qword [esp + 0x20], xmm0
movq xmm0, qword [0x1018e5a8]
mov esi, ecx
add esi, 1
mov dword [eax + 0x68], esi
mov esi, edi
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x30], ecx
mov ecx, dword [esp]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
adc esi, 0
cmp dword [esp + 8], 0
mov dword [eax + 0x6c], esi
mov dword [esp + 0x3c], ecx
je 0x100fbabb
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100fb8e7
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x28]
mov esi, dword [ebx + 0x24]
lea ebx, [eax*8]
mov dword [esp + 0x4c], eax
mov dword [esp + 8], 0x1018e590
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], esi
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x10]
xor esi, esi
mov edi, dword [edx + 0x14]
lea eax, [edx + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp], edi
mov edi, dword [edx + 0x18]
jmp 0x100fb5da
inc esi
add ebx, 0xfffffff8
je 0x100fb8e7
cmp dword [ecx + esi*8 + 4], edi
jne 0x100fb5d0
push edi
push dword [esp + 4]
push dword [ecx + esi*8]
call fcn.10100b6a
mov ecx, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x100fb5d0
mov edx, dword [esp + 0x14]
cmp byte [edx], 7
jne 0x100fb614
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
jne 0x100fb5b1
jmp 0x100fba74
lea ecx, [esp + 0x70]
call fcn.100f4120
lea ecx, [esp + 0x71]
movzx eax, byte [esp + 0x70]
mov ebx, dword [esp + 0x1c]
movq xmm0, qword [ecx]
movq xmm1, qword [ecx + 7]
cmp eax, 8
movq qword [esp + 0xc8], xmm0
movq qword [esp + 0xcf], xmm1
je 0x100fb807
cmp eax, 7
je 0x100fb8e7
movsd xmm0, qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xcf]
lea ecx, [esp + 0x71]
mov edx, dword [esp + 0x34]
movsd qword [ecx + 0x1f], xmm1
movsd qword [ecx + 0x18], xmm0
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], esi
mov byte [esp + 0x88], al
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.100f9c70
add esp, 0xc
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 8]
je 0x100fb8cd
mov edi, eax
shr eax, 0x19
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 8], edx
movd xmm0, eax
mov dword [esp + 0x58], eax
mov eax, edi
xor edi, edi
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
mov dword [esp], ebx
and eax, ebx
mov dword [esp + 0x60], edi
movdqu xmm1, xmmword [edx + eax]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb edx, xmm2
test edx, edx
jne 0x100fb78f
cmp dword [esp + 0x14], 1
mov edi, dword [esp + 0x5c]
mov ecx, 1
je 0x100fb741
pmovmskb edx, xmm1
xor ecx, ecx
test edx, edx
setne cl
tzcnt edi, edx
add edi, eax
and edi, ebx
mov dword [esp + 0x14], ecx
pcmpeqd xmm2, xmm2
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
pcmpeqb xmm1, xmm2
pmovmskb edx, xmm1
test edx, edx
jne 0x100fb81e
mov edx, dword [esp + 8]
mov ebx, dword [esp]
lea eax, [eax + ecx + 0x10]
add ecx, 0x10
mov dword [esp + 0x5c], edi
mov edi, ecx
jmp 0x100fb703
mov ebx, dword [esp]
lea edi, [edx - 1]
mov eax, ecx
and di, dx
mov edx, edi
je 0x100fb71e
tzcnt edi, edx
mov ecx, eax
add edi, eax
mov eax, dword [esp + 8]
and edi, ebx
mov ebx, dword [esp + 0x18]
neg edi
lea edi, [edi + edi*4]
cmp ebx, dword [eax + edi*8 - 0x20]
mov ebx, dword [esp + 8]
jne 0x100fb780
cmp esi, dword [ebx + edi*8 - 0x18]
jne 0x100fb780
lea eax, [ebx + edi*8]
lea ecx, [esp + 0x71]
mov ebx, dword [esp + 0x1c]
movsd xmm1, qword [eax - 8]
movq xmm0, qword [eax - 0x10]
movq xmm2, qword [ecx + 0x17]
movsd qword [esp + 0xa8], xmm1
movq xmm1, qword [ecx + 0x1f]
movq qword [esp + 0xa0], xmm0
movq qword [eax - 0x10], xmm2
movq qword [eax - 8], xmm1
cmp byte [esp + 0xa0], 7
je 0x100fb807
lea ecx, [esp + 0xa0]
call fcn.100f0580
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
jne 0x100fb5b1
jmp 0x100fba74
mov edx, dword [esp + 8]
movzx eax, byte [edx + edi]
test al, al
js 0x100fb83a
movdqa xmm0, xmmword [edx]
pmovmskb eax, xmm0
tzcnt edi, eax
movzx eax, byte [edx + edi]
lea ecx, [esp + 0x71]
and al, 1
movsd xmm0, qword [ecx + 0x17]
movsd xmm1, qword [ecx + 0x1f]
movzx eax, al
lea ecx, [esp + 0xa4]
sub dword [esp + 0x28], eax
lea eax, [edi - 0x10]
and eax, dword [esp]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov ecx, dword [esp + 0x58]
mov byte [edx + edi], cl
mov byte [edx + eax + 0x10], cl
mov ecx, dword [esp + 4]
neg edi
inc dword [esp + 0x2c]
lea eax, [edi + edi*4]
mov dword [edx + eax*8 - 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + eax*8 - 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + eax*8 - 0x20], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + eax*8 - 0x1c], ecx
mov dword [edx + eax*8 - 0x18], esi
movq xmm0, qword [esp + 0xa0]
movq xmm1, qword [esp + 0xa8]
movq qword [edx + eax*8 - 0x14], xmm0
movq qword [edx + eax*8 - 0xc], xmm1
mov ecx, dword [esp + 0xb0]
mov dword [edx + eax*8 - 4], ecx
jmp 0x100fb807
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
mov edi, eax
call fcn.10117c10
mov edx, dword [esp + 0x20]
mov eax, edi
jmp 0x100fb6d1
lea edx, [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
movq xmm0, qword [edx]
movq xmm1, qword [edx + 8]
test ecx, ecx
mov dword [esp + 0x10], eax
movq qword [esp + 0xd8], xmm0
movq qword [esp + 0xe0], xmm1
je 0x100fba57
test esi, esi
mov dword [esp + 8], ecx
je 0x100fba25
mov ebx, dword [esp + 0x10]
movdqa xmm0, xmmword [ebx]
lea edi, [ebx + 0x10]
pmovmskb eax, xmm0
not eax
jmp 0x100fb963
mov edx, eax
tzcnt eax, edx
neg eax
lea eax, [eax + eax*4]
movzx ecx, byte [ebx + eax*8 - 0x10]
cmp ecx, 5
jae 0x100fb990
lea eax, [edx - 1]
dec esi
and eax, edx
test esi, esi
je 0x100fba25
test ax, ax
jne 0x100fb940
nop dword [eax + eax]
movdqa xmm0, xmmword [edi]
add ebx, 0xfffffd80
add edi, 0x10
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x100fb970
not eax
jmp 0x100fb940
lea eax, [ebx + eax*8]
jne 0x100fb9ad
mov ecx, dword [eax - 0xc]
lock dec dword [ecx]
jne 0x100fb955
mov dword [esp], edx
mov ecx, dword [eax - 0xc]
mov edx, dword [eax - 8]
call fcn.100154e0
jmp 0x100fba1d
mov ecx, dword [eax - 0xc]
mov dword [esp], edx
mov eax, dword [ecx]
mov dword [esp + 4], ecx
cmp eax, 3
ja 0x100fb9e6
mov eax, dword [eax*4 + 0x100fbb18]
add eax, dword [esp + 0x68]
jmp eax
mov eax, dword [ecx + 0x120]
lock dec dword [eax]
jne 0x100fba0e
mov edx, dword [esp + 4]
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x120]
mov edx, dword [edx + 0x124]
call fcn.100154e0
mov ecx, dword [esp + 4]
push ecx
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [esp]
jmp 0x100fb955
mov esi, dword [esp + 8]
mov ecx, 0x28
lea eax, [esi + 1]
mul ecx
add eax, 0xf
and eax, 0xfffffff0
add esi, eax
cmp esi, 0xffffffef
je 0x100fba57
mov ecx, dword [esp + 0x10]
sub ecx, eax
push dword [ecx - 4]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax]
cmp dword [ecx], eax
jbe 0x100fb350
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
jmp 0x100fb350
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x20]
movq xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0x2c]
movq xmm1, qword [ecx]
movq xmm2, qword [ecx + 8]
test edx, edx
movq qword [esp + 0xb8], xmm1
movq qword [esp + 0xc0], xmm2
je 0x100fba57
jmp 0x100fbae5
mov ecx, dword [esp + 0x44]
mov esi, 6
mov dword [ecx + 0x20], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x30]
mov edx, 0x1018e590
movq xmm0, qword [eax]
movq xmm1, qword [eax + 8]
xor eax, eax
movq qword [esp + 0xb8], xmm0
movq qword [esp + 0xc0], xmm1
pxor xmm0, xmm0
movq xmm1, qword [esp + 0xb8]
mov ecx, dword [esp + 0x44]
movq xmm2, qword [esp + 0xc0]
mov esi, dword [esp + 0xc]
movq qword [ecx + 0x18], xmm2
movq qword [ecx + 0x10], xmm1
mov esi, dword [esi]
mov dword [ecx], edx
movq qword [ecx + 4], xmm0
mov dword [ecx + 0xc], eax
jmp 0x100fbab0