Function at 0x447ddd
Capabilities:
Check os version
Compare security identifiers
Create process on windows
Create thread
Enumerate processes
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44dca5
mov eax, dword fs:[0]
push eax
sub esp, 0xdf0
mov eax, dword [0x463060]
xor eax, esp
mov dword [esp + 0xde8], eax
push ebx
push esi
push edi
mov eax, dword [0x463060]
xor eax, esp
push eax
lea eax, [esp + 0xe00]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x54], 0
mov dword [esp + 0x34], edi
je 0x447e50
push 0x1a
pop esi
call fcn.004439ba
push 0x19
pop esi
mov ebx, eax
call fcn.004439ba
push 0
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
jmp 0x4498e5
cmp byte [edi + 0x68], 0
je 0x447e5d
xor eax, eax
jmp 0x4498e5
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3023
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 4]
call esi
push 2
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 4]
call esi
push 0x3024
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x7dc], ax
lea eax, [esp + 0x7de]
push eax
call fcn.0042e560
add esp, 0xc
push 0x104
lea eax, [esp + 0x7d8]
push eax
mov esi, 0x3ec
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [esp + 0x7d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x7d4]
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esp + 0x7d4]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x447f0e
sub eax, ecx
mov esi, 0x464780
sar eax, 1
lea ecx, [esp + 0x7d4]
mov edx, esi
call fcn.004020dd
cmp word [esp + 0x7d4], 0
jne 0x447fb9
push 0x1a
pop esi
call fcn.004439ba
push 0x1b
pop esi
mov dword [esp + 0x14], eax
call fcn.004439ba
push 0
push dword [esp + 0x18]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push 0x3023
push eax
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 4]
call esi
push 2
push eax
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 4]
call esi
push 0x3024
push eax
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3ec
push dword [edi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x447e48
lea ecx, [esp + 0x7d4]
call fcn.00445f2f
test eax, eax
jne 0x447fd8
push 0x1a
pop esi
call fcn.004439ba
push 0x1c
jmp 0x447f44
lea eax, [esp + 0x7d4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x447ff3
cmp eax, 0xb7
jne 0x447fc9
xor eax, eax
push 0x206
mov word [esp + 0xbf0], ax
xor ebx, ebx
lea eax, [esp + 0xbf2]
push ebx
push eax
call fcn.0042e560
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [esp + 0xbf0]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x45aafc
lea eax, [esp + 0x13c]
push esi
push eax
call fcn.0040386a
add esp, 0xc
lea eax, [esp + 0x138]
push eax
lea esi, [esp + 0x58]
mov dword [esp + 0xe0c], ebx
call fcn.0040268b
xor eax, eax
mov byte [esp + 0xe08], 1
push 0x208
mov word [esp + 0x9e0], ax
lea eax, [esp + 0x9e2]
push ebx
push eax
call fcn.0042e560
add esp, 0xc
push edi
lea eax, [esp + 0x9e0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [esp + 0x9dc]
push eax
lea esi, [esp + 0x120]
call fcn.0040216b
push str._regsvr32.exe
mov eax, esi
push eax
mov byte [esp + 0xe10], 2
call fcn.0040174a
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x4480c7
lea eax, [esp + 0x58]
push 0x45bc84
push eax
call fcn.0042d093
pop ecx
pop ecx
test eax, eax
je 0x448190
mov edi, 0x45bc88
push edi
lea esi, [esp + 0x7c]
call fcn.0040216b
mov dword [esp + 0x14], eax
push edi
lea esi, [esp + 0xe0]
mov byte [esp + 0xe0c], 3
call fcn.0040216b
lea ecx, [esp + 0x54]
push ecx
push eax
lea eax, [esp + 0x100]
push eax
mov byte [esp + 0xe14], 4
call fcn.00405043
add esp, 0xc
mov byte [esp + 0xe08], 5
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00405043
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe10], 6
call fcn.004025ff
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x40]
call fcn.004026e6
push ebx
push edi
lea esi, [esp + 0x100]
call fcn.004026e6
push ebx
push edi
lea esi, [esp + 0xe4]
call fcn.004026e6
push ebx
push edi
lea esi, [esp + 0x80]
mov byte [esp + 0xe10], 2
call fcn.004026e6
push str.__u
lea eax, [esp + 0x120]
push eax
call fcn.0040174a
push str.__s
lea eax, [esp + 0x120]
push eax
call fcn.0040174a
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x124]
call fcn.0040229a
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
sub esp, 0x1c
mov ecx, eax
mov ebx, esp
mov dword [esp + 0x30], esp
call fcn.00405106
lea ebx, [esp + 0x94]
call fcn.0040508e
add esp, 0x1c
push str.SYSTEM
push 6
mov byte [esp + 0xe10], 7
mov ecx, dword [eax + 0x14]
pop edi
call fcn.004021b0
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea esi, [esp + 0x80]
inc bl
mov byte [esp + 0xe10], 2
call fcn.004026e6
test bl, bl
je 0x448b17
sub esp, 0x1c
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040268b
lea edi, [esp + 0x94]
call fcn.004028c5
add esp, 0x1c
mov byte [esp + 0xe08], 8
cmp dword [eax + 0x18], 0x10
jb 0x448269
mov edi, dword [eax + 4]
mov dword [esp + 0x2c], edi
jmp 0x448272
add eax, 4
mov dword [esp + 0x2c], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x448b06
push 0x103
lea eax, [esp + 0x6d1]
push esi
push eax
mov byte [esp + 0x6d8], 0
call fcn.0042e560
mov eax, edi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44829f
sub eax, ecx
cmp eax, 2
jbe 0x4482cb
cmp byte [edi + 1], 0x3a
jne 0x4482cb
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042cdbf
add esp, 0xc
jmp 0x4482fc
push 0x104
lea eax, [esp + 0x6d0]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x6cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push edi
lea eax, [esp + 0x6d0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [esp + 0x4a4]
push esi
push eax
call fcn.0042e560
mov edi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
add esp, 0xc
lea eax, [esp + 0x49c]
push eax
mov dword [esp + 0x4a0], 0x114
mov dword [esp + 0x24], esi
call edi
test eax, eax
je 0x448348
cmp dword [esp + 0x4a0], 6
jne 0x448348
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x20], esi
jne 0x4485eb
push ebx
lea eax, [esp + 0x15c]
push esi
push eax
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x158], 0x114
call edi
test eax, eax
je 0x448398
cmp dword [esp + 0x158], 5
jne 0x448398
cmp dword [esp + 0x15c], esi
je 0x44850d
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 1
push esi
push esi
xor ebx, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, esi
je 0x4483f3
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x4483e5
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x4483dd
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x4483cd
jmp 0x4483e5
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x4483f3
mov eax, edi
jmp 0x448424
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, esi
jne 0x448416
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x448424
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
cmp eax, esi
je 0x44840e
xor eax, eax
cmp eax, esi
je 0x4487a0
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x448446
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x448798
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor edi, edi
mov dword [esp + 0x24], 0x490
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x26c]
push eax
push ebx
mov dword [esp + 0x274], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x4484bc
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x4484af
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x448483
jmp 0x4484c6
mov edi, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x4484c6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
push edi
push esi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x44843b
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x448505
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push edi
call ebx
jmp 0x4485e2
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x44843b
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x24], 0x490
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x26c]
push eax
push edi
mov dword [esp + 0x274], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x448596
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x448589
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x44855d
jmp 0x4485a0
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x4485a0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push ebx
push esi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x44843b
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x4485df
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push ebx
call edi
mov eax, dword [esp + 0x18]
jmp 0x448798
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 1
push esi
push esi
mov dword [esp + 0x30], esi
xor ebx, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, esi
je 0x44864a
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x44863c
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x448634
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x448624
jmp 0x44863c
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44864a
mov eax, edi
jmp 0x44867b
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, esi
jne 0x44866d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44867b
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
cmp eax, esi
je 0x448665
xor eax, eax
cmp eax, esi
je 0x44876b
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x44869d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x448763
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x24], 0x490
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x26c]
push eax
push edi
mov dword [esp + 0x274], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x448713
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x448706
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4486da
jmp 0x44871d
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x44871d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push ebx
push esi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x448692
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x44875c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push ebx
call edi
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x448af6
lea eax, [esp + 0x114]
push eax
push 4
lea eax, [esp + 0x38]
push eax
push 0x13
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x448792
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x448af6
push 0x40
lea eax, [esp + 0x9c]
push esi
push eax
mov dword [esp + 0xa0], 0x44
call fcn.0042e560
xor eax, eax
mov dword [esp + 0x44], esi
add esp, 0xc
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
mov ebx, dword [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [esp + 0x13c]
push eax
mov byte [esp + 0x53], 0
mov dword [esp + 0x48], esi
mov byte [esp + 0x140], 0
mov byte [esp + 0x141], 0
mov byte [esp + 0x142], 0
mov byte [esp + 0x143], 0
mov byte [esp + 0x144], 0
mov byte [esp + 0x145], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4488b2
lea eax, [esp + 0x18]
push eax
push esi
push esi
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x448851
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x4488b2
push dword [esp + 0x18]
push 0x40
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push edi
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4488a7
mov dword [esp + 0x30], esi
cmp dword [edi], esi
jbe 0x4488a7
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4488a2
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
add ebx, 8
cmp eax, dword [edi]
jb 0x448881
jmp 0x4488a7
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x4488b2
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [esp + 0x1c], esi
je 0x4488c2
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x4489e9
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
push 1
push esi
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
cmp eax, esi
jne 0x448943
push pe_nt_image_headers32
lea eax, [esp + 0x5bc]
push esi
push eax
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x5b4]
push eax
mov dword [esp + 0x5b8], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x44893d
cmp dword [esp + 0x5b8], 6
jne 0x44893d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44897b
mov dword [esp + 0x20], esi
jmp 0x44897f
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x30], esi
jbe 0x448973
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x448967
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x30]
jb 0x448957
jmp 0x448973
imul eax, eax, 0xc
mov eax, dword [eax + edx]
mov dword [esp + 0x20], eax
xor edi, edi
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, edi
cmp eax, esi
jne 0x4489e9
lea eax, [esp + 0x18]
push eax
push 0xa
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp dword [esp + 0x18], esi
je 0x4489e9
lea eax, [esp + 0x1c]
push eax
push 1
push 1
push esi
push 0x2000000
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [esp + 0x18]
cmp dword [esp + 0x20], esi
jne 0x4489c4
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4489e9
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 4
lea eax, [esp + 0x24]
push eax
push 0xc
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x4489e9
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
push str.userenv.dll
mov dword [esp + 0xa0], str.Winsta0Default
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x448a58
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [esp + 0x20]
mov ebx, eax
call edi
mov dword [esp + 0x20], eax
cmp ebx, esi
je 0x448a58
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x448a54
mov dword [esp + 0x14], 0x430
jmp 0x448a58
mov dword [esp + 0x10], esi
mov edi, 0x103
push edi
lea eax, [esp + 0x159]
push esi
push eax
mov byte [esp + 0x160], 0
call fcn.0042e560
add esp, 0xc
push dword [esp + 0x2c]
lea eax, [esp + 0x158]
push edi
push eax
call fcn.0042cdbf
add esp, 0xc
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x98]
push eax
push esi
push dword [esp + 0x1c]
lea eax, [esp + 0x164]
push dword [esp + 0x24]
push esi
push esi
push esi
push eax
push esi
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp dword [esp + 0x38], esi
je 0x448ac8
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x448ad8
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x20], esi
je 0x448ae6
push dword [esp + 0x10]
call dword [esp + 0x24]
cmp dword [esp + 0x1c], esi
je 0x448af6
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x448b06
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
push 1
lea ecx, [esp + 0x80]
call fcn.00401ccf
jmp 0x448b8d
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [esp + 0x98]
push esi
push eax
call fcn.0042e560
mov eax, dword [esp + 0x12c]
add esp, 0xc
cmp dword [esp + 0x134], 8
mov dword [esp + 0x94], edi
jae 0x448b4d
lea eax, [esp + 0x120]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x98]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x448b8d
push 0xdbba0
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [esp + 0x3c]
call esi
xor ebx, ebx
push 0
inc ebx
push ebx
lea esi, [esp + 0x124]
call fcn.004026e6
push 0
push ebx
lea esi, [esp + 0x5c]
mov byte [esp + 0xe10], 0
call fcn.004026e6
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xbec]
push eax
lea ecx, [edi + 0x5c]
call fcn.0044baa5
test eax, eax
jge 0x448c01
push 0x1a
pop esi
call fcn.004439ba
push 0x1d
pop esi
mov dword [esp + 0x34], eax
call fcn.004439ba
push 0x10
push dword [esp + 0x38]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push 0
jmp 0x4498d6
push dword [esp + 0x7d4]
call fcn.0042d080
movzx eax, ax
add eax, 0xffffffbf
pop ecx
cmp ax, 0x19
ja 0x448cda
mov eax, edi
call fcn.00445a72
push dword [esp + 0x7d4]
mov dword [esp + 0x118], eax
mov esi, edx
call fcn.004457da
pop ecx
cmp edx, esi
ja 0x448d0a
jb 0x448c52
cmp eax, dword [esp + 0x114]
jae 0x448d0a
push 9
pop esi
call fcn.004439ba
push 0x28
pop esi
mov dword [esp + 0x34], eax
call fcn.004439ba
push 0
push dword [esp + 0x38]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3023
push eax
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0x3024
push eax
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3ec
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x448bfa
push 9
pop esi
call fcn.004439ba
push 0x27
pop esi
mov dword [esp + 0x34], eax
call fcn.004439ba
push 0x124
push dword [esp + 0x38]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x448c76
push 0x3f0
push dword [edi + 4]
mov dword [edi + 0x54], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push eax
call esi
push 0x3ee
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call esi
xor esi, esi
push esi
push 0x64
push 0x64
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push esi
push esi
push edi
push fcn.00445be9
push esi
push esi
mov dword [edi + 0x64], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
je 0x448d65
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x138]
push eax
lea esi, [esp + 0x58]
call fcn.0040268b
xor eax, eax
push 0x208
mov byte [esp + 0xe0c], 9
push eax
mov word [esp + 0x9e4], ax
lea eax, [esp + 0x9e6]
push eax
call fcn.0042e560
add esp, 0xc
push 0x104
lea eax, [esp + 0x9e0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [esp + 0x9dc]
push eax
lea esi, [esp + 0x120]
call fcn.0040216b
push str._regsvr32.exe
mov eax, esi
push eax
mov byte [esp + 0xe10], 0xa
call fcn.0040174a
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x448de9
lea eax, [esp + 0x58]
push 0x45bc84
push eax
call fcn.0042d093
pop ecx
pop ecx
test eax, eax
je 0x448eb4
mov edi, 0x45bc88
push edi
lea esi, [esp + 0x3c]
call fcn.0040216b
mov dword [esp + 0x34], eax
push edi
lea esi, [esp + 0xfc]
mov byte [esp + 0xe0c], 0xb
call fcn.0040216b
lea ecx, [esp + 0x54]
push ecx
push eax
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0xe14], 0xc
call fcn.00405043
add esp, 0xc
mov byte [esp + 0xe08], 0xd
push dword [esp + 0x34]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00405043
add esp, 0xc
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe10], 0xe
call fcn.004025ff
push edi
push ebx
lea esi, [esp + 0x80]
call fcn.004026e6
push edi
push ebx
lea esi, [esp + 0xe4]
call fcn.004026e6
push edi
push ebx
lea esi, [esp + 0x100]
call fcn.004026e6
push edi
push ebx
lea esi, [esp + 0x40]
mov byte [esp + 0xe10], 0xa
call fcn.004026e6
push 0x45bc8c
lea eax, [esp + 0x120]
push eax
call fcn.0040174a
push str.__s
lea eax, [esp + 0x120]
push eax
call fcn.0040174a
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x124]
call fcn.0040229a
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
sub esp, 0x1c
mov ecx, eax
mov ebx, esp
mov dword [esp + 0x130], esp
call fcn.00405106
lea ebx, [esp + 0x94]
call fcn.0040508e
add esp, 0x1c
push str.SYSTEM
push 6
mov byte [esp + 0xe10], 0xf
mov ecx, dword [eax + 0x14]
pop edi
call fcn.004021b0
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea esi, [esp + 0x80]
inc bl
mov byte [esp + 0xe10], 0xa
call fcn.004026e6
test bl, bl
je 0x449843
sub esp, 0x1c
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x130], esp
push eax
call fcn.0040268b
lea edi, [esp + 0x94]
call fcn.004028c5
add esp, 0x1c
mov byte [esp + 0xe08], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x448f93
mov edi, dword [eax + 4]
mov dword [esp + 0x30], edi
jmp 0x448f9c
add eax, 4
mov dword [esp + 0x30], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x449830
push 0x103
lea eax, [esp + 0x6d1]
push esi
push eax
mov byte [esp + 0x6d8], 0
call fcn.0042e560
mov eax, edi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448fc9
sub eax, ecx
cmp eax, 2
jbe 0x448ff5
cmp byte [edi + 1], 0x3a
jne 0x448ff5
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042cdbf
add esp, 0xc
jmp 0x449026
push 0x104
lea eax, [esp + 0x6d0]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x6cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push edi
lea eax, [esp + 0x6d0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [esp + 0x5bc]
push esi
push eax
call fcn.0042e560
mov edi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
add esp, 0xc
lea eax, [esp + 0x5b4]
push eax
mov dword [esp + 0x5b8], 0x114
mov dword [esp + 0x18], esi
call edi
test eax, eax
je 0x449072
cmp dword [esp + 0x5b8], 6
jne 0x449072
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x14], esi
jne 0x449315
push ebx
lea eax, [esp + 0x15c]
push esi
push eax
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x158], 0x114
call edi
test eax, eax
je 0x4490c2
cmp dword [esp + 0x158], 5
jne 0x4490c2
cmp dword [esp + 0x15c], esi
je 0x449237
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push 1
push esi
push esi
xor ebx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x44911d
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44910f
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x449107
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x4490f7
jmp 0x44910f
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44911d
mov eax, edi
jmp 0x44914e
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, esi
jne 0x449140
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44914e
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
test eax, eax
je 0x449138
xor eax, eax
cmp eax, esi
je 0x4494ca
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x449170
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4494c2
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor edi, edi
mov dword [esp + 0x1c], 0x490
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x26c]
push eax
push ebx
mov dword [esp + 0x274], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x4491e6
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x4491d9
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4491ad
jmp 0x4491f0
mov edi, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x4491f0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
push edi
push esi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x449165
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44922f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push edi
call ebx
jmp 0x44930c
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x449165
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x1c], 0x490
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x26c]
push eax
push edi
mov dword [esp + 0x274], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x4492c0
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x4492b3
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449287
jmp 0x4492ca
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x4492ca
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push ebx
push esi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x449165
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x449309
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push ebx
call edi
mov eax, dword [esp + 0x10]
jmp 0x4494c2
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push 1
push esi
push esi
mov dword [esp + 0x30], esi
xor ebx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x449374
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x449366
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x44935e
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44934e
jmp 0x449366
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x449374
mov eax, edi
jmp 0x4493a5
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, esi
jne 0x449397
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4493a5
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
test eax, eax
je 0x44938f
xor eax, eax
cmp eax, esi
je 0x449495
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4493c7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44948d
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x1c], 0x490
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x26c]
push eax
push edi
mov dword [esp + 0x274], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x44943d
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x449430
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449404
jmp 0x449447
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x449447
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push ebx
push esi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x4493bc
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x449486
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push ebx
call edi
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x449820
lea eax, [esp + 0x114]
push eax
push 4
lea eax, [esp + 0x3c]
push eax
push 0x13
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x4494bc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x449820
push 0x40
lea eax, [esp + 0x9c]
push esi
push eax
mov dword [esp + 0xa0], 0x44
call fcn.0042e560
xor eax, eax
mov dword [esp + 0x44], esi
add esp, 0xc
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
mov ebx, dword [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [esp + 0x13c]
push eax
mov byte [esp + 0x53], 0
mov dword [esp + 0x3c], esi
mov byte [esp + 0x140], 0
mov byte [esp + 0x141], 0
mov byte [esp + 0x142], 0
mov byte [esp + 0x143], 0
mov byte [esp + 0x144], 0
mov byte [esp + 0x145], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4495dc
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x44957b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x4495dc
push dword [esp + 0x2c]
push 0x40
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x30]
push edi
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4495d1
mov dword [esp + 0x20], esi
cmp dword [edi], esi
jbe 0x4495d1
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4495cc
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add ebx, 8
cmp eax, dword [edi]
jb 0x4495ab
jmp 0x4495d1
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x4495dc
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [esp + 0x10], esi
je 0x4495ec
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x449713
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
push 1
push esi
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x44966d
push pe_nt_image_headers32
lea eax, [esp + 0x4a4]
push esi
push eax
call fcn.0042e560
add esp, 0xc
lea eax, [esp + 0x49c]
push eax
mov dword [esp + 0x4a0], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x449667
cmp dword [esp + 0x4a0], 6
jne 0x449667
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4496a5
mov dword [esp + 0x20], esi
jmp 0x4496a9
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44969d
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x449691
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x449681
jmp 0x44969d
imul eax, eax, 0xc
mov eax, dword [eax + edx]
mov dword [esp + 0x20], eax
xor edi, edi
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, edi
cmp eax, esi
jne 0x449713
lea eax, [esp + 0x18]
push eax
push 0xa
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp dword [esp + 0x18], esi
je 0x449713
lea eax, [esp + 0x10]
push eax
push 1
push 1
push esi
push 0x2000000
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [esp + 0x18]
cmp dword [esp + 0x14], esi
jne 0x4496ee
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x449713
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 4
lea eax, [esp + 0x24]
push eax
push 0xc
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x449713
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
push str.userenv.dll
mov dword [esp + 0xa0], str.Winsta0Default
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x449782
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [esp + 0x14]
mov ebx, eax
call edi
mov dword [esp + 0x2c], eax
cmp ebx, esi
je 0x449782
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
je 0x44977e
mov dword [esp + 0x14], 0x430
jmp 0x449782
mov dword [esp + 0x1c], esi
mov edi, 0x103
push edi
lea eax, [esp + 0x159]
push esi
push eax
mov byte [esp + 0x160], 0
call fcn.0042e560
add esp, 0xc
push dword [esp + 0x30]
lea eax, [esp + 0x158]
push edi
push eax
call fcn.0042cdbf
add esp, 0xc
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x98]
push eax
push esi
push dword [esp + 0x28]
lea eax, [esp + 0x164]
push dword [esp + 0x24]
push esi
push esi
push esi
push eax
push esi
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp dword [esp + 0x38], esi
je 0x4497f2
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x449802
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x2c], esi
je 0x449810
push dword [esp + 0x1c]
call dword [esp + 0x30]
cmp dword [esp + 0x10], esi
je 0x449820
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x449830
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
push 1
lea ecx, [esp + 0x80]
call fcn.00401ccf
xor edi, edi
jmp 0x4498b9
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [esp + 0x98]
push edi
push eax
call fcn.0042e560
mov eax, dword [esp + 0x12c]
add esp, 0xc
cmp dword [esp + 0x134], 8
mov dword [esp + 0x94], esi
jae 0x449879
lea eax, [esp + 0x120]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x98]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x4498b9
push 0xdbba0
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [esp + 0x3c]
call esi
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [esp + 0x124]
call fcn.004026e6
push edi
push ebx
lea esi, [esp + 0x5c]
call fcn.004026e6
push edi
push ebx
lea esi, [esp + 0x140]
call fcn.004026e6
mov eax, ebx
mov ecx, dword [esp + 0xe00]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xde8]
xor ecx, esp
call fcn.0042bd77
mov esp, ebp
pop ebp
ret