Function at 0x409e00
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5fdc
mov eax, dword fs:[0]
push eax
sub esp, 0xeac
mov eax, dword [0x4d7068]
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, dword [ebp + 8]
lea eax, [ebp - 0xc40]
push 0x618
push 0
push eax
call fcn.00497c60
push ebx
lea eax, [ebp - 0xc40]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov dword [ebp - 0xeb0], 0
lea ecx, [ebp - 0xeb0]
mov dword [ebp - 0xeac], 0
call fcn.0040f9c0
mov dword [ebp - 0xeb0], eax
lea eax, [ebp - 0xea8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a023
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
mov ecx, 0x4b9928
lea eax, [ebp - 0xe7c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409ee6
test dx, dx
je 0x409ee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409ee6
add eax, 4
add ecx, 4
test dx, dx
jne 0x409ec0
xor eax, eax
jmp 0x409eeb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a011
mov ecx, 0x4b992c
lea eax, [ebp - 0xe7c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409f26
test dx, dx
je 0x409f22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409f26
add eax, 4
add ecx, 4
test dx, dx
jne 0x409f00
xor eax, eax
jmp 0x409f2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a011
push 0x618
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00497c60
lea eax, [ebp - 0xe7c]
push eax
push ebx
lea eax, [ebp - 0x628]
push 0x4b9934
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [ebp - 0xea8], 0x10
jne 0x40a011
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
cmp word [ebp - 0x628], ax
jne 0x409f9a
xor ecx, ecx
jmp 0x409fb2
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409fa3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00411b30
lea eax, [ebp - 0xc58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xeb8]
push eax
lea ecx, [ebp - 0xeb0]
call fcn.004055e0
mov eax, dword [ebp - 0xeb8]
mov byte [ebp - 4], 0
mov dword [eax + 0x28], 1
mov eax, dword [ebp - 0xc44]
cmp eax, 8
jb 0x40a011
inc eax
lea ecx, [ebp - 0xc58]
push eax
push dword [ebp - 0xc58]
call fcn.00490de0
lea eax, [ebp - 0xea8]
push eax
push esi
call edi
test eax, eax
jne 0x409eb0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xeb0]
xor edi, edi
mov esi, dword [ecx]
cmp esi, ecx
je 0x40a0a6
mov ebx, dword [ebp + 0xc]
nop dword [eax + eax]
mov eax, edi
inc edi
cmp eax, ebx
jle 0x40a05f
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x40a052
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xeb0]
cmp byte [esi + 0xd], 0
jne 0x40a0a2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40a084
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40a0a2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x40a078
jmp 0x40a0a2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40a0a0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x40a0a0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40a090
mov esi, eax
cmp esi, ecx
jne 0x40a040
push ecx
push dword [ecx]
lea eax, [ebp - 0xeb4]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xeb0]
call fcn.00412c60
push dword [ebp - 0xeb0]
call fcn.0041cf90
add esp, 4
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.004942e8
mov esp, ebp
pop ebp
ret