Function at 0x4a5e90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cae23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ebx
xor esi, esi
mov eax, dword [edi + 0xb0]
mov dword [ebp - 0x20], esi
cmp esi, eax
jge 0x4a6136
mov eax, dword [0x68d01c]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xa4], bx
call fcn.004178c0
lea ecx, [ebp - 0x90]
call fcn.004178c0
mov eax, dword [0x68d01c]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
call fcn.004178c0
mov eax, dword [0x68d01c]
mov dword [ebp - 0x104], 0x5e54ec
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x104]
push ebx
push eax
push esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 1
call fcn.00582530
cmp al, bl
je 0x4a6106
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4a5f75
lea eax, [ebp - 0x68]
push eax
call fcn.00591712
add esp, 4
test eax, eax
jbe 0x4a5f93
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4a5f8c
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jne 0x4a5fa3
lea eax, [ebp - 0x8c]
push eax
call fcn.00591712
add esp, 4
test eax, eax
jbe 0x4a60f7
cmp dword [ebp - 0xec], ebx
jne 0x4a60f7
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], bx
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 2
cmp ecx, ebx
jne 0x4a5fe0
lea ecx, [ebp - 0x8c]
mov edx, 0x665f68
test edx, edx
je 0x4a60a5
cmp ecx, ebx
je 0x4a60a5
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403af0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401070
push 0x665f68
lea ecx, [ebp - 0x30]
call fcn.00401e50
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00401ed0
push eax
call fcn.00591712
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005a9fe9
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x4a6084
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x3c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005916a2
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00591712
add esp, 0x14
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
cmp eax, ebx
jne 0x4a60ac
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
push 0x5c
push eax
call fcn.00591662
add esp, 8
cmp eax, ebx
je 0x4a60eb
push 0x66e838
mov word [eax], bx
call fcn.005943f2
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
push eax
call fcn.00593dbb
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
lea edx, [ebp - 0x104]
mov ecx, edi
push edx
push esi
call fcn.004a5730
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0045cb50
inc esi
jmp 0x4a5ec0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret