Function at 0x403807
Capabilities:
Delete directory
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
xor esi, esi
push edi
lea eax, [ebp - 9]
push esi
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x4465a8
mov dword [ebp - 0x30], 0x4465a0
call fcn.00403e8f
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [ebp - 0x28]
push str.File_d
push eax
mov dword [ebp - 8], esi
call edi
add esp, 0xc
mov esi, 0x104
lea eax, [ebp - 0x50]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ca84
mov ecx, dword [ebp - 0x18]
call fcn.00405033
lea ecx, [ebp + 0x30]
mov dword [ebp - 0x10], eax
mov ebx, eax
call fcn.00405033
push eax
push esi
push ebx
lea eax, [ebp - 0x28]
push 0x451a40
push eax
push str.Files
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
lea ecx, [ebp - 0x18]
neg ebx
sbb bl, bl
inc bl
call fcn.00404253
test bl, bl
jne 0x403912
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00405033
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
test eax, eax
jne 0x4038f9
sub esp, 0x28
mov ecx, esp
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ecx], 0x4465a8
mov dword [ecx + 0x20], 0x4465a0
call fcn.00403eea
call fcn.0041a523
add esp, 0x28
test al, al
je 0x4038f9
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
cmp eax, 0x64
jge 0x4038f9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x50]
call fcn.00405033
push eax
jmp 0x4038ad
inc dword [ebp - 8]
lea eax, [ebp - 0x28]
push dword [ebp - 8]
push str.File_d
push eax
call edi
add esp, 0xc
jmp 0x40384d
lea ecx, [ebp + 0x30]
call fcn.00405033
push eax
push 0
push str.FolderCount
push str.Folders
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
mov dword [ebp - 8], eax
js 0x403abf
jmp 0x40393c
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push str.Folder_d
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.0040ca84
mov ecx, dword [ebp - 0x18]
call fcn.00405033
lea ecx, [ebp + 0x30]
mov dword [ebp - 0x10], eax
mov ebx, eax
call fcn.00405033
push eax
push esi
push ebx
lea eax, [ebp - 0x28]
push 0x451a40
push eax
push str.Folders
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
lea ecx, [ebp - 0x18]
neg ebx
sbb bl, bl
inc bl
call fcn.00404253
test bl, bl
jne 0x403abf
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00405033
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call ebx
test eax, eax
jne 0x4039fb
sub esp, 0x28
mov ecx, esp
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ecx], 0x4465a8
mov dword [ecx + 0x20], 0x4465a0
call fcn.00403eea
call fcn.0041a523
add esp, 0x28
test al, al
je 0x4039fb
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
cmp eax, 0x64
jge 0x4039fb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x50]
call fcn.00405033
push eax
jmp 0x4039af
lea eax, [ebp - 0x50]
push 0
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x4465a8
mov dword [ebp - 0x58], 0x4465a0
call fcn.00403eea
lea ebx, [ebp + 8]
lea eax, [ebp + 0xc]
neg ebx
sbb ebx, ebx
push 0
and ebx, eax
lea ecx, [ebp - 0x74]
push ebx
call fcn.004045f7
test eax, eax
jne 0x403aae
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x74]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 4], ecx
jmp 0x403a46
mov ecx, dword [ebp - 4]
push ebx
call fcn.00403fe6
test eax, eax
je 0x403aae
lea ecx, [ebp - 0x78]
call fcn.00405033
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
lea eax, [ebp - 0xa0]
push 0
push eax
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0x78]
push eax
call fcn.00404201
mov ecx, eax
call fcn.0040406b
push eax
lea ecx, [ebp - 0x78]
call fcn.00403aeb
lea ecx, [ebp - 0xa0]
call fcn.0040e0a8
lea ecx, [ebp - 0xc8]
call fcn.0040e0a8
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.004045f7
test eax, eax
je 0x403a43
lea ecx, [ebp - 0x78]
call fcn.0040e0a8
dec dword [ebp - 8]
jns 0x403939
lea ecx, [ebp + 0x30]
call fcn.00405033
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x50]
call fcn.0040e0a8
lea ecx, [ebp + 8]
call fcn.0040e0a8
lea ecx, [ebp + 0x30]
call fcn.0040e0a8
pop edi
pop esi
pop ebx
leave
ret