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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x1acd344]
xor eax, esp
mov dword [esp + 0x150], eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
xor esi, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea esi, [esp + 0xd4]
mov dword [esp + 0x48], esi
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], 0x800000
mov dword [esp + 0x40], 0
mov word [esp + 0x18], si
mov dword [esp + 0x30], esi
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
jne 0x19f7e27
test edx, edx
jne 0x19f7f38
test eax, eax
jne 0x19f7f3f
test ebx, ebx
je 0x19f79e9
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x80], 0x20
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], eax
xor eax, eax
mov word [esp + 0xb8], ax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x84], 0x20
mov dword [esp + 0x70], 0x200000
test eax, eax
je 0x19f7d41
movzx edx, word [eax + 2]
mov ecx, dword [eax + 4]
cmp edx, 2
jb 0x1a48081
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x19f7a6b
xor esi, esi
mov word [ecx], si
xor ecx, ecx
mov word [esp + 0x8e], dx
mov edx, dword [esp + 0x38]
mov word [esp + 0x8c], cx
test dword [ebp + 8], 0xfffffffe
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ecx
mov byte [esp + 0xb4], 1
jne 0x1a48092
test edi, edi
je 0x1a4809c
test eax, eax
je 0x19f7d8d
test ebx, ebx
je 0x19f7aca
test ecx, ecx
je 0x1a480ae
mov eax, dword [edi]
xor cl, cl
mov edi, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x12], cl
test eax, eax
je 0x19f7b30
cmp word [eax], 0
je 0x19f7b30
lea eax, [esp + 0x40]
mov byte [esp + 0x13], cl
push eax
push 0x19b10f8
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.019f8c90
mov esi, eax
test esi, esi
js 0x19f7da7
mov byte [esp + 0x13], 1
xor esi, esi
mov edi, dword [esp + 0x18]
test esi, esi
js 0x1a480b8
cmp byte [esp + 0x13], 0
je 0x19f7db8
mov cl, byte [esp + 0x12]
xor esi, esi
test esi, esi
js 0x19f7c7d
test cl, cl
jne 0x19f7dfd
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x12], 0
jne 0x1a480c1
mov ax, word [esp + 0x14]
cmp ax, 2
jb 0x19f7b7a
movzx ecx, word [edi]
cmp ecx, 0x5c
je 0x19f7e73
cmp ecx, 0x2f
je 0x19f7e73
cmp ax, 4
jb 0x19f7bfd
cmp word [edi], 0
je 0x19f7bfd
cmp word [edi + 2], 0x3a
jne 0x19f7bfd
cmp ax, 6
jb 0x19f7bfd
movzx eax, word [edi + 4]
cmp eax, 0x5c
jne 0x1a48104
mov dword [esp + 0x20], 2
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.019f7740
mov esi, eax
test esi, esi
js 0x19f7c07
cmp dword [esp + 0x20], 6
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x2c], esi
je 0x19f7ec5
mov cx, word [esp + 0x14]
mov dx, word [esp + 0x2c]
cmp cx, dx
ja 0x19f7f1b
mov al, byte [esp + 0x12]
xor esi, esi
test al, al
jne 0x19f7c13
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x19f7e12
test esi, esi
js 0x19f7c7d
test byte [ebp + 8], 1
je 0x19f7c3f
mov eax, dword fs:[0x30]
cmp dword [eax + 0x10], 0
je 0x19f7c3f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x10]
test dword [eax + 8], 0x1000
jne 0x1a48112
test byte [esp + 0x34], 1
mov edi, dword [ebp + 0x14]
jne 0x19f7e2e
test edi, edi
je 0x19f7d9a
xor eax, eax
lea ecx, [esp + 0x8c]
mov dl, al
push ecx
push dword [esp + 0x40]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.019f7fc0
mov esi, eax
test esi, esi
jns 0x19f7e2e
cmp byte [esp + 0xb4], 0
je 0x19f7caf
mov eax, dword [esp + 0x94]
test eax, eax
je 0x19f7c9f
cmp eax, dword [esp + 0x98]
jne 0x1a48155
mov eax, dword [esp + 0x98]
test eax, eax
je 0x19f7caf
xor ecx, ecx
mov word [eax], cx
push 0x2c
lea eax, [esp + 0x90]
push 0
push eax
call fcn.01a28e60
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x1a48168
mov eax, dword [esp + 0x78]
test eax, eax
je 0x19f7cf7
cmp eax, dword [esp + 0x7c]
jne 0x19f7f99
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x74], eax
test eax, eax
je 0x19f7d08
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [esp + 0x70], ax
mov ax, word [esp + 0x84]
mov word [esp + 0x72], ax
cmp esi, 0xc0150001
je 0x1a4817d
mov ecx, dword [esp + 0x15c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.01a24a40
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0xa4]
mov dword [esp + 0x9c], 2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], ecx
xor ecx, ecx
mov dword [esp + 0xa0], 2
mov word [esp + 0xa4], cx
mov dword [esp + 0x8c], 0x20000
jmp 0x19f7a81
test ebx, ebx
jne 0x19f7aca
jmp 0x1a480a6
test ebx, ebx
jne 0x19f7c55
jmp 0x1a48136
cmp esi, 0xc0000225
je 0x19f7b13
jmp 0x19f7b15
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], eax
xor eax, eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x50]
push eax
push 2
lea eax, [esp + 0x78]
push eax
call fcn.01a10c30
mov esi, eax
test esi, esi
js 0x1a480b8
mov cl, 1
jmp 0x19f7b30
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jmp 0x19f7b42
push eax
call fcn.019d7800
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jmp 0x19f7c13
mov dword [ecx], esi
jmp 0x19f79ce
test ebx, ebx
je 0x19f7f4a
mov edi, dword [esp + 0x38]
test edi, edi
jne 0x19f7f67
lea ecx, [esp + 0x8c]
call fcn.01a1a2b7
mov esi, eax
test esi, esi
js 0x19f7c7d
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x1a4814a
xor esi, esi
test esi, esi
jns 0x19f7cc3
jmp 0x19f7c7d
cmp ax, 4
jb 0x19f7bfd
movzx ecx, word [edi + 2]
cmp ecx, 0x5c
jne 0x1a480cb
cmp ax, 6
jb 0x1a480f7
movzx ecx, word [edi + 4]
cmp ecx, 0x3f
jne 0x1a480d9
cmp ax, 8
jb 0x1a480ed
movzx ecx, word [edi + 6]
cmp ecx, 0x5c
jne 0x1a480e4
mov dword [esp + 0x20], 6
jmp 0x19f7ba8
mov edx, dword [esp + 0x18]
cmp word [edx + 0xa], 0x3a
jne 0x19f7bea
cmp word [edx + 0xc], 0x5c
jne 0x19f7bea
mov cx, word [esp + 0x14]
add edx, 8
mov esi, 0xfff8
mov dword [esp + 0x18], edx
mov dx, word [esp + 0x2c]
add cx, si
add word [esp + 0x16], si
add dx, si
add edi, 8
mov word [esp + 0x2c], dx
add word [esp + 0x2e], si
mov esi, dword [esp + 0x2c]
mov word [esp + 0x14], cx
jmp 0x19f7bf4
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x19f7fac
mov al, byte [esp + 0x12]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
jmp 0x19f7c01
mov dword [edx], esi
jmp 0x19f79d6
mov dword [eax], 0x208
jmp 0x19f79de
test edi, edi
je 0x19f7e36
mov eax, dword [esp + 0x90]
cmp eax, dword [edi + 4]
je 0x19f7e36
jmp 0x1a48140
lea eax, [esp + 0x1c]
push eax
push 0x19b10b0
lea eax, [esp + 0x94]
push eax
push 1
call fcn.019f8c90
mov esi, eax
test esi, esi
js 0x19f7c7d
movzx eax, word [esp + 0x1c]
shr eax, 1
inc eax
mov dword [edi], eax
jmp 0x19f7e42
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
call fcn.019f1410
jmp 0x19f7ce1
mov al, 1
jmp 0x19f7f2b
lea ecx, [esp + 0xa4]
mov edx, 2
jmp 0x19f7a3f
mov esi, 0xc000000d
jmp 0x19f7e66
mov esi, 0xc000000d
jmp 0x19f7e66
test edx, edx
je 0x19f7aca
mov esi, 0xc000000d
jmp 0x19f7e66
mov cl, byte [esp + 0x12]
jmp 0x19f7b32
mov esi, 0xc000000d
jmp 0x19f7c07
cmp ecx, 0x2f
jne 0x19f7bfd
jmp 0x19f7e8a
cmp ecx, 0x2e
je 0x19f7ea1
jmp 0x1a480f7
cmp ecx, 0x2f
je 0x19f7eb8
cmp ax, 6
je 0x19f7bfd
mov dword [esp + 0x20], 1
jmp 0x19f7ba8
cmp eax, 0x2f
jne 0x19f7bfd
jmp 0x19f7ba0
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x18]
call fcn.01a68d7f
mov esi, eax
test esi, esi
js 0x19f7c7d
jmp 0x19f7c3f
mov eax, 1
jmp 0x19f7c57
mov esi, 0xc0000023
jmp 0x19f7e66
mov eax, dword [esp + 0x34]
mov dword [ecx], eax
jmp 0x19f7e64
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
call fcn.019f1410
jmp 0x19f7c9f
push eax
call fcn.019d7800
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jmp 0x19f7ccf
push 0x19bfc00
push 0x1b2
push 0x19bfc28
push 0x19bfc44
call fcn.01a78e60
mov esi, 0xc00000e5
jmp 0x19f7e66