Function at 0x4037da
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], 0x4465a0
mov dword [ebp - 0x30], 0x446598
call fcn.00403e51
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [ebp - 0x28]
push 0x44c474
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.0040508c
mov ecx, dword [ebp - 0x18]
call fcn.00404ff5
lea ecx, [ebp + 0x30]
mov dword [ebp - 0x10], eax
mov ebx, eax
call fcn.00404ff5
push eax
push esi
push ebx
lea eax, [ebp - 0x28]
push 0x451a40
push eax
push 0x44c46c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
lea ecx, [ebp - 0x18]
neg ebx
sbb bl, bl
inc bl
call fcn.00404215
test bl, bl
jne 0x4038e5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404ff5
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
test eax, eax
jne 0x4038cc
sub esp, 0x28
mov ecx, esp
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ecx], 0x4465a0
mov dword [ecx + 0x20], 0x446598
call fcn.00403eac
call fcn.0041a6fb
add esp, 0x28
test al, al
je 0x4038cc
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
cmp eax, 0x64
jge 0x4038cc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x50]
call fcn.00404ff5
push eax
jmp 0x403880
inc dword [ebp - 8]
lea eax, [ebp - 0x28]
push dword [ebp - 8]
push 0x44c474
push eax
call edi
add esp, 0xc
jmp 0x403820
lea ecx, [ebp + 0x30]
call fcn.00404ff5
push eax
push 0
push 0x44c3fc
push 0x44c41c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
dec eax
mov dword [ebp - 8], eax
js 0x403a92
jmp 0x40390f
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push 0x44c410
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.0040508c
mov ecx, dword [ebp - 0x18]
call fcn.00404ff5
lea ecx, [ebp + 0x30]
mov dword [ebp - 0x10], eax
mov ebx, eax
call fcn.00404ff5
push eax
push esi
push ebx
lea eax, [ebp - 0x28]
push 0x451a40
push eax
push 0x44c41c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
lea ecx, [ebp - 0x18]
neg ebx
sbb bl, bl
inc bl
call fcn.00404215
test bl, bl
jne 0x403a92
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404ff5
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call ebx
test eax, eax
jne 0x4039ce
sub esp, 0x28
mov ecx, esp
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ecx], 0x4465a0
mov dword [ecx + 0x20], 0x446598
call fcn.00403eac
call fcn.0041a6fb
add esp, 0x28
test al, al
je 0x4039ce
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
cmp eax, 0x64
jge 0x4039ce
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x50]
call fcn.00404ff5
push eax
jmp 0x403982
lea eax, [ebp - 0x50]
push 0
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x4465a0
mov dword [ebp - 0x58], 0x446598
call fcn.00403eac
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.004045b9
test eax, eax
jne 0x403a81
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x74]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 4], ecx
jmp 0x403a19
mov ecx, dword [ebp - 4]
push ebx
call fcn.00403fa8
test eax, eax
je 0x403a81
lea ecx, [ebp - 0x78]
call fcn.00404ff5
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.004041c3
mov ecx, eax
call fcn.0040402d
push eax
lea ecx, [ebp - 0x78]
call fcn.00403abe
lea ecx, [ebp - 0xa0]
call fcn.00403643
lea ecx, [ebp - 0xc8]
call fcn.00403643
push 0
push ebx
lea ecx, [ebp - 0x74]
call fcn.004045b9
test eax, eax
je 0x403a16
lea ecx, [ebp - 0x78]
call fcn.00403643
dec dword [ebp - 8]
jns 0x40390c
lea ecx, [ebp + 0x30]
call fcn.00404ff5
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x50]
call fcn.00403643
lea ecx, [ebp + 8]
call fcn.00403643
lea ecx, [ebp + 0x30]
call fcn.00403643
pop edi
pop esi
pop ebx
leave
ret