Function at 0x4333d0
Capabilities:
Check os version
Get common file path

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 0x5bb080
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c8
mov eax, dword [0x6441a4]
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 - 0x254], edx
mov dword [ebp - 0x258], ecx
push 0x110
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.004d00d0
add esp, 0xc
mov dword [ebp - 0x138], 0x114
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x134], 6
jae 0x43345a
xor eax, eax
jmp 0x433798
xor edi, edi
mov dword [ebp - 0x230], 0x3000
push edi
push str.Progman
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], 0x3000
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x433796
lea ecx, [ebp - 0x234]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x22c]
call fcn.00433240
test eax, eax
je 0x433796
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [ebp - 0x230]
mov ecx, eax
call fcn.00433240
test eax, eax
je 0x433796
cmp dword [ebp - 0x230], 0x3000
jne 0x433796
cmp dword [ebp - 0x22c], 0x2000
jne 0x433796
push dword [ebp - 0x234]
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x238], esi
test esi, esi
je 0x433796
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], edi
push eax
push 0xf01ff
push esi
mov dword [ebp - 0x22c], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43378f
lea eax, [ebp - 0x22c]
push eax
push 1
push 2
push edi
push 0xf01ff
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4337b6
mov ecx, dword [ebp - 0x22c]
call fcn.00432df0
push 0xffffffffffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x278], edi
push str.AdvApi32.dll
lea ecx, [ebp - 0x278]
movups xmmword [ebp - 0x274], xmm0
call fcn.00406c40
push 0x20a
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004d00d0
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jle 0x43367c
push 0xffffffffffffffff
lea eax, [ebp - 0x228]
mov dword [ebp - 0x240], edi
xorps xmm0, xmm0
lea ecx, [ebp - 0x250]
push eax
movups xmmword [ebp - 0x250], xmm0
call fcn.00406c40
mov ecx, dword [ebp - 0x24c]
cmp ecx, 1
jl 0x43360b
mov eax, dword [ebp - 0x250]
push 1
push 0x6294f0
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
push eax
call fcn.004d9229
add esp, 0xc
test eax, eax
je 0x43361b
push 0x6294f0
lea ecx, [ebp - 0x250]
call fcn.00406cf0
mov esi, dword [ebp - 0x278]
test esi, esi
je 0x43362c
mov eax, esi
cmp word [esi], di
jne 0x433631
mov eax, 0x628fa4
push eax
lea ecx, [ebp - 0x250]
call fcn.00406cf0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00406930
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x433662
push eax
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x433675
push eax
call fcn.004d2e13
add esp, 4
test esi, esi
je 0x4336a1
push esi
jmp 0x433699
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00406930
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x4336a1
push eax
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x4336b4
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x28c]
test esi, esi
je 0x4336cd
cmp word [esi], 0
mov eax, esi
jne 0x4336d2
mov eax, 0x628fa4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x43374d
push str.CreateProcessWithTokenW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x25c], eax
test eax, eax
je 0x433746
push 0x44
lea eax, [ebp - 0x2d8]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x24c], xmm0
call fcn.004d00d0
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0
push 0
push dword [ebp - 0x254]
push dword [ebp - 0x258]
push 0
push dword [ebp - 0x22c]
call dword [ebp - 0x25c]
mov dword [ebp - 0x23c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x22c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test esi, esi
je 0x433768
push esi
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x280]
test eax, eax
je 0x43377b
push eax
call fcn.004d2e13
add esp, 4
mov esi, dword [ebp - 0x238]
push dword [ebp - 0x230]
call edi
mov edi, dword [ebp - 0x23c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
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.004cdf2e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433781