Function at 0x552860
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b36a8
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x6d2e20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x20]
call fcn.0055d3c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00515ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00552d70
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x10]
call fcn.0054bb10
movzx eax, al
test eax, eax
je 0x5528ed
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00513c10
movzx eax, al
test eax, eax
jne 0x5528ed
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
jne 0x552926
mov byte [ebp - 0xb7], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00552da0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00516660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00515520
mov al, byte [ebp - 0xb7]
jmp 0x552d53
mov ecx, dword [ebp - 0x10]
call fcn.00550430
movzx eax, al
test eax, eax
je 0x55299b
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00508230
push eax
call fcn.0054a1a0
add esp, 4
movzx eax, al
test eax, eax
je 0x552962
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00508230
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0xb6], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00552da0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00516660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00515520
mov al, byte [ebp - 0xb6]
jmp 0x552d53
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00508230
push eax
lea ecx, [ebp - 0x50]
call fcn.00515710
movzx eax, al
test eax, eax
jne 0x5529f1
mov byte [ebp - 0xb5], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00552da0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00516660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00515520
mov al, byte [ebp - 0xb5]
jmp 0x552d53
lea ecx, [ebp - 0x50]
call fcn.0054c410
push 0
lea ecx, [ebp - 0x50]
call fcn.0054c430
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb8]
add ecx, 0x100000
push ecx
lea ecx, [ebp - 0x20]
call fcn.00543550
lea ecx, [ebp - 0x54]
call fcn.005504f0
push 0xffffffffffffffff
push 0x10
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.005159f0
cmp eax, 0x10
je 0x552a3f
jmp 0x552d07
cmp dword [ebp - 0x64], 0
jle 0x552a6c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb8]
add ecx, 0x100000
cmp dword [ebp - 0x64], ecx
jge 0x552a6c
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00553300
movzx ecx, al
test ecx, ecx
jne 0x552a71
jmp 0x552d07
push 0xffffffffffffffff
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x20]
call fcn.005154e0
push eax
lea ecx, [ebp - 0x50]
call fcn.005159f0
cmp eax, dword [ebp - 0x64]
je 0x552a92
jmp 0x552d07
push 0x14
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
add ecx, 0x98
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0057cdc0
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x20]
call fcn.005154e0
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0057cdc0
add esp, 0xc
cmp eax, dword [ebp - 0x60]
je 0x552ad3
jmp 0x552d07
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.005458a0
movzx ecx, al
test ecx, ecx
jne 0x552b00
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x552b05
jmp 0x552cfa
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.0054e620
movzx eax, al
test eax, eax
jne 0x552bc8
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0xe4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xbc]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [eax + ecx*4]
add edx, 0x28
push edx
call fcn.005553a0
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x552bc8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
mov byte [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.00556de0
push 0xffffffffffffff9c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.00556f40
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.00554ce0
jmp 0x552cfa
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.00556c80
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x20]
call fcn.005154e0
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xbc]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [edx + eax*4]
add ecx, 0x28
call fcn.00558220
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xbc]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [edx + ecx*4]
cmp eax, dword [edx + 0x1c]
je 0x552c41
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.00556de0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.00554ce0
jmp 0x552d07
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
add ecx, 0x28
call fcn.0054daa0
test eax, eax
jle 0x552c9d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
call fcn.00513520
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.0054db00
movzx eax, al
test eax, eax
je 0x552cf1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + edx*4]
call fcn.00556bf0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx + edx*4]
mov byte [eax + 0x20], 1
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov eax, 1
test eax, eax
jne 0x552a1d
lea ecx, [ebp - 0x50]
call fcn.00516660
lea ecx, [ebp - 0x54]
call fcn.00550530
xor eax, eax
cmp dword [ebp - 0x68], 0
setg al
mov byte [ebp - 0xad], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00552da0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00516660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00515520
mov al, byte [ebp - 0xad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret