Function at 0x10001b00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10003510
mov eax, dword [ebp - 4]
mov dword [eax], 0x1000f2b8
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 2
mov edx, dword [ebp - 4]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1e], 0
push 0x114
push 0
lea ecx, [ebp - 0x124]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 5
jne 0x10001bb3
cmp dword [ebp - 0x11c], 1
jb 0x10001bb3
push 0xf0000000
push 0x18
mov ecx, 0x1000f218
call fcn.10001ae0
push eax
push 0
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
call fcn.10001a40
mov ecx, dword [eax + 0x3c]
call ecx
mov dword [ebp - 0x10], eax
jmp 0x10001bdb
push 0xf0000000
push 0x18
mov ecx, 0x1000f25c
call fcn.10001ae0
push eax
push 0
mov edx, dword [ebp - 4]
add edx, 0x20
push edx
call fcn.10001a40
mov eax, dword [eax + 0x3c]
call eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
push 0x8000001
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call fcn.10001a40
mov ecx, dword [eax + 0x28]
call ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call fcn.10001a90
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_malloc
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call fcn.10001a90
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebp - 4]
add ecx, 0x18
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 8
push 1
call fcn.10001a90
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call sub.MSVCRT.dll_malloc
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
add edx, 0x18
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
push 8
push 1
call fcn.10001a90
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp - 8]
push ecx
call sub.MSVCRT.dll_free
add esp, 4
mov dword [ebp - 8], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 8
push 0x10001
call fcn.10001a90
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_malloc
add esp, 4
mov dword [ebp - 8], eax
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 8
push 0x10001
call fcn.10001a90
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x10001
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.10001a90
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 8]
push eax
call sub.MSVCRT.dll_free
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8