Function at 0x52f01c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x52f025
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00405848
xor eax, eax
push ebp
push 0x52f507
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov edx, 0x52f518
lea eax, [ebp - 0x58]
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x58]
mov cl, 0x45
call fcn.004039fc
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x10]
call fcn.0040562c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0052f78c
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0052e834
mov eax, dword [ebp - 4]
push eax
push 0x52f750
lea ecx, [ebp - 0x6c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0052d730
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
call fcn.0052d688
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 8]
add edx, 0x23a
call fcn.0040562c
mov edx, dword [ebp - 0x70]
pop eax
call fcn.0040a0b8
test eax, eax
je 0x52f138
mov edx, 0x52f524
lea eax, [ebp - 0xb8]
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.004039fc
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x104]
call fcn.00403a2c
mov edx, 0x52f52c
lea eax, [ebp - 0x104]
mov cl, 0x49
call fcn.004039fc
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x74]
call fcn.0040562c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0052f78c
xor ebx, ebx
jmp 0x52f4a1
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x25b]
dec al
je 0x52f153
sub al, 2
je 0x52f2ac
jmp 0x52f47b
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x52f1f4
push ebp
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.0040562c
mov eax, dword [ebp - 0x108]
call fcn.0052ee7c
pop ecx
mov ebx, eax
test bl, bl
jne 0x52f47b
mov edx, 0x52f538
lea eax, [ebp - 0x150]
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x150]
mov cl, 0x43
call fcn.004039fc
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x19c]
call fcn.00403a2c
mov edx, 0x52f540
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.004039fc
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x10c]
call fcn.0040562c
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.0052f78c
jmp 0x52f47b
push ebp
mov eax, dword [ebp - 8]
lea edx, [eax + 0x3d]
lea eax, [ebp - 0x230]
call fcn.00403a2c
mov eax, dword [ebp - 8]
lea edx, [eax + 0xa2]
lea eax, [ebp - 0x230]
mov cl, 0x8c
call fcn.004039fc
lea edx, [ebp - 0x230]
lea eax, [ebp - 0x1a0]
call fcn.0040562c
mov eax, dword [ebp - 0x1a0]
call fcn.0052ef90
pop ecx
test al, al
jne 0x52f47b
xor ebx, ebx
mov edx, 0x52f548
lea eax, [ebp - 0xb8]
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.004039fc
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x280]
call fcn.00403a2c
mov edx, 0x52f550
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.004039fc
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x234]
call fcn.0040562c
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 4]
call fcn.0052f78c
jmp 0x52f47b
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 8]
add edx, 0xa2
call fcn.0040562c
mov eax, dword [ebp - 0x284]
mov edx, 0x52f560
call fcn.0040a0b8
test eax, eax
jne 0x52f32b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x52f2e0
sub eax, 4
mov eax, dword [eax]
inc eax
call fcn.00402fb4
mov ebx, eax
lea eax, [ebp - 0xc]
call fcn.004058b8
mov edx, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x52f2fe
sub eax, 4
mov eax, dword [eax]
lea ecx, [eax + 1]
mov eax, ebx
xchg edx, eax
call fcn.004032f0
push ebx
push 0
push 0x7eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.00402fd0
xor ebx, ebx
jmp 0x52f47b
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x52f3cc
push ebp
lea eax, [ebp - 0x288]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.0040562c
mov eax, dword [ebp - 0x288]
call fcn.0052ee7c
pop ecx
mov ebx, eax
test bl, bl
jne 0x52f47b
mov edx, 0x52f538
lea eax, [ebp - 0x150]
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x150]
mov cl, 0x43
call fcn.004039fc
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x19c]
call fcn.00403a2c
mov edx, 0x52f540
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.004039fc
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x28c]
call fcn.0040562c
mov edx, dword [ebp - 0x28c]
mov eax, dword [ebp - 4]
call fcn.0052f78c
jmp 0x52f47b
push ebp
mov eax, dword [ebp - 8]
lea edx, [eax + 0x3d]
lea eax, [ebp - 0x230]
call fcn.00403a2c
mov eax, dword [ebp - 8]
lea edx, [eax + 0xa2]
lea eax, [ebp - 0x230]
mov cl, 0x8c
call fcn.004039fc
lea edx, [ebp - 0x230]
lea eax, [ebp - 0x290]
call fcn.0040562c
mov eax, dword [ebp - 0x290]
call fcn.0052ef90
pop ecx
test al, al
jne 0x52f47b
xor ebx, ebx
mov edx, 0x52f548
lea eax, [ebp - 0xb8]
call fcn.00403a2c
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.004039fc
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x280]
call fcn.00403a2c
mov edx, 0x52f550
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.004039fc
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x294]
call fcn.0040562c
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 4]
call fcn.0052f78c
mov eax, dword [ebp - 0xc]
call fcn.00405858
mov edx, eax
lea eax, [ebp - 0x298]
call fcn.004055c0
mov eax, dword [ebp - 0x298]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f50e
lea eax, [ebp - 0x298]
mov edx, 6
call fcn.004053ec
lea eax, [ebp - 0x234]
call fcn.004053c8
lea eax, [ebp - 0x1a0]
call fcn.004053c8
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004053ec
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004053ec
lea eax, [ebp - 0x5c]
call fcn.004053c8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004053ec
ret