Function at 0x53d084
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x53d08d
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405c0c
mov eax, dword [ebp - 8]
call fcn.00405c0c
mov eax, dword [ebp - 0xc]
call fcn.00405c0c
xor eax, eax
push ebp
push 0x53d428
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00512268
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x20]
mov edx, 0x53d440
call fcn.004057e0
lea eax, [ebp - 0x40]
mov ecx, 0x53d458
mov edx, dword [ebp - 0x10]
call fcn.00405a68
mov eax, dword [ebp - 0x40]
push eax
push 0x53d46c
push dword [ebp - 0x20]
push 0x53d480
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405adc
mov eax, dword [ebp - 0x44]
xor ecx, ecx
pop edx
call fcn.0051213c
test al, al
je 0x53d322
lea eax, [ebp - 0x48]
mov ecx, 0x53d458
mov edx, dword [ebp - 0x10]
call fcn.00405a68
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x426b4c]
call fcn.00426c04
mov dword [ebp - 0x24], eax
call fcn.005119a0
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 1
push 0x53d49c
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
call fcn.0040a6d4
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x14]
mov edx, 0x53d49c
call fcn.00405b68
je 0x53d313
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x53d306
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 1
call fcn.005119a0
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x30]
dec edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00405b68
jne 0x53d2fa
mov byte [ebp - 0x35], 1
mov eax, dword [ebp - 0x24]
call fcn.00404848
lea eax, [ebp - 0x50]
mov ecx, 0x53d458
mov edx, dword [ebp - 0x10]
call fcn.00405a68
mov eax, dword [ebp - 0x50]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x53d4ac
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00405adc
mov eax, dword [ebp - 0x54]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x53d4bc
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405adc
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.00403210
mov eax, dword [ebp - 0x58]
xor edx, edx
call fcn.0040adfc
mov dl, 1
mov eax, dword [0x41a10c]
call fcn.00404818
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x53d2a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x53d4cc
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x53d50c
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x53d558
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d2aa
mov eax, dword [ebp - 0x34]
call fcn.00404848
ret
inc dword [ebp - 0x30]
dec dword [ebp - 0x3c]
jne 0x53d1a0
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x65
jne 0x53d157
mov dword [0x59c6ec], 1
jmp 0x53d3d6
cmp dword [0x59c6ec], 0x1e
setg al
or al, byte [ebp + 8]
je 0x53d38a
mov byte [ebp - 0x35], 1
mov eax, 0x53d5bc
call fcn.0044af4c
lea eax, [ebp - 0x64]
mov ecx, 0x53d458
mov edx, dword [ebp - 0x10]
call fcn.00405a68
mov eax, dword [ebp - 0x64]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x53d4ac
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00405adc
mov eax, dword [ebp - 0x68]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
call fcn.00405580
jmp 0x53d3d6
mov byte [ebp - 0x35], 1
cmp dword [0x59c6ec], 0xf
jle 0x53d3d6
push 0x53d644
lea edx, [ebp - 0x70]
mov eax, 0x1e
sub eax, dword [0x59c6ec]
call fcn.0040a6d4
push dword [ebp - 0x70]
push 0x53d68c
push 0x53d6bc
push 0x53d6c8
lea eax, [ebp - 0x6c]
mov edx, 5
call fcn.00405adc
mov eax, dword [ebp - 0x6c]
call fcn.0044af4c
mov eax, dword [ebp - 0x24]
call fcn.00404848
lea eax, [ebp - 0x74]
mov ecx, 0x53d458
mov edx, dword [ebp - 0x10]
call fcn.00405a68
mov eax, dword [ebp - 0x74]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
movzx ebx, byte [ebp - 0x35]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d42f
lea eax, [ebp - 0x74]
mov edx, 0xe
call fcn.0040576c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.0040576c
ret