Function at 0x552ec0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3780
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x6aae20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00513960
movzx eax, al
test eax, eax
jne 0x552f18
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x552f18
mov ecx, dword [ebp - 0x10]
call fcn.00548690
movzx eax, al
test eax, eax
jne 0x552f1f
xor al, al
jmp 0x553351
mov ecx, dword [ebp - 0x10]
call fcn.00550530
movzx eax, al
test eax, eax
je 0x552f62
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00507f90
push eax
call fcn.0054a2a0
add esp, 4
movzx eax, al
test eax, eax
je 0x552f5b
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00507f90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x553351
lea ecx, [ebp - 0x20]
call fcn.0055d510
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0055d510
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00515c40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00552e70
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00507f90
push eax
call fcn.0052cbf0
add esp, 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00507f90
push eax
lea ecx, [ebp - 0x60]
call fcn.005163e0
movzx eax, al
test eax, eax
jne 0x55300b
mov byte [ebp - 0xbf], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00552ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00516410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00515270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00515270
mov al, byte [ebp - 0xbf]
jmp 0x553351
push 0
lea ecx, [ebp - 0x60]
call fcn.0054c530
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb8]
add ecx, 0x100000
push ecx
lea ecx, [ebp - 0x20]
call fcn.00543650
push 1
push 0x120000
lea ecx, [ebp - 0x30]
call fcn.00543650
push 0x10
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.00588eb0
add esp, 0xc
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
jmp 0x553067
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cdq
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
cmp eax, dword [edx + 0xc4]
jg 0x5532d9
jl 0x5530b2
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
cmp edx, dword [ecx + 0xc0]
jae 0x5532d9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x7c]
cmp dword [ecx + edx*4], 0
je 0x553127
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.005459a0
movzx ecx, al
test ecx, ecx
jne 0x553127
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ecx + edx*4]
add ecx, 0x28
call fcn.0054dba0
test eax, eax
jle 0x553127
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ecx + edx*4]
add ecx, 0x28
call fcn.005584c0
test eax, eax
jg 0x55312c
jmp 0x55305e
lea ecx, [ebp - 0x20]
call fcn.005151f0
test eax, eax
jg 0x55313d
jmp 0x55305e
push 0x14
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
add ecx, 0x98
push ecx
mov edx, dword [ebp - 0x7c]
push edx
call fcn.0057cf10
add esp, 0xc
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x20]
call fcn.005151f0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x20]
call fcn.005151f0
push eax
lea ecx, [ebp - 0x20]
call fcn.00515230
push eax
mov eax, dword [ebp - 0x78]
push eax
call fcn.0057cf10
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x20]
call fcn.005151f0
cmp eax, 0x100000
jge 0x553236
push 0x10
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x30]
call fcn.00543940
lea ecx, [ebp - 0x20]
call fcn.005151f0
push eax
lea ecx, [ebp - 0x20]
call fcn.00515230
push eax
lea ecx, [ebp - 0x30]
call fcn.00543940
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00553370
lea ecx, [ebp - 0x30]
call fcn.005151f0
cmp eax, 0x100000
jl 0x553231
lea ecx, [ebp - 0x64]
call fcn.005505f0
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.005151f0
push eax
lea ecx, [ebp - 0x30]
call fcn.00515230
push eax
lea ecx, [ebp - 0x60]
call fcn.00516430
mov esi, eax
lea ecx, [ebp - 0x30]
call fcn.005151f0
cmp esi, eax
je 0x553227
lea ecx, [ebp - 0x30]
call fcn.00515290
jmp 0x5532d9
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.00553370
jmp 0x55305e
lea ecx, [ebp - 0x64]
call fcn.005505f0
push 0xffffffffffffffff
push 0x10
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x60]
call fcn.00516430
cmp eax, 0x10
jne 0x55327d
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.005151f0
push eax
lea ecx, [ebp - 0x20]
call fcn.00515230
push eax
lea ecx, [ebp - 0x60]
call fcn.00516430
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.005151f0
cmp esi, eax
je 0x5532ca
lea ecx, [ebp - 0x60]
call fcn.00516410
mov byte [ebp - 0xbe], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00552ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00516410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00515270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00515270
mov al, byte [ebp - 0xbe]
jmp 0x553351
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00553370
jmp 0x55305e
lea ecx, [ebp - 0x30]
call fcn.005151f0
test eax, eax
jle 0x553301
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.005151f0
push eax
lea ecx, [ebp - 0x30]
call fcn.00515230
push eax
lea ecx, [ebp - 0x60]
call fcn.00516430
lea ecx, [ebp - 0x60]
call fcn.00516410
lea ecx, [ebp - 0x64]
call fcn.00550630
mov byte [ebp - 0xbd], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00552ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00516410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00515270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00515270
mov al, byte [ebp - 0xbd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret