Function at 0x414440
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x46064b
mov eax, dword fs:[0]
push eax
mov eax, 0x26b0
call fcn.00435f30
mov eax, dword [0x478050]
xor eax, esp
mov dword [esp + 0x26ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478050]
xor eax, esp
push eax
lea eax, [esp + 0x26c4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26d4]
mov eax, dword [esp + 0x26d8]
mov dword [esp + 0x24], eax
mov dword [ebp], 0
call fcn.00414010
mov dword [esp + 0x44], eax
cmp eax, 0xffffffff
je 0x414aa3
push 9
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x30]
push str.Psapi.dll
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.00405830
mov dword [esp + 0x26cc], 0
mov eax, dword [0x47ace0]
test al, 1
jne 0x414529
or eax, 1
mov dword [0x47ace0], eax
mov byte [esp + 0x26cc], 1
mov dword [0x47acdc], 0
call fcn.00411880
push 0x463b90
call fcn.004340a9
add esp, 4
mov byte [esp + 0x26cc], 0
lea eax, [esp + 0x2c]
mov ecx, 0x47acdc
push eax
call fcn.00411b20
mov esi, eax
mov dword [esp + 0x26cc], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x414558
push dword [esp + 0x2c]
call fcn.00433deb
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
push 0xc
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], eax
push str.Advapi32.dll
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], eax
mov word [esp + 0x70], ax
call fcn.00405830
mov dword [esp + 0x26cc], 2
mov eax, dword [0x47ace0]
test al, 1
jne 0x4145e9
or eax, 1
mov dword [0x47ace0], eax
mov byte [esp + 0x26cc], 3
mov dword [0x47acdc], 0
call fcn.00411880
push 0x463b90
call fcn.004340a9
add esp, 4
mov byte [esp + 0x26cc], 2
lea eax, [esp + 0x68]
mov ecx, 0x47acdc
push eax
call fcn.00411b20
mov edi, eax
mov dword [esp + 0x26cc], 0xffffffff
cmp dword [esp + 0x7c], 8
jb 0x414618
push dword [esp + 0x68]
call fcn.00433deb
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
push 0xc
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], eax
push str.Wtsapi32.dll
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
call fcn.00405830
mov dword [esp + 0x26cc], 4
mov eax, dword [0x47ace0]
test al, 1
jne 0x4146a3
or eax, 1
mov dword [0x47ace0], eax
mov byte [esp + 0x26cc], 5
mov dword [0x47acdc], 0
call fcn.00411880
push 0x463b90
call fcn.004340a9
add esp, 4
mov byte [esp + 0x26cc], 4
lea eax, [esp + 0x48]
mov ecx, 0x47acdc
push eax
call fcn.00411b20
mov dword [esp + 0x18], eax
mov dword [esp + 0x26cc], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x4146d8
push dword [esp + 0x48]
call fcn.00433deb
mov eax, dword [esp + 0x1c]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], cx
test esi, esi
je 0x414aa3
test edi, edi
je 0x414aa3
test eax, eax
je 0x414aa3
push str.EnumProcesses
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetModuleFileNameExA
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessImageFileNameA
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenProcessToken
mov esi, eax
push edi
mov dword [esp + 0x6c], esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetTokenInformation
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x414aa3
cmp dword [esp + 0x1c], 0
jne 0x41476e
test esi, esi
je 0x414aa3
cmp dword [esp + 0x20], 0
je 0x414aa3
test eax, eax
je 0x414aa3
push 0x1ffc
lea eax, [esp + 0x9c]
mov dword [esp + 0x98], 0
push 0
push eax
call fcn.00435510
add esp, 0xc
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x8c]
push eax
push 0x2000
lea eax, [esp + 0x9c]
push eax
call ebx
test eax, eax
je 0x414aa3
mov eax, dword [esp + 0x8c]
mov ecx, 0x800
shr eax, 2
cmp eax, ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x90], 0
cmovae eax, ecx
xor ebx, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x14], ebx
test eax, eax
je 0x414a99
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push 0x209
lea eax, [esp + 0x23b0]
push 0
push eax
call fcn.00435510
push 0x105
lea eax, [esp + 0x22b4]
push 0
push eax
call fcn.00435510
push 0x105
lea eax, [esp + 0x25d4]
push 0
push eax
call fcn.00435510
push 0x105
lea eax, [esp + 0x20bc]
push 0
push eax
call fcn.00435510
push 0x105
lea eax, [esp + 0x21d0]
push 0
push eax
call fcn.00435510
add esp, 0x3c
push dword [esp + ebx*4 + 0x94]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4148ae
push dword [esp + ebx*4 + 0x94]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x414a59
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4148ca
push 0x208
lea ecx, [esp + 0x23b0]
push ecx
push esi
call eax
test eax, eax
jne 0x4148f0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x414a41
push 0x208
lea ecx, [esp + 0x23b0]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x414a41
push 0x104
lea eax, [esp + 0x21a0]
push eax
push 0x104
lea eax, [esp + 0x20a0]
push eax
push 0x104
lea eax, [esp + 0x25cc]
push eax
push 0x104
lea eax, [esp + 0x22c0]
push eax
lea eax, [esp + 0x23cc]
push eax
call fcn.00436a09
lea eax, [esp + 0x20b8]
push eax
push str.explorer
call fcn.0043692d
add esp, 0x2c
test eax, eax
jne 0x414a41
lea eax, [esp + 0x219c]
push eax
push str..exe
call fcn.0043692d
add esp, 8
test eax, eax
jne 0x414a41
push ebp
push 0x2000e
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x414a41
mov eax, dword [ebp]
test eax, eax
je 0x414a52
lea ecx, [esp + 0x90]
push ecx
push 4
lea ecx, [esp + 0x8c]
push ecx
push 0xc
push eax
call dword [esp + 0x3c]
test eax, eax
je 0x414a41
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x84], eax
je 0x414a89
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WTSQuerySessionInformationW
push dword [esp + 0x1c]
call edi
push str.WTSFreeMemory
push dword [esp + 0x1c]
mov ebx, eax
call edi
mov edi, eax
test ebx, ebx
je 0x414a37
test edi, edi
je 0x414a37
lea eax, [esp + 0x88]
mov dword [esp + 0x80], 0
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x8c], 0
push eax
push 8
push dword [esp + 0x90]
push 0
call ebx
test eax, eax
je 0x414a37
mov eax, dword [esp + 0x80]
test eax, eax
je 0x414a37
cmp dword [esp + 0x88], 4
jne 0x414a34
cmp dword [eax], 0
je 0x414a72
push eax
call edi
mov ebx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
test eax, eax
je 0x414a52
push eax
call edi
mov dword [ebp], 0
test esi, esi
je 0x414a59
push esi
call edi
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x60]
jb 0x414810
xor eax, eax
cmp dword [ebp], eax
setne al
jmp 0x414aa5
push eax
call edi
push esi
mov dword [esp + 0x84], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414a8c
push esi
call edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x84]
mov dword [ecx], eax
xor eax, eax
cmp dword [ebp], eax
setne al
jmp 0x414aa5
xor al, al
mov ecx, dword [esp + 0x26c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26ac]
xor ecx, esp
call fcn.004349cb
add esp, 0x26bc
ret 8