Function at 0x1005d048
Capabilities:
Delete file

Disassembly:
push 0x7c
mov eax, 0x100af848
call fcn.10091010
mov edi, ecx
push 0x75
pop edx
lea ecx, [ebp - 0x70]
call fcn.1004a72b
mov esi, 0x100cc9c4
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.10006fa1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.10006a1b
push 0x100bc7cc
lea ecx, [ebp - 0x40]
call fcn.10006fbe
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x80]
call fcn.1004eb0e
xor esi, esi
mov byte [ebp - 4], 3
push ebx
inc esi
lea ecx, [ebp - 0x40]
push esi
call fcn.100072c0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x80]
call fcn.1004edf1
test eax, eax
je 0x1005d221
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x80]
call fcn.1004ec0d
mov byte [ebp - 4], 4
jmp 0x1005d1cd
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x78]
call fcn.1004ebe5
mov esi, eax
push 0x100cc9e8
mov byte [ebp - 4], 5
call fcn.10006fa1
pop ecx
push eax
push 0x100cc9e8
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.1003665e
test eax, eax
mov byte [ebp - 4], 4
push 0
setne bl
lea ecx, [ebp - 0x58]
xor esi, esi
inc esi
push esi
call fcn.100072c0
test bl, bl
jne 0x1005d1c5
push 0xf
xor ebx, ebx
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
push 0x100cc9f4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.10006fbe
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x78]
call fcn.1005cbc7
push ebx
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.100072c0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [edi + 0x74]
cmovae ecx, dword [ebp - 0x40]
cmp dword [eax + 0x14], 0x10
jb 0x1005d181
mov eax, dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005d1a1
test dl, dl
je 0x1005d19d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005d1a1
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005d181
mov eax, ebx
jmp 0x1005d1a5
sbb eax, eax
or eax, esi
test eax, eax
je 0x1005d239
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.100072c0
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.100072c0
lea ecx, [ebp - 0x78]
call fcn.1004efa2
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x80]
call fcn.1004ec5c
mov ecx, dword [ebp - 0x74]
xor ebx, ebx
cmp ecx, dword [eax + 4]
lea ecx, [ebp - 0x88]
setne bl
call fcn.1005cbaa
test ebx, ebx
jne 0x1005d0d3
push 0xa4
push 0x100cca5c
push 0x100ccac4
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
lea ecx, [ebp - 0x78]
call fcn.1005cbaa
lea ecx, [ebp - 0x80]
call fcn.1005cbaa
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.100072c0
call fcn.10090fbf
ret
push 0x100cc9fc
lea ecx, [ebp - 0x58]
call fcn.10006fbe
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x78]
call fcn.1005cbc7
push ebx
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.100072c0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x80]
call fcn.1004ed1f
mov edi, 0x100cca5c
test eax, eax
je 0x1005d298
push 0x98
push edi
push 0x100cca7c
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x80]
call fcn.1004ee67
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1005d2df
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x9f
push edi
push 0x100ccaa4
call fcn.10045657
push eax
call fcn.100448e6
add esp, 0x14
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.100072c0
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.100072c0
jmp 0x1005d219