Function at 0x5520e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad2b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x63ad78]
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.00511010
movzx eax, al
test eax, eax
jne 0x552138
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x552138
mov ecx, dword [ebp - 0x10]
call fcn.005478f0
movzx eax, al
test eax, eax
jne 0x55213f
xor al, al
jmp 0x552571
mov ecx, dword [ebp - 0x10]
call fcn.0054f750
movzx eax, al
test eax, eax
je 0x552182
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005055f0
push eax
call fcn.00549500
add esp, 4
movzx eax, al
test eax, eax
je 0x55217b
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005055f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x552571
lea ecx, [ebp - 0x20]
call fcn.0055c6c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0055c6c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.005132f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00552090
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005055f0
push eax
call fcn.0052b3e0
add esp, 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005055f0
push eax
lea ecx, [ebp - 0x60]
call fcn.00513a90
movzx eax, al
test eax, eax
jne 0x55222b
mov byte [ebp - 0xbf], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.005520c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00513370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00512920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00512920
mov al, byte [ebp - 0xbf]
jmp 0x552571
push 0
lea ecx, [ebp - 0x60]
call fcn.0054b770
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb8]
add ecx, 0x100000
push ecx
lea ecx, [ebp - 0x20]
call fcn.005428b0
push 1
push 0x120000
lea ecx, [ebp - 0x30]
call fcn.005428b0
push 0x10
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.00582ec0
add esp, 0xc
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
jmp 0x552287
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 0x5524f9
jl 0x5522d2
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
cmp edx, dword [ecx + 0xc0]
jae 0x5524f9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x7c]
cmp dword [ecx + edx*4], 0
je 0x552347
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.00544c00
movzx ecx, al
test ecx, ecx
jne 0x552347
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.0054cdc0
test eax, eax
jle 0x552347
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.005576e0
test eax, eax
jg 0x55234c
jmp 0x55227e
lea ecx, [ebp - 0x20]
call fcn.005128a0
test eax, eax
jg 0x55235d
jmp 0x55227e
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.0057b900
add esp, 0xc
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x20]
call fcn.005128a0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x20]
call fcn.005128a0
push eax
lea ecx, [ebp - 0x20]
call fcn.005128e0
push eax
mov eax, dword [ebp - 0x78]
push eax
call fcn.0057b900
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.005128a0
cmp eax, 0x100000
jge 0x552456
push 0x10
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x30]
call fcn.00542ba0
lea ecx, [ebp - 0x20]
call fcn.005128a0
push eax
lea ecx, [ebp - 0x20]
call fcn.005128e0
push eax
lea ecx, [ebp - 0x30]
call fcn.00542ba0
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00552590
lea ecx, [ebp - 0x30]
call fcn.005128a0
cmp eax, 0x100000
jl 0x552451
lea ecx, [ebp - 0x64]
call fcn.0054f810
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.005128a0
push eax
lea ecx, [ebp - 0x30]
call fcn.005128e0
push eax
lea ecx, [ebp - 0x60]
call fcn.00513ac0
mov esi, eax
lea ecx, [ebp - 0x30]
call fcn.005128a0
cmp esi, eax
je 0x552447
lea ecx, [ebp - 0x30]
call fcn.00512940
jmp 0x5524f9
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.00552590
jmp 0x55227e
lea ecx, [ebp - 0x64]
call fcn.0054f810
push 0xffffffffffffffff
push 0x10
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x60]
call fcn.00513ac0
cmp eax, 0x10
jne 0x55249d
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.005128a0
push eax
lea ecx, [ebp - 0x20]
call fcn.005128e0
push eax
lea ecx, [ebp - 0x60]
call fcn.00513ac0
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.005128a0
cmp esi, eax
je 0x5524ea
lea ecx, [ebp - 0x60]
call fcn.00513370
mov byte [ebp - 0xbe], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.005520c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00513370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00512920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00512920
mov al, byte [ebp - 0xbe]
jmp 0x552571
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00552590
jmp 0x55227e
lea ecx, [ebp - 0x30]
call fcn.005128a0
test eax, eax
jle 0x552521
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.005128a0
push eax
lea ecx, [ebp - 0x30]
call fcn.005128e0
push eax
lea ecx, [ebp - 0x60]
call fcn.00513ac0
lea ecx, [ebp - 0x60]
call fcn.00513370
lea ecx, [ebp - 0x64]
call fcn.0054f850
mov byte [ebp - 0xbd], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.005520c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00513370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00512920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00512920
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