Function at 0x4a2bd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bddb3
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 0x4a2e76
mov eax, dword [0x67da2c]
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.00414d50
lea ecx, [ebp - 0x90]
call fcn.00414d50
mov eax, dword [0x67da2c]
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.00414d50
mov eax, dword [0x67da2c]
mov dword [ebp - 0x104], 0x5d750c
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.00575650
cmp al, bl
je 0x4a2e46
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4a2cb5
lea eax, [ebp - 0x68]
push eax
call fcn.00584816
add esp, 4
test eax, eax
jbe 0x4a2cd3
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x4a2ccc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jne 0x4a2ce3
lea eax, [ebp - 0x8c]
push eax
call fcn.00584816
add esp, 4
test eax, eax
jbe 0x4a2e37
cmp dword [ebp - 0xec], ebx
jne 0x4a2e37
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 0x4a2d20
lea ecx, [ebp - 0x8c]
mov edx, 0x656f5c
test edx, edx
je 0x4a2de5
cmp ecx, ebx
je 0x4a2de5
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403ad0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00401070
push 0x656f5c
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.00584816
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.0059cff9
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x4a2dc4
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.005847a6
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00584816
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 0x4a2dec
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.00584766
add esp, 8
cmp eax, ebx
je 0x4a2e2b
push 0x65f9fc
mov word [eax], bx
call fcn.00587502
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00401ed0
push eax
call fcn.00586ecb
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.004a2470
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], bl
call fcn.0045a4e0
inc esi
jmp 0x4a2c00
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret