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

Disassembly:
mov eax, 0x405a86
call fcn.00405300
sub esp, 0x198
mov dword [ebp - 0x17c], ecx
lea ecx, [ebp - 0x10]
call fcn.0040412d
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
jmp 0x402792
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 4
cmp dword [eax + 0x406570], 0
je 0x4028c2
mov eax, dword [ebp - 0x14]
shl eax, 4
cmp dword [eax + 0x40657c], 0
je 0x4027b6
jmp 0x40278b
mov eax, dword [ebp - 0x14]
shl eax, 4
push dword [eax + 0x406574]
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x17c]
call fcn.00403c22
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 1
push 0x406a00
push dword [ebp - 0x184]
lea eax, [ebp - 0x16c]
push eax
call fcn.00403dc6
add esp, 0xc
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
shl eax, 4
push dword [eax + 0x406570]
push dword [ebp - 0x18c]
lea eax, [ebp - 0x170]
push eax
call fcn.00403dc6
add esp, 0xc
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x194]
lea ecx, [ebp - 0x10]
call fcn.004041b2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x170]
call fcn.00401168
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x16c]
call fcn.00401168
and byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.00401168
cmp dword [ebp + 8], 0
je 0x4028ae
mov eax, dword [ebp - 0x14]
shl eax, 4
push dword [eax + 0x406570]
push 0x17
push dword [ebp - 0x17c]
call fcn.00403304
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00404214
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40278b
mov eax, dword [ebp - 0x17c]
cmp dword [eax + 0x80], 0
jne 0x402a3e
push str..
mov eax, dword [ebp - 0x17c]
add eax, 0x94
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403dc6
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404214
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], 0xffffffff
setne al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x402a29
push 0x406ae8
lea eax, [ebp - 0x138]
push eax
call sub.MSVCR70.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x402a11
push 0x406ae4
lea eax, [ebp - 0x138]
push eax
call sub.MSVCR70.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x402a11
push 0x406a00
mov eax, dword [ebp - 0x17c]
add eax, 0x94
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00403dc6
add esp, 0xc
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x19c]
lea eax, [ebp - 0x178]
push eax
call fcn.00403dc6
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1c]
call fcn.004041b2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x178]
call fcn.00401168
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x174]
call fcn.00401168
push dword [ebp - 0x1c]
push 0x17
push dword [ebp - 0x17c]
call fcn.00403304
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00404214
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x18], eax
jmp 0x40291b
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401168
cmp dword [ebp + 8], 0
je 0x402a56
push 1
push 0x3ef
mov ecx, dword [ebp - 0x17c]
call fcn.004032cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401168
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4