Function at 0x10033b60
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e56b9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1c8], ecx
mov eax, dword [ebx + 0x10]
push 1
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x18], 0
call fcn.100ba085
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [eax], 0
lea eax, [ebp - 0x1a4]
push 0x118
push 0
push eax
call fcn.100bc780
add esp, 0xc
mov dword [ebp - 0x1a8], 0x11c
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10033c2b
cmp dword [ebp - 0x1a4], 6
mov eax, dword [ebp - 0x18]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.10039130
test al, al
je 0x10033f35
mov edi, dword [ebp - 0x1c4]
test edi, edi
je 0x10033f35
push str.Advapi32.dll
lea ecx, [ebp - 0x1f0]
call fcn.10009390
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1f0]
push eax
call fcn.1003c5a0
mov ecx, eax
call fcn.1003c660
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f0]
call fcn.10002b50
test esi, esi
je 0x10033f35
push 0x101083b0
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10033f35
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 0x1bd], 0
push ecx
push 1
push 2
push 0
push 0x18b
push edi
mov dword [ebp - 0x1ac], 0
call eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10033cff
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x1cc], esi
mov byte [ebp - 0x1bd], 1
jmp 0x10033d0e
mov eax, dword [ebp - 0x1ac]
test eax, eax
je 0x10033d0c
push eax
call edi
xor esi, esi
push dword [ebp - 0x1c4]
call edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10038520
cmp byte [ebp - 0x1bd], 0
je 0x10033f44
test esi, esi
je 0x10033f44
xorps xmm0, xmm0
lea ecx, [ebp - 0x208]
push str.Advapi32.dll
movups xmmword [ebp - 0x1bc], xmm0
call fcn.10009390
mov dword [ebp - 4], 2
lea eax, [ebp - 0x208]
push eax
call fcn.1003c5a0
mov ecx, eax
call fcn.1003c660
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.10002b50
test esi, esi
je 0x10033ed7
push 0x10108398
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10033ed7
mov esi, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x70]
push 0
push 0
push 0x10
push ecx
push 0
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x70], xmm0
call eax
push str.CreateProcessWithTokenW
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1d0], eax
test eax, eax
je 0x10033ed7
push dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x88]
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0x44
xor eax, eax
movlpd qword [ebp - 0x5c], xmm0
mov word [ebp - 0x1e], ax
mov eax, 5
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x2e], xmm0
movlpd qword [ebp - 0x26], xmm0
mov word [ebp - 0x30], ax
mov dword [ebp - 0x34], 1
call fcn.10033a30
add esp, 4
mov dword [ebp - 4], 3
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x88]
call fcn.10002b10
mov ecx, dword [ebp - 0x1c8]
push eax
call fcn.10002b10
push eax
push 1
push esi
call dword [ebp - 0x1d0]
test eax, eax
setne byte [ebp - 0x1bd]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10002b50
cmp byte [ebp - 0x1bd], 0
je 0x10033ed7
push dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x1bc]
xor edx, edx
push 0
call fcn.100344d0
add esp, 8
push dword [ebp - 0x1bc]
call edi
push dword [ebp - 0x1b8]
call edi
push esi
call edi
mov al, byte [ebp - 0x1bd]
jmp 0x10033f46
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1c8]
push eax
push 0
mov dword [ebp - 0x1c4], 0
call fcn.10033fe0
add esp, 8
mov byte [ebp - 0x1bd], al
test al, al
je 0x10033f25
push dword [ebp - 0x1d8]
mov esi, dword [ebp - 0x1c4]
xor edx, edx
push 0
mov ecx, esi
call fcn.100344d0
add esp, 8
push esi
call edi
push dword [ebp - 0x1cc]
call edi
mov al, byte [ebp - 0x1bd]
jmp 0x10033f46
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10038520
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ba074
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret