Function at 0x403b90
Capabilities:
Check if file exists
Delete directory
Delete file
Delete registry key
Enumerate files on windows
Get file attributes
Get file size
Read file on windows
Set file attributes

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push 0x8000000
push 3
push ebx
push 1
push 0x80000000
push 0x41b300
mov byte [esp + 0x33], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403e13
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x41b9ac]
mov ebp, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea eax, [edi + 0x10]
push eax
push ebx
push ecx
call ebp
test eax, eax
mov dword [esp + 0x18], eax
je 0x403c0c
push ebx
lea edx, [esp + 0x20]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x18]
mov byte [eax + edi], 0xd
mov byte [eax + edi + 1], 0xa
mov byte [eax + edi + 2], bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x80
push 0x41b300
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x41b300
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x403e13
cmp byte [esi], bl
mov eax, esi
je 0x403c52
add ebx, 1
mov cl, byte [eax]
add eax, 1
cmp cl, 0xa
jne 0x403c43
cmp byte [eax], 0
jne 0x403c40
mov eax, dword [0x41b9ac]
lea edx, [ebx*4 + 8]
push edx
push 0
push eax
call ebp
cmp byte [esi], 0
mov ebp, eax
mov eax, esi
je 0x403c88
mov ecx, ebp
nop
mov dword [ecx], eax
add ecx, 4
mov dl, byte [eax]
add eax, 1
cmp dl, 0xa
jne 0x403c75
mov byte [eax - 2], 0
cmp byte [eax], 0
jne 0x403c70
sub ebx, 1
mov byte [esp + 0x17], 1
js 0x403df2
mov ecx, dword [ebp + ebx*4]
movsx eax, byte [ecx]
sub eax, 0x20
je 0x403d8d
sub eax, 0xb
je 0x403db0
sub eax, 2
jne 0x403de9
cmp byte [esp + 0x26c], al
je 0x403de9
add ecx, 1
push ecx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x20], 0
lea esi, [esp + 0x20]
mov edi, esi
je 0x403d04
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x403cf4
add esi, 2
jmp 0x403cff
cmp byte [esi], 0x5c
jne 0x403cfc
lea edi, [esi + 1]
add esi, 1
cmp byte [esi], 0
jne 0x403ce1
mov eax, dword [ebp + ebx*4]
lea edx, [esp + 0x128]
push edx
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403de9
test byte [esp + 0x128], 0x10
jne 0x403d71
lea ecx, [esp + 0x154]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x80
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x403d71
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [esp + 0x1c], eax
je 0x403d71
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x128]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403d25
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403de9
add ecx, 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
jne 0x403db0
mov eax, dword [ebp + ebx*4]
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x403de9
jmp 0x403de4
mov edx, dword [ebp + ebx*4]
push 0x80
add edx, 1
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + ebx*4]
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x403de9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [esp + 0x1c], eax
je 0x403de9
mov byte [esp + 0x17], 0
sub ebx, 1
jns 0x403c96
mov eax, dword [0x41b9ac]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push ebp
push 0
push eax
call esi
mov ecx, dword [esp + 0x18]
mov edx, dword [0x41b9ac]
push ecx
push 0
push edx
call esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x417f10
push 0x417e10
lea eax, [esp + 0x28]
push str.Software_s_s
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
push 0x80000001
call edi
push 0x417e10
lea edx, [esp + 0x24]
push str.Software_s
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x80000001
call edi
pop edi
xor eax, eax
cmp byte [esp + 0x13], al
pop esi
pop ebp
sete al
pop ebx
add esp, 0x258
ret