Function at 0x41f090
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445f5d
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x459020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x290], ebx
mov esi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], edx
mov dword [esi], 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x41f241
mov edi, ecx
nop dword [eax + eax]
mov ecx, dword [ecx + edx*8]
lea eax, [edx*8]
mov dword [ebp - 0x278], eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x284], ecx
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41f21a
xor ecx, ecx
mov dword [ebp - 0x280], ecx
test eax, eax
je 0x41f206
xor edi, edi
nop word [eax + eax]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [edi + esi]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401430
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov edx, dword [ebp - 0x30]
test eax, eax
je 0x41f4d9
cmp edx, 0x10
jb 0x41f1ca
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f1c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f512
push edx
push ecx
call fcn.00423b44
add esp, 8
mov eax, dword [ebp - 0x284]
add edi, 0x18
inc dword [ebp - 0x280]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x280], eax
jb 0x41f150
mov edi, dword [ebx]
mov eax, dword [ebp - 0x278]
mov esi, dword [ebp - 0x27c]
mov eax, dword [edi + eax]
mov eax, dword [eax + 0x5c]
or dword [esi], eax
mov ecx, dword [ebx]
mov edi, ecx
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x288]
sub eax, ecx
inc edx
sar eax, 3
mov dword [ebp - 0x288], edx
cmp edx, eax
jb 0x41f100
mov esi, dword [ebp - 0x27c]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x284], edi
cmp edi, 0xffffffff
je 0x41f4ac
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41f4a5
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
lea edx, [ecx + 2]
mov word [ebp - 0x44], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f2a4
sub ecx, edx
lea eax, [ebp - 0x250]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00417b70
lea edx, [ebp - 0x44]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00419a10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, edx
cmovae edi, edx
add eax, ecx
cmp dword [ebp - 0x18], 0x10
cmovae esi, edx
cmp esi, eax
je 0x41f320
sub edi, esi
mov ebx, eax
movsx eax, byte [esi]
push eax
call fcn.0042e62a
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, ebx
jne 0x41f303
mov ebx, dword [ebp - 0x290]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
xor esi, esi
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x41f3e5
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ecx + esi*8]
lea edi, [esi*8]
cmp dword [eax + 0x60], 0
je 0x41f3cf
add eax, 0xc
lea ecx, [ebp - 0x2a8]
push eax
call fcn.00401430
or dword [ebp - 0x28c], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00409b80
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x278], eax
cmp edx, 0x10
jb 0x41f3bb
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f3ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f512
push edx
push ecx
call fcn.00423b44
mov eax, dword [ebp - 0x278]
add esp, 8
test eax, eax
jne 0x41f3cf
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x27c]
mov eax, dword [eax + edi]
mov eax, dword [eax + 0x60]
or dword [ecx], eax
mov eax, dword [ebx + 4]
inc esi
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x41f340
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x41f41c
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f412
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f512
push ecx
push edx
call fcn.00423b44
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 8
jb 0x41f46f
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f465
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f512
push edx
push ecx
call fcn.00423b44
add esp, 8
mov edi, dword [ebp - 0x284]
xor eax, eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x274]
push eax
push edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41f280
mov esi, dword [ebp - 0x27c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00420640
test al, al
je 0x41f4bb
or dword [esi], 0x2000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423b13
mov esp, ebp
pop ebp
ret 4
cmp edx, 0x10
jb 0x41f506
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f4fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f512
push edx
push ecx
call fcn.00423b44
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x41f21a
call fcn.0042823f
int3