Function at 0x44945d
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 0x44f2b8
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 0x4494d0
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 0x44af65
cmp byte [edi + 0x68], 0
je 0x4494dd
xor eax, eax
jmp 0x44af65
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 0x44958e
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 0x449639
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 0x4494c8
lea ecx, [esp + 0x7d4]
call fcn.0044759e
test eax, eax
jne 0x449658
push 0x1a
pop esi
call fcn.00444750
push 0x1c
jmp 0x4495c4
lea eax, [esp + 0x7d4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x449673
cmp eax, 0xb7
jne 0x449649
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 0x45bb9c
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 0x449747
lea eax, [esp + 0x58]
push 0x45cd24
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
je 0x449810
mov edi, 0x45cd28
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 0x44a197
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 0x4498e9
mov edi, dword [eax + 4]
mov dword [esp + 0x2c], edi
jmp 0x4498f2
add eax, 4
mov dword [esp + 0x2c], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x44a186
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 0x44991f
sub eax, ecx
cmp eax, 2
jbe 0x44994b
cmp byte [edi + 1], 0x3a
jne 0x44994b
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042db0f
add esp, 0xc
jmp 0x44997c
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 0x4499c8
cmp dword [esp + 0x4a0], 6
jne 0x4499c8
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x20], esi
jne 0x449c6b
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 0x449a18
cmp dword [esp + 0x158], 5
jne 0x449a18
cmp dword [esp + 0x15c], esi
je 0x449b8d
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 0x449a73
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x449a65
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x449a5d
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x449a4d
jmp 0x449a65
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x449a73
mov eax, edi
jmp 0x449aa4
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 0x449a96
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449aa4
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
cmp eax, esi
je 0x449a8e
xor eax, eax
cmp eax, esi
je 0x449e20
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x449ac6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449e18
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 0x449b3c
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x449b2f
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x449b03
jmp 0x449b46
mov edi, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x449b46
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 0x449abb
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x449b85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
push edi
call ebx
jmp 0x449c62
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x449abb
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 0x449c16
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x449c09
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x449bdd
jmp 0x449c20
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x449c20
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 0x449abb
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x449c5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
push ebx
call edi
mov eax, dword [esp + 0x18]
jmp 0x449e18
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 0x449cca
mov ecx, dword [esp + 0x20]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x10], esi
jbe 0x449cbc
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x449cb4
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x10]
jb 0x449ca4
jmp 0x449cbc
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x449cca
mov eax, edi
jmp 0x449cfb
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 0x449ced
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449cfb
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
cmp eax, esi
je 0x449ce5
xor eax, eax
cmp eax, esi
je 0x449deb
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x449d1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449de3
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 0x449d93
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x449d86
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x449d5a
jmp 0x449d9d
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x18], esi
jmp 0x449d9d
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 0x449d12
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x449ddc
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 0x44a176
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 0x449e12
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x44a176
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 0x449f32
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 0x449ed1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x449f32
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 0x449f27
mov dword [esp + 0x30], esi
cmp dword [edi], esi
jbe 0x449f27
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x449f22
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
add ebx, 8
cmp eax, dword [edi]
jb 0x449f01
jmp 0x449f27
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x449f32
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x1c], esi
je 0x449f42
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x44a069
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 0x449fc3
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 0x449fbd
cmp dword [esp + 0x5b8], 6
jne 0x449fbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x449ffb
mov dword [esp + 0x20], esi
jmp 0x449fff
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x30], esi
jbe 0x449ff3
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x449fe7
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x30]
jb 0x449fd7
jmp 0x449ff3
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 0x44a069
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 0x44a069
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 0x44a044
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44a069
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 0x44a069
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 0x44a0d8
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 0x44a0d8
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x44a0d4
mov dword [esp + 0x14], 0x430
jmp 0x44a0d8
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 0x44a148
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x44a158
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], esi
je 0x44a166
push dword [esp + 0x10]
call dword [esp + 0x24]
cmp dword [esp + 0x1c], esi
je 0x44a176
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x44a186
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 1
lea ecx, [esp + 0x80]
call fcn.00401ccf
jmp 0x44a20d
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 0x44a1cd
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 0x44a20d
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.0044d11d
test eax, eax
jge 0x44a281
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 0x44af56
push dword [esp + 0x7d4]
call fcn.0042ddd0
movzx eax, ax
add eax, 0xffffffbf
pop ecx
cmp ax, 0x19
ja 0x44a35a
mov eax, edi
call fcn.004470e1
push dword [esp + 0x7d4]
mov dword [esp + 0x118], eax
mov esi, edx
call fcn.00446e49
pop ecx
cmp edx, esi
ja 0x44a38a
jb 0x44a2d2
cmp eax, dword [esp + 0x114]
jae 0x44a38a
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 0x44a27a
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 0x44a2f6
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.00447258
push esi
push esi
mov dword [edi + 0x64], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x44a3e5
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 0x44a469
lea eax, [esp + 0x58]
push 0x45cd24
push eax
call fcn.0042dde3
pop ecx
pop ecx
test eax, eax
je 0x44a534
mov edi, 0x45cd28
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 0x45cd2c
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 0x44aec3
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 0x44a613
mov edi, dword [eax + 4]
mov dword [esp + 0x30], edi
jmp 0x44a61c
add eax, 4
mov dword [esp + 0x30], eax
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x44aeb0
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 0x44a649
sub eax, ecx
cmp eax, 2
jbe 0x44a675
cmp byte [edi + 1], 0x3a
jne 0x44a675
push edi
lea eax, [esp + 0x6d0]
push 0x104
push eax
call fcn.0042db0f
add esp, 0xc
jmp 0x44a6a6
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 0x44a6f2
cmp dword [esp + 0x5b8], 6
jne 0x44a6f2
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], esi
cmp dword [esp + 0x14], esi
jne 0x44a995
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 0x44a742
cmp dword [esp + 0x158], 5
jne 0x44a742
cmp dword [esp + 0x15c], esi
je 0x44a8b7
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 0x44a79d
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44a78f
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x44a787
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44a777
jmp 0x44a78f
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44a79d
mov eax, edi
jmp 0x44a7ce
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 0x44a7c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44a7ce
lea ecx, [esp + 0x28]
push ecx
push ebx
call eax
test eax, eax
je 0x44a7b8
xor eax, eax
cmp eax, esi
je 0x44ab4a
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44a7f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ab42
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 0x44a866
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44a859
lea eax, [esp + 0x26c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44a82d
jmp 0x44a870
mov edi, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x44a870
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 0x44a7e5
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44a8af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
push edi
call ebx
jmp 0x44a98c
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x44a7e5
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 0x44a940
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44a933
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44a907
jmp 0x44a94a
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x44a94a
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 0x44a7e5
lea eax, [esp + 0x28]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44a989
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
push ebx
call edi
mov eax, dword [esp + 0x10]
jmp 0x44ab42
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 0x44a9f4
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44a9e6
lea edx, [ecx + 8]
cmp dword [edx], esi
je 0x44a9de
inc eax
add edx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44a9ce
jmp 0x44a9e6
imul eax, eax, 0xc
mov ebx, dword [eax + ecx]
xor edi, edi
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
cmp edi, esi
je 0x44a9f4
mov eax, edi
jmp 0x44aa25
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 0x44aa17
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44aa25
lea ecx, [esp + 0x1c]
push ecx
push ebx
call eax
test eax, eax
je 0x44aa0f
xor eax, eax
cmp eax, esi
je 0x44ab15
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x44aa47
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ab0d
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 0x44aabd
lea eax, [esp + 0x290]
push str.explorer.exe
push eax
call fcn.0042dc88
pop ecx
pop ecx
test eax, eax
je 0x44aab0
lea eax, [esp + 0x26c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44aa84
jmp 0x44aac7
mov ebx, dword [esp + 0x274]
mov dword [esp + 0x10], esi
jmp 0x44aac7
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 0x44aa3c
lea eax, [esp + 0x1c]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44ab06
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 0x44aea0
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 0x44ab3c
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xor eax, eax
cmp eax, esi
jne 0x44aea0
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 0x44ac5c
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 0x44abfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44ac5c
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 0x44ac51
mov dword [esp + 0x20], esi
cmp dword [edi], esi
jbe 0x44ac51
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44ac4c
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add ebx, 8
cmp eax, dword [edi]
jb 0x44ac2b
jmp 0x44ac51
mov byte [esp + 0x27], 1
cmp edi, esi
je 0x44ac5c
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x10], esi
je 0x44ac6c
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [esp + 0x27], 0
jne 0x44ad93
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 0x44aced
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 0x44ace7
cmp dword [esp + 0x4a0], 6
jne 0x44ace7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44ad25
mov dword [esp + 0x20], esi
jmp 0x44ad29
mov edx, dword [esp + 0x14]
xor eax, eax
mov edi, 0x490
cmp dword [esp + 0x2c], esi
jbe 0x44ad1d
lea ecx, [edx + 8]
cmp dword [ecx], esi
je 0x44ad11
inc eax
add ecx, 0xc
cmp eax, dword [esp + 0x2c]
jb 0x44ad01
jmp 0x44ad1d
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 0x44ad93
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 0x44ad93
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 0x44ad6e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44ad93
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 0x44ad93
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 0x44ae02
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 0x44ae02
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
je 0x44adfe
mov dword [esp + 0x14], 0x430
jmp 0x44ae02
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 0x44ae72
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], esi
je 0x44ae82
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], esi
je 0x44ae90
push dword [esp + 0x1c]
call dword [esp + 0x30]
cmp dword [esp + 0x10], esi
je 0x44aea0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x28], esi
je 0x44aeb0
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 0x44af39
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 0x44aef9
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 0x44af39
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