Function at 0x4802a0
Capabilities:
Check if file exists
Enumerate processes
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 0x10]
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x684], edi
mov byte [ebp - 0x67d], al
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov dword [ebp - 0x684], eax
lea eax, [ebp - 0x678]
push 0
push eax
mov dword [ebp - 0x67c], 0x22c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x67c]
push eax
push dword [ebp - 0x684]
call sub.KERNEL32.dll_Process32FirstW
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4804ee
nop
mov eax, dword [ebp - 0x674]
cmp eax, dword [ebp + 0xc]
jne 0x4804d4
cmp byte [ebp - 0x67d], 0
cmovne eax, dword [ebp - 0x664]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4804ce
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x43c], 0
movups xmmword [ebp - 0x450], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4803c0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.0041d2f0
lea eax, [ebp - 0x450]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0048cee0
add esp, 8
mov ecx, dword [ebp - 0x43c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x480443
mov edx, dword [ebp - 0x450]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x480439
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4805b4
push ecx
push edx
call fcn.00563352
add esp, 8
cmp dword [ebp - 0x424], 0xf
lea eax, [ebp - 0x438]
cmova eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x480470
shr eax, 4
not al
test al, 1
jne 0x480535
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x4804b1
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4804a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4805b4
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
jmp 0x4804d4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x67c]
push eax
push dword [ebp - 0x684]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x480330
push dword [ebp - 0x684]
call esi
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x59de09
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040d5d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x684]
call esi
cmp dword [ebp - 0x424], 0xf
lea eax, [ebp - 0x438]
push 0x7e
cmova eax, dword [ebp - 0x438]
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
lea eax, [ebp - 0x438]
push eax
je 0x480572
push edi
call fcn.004818f0
add esp, 8
jmp 0x480579
mov ecx, edi
call fcn.0045f9e0
mov ecx, dword [ebp - 0x424]
cmp ecx, 0xf
jbe 0x480518
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4805a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4805b4
push ecx
push edx
call fcn.00563352
add esp, 8
jmp 0x480518
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3