Function at 0x9b37e0
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
sub esp, 0x22c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x234]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], eax
xor eax, eax
push 0x103
push eax
lea ecx, [esp + 0x135]
push ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x138], al
call fcn.00a7ffb0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push str.kernel32.dll_version.dll_ws2_32.dll_netapi32.dll_winhttp.dll_mpr.dll_activeds.dll_user32.dll_winspool.drv_advapi32.dll_shell32.dll_ole32.dll_oleaut32.dll_oleacc.dll_Shlwapi.dll_Imagehlp.dll_Crypt32.dll_PSAPI.DLL_wldap32.dll_Iphlpapi.dll_Wtsapi32.dll_shfolder.dll_wsock32.dll_mswsock.dll_wininet.dll_RICHED20.DLL_mapi32.dll_uxtheme.dll_imm32.dll_gdi32.dll_RasApi32.dll_mtxex.dll_msimg32.dll_comctl32.dll_comdlg32.dll_winmm.dll_cryptui.dll_icmp.dll_msjet40.dll_ntdll.dll_ODBCCP32.DLL_olepro32.dll_Rstrtmgr.dll_usp10.dll_VBAJET32.dll_winsta.dll
mov bl, 0x2c
lea edi, [esp + 0x134]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0x14], 0xffffffff
je 0x9b3a21
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [esp + 0x24]
sub edx, dword [esp + 0x240]
mov dword [esp + 0x20], edx
jmp 0x9b3867
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x240]
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x9b3870
cmp byte [esp + 0x24], cl
je 0x9b38a7
lea eax, [esp + 0x24]
inc eax
cmp byte [eax], 0
jne 0x9b3884
lea ecx, [esp + 0x24]
sub eax, ecx
je 0x9b38a7
cmp byte [esp + eax + 0x23], 0x5c
je 0x9b38a7
push 0xaa1564
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x12c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x9b38b0
lea edi, [esp + 0x24]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x9b38c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x9b3991
lea eax, [esp + 0x24]
call fcn.0094dd20
test eax, eax
jne 0x9b3969
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x9b3965
lea eax, [esp + 0x24]
call fcn.0095a560
cmp eax, 0xffffffff
je 0x9b3938
test al, 7
je 0x9b3938
push 0x80
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x24]
call fcn.0094dd20
test eax, eax
jne 0x9b3969
call esi
mov esi, eax
cmp esi, 2
je 0x9b3965
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.00962410
add esp, 8
push esi
call ebp
xor eax, eax
jmp 0x9b396e
push 0
call ebp
mov eax, 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x9b3991
mov edx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
push edx
push 0xaf61cc
push 0
call fcn.0096a780
add esp, 0x18
lea ecx, [esp + 0x24]
call fcn.0095a450
test eax, eax
je 0x9b39fb
lea eax, [esp + 0x24]
call fcn.0095a560
cmp eax, 0xffffffff
je 0x9b39c0
test al, 7
je 0x9b39c0
push 0x80
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp byte [esp + 0x24], 0
je 0x9b39e2
push 0x80
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ecx
push 0xaf61fc
push 0
call fcn.0096a780
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push str.kernel32.dll_version.dll_ws2_32.dll_netapi32.dll_winhttp.dll_mpr.dll_activeds.dll_user32.dll_winspool.drv_advapi32.dll_shell32.dll_ole32.dll_oleaut32.dll_oleacc.dll_Shlwapi.dll_Imagehlp.dll_Crypt32.dll_PSAPI.DLL_wldap32.dll_Iphlpapi.dll_Wtsapi32.dll_shfolder.dll_wsock32.dll_mswsock.dll_wininet.dll_RICHED20.DLL_mapi32.dll_uxtheme.dll_imm32.dll_gdi32.dll_RasApi32.dll_mtxex.dll_msimg32.dll_comctl32.dll_comdlg32.dll_winmm.dll_cryptui.dll_icmp.dll_msjet40.dll_ntdll.dll_ODBCCP32.DLL_olepro32.dll_Rstrtmgr.dll_usp10.dll_VBAJET32.dll_winsta.dll
mov bl, 0x2c
lea edi, [esp + 0x134]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0x14], 0xffffffff
jne 0x9b3863
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x22c
ret