Function at 0x45a5a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482b9d
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4b700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x108], ecx
call fcn.00403a70
mov ecx, eax
test ecx, ecx
je 0x45ada8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x100], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
push str.C:windowsiassistlogsRegRead.txt
lea ecx, [ebp - 0xfc]
call fcn.004026c0
mov byte [ebp - 4], 3
push 0x491278
push dword [ebp - 0xfc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov esi, eax
test esi, esi
je 0x45a647
push esi
push 0x64
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x10
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004026c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.00402820
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf4]
call fcn.00402820
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf0]
call fcn.00402820
mov byte [ebp - 4], 7
push ecx
push 0x49485c
lea ecx, [ebp - 0xe4]
call fcn.0045cc50
mov ebx, eax
mov dword [ebp - 0x104], ebx
test ebx, ebx
js 0x45a7ff
push ebx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0045c870
mov byte [ebp - 4], 8
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0xf8]
add edi, 0xfffffff0
cmp ecx, edi
je 0x45a72f
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x45a71a
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45a71a
call fcn.00403060
mov dword [ebp - 0xe8], eax
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45a709
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0xe8]
add eax, 0x10
mov dword [ebp - 0xf8], eax
mov ebx, dword [ebp - 0x104]
jmp 0x45a732
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0xf8]
call fcn.004030c0
mov ebx, dword [ebp - 0x104]
or esi, 0xffffffff
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a757
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax - 0xc]
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0045c980
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0xe4]
add edi, 0xfffffff0
cmp ecx, edi
je 0x45a7d8
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x45a7c9
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45a7c9
call fcn.00403060
mov dword [ebp - 0xe0], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45a7be
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0xe0]
add eax, 0x10
mov dword [ebp - 0xe4], eax
jmp 0x45a7d8
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0xe4]
call fcn.004030c0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a802
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x45a802
or esi, 0xffffffff
push ecx
lea ecx, [ebp - 0xe4]
call fcn.0045cc20
test eax, eax
js 0x45a8bc
mov ecx, dword [ebp - 0xe4]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0045c980
mov byte [ebp - 4], 0xc
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0xf0]
add edi, 0xfffffff0
cmp ecx, edi
je 0x45a897
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x45a888
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45a888
call fcn.00403060
mov dword [ebp - 0xe0], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45a87d
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0xe0]
add eax, 0x10
mov dword [ebp - 0xf0], eax
jmp 0x45a897
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0xf0]
call fcn.004030c0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a8bc
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0xe4]
call fcn.0045cc20
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0045c870
mov byte [ebp - 4], 0xe
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0xf4]
add edi, 0xfffffff0
cmp ecx, edi
je 0x45a93d
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x45a92e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45a92e
call fcn.00403060
mov dword [ebp - 0xe0], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45a923
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0xe0]
add eax, 0x10
mov dword [ebp - 0xf4], eax
jmp 0x45a93d
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0xf4]
call fcn.004030c0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a962
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
mov dword [ebp - 0xe8], esp
mov dword [ebp - 0xe0], esp
mov edi, dword [ebp - 0xf0]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x45a994
cmp ecx, dword [edi - 0x10]
jne 0x45a994
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x45a9be
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x45adb2
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
push ecx
mov dword [ebp - 0x104], esp
mov dword [ebp - 0xe0], esp
mov edi, dword [ebp - 0xf4]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [edi - 4]
cmp dword [eax], 0
jl 0x45aa03
cmp ecx, dword [edi - 0x10]
jne 0x45aa03
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x45aa2d
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x45adb7
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov edx, dword [edi - 0xc]
inc edx
push edx
push edi
lea ecx, [ebx + 0x10]
call fcn.004031c0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 7
mov edx, 0x80000002
lea ecx, [ebp - 0xec]
call fcn.00469310
add esp, 8
mov byte [ebp - 4], 0x14
push dword [ebp - 0xfc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x493318
push dword [ebp - 0xfc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov edi, eax
test edi, edi
je 0x45aa98
push edi
push dword [ebp - 0xec]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0xc
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xec]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45aabd
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45aae2
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ab07
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xf8]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ab2c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xe4]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ab51
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ab76
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 1
jmp 0x45ac7e
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x100]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45aca0
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046dda6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403850
call fcn.004031b0
call fcn.004031b0
call fcn.004031b0
call fcn.004031b0
int3