Function at 0x418be0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3a56
mov eax, dword fs:[0]
push eax
sub esp, 0x8d4
mov eax, dword [0x52610c]
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 byte [ebp - 0x8c9], dl
mov ebx, ecx
mov dword [ebp - 0x8d8], ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8fe0
add esp, 8
mov edx, 0x104
push ebx
push ecx
lea ecx, [ebp - 0x218]
call fcn.004192f0
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418c50
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
je 0x418c83
push 0x507d60
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c6e5b
add esp, 0xc
lea eax, [ebp - 0x8d4]
push eax
lea ecx, [ebp - 0x218]
call fcn.00419260
test eax, eax
js 0x418cbb
mov eax, dword [ebp - 0x8d4]
mov edx, 0x104
push ecx
push 0x507d64
push ecx
lea ecx, [ebp - 0x218]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.004192f0
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x8d4], esi
cmp esi, 0xffffffff
je 0x41923a
test byte [ebp - 0x698], 0x10
lea eax, [ebp - 0x66c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
je 0x418e00
mov ecx, 0x507d6c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418d2a
test dx, dx
je 0x418d26
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418d2a
add eax, 4
add ecx, 4
test dx, dx
jne 0x418d04
xor eax, eax
jmp 0x418d2f
sbb eax, eax
or eax, 1
test eax, eax
je 0x418f45
mov ecx, 0x507d70
lea eax, [ebp - 0x66c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418d68
test dx, dx
je 0x418d64
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418d68
add eax, 4
add ecx, 4
test dx, dx
jne 0x418d42
xor eax, eax
jmp 0x418d6d
sbb eax, eax
or eax, 1
test eax, eax
je 0x418f45
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004b8fe0
add esp, 0xc
lea ecx, [ebp - 0x428]
push dword [ebp - 0x8d8]
call fcn.004192b0
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418da5
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x42a], 0x5c
je 0x418dcf
push 0x507d60
lea ecx, [ebp - 0x428]
call fcn.004192b0
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.004c6e5b
mov dl, byte [ebp - 0x8c9]
lea ecx, [ebp - 0x428]
add esp, 0xc
call fcn.00418be0
jmp 0x418f45
push 0x2e
push eax
call fcn.004b8440
add esp, 8
test eax, eax
je 0x418f45
mov ecx, str..exe
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418e3e
test dx, dx
je 0x418e3a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418e3e
add eax, 4
add ecx, 4
test dx, dx
jne 0x418e18
xor eax, eax
jmp 0x418e43
sbb eax, eax
or eax, 1
test eax, eax
jne 0x418f45
cmp byte [ebp - 0x8c9], al
je 0x418ec3
push 0x208
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.004b8fe0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x66c]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x418eb6
test dx, dx
je 0x418eb2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x418eb6
add ecx, 4
add eax, 4
test dx, dx
jne 0x418e90
xor eax, eax
jmp 0x418ebb
sbb eax, eax
or eax, 1
test eax, eax
je 0x418f45
xor esi, esi
mov dword [ebp - 0x8d0], 0xffffffff
push esi
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x8d0], eax
push ecx
lea eax, [ebp - 0x448]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x66c]
mov dword [ebp - 0x448], 0x22c
push eax
lea ecx, [ebp - 0x8d0]
call fcn.004186d0
test eax, eax
je 0x418f26
push dword [ebp - 0x440]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x418f26
push 0x14d
push eax
call edi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x8d0]
cmp ecx, 0xffffffff
je 0x418f3b
push ecx
call ebx
test esi, esi
jne 0x418ec3
mov esi, dword [ebp - 0x8d4]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x698]
push eax
push esi
call edi
test eax, eax
je 0x41923a
nop dword [eax]
test byte [ebp - 0x698], 0x10
lea eax, [ebp - 0x66c]
je 0x4190c2
mov ecx, 0x507d6c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418f9e
test dx, dx
je 0x418f9a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418f9e
add eax, 4
add ecx, 4
test dx, dx
jne 0x418f78
xor eax, eax
jmp 0x418fa3
sbb eax, eax
or eax, 1
test eax, eax
je 0x419228
mov ecx, 0x507d70
lea eax, [ebp - 0x66c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418fdc
test dx, dx
je 0x418fd8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418fdc
add eax, 4
add ecx, 4
test dx, dx
jne 0x418fb6
xor eax, eax
jmp 0x418fe1
sbb eax, eax
or eax, 1
test eax, eax
je 0x419228
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004b8fe0
add esp, 8
mov edx, 0x104
push dword [ebp - 0x8d8]
push ecx
lea ecx, [ebp - 0x428]
call fcn.004192f0
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419020
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x42a], 0x5c
je 0x419072
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x428]
call fcn.00419260
test eax, eax
js 0x419072
mov eax, dword [ebp - 0x8dc]
mov edx, 0x104
push ecx
push 0x507d60
push ecx
lea ecx, [ebp - 0x428]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.004192f0
lea eax, [ebp - 0x8e0]
push eax
lea ecx, [ebp - 0x428]
call fcn.00419260
test eax, eax
js 0x4190ac
push ecx
lea eax, [ebp - 0x66c]
mov edx, 0x104
push eax
mov eax, dword [ebp - 0x8e0]
sub edx, eax
push ecx
lea ecx, [ebp - 0x428]
lea ecx, [ecx + eax*2]
call fcn.004192f0
mov dl, byte [ebp - 0x8c9]
lea ecx, [ebp - 0x428]
call fcn.00418be0
jmp 0x419228
push 0x2e
push eax
call fcn.004b8440
add esp, 8
test eax, eax
je 0x419228
mov ecx, str..exe
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419106
test dx, dx
je 0x419102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419106
add eax, 4
add ecx, 4
test dx, dx
jne 0x4190e0
xor eax, eax
jmp 0x41910b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x419228
cmp byte [ebp - 0x8c9], al
je 0x419190
push 0x208
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.004b8fe0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x66c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41917d
test dx, dx
je 0x419179
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41917d
add ecx, 4
add eax, 4
test dx, dx
jne 0x419157
xor eax, eax
jmp 0x419182
sbb eax, eax
or eax, 1
test eax, eax
je 0x419228
nop word [eax + eax]
xor esi, esi
mov dword [ebp - 0x8d0], 0xffffffff
push esi
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x8d0], eax
push ecx
lea eax, [ebp - 0x8c8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x66c]
mov dword [ebp - 0x8c8], 0x22c
push eax
lea ecx, [ebp - 0x8d0]
call fcn.004186d0
test eax, eax
je 0x4191fb
push dword [ebp - 0x8c0]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4191fb
push 0x14d
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x8d0]
cmp ecx, 0xffffffff
je 0x41921a
push ecx
call ebx
mov dword [ebp - 0x8d0], 0xffffffff
test esi, esi
jne 0x419190
mov esi, dword [ebp - 0x8d4]
lea eax, [ebp - 0x698]
push eax
push esi
call edi
test eax, eax
jne 0x418f60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
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.0049fc55
mov esp, ebp
pop ebp
ret