Function at 0x401e70
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Read file on windows
Set file attributes

Disassembly:
mov eax, 0x1434
call fcn.00404980
mov dl, byte [0x40bee4]
push ebx
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xd5]
mov byte [esp + 0xd4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x1fd]
mov byte [esp + 0x1fc], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x17d]
mov byte [esp + 0x17c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [0x4092b0]
mov edx, dword [0x4092b4]
stosb byte es:[edi], al
mov eax, dword [str._SourceDisksFiles_]
mov dword [esp + 0x24], ecx
mov cx, word [0x4092bc]
mov dword [esp + 0x20], eax
mov eax, dword [0x4092b8]
mov dword [esp + 0x28], edx
mov dl, byte [0x4092be]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1fc]
push 0x80
push eax
mov word [esp + 0x38], cx
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3b], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x401f54
push str.Get_Windows_directory_for_RemoveOEMInf
call fcn.00404280
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1434
ret
or ecx, 0xffffffff
lea edi, [esp + 0x1fc]
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40be50
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.Inf_
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
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 + 0x180]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xd8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x200]
shr ecx, 2
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._system32CatRoot_
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11
mov esi, str.0123456789012345678901234567890123456789012345678901234567890123456789
lea edi, [esp + 0x3c0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x40e
lea edi, [esp + 0x407]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004048c0
lea eax, [esp + 0xb8]
push eax
push 0x40be50
call fcn.00401e40
lea ecx, [esp + 0x160]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00401e40
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x17c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x17c]
shr ecx, 2
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.oem.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 eax, [esp + 0x27c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x180]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x40241e
push ebp
lea edi, [esp + 0xd8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2ac]
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
xor ebx, ebx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push 0x80
push 3
mov edi, 1
push ebx
push edi
lea eax, [esp + 0x4c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x4023fb
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
jmp 0x40217a
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x408]
push 0x1000
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40228d
mov esi, dword [esp + 0x10]
cmp esi, 0x40
jb 0x402289
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4021ca
mov al, byte [esp + 0x403]
test al, al
jne 0x4021c2
mov ebx, 1
mov dword [esp + 0x1c], 0
test ebx, ebx
mov byte [esp + esi + 0x400], 0
je 0x4021de
mov byte [esp + esi + 0x401], 0
cmp edi, 1
jne 0x402428
test ebx, ebx
je 0x402211
lea eax, [esp + 0x158]
lea ecx, [esp + 0x3c0]
push eax
push ecx
call fcn.00404860
add esp, 8
test eax, eax
je 0x402269
mov edi, 2
jmp 0x40242e
lea edx, [esp + 0x24]
lea eax, [esp + 0x3c0]
push edx
push eax
call fcn.004047c0
add esp, 8
test eax, eax
je 0x402269
mov edi, 2
lea ecx, [esp + 0x3c0]
push ecx
call fcn.004048c0
lea edx, [esp + 0x3c4]
push 0x40be50
push edx
call fcn.004047c0
add esp, 0xc
test eax, eax
je 0x40225e
mov ebp, 1
mov dword [esp + 0x14], ebp
inc edi
cmp edi, 3
jbe 0x402269
mov ebp, 1
mov esi, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + eax + 0x3c0]
inc eax
cmp eax, 0x40
mov dl, byte [ecx + esi]
mov byte [ecx], dl
jb 0x40226f
test ebp, ebp
je 0x402176
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4023fb
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x38]
push 0x80
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x38]
push ecx
call ebp
lea edi, [esp + 0xd8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 + 0x3c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00404740
mov edx, eax
mov edi, str..pnf
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
push ecx
call ebx
lea edx, [esp + 0x38]
push edx
call ebp
lea edi, [esp + 0x200]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x38]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2ac]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
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 + 0x3c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00404740
mov edx, eax
mov edi, str..cat
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
push ecx
call ebx
lea edx, [esp + 0x38]
push edx
call ebp
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4020e2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1434
ret
jbe 0x40226d
test ebx, ebx
je 0x40222f
lea ecx, [esp + 0x3c0]
push ecx
call fcn.00404690
lea edx, [esp + 0xbc]
lea eax, [esp + 0x3c4]
push edx
push eax
call fcn.00404860
add esp, 0xc
test eax, eax
je 0x40225e
jmp 0x402255