Function at 0x449509
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 0x44f358
mov eax, dword fs:[0]
push eax
sub esp, 0xdf0
mov eax, dword [0x4650e0]
xor eax, esp
mov dword [esp + 0xde8], eax
push ebx
push esi
push edi
mov eax, dword [0x4650e0]
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 0x44957c
push 0x1a
pop esi
call fcn.00444750
push 0x19
pop esi
mov ebx, eax
call fcn.00444750
push 0
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
jmp 0x44b011
cmp byte [edi + 0x68], 0
je 0x449589
xor eax, eax
jmp 0x44b011
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.0042f410
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 0x44963a
sub eax, ecx
mov esi, 0x466800
sar eax, 1
lea ecx, [esp + 0x7d4]
mov edx, esi
call fcn.004020f1
cmp word [esp + 0x7d4], 0
jne 0x4496e5
push 0x1a
pop esi
call fcn.00444750
push 0x1b
pop esi
mov dword [esp + 0x14], eax
call fcn.00444750
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 0x449574
lea ecx, [esp + 0x7d4]
call fcn.0044764a
test eax, eax
jne 0x449704
push 0x1a
pop esi
call fcn.00444750
push 0x1c
jmp 0x449670
lea eax, [esp + 0x7d4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x44971f
cmp eax, 0xb7
jne 0x4496f5
xor eax, eax
push 0x206
mov word [esp + 0xbf0], ax
xor ebx, ebx
lea eax, [esp + 0xbf2]
push ebx
push eax
call fcn.0042f410
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [esp + 0xbf0]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x45bbb4
lea eax, [esp + 0x13c]
push esi
push eax
call fcn.004038b6
add esp, 0xc
lea eax, [esp + 0x138]
push eax
lea esi, [esp + 0x58]
mov dword [esp + 0xe0c], ebx
call fcn.004026e4
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.0042f410
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.0040217f
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 0x4497f3
lea eax, [esp + 0x58]
push 0x45cd2c
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
je 0x4498bc
mov edi, 0x45cd30
push edi
lea esi, [esp + 0x7c]
call fcn.0040217f
mov dword [esp + 0x14], eax
push edi
lea esi, [esp + 0xe0]
mov byte [esp + 0xe0c], 3
call fcn.0040217f
lea ecx, [esp + 0x54]
push ecx
push eax
lea eax, [esp + 0x100]
push eax
mov byte [esp + 0xe14], 4
call fcn.004050a4
add esp, 0xc
mov byte [esp + 0xe08], 5
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004050a4
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe10], 6
call fcn.00402658
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x40]
call fcn.0040273f
push ebx
push edi
lea esi, [esp + 0x100]
call fcn.0040273f
push ebx
push edi
lea esi, [esp + 0xe4]
call fcn.0040273f
push ebx
push edi
lea esi, [esp + 0x80]
mov byte [esp + 0xe10], 2
call fcn.0040273f
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.004022f3
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
sub esp, 0x1c
mov ecx, eax
mov ebx, esp
mov dword [esp + 0x30], esp
call fcn.00405167
lea ebx, [esp + 0x94]
call fcn.004050ef
add esp, 0x1c
push str.SYSTEM
push 6
mov byte [esp + 0xe10], 7
mov ecx, dword [eax + 0x14]
pop edi
call fcn.0040221f
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.0040273f
test bl, bl
je 0x44a243
sub esp, 0x1c
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004026e4
lea edi, [esp + 0x94]
call fcn.00402911
add esp, 0x1c
mov byte [esp + 0xe08], 8
cmp dword [eax + 0x18], 0x10
jb 0x449995
mov edi, dword [eax + 4]
mov dword [esp + 0x2c], edi
jmp 0x44999e
add eax, 4
mov dword [esp + 0x2c], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x44a232
push 0x103
lea eax, [esp + 0x6d1]
push esi
push eax
mov byte [esp + 0x6d8], 0
call fcn.0042f410
mov eax, edi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4499cb
sub eax, ecx
cmp eax, 2
jbe 0x4499f7
cmp byte [edi + 1], 0x3a
jne 0x4499f7
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042db0f
add esp, 0xc
jmp 0x449a28
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, 0x110
push ebx
lea eax, [esp + 0x4a4]
push esi
push eax
call fcn.0042f410
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 0x449a74
cmp dword [esp + 0x4a0], 6
jne 0x449a74
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x20], esi
jne 0x449d17
push ebx
lea eax, [esp + 0x15c]
push esi
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x158], 0x114
call edi
test eax, eax
je 0x449ac4
cmp dword [esp + 0x158], 5
jne 0x449ac4
cmp dword [esp + 0x15c], esi
je 0x449c39
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 0x449b1f
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x449b11
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x449b09
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x449af9
jmp 0x449b11
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x449b1f
mov eax, edi
jmp 0x449b50
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 0x449b42
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x449b50
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
cmp eax, esi
je 0x449b3a
xor eax, eax
cmp eax, esi
je 0x449ecc
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x449b72
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x449ec4
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor edi, edi
mov dword [esp + 0x24], 0x490
call fcn.0042f410
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 0x449be8
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x449bdb
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449baf
jmp 0x449bf2
mov edi, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x449bf2
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 0x449b67
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x449c31
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push edi
call ebx
jmp 0x449d0e
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x449b67
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x24], 0x490
call fcn.0042f410
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 0x449cc2
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x449cb5
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449c89
jmp 0x449ccc
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x449ccc
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 0x449b67
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x449d0b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x18], eax
push ebx
call edi
mov eax, dword [esp + 0x18]
jmp 0x449ec4
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 0x449d76
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x449d68
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x449d60
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x449d50
jmp 0x449d68
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x449d76
mov eax, edi
jmp 0x449da7
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 0x449d99
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x449da7
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
cmp eax, esi
je 0x449d91
xor eax, eax
cmp eax, esi
je 0x449e97
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x449dc9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x449e8f
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x24], 0x490
call fcn.0042f410
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 0x449e3f
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x449e32
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x449e06
jmp 0x449e49
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x449e49
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 0x449dbe
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x449e88
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 0x44a222
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 0x449ebe
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x44a222
push 0x40
lea eax, [esp + 0x9c]
push esi
push eax
mov dword [esp + 0xa0], 0x44
call fcn.0042f410
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 0x449fde
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 0x449f7d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x449fde
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 0x449fd3
mov dword [esp + 0x30], esi
cmp dword [edi], esi
jbe 0x449fd3
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x449fce
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
add ebx, 8
cmp eax, dword [edi]
jb 0x449fad
jmp 0x449fd3
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x449fde
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [esp + 0x1c], esi
je 0x449fee
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x44a115
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 0x44a06f
push 0x110
lea eax, [esp + 0x5bc]
push esi
push eax
call fcn.0042f410
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 0x44a069
cmp dword [esp + 0x5b8], 6
jne 0x44a069
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44a0a7
mov dword [esp + 0x20], esi
jmp 0x44a0ab
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x30], esi
jbe 0x44a09f
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x44a093
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x30]
jb 0x44a083
jmp 0x44a09f
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 0x44a115
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 0x44a115
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 0x44a0f0
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x44a115
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 0x44a115
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 0x44a184
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 0x44a184
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x44a180
mov dword [esp + 0x14], 0x430
jmp 0x44a184
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.0042f410
add esp, 0xc
push dword [esp + 0x2c]
lea eax, [esp + 0x158]
push edi
push eax
call fcn.0042db0f
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 0x44a1f4
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x44a204
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x20], esi
je 0x44a212
push dword [esp + 0x10]
call dword [esp + 0x24]
cmp dword [esp + 0x1c], esi
je 0x44a222
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x44a232
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
push 1
lea ecx, [esp + 0x80]
call fcn.00401ccf
jmp 0x44a2b9
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [esp + 0x98]
push esi
push eax
call fcn.0042f410
mov eax, dword [esp + 0x12c]
add esp, 0xc
cmp dword [esp + 0x134], 8
mov dword [esp + 0x94], edi
jae 0x44a279
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 0x44a2b9
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.0040273f
push 0
push ebx
lea esi, [esp + 0x5c]
mov byte [esp + 0xe10], 0
call fcn.0040273f
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xbec]
push eax
lea ecx, [edi + 0x5c]
call fcn.0044d1c6
test eax, eax
jge 0x44a32d
push 0x1a
pop esi
call fcn.00444750
push 0x1d
pop esi
mov dword [esp + 0x34], eax
call fcn.00444750
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 0x44b002
push dword [esp + 0x7d4]
call fcn.0042ddd0
movzx eax, ax
add eax, 0xffffffbf
pop ecx
cmp ax, 0x19
ja 0x44a406
mov eax, edi
call fcn.0044718d
push dword [esp + 0x7d4]
mov dword [esp + 0x118], eax
mov esi, edx
call fcn.00446ef5
pop ecx
cmp edx, esi
ja 0x44a436
jb 0x44a37e
cmp eax, dword [esp + 0x114]
jae 0x44a436
push 9
pop esi
call fcn.00444750
push 0x28
pop esi
mov dword [esp + 0x34], eax
call fcn.00444750
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 0x44a326
push 9
pop esi
call fcn.00444750
push 0x27
pop esi
mov dword [esp + 0x34], eax
call fcn.00444750
push 0x124
push dword [esp + 0x38]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x44a3a2
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.00447304
push esi
push esi
mov dword [edi + 0x64], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
je 0x44a491
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x138]
push eax
lea esi, [esp + 0x58]
call fcn.004026e4
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.0042f410
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.0040217f
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 0x44a515
lea eax, [esp + 0x58]
push 0x45cd2c
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
je 0x44a5e0
mov edi, 0x45cd30
push edi
lea esi, [esp + 0x3c]
call fcn.0040217f
mov dword [esp + 0x34], eax
push edi
lea esi, [esp + 0xfc]
mov byte [esp + 0xe0c], 0xb
call fcn.0040217f
lea ecx, [esp + 0x54]
push ecx
push eax
lea eax, [esp + 0xe4]
push eax
mov byte [esp + 0xe14], 0xc
call fcn.004050a4
add esp, 0xc
mov byte [esp + 0xe08], 0xd
push dword [esp + 0x34]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004050a4
add esp, 0xc
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe10], 0xe
call fcn.00402658
push edi
push ebx
lea esi, [esp + 0x80]
call fcn.0040273f
push edi
push ebx
lea esi, [esp + 0xe4]
call fcn.0040273f
push edi
push ebx
lea esi, [esp + 0x100]
call fcn.0040273f
push edi
push ebx
lea esi, [esp + 0x40]
mov byte [esp + 0xe10], 0xa
call fcn.0040273f
push 0x45cd34
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.004022f3
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
sub esp, 0x1c
mov ecx, eax
mov ebx, esp
mov dword [esp + 0x130], esp
call fcn.00405167
lea ebx, [esp + 0x94]
call fcn.004050ef
add esp, 0x1c
push str.SYSTEM
push 6
mov byte [esp + 0xe10], 0xf
mov ecx, dword [eax + 0x14]
pop edi
call fcn.0040221f
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.0040273f
test bl, bl
je 0x44af6f
sub esp, 0x1c
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x130], esp
push eax
call fcn.004026e4
lea edi, [esp + 0x94]
call fcn.00402911
add esp, 0x1c
mov byte [esp + 0xe08], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x44a6bf
mov edi, dword [eax + 4]
mov dword [esp + 0x30], edi
jmp 0x44a6c8
add eax, 4
mov dword [esp + 0x30], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x44af5c
push 0x103
lea eax, [esp + 0x6d1]
push esi
push eax
mov byte [esp + 0x6d8], 0
call fcn.0042f410
mov eax, edi
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44a6f5
sub eax, ecx
cmp eax, 2
jbe 0x44a721
cmp byte [edi + 1], 0x3a
jne 0x44a721
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042db0f
add esp, 0xc
jmp 0x44a752
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, 0x110
push ebx
lea eax, [esp + 0x5bc]
push esi
push eax
call fcn.0042f410
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 0x44a79e
cmp dword [esp + 0x5b8], 6
jne 0x44a79e
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x14], esi
jne 0x44aa41
push ebx
lea eax, [esp + 0x15c]
push esi
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x158], 0x114
call edi
test eax, eax
je 0x44a7ee
cmp dword [esp + 0x158], 5
jne 0x44a7ee
cmp dword [esp + 0x15c], esi
je 0x44a963
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 0x44a849
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44a83b
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x44a833
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44a823
jmp 0x44a83b
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44a849
mov eax, edi
jmp 0x44a87a
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 0x44a86c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44a87a
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
test eax, eax
je 0x44a864
xor eax, eax
cmp eax, esi
je 0x44abf6
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44a89c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44abee
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor edi, edi
mov dword [esp + 0x1c], 0x490
call fcn.0042f410
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 0x44a912
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44a905
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x44a8d9
jmp 0x44a91c
mov edi, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x44a91c
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 0x44a891
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44a95b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push edi
call ebx
jmp 0x44aa38
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x44a891
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x1c], 0x490
call fcn.0042f410
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 0x44a9ec
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44a9df
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x44a9b3
jmp 0x44a9f6
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x44a9f6
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 0x44a891
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44aa35
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
push ebx
call edi
mov eax, dword [esp + 0x10]
jmp 0x44abee
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 0x44aaa0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44aa92
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x44aa8a
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44aa7a
jmp 0x44aa92
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44aaa0
mov eax, edi
jmp 0x44aad1
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 0x44aac3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44aad1
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
test eax, eax
je 0x44aabb
xor eax, eax
cmp eax, esi
je 0x44abc1
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x44aaf3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44abb9
push 0x228
lea eax, [esp + 0x274]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x1c], 0x490
call fcn.0042f410
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 0x44ab69
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44ab5c
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x44ab30
jmp 0x44ab73
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x44ab73
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 0x44aae8
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44abb2
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 0x44af4c
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 0x44abe8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x44af4c
push 0x40
lea eax, [esp + 0x9c]
push esi
push eax
mov dword [esp + 0xa0], 0x44
call fcn.0042f410
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 0x44ad08
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 0x44aca7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x44ad08
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 0x44acfd
mov dword [esp + 0x20], esi
cmp dword [edi], esi
jbe 0x44acfd
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44acf8
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add ebx, 8
cmp eax, dword [edi]
jb 0x44acd7
jmp 0x44acfd
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x44ad08
push edi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [esp + 0x10], esi
je 0x44ad18
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x44ae3f
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 0x44ad99
push 0x110
lea eax, [esp + 0x4a4]
push esi
push eax
call fcn.0042f410
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 0x44ad93
cmp dword [esp + 0x4a0], 6
jne 0x44ad93
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x44add1
mov dword [esp + 0x20], esi
jmp 0x44add5
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44adc9
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x44adbd
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44adad
jmp 0x44adc9
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 0x44ae3f
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 0x44ae3f
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 0x44ae1a
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x44ae3f
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 0x44ae3f
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 0x44aeae
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 0x44aeae
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
je 0x44aeaa
mov dword [esp + 0x14], 0x430
jmp 0x44aeae
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.0042f410
add esp, 0xc
push dword [esp + 0x30]
lea eax, [esp + 0x158]
push edi
push eax
call fcn.0042db0f
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 0x44af1e
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x44af2e
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x2c], esi
je 0x44af3c
push dword [esp + 0x1c]
call dword [esp + 0x30]
cmp dword [esp + 0x10], esi
je 0x44af4c
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x44af5c
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 0x44afe5
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [esp + 0x98]
push edi
push eax
call fcn.0042f410
mov eax, dword [esp + 0x12c]
add esp, 0xc
cmp dword [esp + 0x134], 8
mov dword [esp + 0x94], esi
jae 0x44afa5
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 0x44afe5
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.0040273f
push edi
push ebx
lea esi, [esp + 0x5c]
call fcn.0040273f
push edi
push ebx
lea esi, [esp + 0x140]
call fcn.0040273f
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.0042cac7
mov esp, ebp
pop ebp
ret