Function at 0x552210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov al, byte [ebp + 8]
mov byte [ebp - 9], al
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x552249
mov ecx, dword [ebp - 4]
call fcn.00548330
movzx ecx, al
test ecx, ecx
je 0x552249
mov dword [ebp - 0x54], 1
jmp 0x552250
mov dword [ebp - 0x54], 0
mov dl, byte [ebp - 0x54]
mov byte [ebp - 0xa], dl
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
call fcn.0054b8d0
movzx eax, al
test eax, eax
je 0x552546
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x552282
push 0
mov ecx, dword [ebp - 4]
call fcn.005519b0
mov dword [ebp - 0x10], 0
jmp 0x552294
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0xcc]
jge 0x552408
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
cmp dword [ecx + edx*4], 0
je 0x55230f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx*4]
call fcn.005161d0
movzx eax, al
test eax, eax
je 0x55230f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx*4]
call fcn.00548d00
movzx eax, al
test eax, eax
jne 0x5522f2
mov byte [ebp - 9], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx*4]
call fcn.00516220
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
cmp dword [ecx + edx*4], 0
je 0x5523a0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x5523a0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
movzx ecx, byte [eax + 0x99]
test ecx, ecx
je 0x5523a0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx*4]
call fcn.0054ccb0
movzx eax, al
test eax, eax
jne 0x5523a0
mov ecx, dword [ebp - 4]
call fcn.005501d0
movzx eax, al
test eax, eax
jne 0x55238c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
push eax
mov ecx, dword [ebp - 4]
call fcn.0054f570
movzx ecx, al
test ecx, ecx
je 0x5523a0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx*4]
call fcn.00552560
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x552403
movzx eax, byte [0x6654ea]
test eax, eax
je 0x552403
mov ecx, dword [ebp - 4]
call fcn.005501d0
movzx eax, al
test eax, eax
jne 0x5523e1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
push eax
mov ecx, dword [ebp - 4]
call fcn.0054f570
movzx ecx, al
test ecx, ecx
je 0x552403
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx*4]
add ecx, 0x38
call fcn.00507da0
push eax
call fcn.00549fb0
add esp, 8
jmp 0x55228b
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x552527
mov ecx, dword [ebp - 4]
call fcn.005501d0
movzx eax, al
test eax, eax
je 0x552527
mov ecx, dword [ebp - 4]
call fcn.00548330
movzx eax, al
test eax, eax
je 0x552527
mov dword [ebp - 0x10], 0
jmp 0x55244c
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cdq
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
cmp eax, dword [edx + 0xc4]
jg 0x5524d4
jl 0x55247a
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
cmp edx, dword [ecx + 0xc0]
jae 0x5524d4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
cmp dword [ecx + edx*4], 0
jne 0x55248e
jmp 0x552443
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
cmp dword [eax + 0xe0], 0
jne 0x5524bb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
cmp dword [eax + 0x1c], 0
je 0x5524cf
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx*4]
call fcn.00554a80
jmp 0x552443
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.00513770
movzx eax, al
test eax, eax
jne 0x552527
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.00507da0
push eax
call fcn.00549f60
add esp, 4
movzx eax, al
test eax, eax
je 0x552527
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.00507da0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x552527
push 0x632dce
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.00512a40
movzx eax, byte [ebp - 9]
test eax, eax
je 0x552546
mov ecx, dword [ebp - 4]
call fcn.00548330
movzx eax, al
test eax, eax
je 0x552546
mov ecx, dword [ebp - 4]
call fcn.0054d070
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8