Function at 0x415b70
Capabilities:
Enumerate processes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455edb
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x46e018]
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.0042ff40
add esp, 0xc
lea eax, [ebp - 0x650]
push 0x22c
push edi
push eax
call fcn.0042ff40
add esp, 0xc
mov dword [ebp - 4], edi
call fcn.00402ca0
mov ecx, eax
test ecx, ecx
je 0x415f9a
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 [0x470ed4], edi
jne 0x415c50
cmp dword [0x470ed8], edi
jne 0x415c50
push str.Psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x415c4a
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 [0x470ed4], eax
call esi
mov dword [0x470ed8], eax
jmp 0x415c50
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x46ecec]
cmp eax, 0xffffffff
jne 0x415c8a
push 0x46506c
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x415ca3
push 0x46ecec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x415ca3
mov eax, dword [0x46ecec]
test eax, eax
je 0x415cad
mov byte [ebp - 4], 2
call fcn.00402ca0
mov ecx, eax
test ecx, ecx
je 0x415fa4
jmp 0x415cbc
mov dword [0x46ecec], 0
test ebx, ebx
jne 0x415dba
xor ecx, ecx
jmp 0x415dcf
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.0042ff40
movzx eax, word [ebx]
add esp, 0xc
push eax
lea eax, [ebp - 0x658]
push 0x46558c
push eax
call fcn.00412cb0
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 0x415d30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040f7b0
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415d57
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x415d9c
add ebx, 6
jne 0x415d74
xor ecx, ecx
jmp 0x415d8f
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415d80
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x65c]
call fcn.0040f8a0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415ddc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x415ddc
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415dc0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x65c]
call fcn.0040f7b0
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 0x415f60
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x650], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x415f54
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 0x415f0d
test eax, eax
je 0x415f0d
cmp eax, 4
je 0x415f0d
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x415f0d
mov eax, dword [0x46ecec]
cmp eax, 0xffffffff
jne 0x415ea5
push 0x46506c
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 0x415ec3
push 0x46ecec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
je 0x415ec3
mov eax, dword [0x46ecec]
test eax, eax
je 0x415ecd
mov eax, dword [0x470ed8]
test eax, eax
je 0x415ecd
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push edi
call eax
jmp 0x415ee7
mov dword [0x46ecec], 0
mov eax, dword [0x470ed4]
test eax, eax
je 0x415f04
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
push edi
call eax
test eax, eax
je 0x415f04
cmp eax, dword [esi - 0xc]
jne 0x415f04
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.0043a9c1
add esp, 8
test eax, eax
je 0x415f31
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 0x415f3d
mov ecx, dword [ebp - 0x654]
jmp 0x415e30
mov dword [ebp - 0x654], 1
jmp 0x415f4d
mov dword [ebp - 0x654], 0
mov edi, ebx
test ebx, ebx
je 0x415f54
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 0x415f78
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.0042dc42
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410440
push 0x80004005
call fcn.00410440
int3