Function at 0x45a720
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486550
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4bc00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
push str.C:windowsiassistlogsAnk.bat
lea ecx, [ebp - 0x18]
call fcn.0045fcf0
mov byte [ebp - 4], 1
push ecx
mov dword [ebp - 0x30], esp
mov ebx, esp
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x45a791
cmp ecx, dword [esi - 0x10]
jne 0x45a791
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x45a7bb
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x45afca
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
call fcn.00467760
add esp, 4
test al, al
jne 0x45a8eb
push str.C:windowsiassistlogsAnk.vbs
lea ecx, [ebp - 0x18]
call fcn.0045fc60
push ecx
mov dword [ebp - 0x30], esp
mov ebx, esp
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x45a814
cmp ecx, dword [esi - 0x10]
jne 0x45a814
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x45a83e
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x45afcf
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 1
call fcn.00467760
add esp, 4
test al, al
jne 0x45a8eb
push str.C:windowsiassistlogsAnk.ps1
lea ecx, [ebp - 0x18]
call fcn.0045fc60
push ecx
mov dword [ebp - 0x30], esp
mov ebx, esp
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x45a897
cmp ecx, dword [esi - 0x10]
jne 0x45a897
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x45a8c1
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x45afd4
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
mov byte [ebp - 4], 1
call fcn.00467760
add esp, 4
test al, al
jne 0x45a8eb
push str.C:windowsiassistlogsAnk.cmd
lea ecx, [ebp - 0x18]
call fcn.0045fc60
push ecx
mov dword [ebp - 0x30], esp
mov ebx, esp
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x45a916
cmp ecx, dword [esi - 0x10]
jne 0x45a916
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x45a940
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x45afd9
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 8
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.runScriptsByDefault
call fcn.0045fcf0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 1
or ecx, 0xffffffff
call fcn.00462c10
add esp, 4
mov dword [ebp - 0x30], esp
mov ebx, esp
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x45a99a
cmp ecx, dword [esi - 0x10]
jne 0x45a99a
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x45a9c4
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x45afde
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 1
call fcn.00467760
add esp, 4
test al, al
je 0x45aded
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi - 4]
cmp dword [eax], 0
jl 0x45aa07
cmp ecx, dword [esi - 0x10]
jne 0x45aa07
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x45aa31
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x45afe3
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
lea ecx, [edi + 0x10]
call fcn.004031f0
add esp, 8
lea esi, [edi + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
push ecx
push str..vbs
lea ecx, [ebp - 0x18]
call fcn.0045f840
test eax, eax
js 0x45ab1e
push str.cscript___NOLOGO
lea ecx, [ebp - 0x28]
call fcn.0045fcf0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x30]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x10
mov edx, dword [eax]
lea ecx, [edx - 0x10]
lea ebx, [esi - 0x10]
cmp ecx, ebx
je 0x45aace
lea esi, [ebx + 0xc]
cmp dword [esi], 0
jl 0x45aabf
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x45aabf
call fcn.00403090
mov dword [ebp - 0x2c], eax
or edi, 0xffffffff
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x45aab7
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x45aad1
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004030f0
mov esi, dword [ebp - 0x1c]
or edi, 0xffffffff
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45aaf3
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45abf9
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x45abf9
push ecx
push str..ps1
lea ecx, [ebp - 0x18]
call fcn.0045f840
test eax, eax
js 0x45abf6
push str.powershell__ExecutionPolicy_ByPass__File
lea ecx, [ebp - 0x28]
call fcn.0045fcf0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x14
mov edx, dword [eax]
lea ecx, [edx - 0x10]
lea ebx, [esi - 0x10]
cmp ecx, ebx
je 0x45abad
lea esi, [ebx + 0xc]
cmp dword [esi], 0
jl 0x45ab9e
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x45ab9e
call fcn.00403090
mov dword [ebp - 0x30], eax
or edi, 0xffffffff
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x45ab96
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x45abb0
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004030f0
mov esi, dword [ebp - 0x1c]
or edi, 0xffffffff
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45abd2
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45abf9
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x45abf9
or edi, 0xffffffff
mov byte [ebp - 0x11], 1
push ecx
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x30], esp
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esi + 0xc]
cmp dword [eax], 0
jl 0x45ac23
cmp ecx, dword [esi]
jne 0x45ac23
mov ebx, esi
lock inc dword [eax]
jmp 0x45ac50
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x45afe8
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov edx, dword [esi + 4]
inc edx
push edx
lea eax, [esi + 0x10]
push eax
lea ecx, [ebx + 0x10]
call fcn.004031f0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0xe
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0x20]
call fcn.004642f0
mov byte [ebp - 4], 0x19
push str.fail
lea ecx, [ebp - 0x20]
call fcn.0045f840
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x48d10a
test eax, eax
js 0x45acc9
call fcn.0045fcf0
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x20]
push eax
mov edx, str.FAIL_
call fcn.0045f210
add esp, 4
mov byte [ebp - 4], 0x1c
jmp 0x45ad01
call fcn.0045fcf0
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x1e
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x20]
push eax
mov edx, str.PASS_
call fcn.0045f210
add esp, 4
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x24]
call fcn.00463120
add esp, 0xc
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x2c], esp
mov ebx, dword [ebp - 0x20]
add ebx, 0xfffffff0
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [ebx + 0xc]
cmp dword [eax], 0
jl 0x45ad37
cmp ecx, dword [ebx]
jne 0x45ad37
lock inc dword [eax]
jmp 0x45ad6a
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x45afed
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 4]
inc edx
push edx
lea eax, [ebx + 0x10]
push eax
add ecx, 0x10
call fcn.004031f0
add esp, 8
mov ebx, dword [ebp - 0x30]
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0x21
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.runScriptsByDefault
call fcn.0045fcf0
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x19
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45adc8
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ae71
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
jmp 0x45ae71
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x25
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x26
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.FAIL_Script_File_Does_Not_Exist.
call fcn.00402680
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
call fcn.00463120
add esp, 8
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x48e2cc
call fcn.0045fcf0
mov byte [ebp - 4], 0x28
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.runScriptsByDefault_Script_File_Does_Not_Exist.
call fcn.0045fcf0
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 1
or ecx, 0xffffffff
call fcn.00462c10
add esp, 8
or edi, 0xffffffff
mov byte [ebp - 4], 0x2a
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45ae91
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
call fcn.004031e0
int3