Function at 0x49f470
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7913
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 0x49f716
mov eax, dword [0x6754cc]
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.00414e20
lea ecx, [ebp - 0x90]
call fcn.00414e20
mov eax, dword [0x6754cc]
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.00414e20
mov eax, dword [0x6754cc]
mov dword [ebp - 0x104], 0x5d1124
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.0056f480
cmp al, bl
je 0x49f6e6
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x49f555
lea eax, [ebp - 0x68]
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
jbe 0x49f573
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x49f56c
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jne 0x49f583
lea eax, [ebp - 0x8c]
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
jbe 0x49f6d7
cmp dword [ebp - 0xec], ebx
jne 0x49f6d7
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 0x49f5c0
lea ecx, [ebp - 0x8c]
mov edx, 0x64efa8
test edx, edx
je 0x49f685
cmp ecx, ebx
je 0x49f685
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403ba0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401070
push 0x64efa8
lea ecx, [ebp - 0x30]
call fcn.00401f20
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00401fa0
push eax
call fcn.0057e90a
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005970d9
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x49f664
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.00401fa0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fa0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0057e90a
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 0x49f68c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
push 0x5c
push eax
call fcn.0057e85a
add esp, 8
cmp eax, ebx
je 0x49f6cb
push 0x657944
mov word [eax], bx
call fcn.005815f2
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00401fa0
push eax
call fcn.00580fbb
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.0049ed10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.00458730
inc esi
jmp 0x49f4a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret