Function at 0x447dee
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 0x44dcb5
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 0x447e61
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 0x4498f6
cmp byte [edi + 0x68], 0
je 0x447e6e
xor eax, eax
jmp 0x4498f6
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 0x447f1f
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 0x447fca
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 0x447e59
lea ecx, [esp + 0x7d4]
call fcn.00445f2f
test eax, eax
jne 0x447fe9
push 0x1a
pop esi
call fcn.004439ba
push 0x1c
jmp 0x447f55
lea eax, [esp + 0x7d4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x448004
cmp eax, 0xb7
jne 0x447fda
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 0x4480d8
lea eax, [esp + 0x58]
push 0x45bc84
push eax
call fcn.0042d093
pop ecx
pop ecx
test eax, eax
je 0x4481a1
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 0x448b28
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 0x44827a
mov edi, dword [eax + 4]
mov dword [esp + 0x2c], edi
jmp 0x448283
add eax, 4
mov dword [esp + 0x2c], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x448b17
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 0x4482b0
sub eax, ecx
cmp eax, 2
jbe 0x4482dc
cmp byte [edi + 1], 0x3a
jne 0x4482dc
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042cdbf
add esp, 0xc
jmp 0x44830d
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 0x448359
cmp dword [esp + 0x4a0], 6
jne 0x448359
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x20], esi
jne 0x4485fc
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 0x4483a9
cmp dword [esp + 0x158], 5
jne 0x4483a9
cmp dword [esp + 0x15c], esi
je 0x44851e
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 0x448404
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x4483f6
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x4483ee
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x4483de
jmp 0x4483f6
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x448404
mov eax, edi
jmp 0x448435
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 0x448427
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x448435
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
cmp eax, esi
je 0x44841f
xor eax, eax
cmp eax, esi
je 0x4487b1
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x448457
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4487a9
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 0x4484cd
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x4484c0
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x448494
jmp 0x4484d7
mov edi, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x4484d7
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 0x44844c
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x448516
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push edi
call ebx
jmp 0x4485f3
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x44844c
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 0x4485a7
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x44859a
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x44856e
jmp 0x4485b1
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x4485b1
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 0x44844c
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x4485f0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push ebx
call edi
mov eax, dword [esp + 0x18]
jmp 0x4487a9
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 0x44865b
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x44864d
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x448645
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x448635
jmp 0x44864d
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44865b
mov eax, edi
jmp 0x44868c
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 0x44867e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44868c
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
cmp eax, esi
je 0x448676
xor eax, eax
cmp eax, esi
je 0x44877c
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4486ae
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x448774
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 0x448724
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x448717
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4486eb
jmp 0x44872e
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x44872e
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 0x4486a3
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x44876d
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 0x448b07
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 0x4487a3
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x448b07
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 0x4488c3
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 0x448862
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x4488c3
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 0x4488b8
mov dword [esp + 0x30], esi
cmp dword [edi], esi
jbe 0x4488b8
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4488b3
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
add ebx, 8
cmp eax, dword [edi]
jb 0x448892
jmp 0x4488b8
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x4488c3
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [esp + 0x1c], esi
je 0x4488d3
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x4489fa
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 0x448954
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 0x44894e
cmp dword [esp + 0x5b8], 6
jne 0x44894e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44898c
mov dword [esp + 0x20], esi
jmp 0x448990
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x30], esi
jbe 0x448984
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x448978
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x30]
jb 0x448968
jmp 0x448984
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 0x4489fa
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 0x4489fa
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 0x4489d5
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4489fa
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 0x4489fa
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 0x448a69
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 0x448a69
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x448a65
mov dword [esp + 0x14], 0x430
jmp 0x448a69
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 0x448ad9
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x448ae9
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x20], esi
je 0x448af7
push dword [esp + 0x10]
call dword [esp + 0x24]
cmp dword [esp + 0x1c], esi
je 0x448b07
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x448b17
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
push 1
lea ecx, [esp + 0x80]
call fcn.00401ccf
jmp 0x448b9e
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 0x448b5e
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 0x448b9e
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.0044bab6
test eax, eax
jge 0x448c12
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 0x4498e7
push dword [esp + 0x7d4]
call fcn.0042d080
movzx eax, ax
add eax, 0xffffffbf
pop ecx
cmp ax, 0x19
ja 0x448ceb
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 0x448d1b
jb 0x448c63
cmp eax, dword [esp + 0x114]
jae 0x448d1b
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 0x448c0b
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 0x448c87
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 0x448d76
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 0x448dfa
lea eax, [esp + 0x58]
push 0x45bc84
push eax
call fcn.0042d093
pop ecx
pop ecx
test eax, eax
je 0x448ec5
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 0x449854
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 0x448fa4
mov edi, dword [eax + 4]
mov dword [esp + 0x30], edi
jmp 0x448fad
add eax, 4
mov dword [esp + 0x30], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x449841
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 0x448fda
sub eax, ecx
cmp eax, 2
jbe 0x449006
cmp byte [edi + 1], 0x3a
jne 0x449006
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042cdbf
add esp, 0xc
jmp 0x449037
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 0x449083
cmp dword [esp + 0x5b8], 6
jne 0x449083
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x14], esi
jne 0x449326
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 0x4490d3
cmp dword [esp + 0x158], 5
jne 0x4490d3
cmp dword [esp + 0x15c], esi
je 0x449248
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 0x44912e
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x449120
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x449118
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x449108
jmp 0x449120
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44912e
mov eax, edi
jmp 0x44915f
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 0x449151
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44915f
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
test eax, eax
je 0x449149
xor eax, eax
cmp eax, esi
je 0x4494db
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x449181
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4494d3
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 0x4491f7
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x4491ea
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4491be
jmp 0x449201
mov edi, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x449201
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 0x449176
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x449240
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push edi
call ebx
jmp 0x44931d
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x449176
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 0x4492d1
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x4492c4
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449298
jmp 0x4492db
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x4492db
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 0x449176
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44931a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push ebx
call edi
mov eax, dword [esp + 0x10]
jmp 0x4494d3
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 0x449385
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x449377
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x44936f
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44935f
jmp 0x449377
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x449385
mov eax, edi
jmp 0x4493b6
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 0x4493a8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4493b6
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
test eax, eax
je 0x4493a0
xor eax, eax
cmp eax, esi
je 0x4494a6
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4493d8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44949e
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 0x44944e
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042cf38
pop ecx
pop ecx
test eax, eax
je 0x449441
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449415
jmp 0x449458
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x449458
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 0x4493cd
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x449497
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 0x449831
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 0x4494cd
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x449831
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 0x4495ed
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 0x44958c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x4495ed
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 0x4495e2
mov dword [esp + 0x20], esi
cmp dword [edi], esi
jbe 0x4495e2
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4495dd
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add ebx, 8
cmp eax, dword [edi]
jb 0x4495bc
jmp 0x4495e2
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x4495ed
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [esp + 0x10], esi
je 0x4495fd
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x449724
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 0x44967e
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 0x449678
cmp dword [esp + 0x4a0], 6
jne 0x449678
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4496b6
mov dword [esp + 0x20], esi
jmp 0x4496ba
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x4496ae
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x4496a2
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x449692
jmp 0x4496ae
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 0x449724
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 0x449724
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 0x4496ff
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x449724
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 0x449724
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 0x449793
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 0x449793
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
je 0x44978f
mov dword [esp + 0x14], 0x430
jmp 0x449793
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 0x449803
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x449813
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x2c], esi
je 0x449821
push dword [esp + 0x1c]
call dword [esp + 0x30]
cmp dword [esp + 0x10], esi
je 0x449831
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x449841
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 0x4498ca
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 0x44988a
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 0x4498ca
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