Function at 0x496694
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9b79
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 0x199], 0
lea ecx, [ebp - 0x1b4]
call fcn.00407094
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
call fcn.00407094
mov byte [ebp - 4], 1
push str.15.0.20505.201
lea ecx, [ebp - 0x1b8]
call fcn.0040700c
mov byte [ebp - 4], 2
push 0x4c50ec
push 0x4c5134
lea eax, [ebp - 0x28]
push eax
call fcn.00417fc6
mov ecx, eax
call fcn.004826f2
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1a0]
push dword [eax + 0x7c]
lea eax, [ebp - 0x1b8]
push eax
mov ecx, dword [ebp - 0x1a0]
call fcn.004953b4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004020b1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b8]
call fcn.00405d4a
lea eax, [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x1a0]
call fcn.0049551e
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1a8]
call fcn.00406ff1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.00405d4a
lea ecx, [ebp - 0x1a8]
call fcn.004026c4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x198]
call fcn.0041ce44
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.0041d36f
mov byte [ebp - 4], 6
mov dword [ebp - 0xcc], 0x186a0
lea ecx, [ebp - 0x1a8]
call fcn.004026c4
push eax
lea ecx, [ebp - 0xa8]
call fcn.00406eb9
lea ecx, [ebp - 0x1b4]
call fcn.004026c4
push eax
lea ecx, [ebp - 0x198]
call fcn.00406eb9
lea ecx, [ebp - 0x1a8]
call fcn.004026c4
push eax
lea ecx, [ebp - 0x180]
call fcn.00406eb9
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x18]
call dword [eax + 4]
test eax, eax
je 0x49689c
mov byte [ebp - 0x199], 1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0xd0]
mov dword [eax + 0x44], ecx
mov eax, dword [ebp - 0x1a0]
and dword [eax + 0x78], 0
mov dword [ebp - 0xc8], 5
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0xc4], eax
jmp 0x4968c2
mov eax, dword [ebp - 0x1a0]
mov dword [eax + 0x78], 0x12
mov dword [ebp - 0xc8], 7
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x1a0]
add ecx, 0x10
call fcn.0041de34
mov ecx, eax
call fcn.0041cf38
movzx eax, byte [ebp - 0x199]
test eax, eax
jne 0x49697b
lea eax, [ebp - 0x1b0]
push eax
mov ecx, dword [ebp - 0x1a0]
add ecx, 0x1c
call fcn.0041dc5e
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x1a0]
add ecx, 0x1c
call fcn.0041dc09
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00401d6d
movzx eax, al
test eax, eax
je 0x496973
lea ecx, [ebp - 0x1b0]
call fcn.00401db3
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x496966
mov eax, dword [ebp - 0x1a0]
push dword [eax + 0x78]
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax]
push dword [ebp - 0x1ac]
call dword [eax]
lea ecx, [ebp - 0x1b0]
call fcn.0041d9bc
jmp 0x496909
xor eax, eax
jne 0x4968f4
mov al, byte [ebp - 0x199]
mov byte [ebp - 0x1a1], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.0041d4cf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x198]
call fcn.0041d72a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
call fcn.00405d4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00405d4a
mov al, byte [ebp - 0x1a1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret