Function at 0x414c40
Capabilities:
Enumerate processes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x46c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x208
xor edi, edi
mov dword [ebp - 0x654], 0
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0042f000
add esp, 0xc
lea eax, [ebp - 0x650]
push 0x22c
push edi
push eax
call fcn.0042f000
add esp, 0xc
mov dword [ebp - 4], edi
call fcn.00402c30
mov ecx, eax
test ecx, ecx
je 0x41506a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x65c], eax
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x46eecc], edi
jne 0x414d20
cmp dword [0x46eed0], edi
jne 0x414d20
push str.Psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x414d1a
push str.GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessImageFileNameW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46eecc], eax
call esi
mov dword [0x46eed0], eax
jmp 0x414d20
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x46ccec]
cmp eax, 0xffffffff
jne 0x414d5a
push 0x463cac
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x414d73
push 0x46ccec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x414d73
mov eax, dword [0x46ccec]
test eax, eax
je 0x414d7d
mov byte [ebp - 4], 2
call fcn.00402c30
mov ecx, eax
test ecx, ecx
je 0x415074
jmp 0x414d8c
mov dword [0x46ccec], 0
test ebx, ebx
jne 0x414e8a
xor ecx, ecx
jmp 0x414e9f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x658], eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0042f000
movzx eax, word [ebx]
add esp, 0xc
push eax
lea eax, [ebp - 0x658]
push 0x4641cc
push eax
call fcn.00411d90
mov esi, dword [ebp - 0x658]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e00
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040e740
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e27
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x414e6c
add ebx, 6
jne 0x414e44
xor ecx, ecx
jmp 0x414e5f
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e50
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x65c]
call fcn.0040e830
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414eac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x414eac
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e90
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x65c]
call fcn.0040e740
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [ebp - 0x65c]
mov dword [ebp - 0x658], eax
cmp eax, 0xffffffff
je 0x415030
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x650], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x415024
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x654], ecx
nop dword [eax]
mov eax, dword [ebp - 0x648]
cmp eax, ecx
je 0x414fdd
test eax, eax
je 0x414fdd
cmp eax, 4
je 0x414fdd
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x414fdd
mov eax, dword [0x46ccec]
cmp eax, 0xffffffff
jne 0x414f75
push 0x463cac
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x414f93
push 0x46ccec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
je 0x414f93
mov eax, dword [0x46ccec]
test eax, eax
je 0x414f9d
mov eax, dword [0x46eed0]
test eax, eax
je 0x414f9d
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push edi
call eax
jmp 0x414fb7
mov dword [0x46ccec], 0
mov eax, dword [0x46eecc]
test eax, eax
je 0x414fd4
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
push edi
call eax
test eax, eax
je 0x414fd4
cmp eax, dword [esi - 0xc]
jne 0x414fd4
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.00439a84
add esp, 8
test eax, eax
je 0x415001
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea eax, [ebp - 0x650]
mov ebx, edi
push eax
push dword [ebp - 0x658]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41500d
mov ecx, dword [ebp - 0x654]
jmp 0x414f00
mov dword [ebp - 0x654], 1
jmp 0x41501d
mov dword [ebp - 0x654], 0
mov edi, ebx
test ebx, ebx
je 0x415024
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x658]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415048
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x654]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd02
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040f2e0
push 0x80004005
call fcn.0040f2e0
int3