Function at 0x4018b0
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4104f6
push eax
mov eax, 0x256c
mov dword fs:[0], esp
call fcn.00403da0
push ebx
push esi
push edi
lea eax, [esp + 0xd78]
push 0xc00
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x401d48
lea edi, [esp + 0xd78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0xd77], 0x5c
je 0x401939
mov edi, 0x415650
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xd78]
xor eax, eax
lea edx, [esp + 0x178]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x178]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.inf_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0xd78]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x178]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.infoem.inf
mov dword [esp + 0x10], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0xf]
mov ecx, ebx
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x38]
lea edx, [esp + 0xd78]
push ecx
push edx
mov dword [esp + 0x2588], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x401a5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Invalid_File_Handle._Get_Last_Error_reports__d_n
call fcn.004033c4
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add esp, 8
cmp esi, edi
mov dword [esp + 0x2580], 0xffffffff
je 0x401a4e
push ebx
mov ecx, esi
call fcn.00402bf0
add esi, 0x10
cmp esi, edi
jne 0x401a3b
mov esi, dword [esp + 0x1c]
push esi
call fcn.0040b78a
add esp, 4
xor eax, eax
jmp 0x401d48
push ebp
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor ebp, ebp
mov byte [esp + eax + 0x17c], 0
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x17c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x17c]
and ecx, 3
push 0x4153d4
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004039c8
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x401ad2
lea ecx, [esp + 0x17c]
push ecx
push str.Error:_Cant_open__s_n
call fcn.004033c4
add esp, 8
jmp 0x401bf7
push esi
lea edx, [esp + 0x1980]
push 0xc00
push edx
call fcn.00403935
add esp, 0xc
test eax, eax
je 0x401b5f
lea eax, [esp + 0x197c]
push str.Atheros_AR5001X_Wireless_Network_Adapter
push eax
call fcn.00403a30
add esp, 8
test eax, eax
je 0x401b08
or ebp, 1
lea ecx, [esp + 0x197c]
push str.ar5211.sys
push ecx
call fcn.00403a30
add esp, 8
test eax, eax
je 0x401b24
or ebp, 2
lea edx, [esp + 0x197c]
push str.2.4.2.33
push edx
call fcn.00403a30
add esp, 8
test eax, eax
je 0x401b40
or ebp, 4
cmp ebp, 7
je 0x401b5f
push esi
lea eax, [esp + 0x1980]
push 0xc00
push eax
call fcn.00403935
add esp, 0xc
test eax, eax
jne 0x401aec
push esi
call fcn.004038b8
add esp, 4
cmp ebp, 7
jne 0x401bf7
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
call fcn.00402250
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.004022a0
test al, al
je 0x401bc7
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x68]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov byte [eax + ebp], 0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push 1
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x2590], 1
call fcn.004023c0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x2588], 0
call fcn.00402250
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401a5f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp esi, eax
je 0x401cf7
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebp, [esi + 4]
lea eax, [esp + edx + 0x17c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x17c]
sub eax, 3
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
mov byte [ecx], 0
mov edi, dword [ebp]
test edi, edi
jne 0x401c58
mov edi, 0x411378
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x17c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x17c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4155a8
mov byte [ecx + edx], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x17c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x17c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov eax, dword [esp + 0x24]
add ebp, 0x10
lea ecx, [ebp - 4]
cmp ecx, eax
jne 0x401c45
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, eax
mov edi, eax
pop ebp
je 0x401d3a
add esi, 4
mov eax, dword [esi]
cmp eax, ebx
je 0x401d24
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401d1b
cmp al, 0xff
je 0x401d1b
dec al
mov byte [ecx], al
jmp 0x401d24
push ecx
call fcn.0040b78a
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
add esi, 0x10
lea edx, [esi - 4]
cmp edx, edi
jne 0x401d01
mov esi, dword [esp + 0x1c]
push esi
call fcn.0040b78a
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2578]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2578
ret