Function at 0x5520c0
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 [0x636d78]
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 0x552118
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x552118
mov ecx, dword [ebp - 0x10]
call fcn.005478d0
movzx eax, al
test eax, eax
jne 0x55211f
xor al, al
jmp 0x552551
mov ecx, dword [ebp - 0x10]
call fcn.0054f730
movzx eax, al
test eax, eax
je 0x552162
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005055f0
push eax
call fcn.005494e0
add esp, 4
movzx eax, al
test eax, eax
je 0x55215b
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005055f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x552551
lea ecx, [ebp - 0x20]
call fcn.0055c6a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0055c6a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.005132f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00552070
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005055f0
push eax
call fcn.0052b400
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 0x55220b
mov byte [ebp - 0xbf], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.005520a0
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 0x552551
push 0
lea ecx, [ebp - 0x60]
call fcn.0054b750
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb8]
add ecx, 0x100000
push ecx
lea ecx, [ebp - 0x20]
call fcn.00542890
push 1
push 0x120000
lea ecx, [ebp - 0x30]
call fcn.00542890
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 0x552267
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 0x5524d9
jl 0x5522b2
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
cmp edx, dword [ecx + 0xc0]
jae 0x5524d9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x7c]
cmp dword [ecx + edx*4], 0
je 0x552327
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.00544be0
movzx ecx, al
test ecx, ecx
jne 0x552327
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.0054cda0
test eax, eax
jle 0x552327
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.005576c0
test eax, eax
jg 0x55232c
jmp 0x55225e
lea ecx, [ebp - 0x20]
call fcn.005128a0
test eax, eax
jg 0x55233d
jmp 0x55225e
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 0x552436
push 0x10
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x30]
call fcn.00542b80
lea ecx, [ebp - 0x20]
call fcn.005128a0
push eax
lea ecx, [ebp - 0x20]
call fcn.005128e0
push eax
lea ecx, [ebp - 0x30]
call fcn.00542b80
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00552570
lea ecx, [ebp - 0x30]
call fcn.005128a0
cmp eax, 0x100000
jl 0x552431
lea ecx, [ebp - 0x64]
call fcn.0054f7f0
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 0x552427
lea ecx, [ebp - 0x30]
call fcn.00512940
jmp 0x5524d9
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.00552570
jmp 0x55225e
lea ecx, [ebp - 0x64]
call fcn.0054f7f0
push 0xffffffffffffffff
push 0x10
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x60]
call fcn.00513ac0
cmp eax, 0x10
jne 0x55247d
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 0x5524ca
lea ecx, [ebp - 0x60]
call fcn.00513370
mov byte [ebp - 0xbe], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.005520a0
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 0x552551
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00552570
jmp 0x55225e
lea ecx, [ebp - 0x30]
call fcn.005128a0
test eax, eax
jle 0x552501
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.0054f830
mov byte [ebp - 0xbd], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.005520a0
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