Function at 0x4a35b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2a33
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 0x4a3856
mov eax, dword [0x682f9c]
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.00415090
lea ecx, [ebp - 0x90]
call fcn.00415090
mov eax, dword [0x682f9c]
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.00415090
mov eax, dword [0x682f9c]
mov dword [ebp - 0x104], 0x5dc51c
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.0057a250
cmp al, bl
je 0x4a3826
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4a3695
lea eax, [ebp - 0x68]
push eax
call fcn.00589432
add esp, 4
test eax, eax
jbe 0x4a36b3
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4a36ac
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jne 0x4a36c3
lea eax, [ebp - 0x8c]
push eax
call fcn.00589432
add esp, 4
test eax, eax
jbe 0x4a3817
cmp dword [ebp - 0xec], ebx
jne 0x4a3817
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 0x4a3700
lea ecx, [ebp - 0x8c]
mov edx, 0x65bf6c
test edx, edx
je 0x4a37c5
cmp ecx, ebx
je 0x4a37c5
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403af0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401070
push 0x65bf6c
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.00589432
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x4a37a4
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.005893c2
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00589432
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 0x4a37cc
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.00589382
add esp, 8
cmp eax, ebx
je 0x4a380b
push 0x6648d8
mov word [eax], bx
call fcn.0058c112
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
push eax
call fcn.0058badb
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.004a2e50
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0045ac50
inc esi
jmp 0x4a35e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret