Function at 0x1004c537
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008888f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004c568
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1004c79a
mov dword [ebp - 0x44], 0xf33880e0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0xd562b994
mov dword [ebp - 0x14], 0xbb75da2c
mov dword [ebp - 0x38], 1
push 2
lea ecx, [ebp - 0x7c]
call fcn.10017bbe
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x10], 0
jmp 0x1004c5be
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1004c5d4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
or dword [eax], 0xffffffff
jmp 0x1004c5b7
cmp dword [ebp - 0x14], 0x4cd021a
je 0x1004c5e6
mov dword [ebp - 0x24], 1
jmp 0x1004c5ea
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x64]
jne 0x1004c60e
mov dword [ebp - 0x28], 1
jmp 0x1004c612
and dword [ebp - 0x28], 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jne 0x1004c62c
mov dword [ebp - 0x2c], 1
jmp 0x1004c630
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jne 0x1004c641
mov dword [ebp - 0x30], 1
jmp 0x1004c645
and dword [ebp - 0x30], 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax]
je 0x1004c65f
mov dword [ebp - 0x34], 1
jmp 0x1004c663
and dword [ebp - 0x34], 0
xor eax, eax
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
push 1
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov esi, eax
push 0
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov ecx, dword [esi]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jl 0x1004c6a5
mov dword [ebp - 0x3c], 1
jmp 0x1004c6a9
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0x8b6b0e1b
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x44], eax
jge 0x1004c6c7
mov dword [ebp - 0x48], 1
jmp 0x1004c6cb
and dword [ebp - 0x48], 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jg 0x1004c6ea
or eax, 0xffffffff
je 0x1004c6ea
mov dword [ebp - 0x4c], 1
jmp 0x1004c6ee
and dword [ebp - 0x4c], 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jge 0x1004c708
mov dword [ebp - 0x50], 1
jmp 0x1004c70c
and dword [ebp - 0x50], 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov ecx, dword [ebp - 0x50]
sub ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
sub esi, dword [eax]
je 0x1004c73e
cmp dword [ebp - 0x18], 0
je 0x1004c73e
mov dword [ebp - 0x54], 1
jmp 0x1004c742
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x51c76d7b
je 0x1004c754
mov dword [ebp - 0x58], 1
jmp 0x1004c758
and dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.10017c2b
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 0
jne 0x1004c777
xor eax, eax
jne 0x1004c777
and dword [ebp - 0x5c], 0
jmp 0x1004c77e
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.10017c26
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret