Function at 0x4069b0
Capabilities:
Delete file
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473904
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x4bc00c]
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 ebx, ecx
mov dword [ebp - 0x534], ebx
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x40720b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x53c], eax
mov dword [ebp - 4], 1
mov ecx, ebx
call fcn.0041a360
lea eax, [ebp - 0x530]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406cf2
cmp dword [ebp - 0x530], eax
je 0x406cf2
push 0x48d540
lea ecx, [ebp - 0x524]
call fcn.0045fcf0
mov byte [ebp - 4], 2
push 0x48d10a
lea ecx, [ebp - 0x51c]
call fcn.0045fcf0
mov byte [ebp - 4], 3
mov dword [ebp - 0x528], 0x400
push dword [ebp - 0x524]
lea ecx, [ebp - 0x518]
call fcn.0045fda0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x528]
push ecx
lea ecx, [ebp - 0x414]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x530]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x514]
mov ecx, dword [ebp - 0x518]
cmp ecx, eax
je 0x406acd
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test esi, esi
jne 0x406b02
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406ae0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x51c]
call fcn.004030f0
mov eax, dword [ebp - 0x51c]
cmp dword [eax - 0xc], 0
jl 0x406bdd
push 0x48d550
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x406bdd
mov ecx, dword [ebp - 0x51c]
sub eax, ecx
sar eax, 1
js 0x406bdd
mov eax, dword [ecx - 0xc]
add eax, 0xfffffff9
push eax
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x51c]
call fcn.0045f460
mov byte [ebp - 4], 5
mov edx, dword [eax]
lea ecx, [edx - 0x10]
mov edi, dword [ebp - 0x51c]
add edi, 0xfffffff0
cmp ecx, edi
je 0x406bb7
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x406ba8
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x406ba8
call fcn.00403090
mov dword [ebp - 0x52c], eax
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x406b9d
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0x52c]
add eax, 0x10
mov dword [ebp - 0x51c], eax
jmp 0x406bba
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x51c]
call fcn.004030f0
or esi, 0xffffffff
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x520]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406be0
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x406be0
or esi, 0xffffffff
mov edx, 0x48d10a
lea ecx, [ebp - 0x51c]
call fcn.0045f100
test al, al
je 0x406cae
push str.10..
lea ecx, [ebp - 0x52c]
call fcn.0045fcf0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x52c]
lea ecx, [edx - 0x10]
mov eax, dword [ebp - 0x51c]
lea edi, [eax - 0x10]
cmp ecx, edi
je 0x406c74
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x406c5f
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x406c5f
call fcn.00403090
mov dword [ebp - 0x520], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x406c54
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, dword [ebp - 0x520]
add eax, 0x10
mov dword [ebp - 0x51c], eax
jmp 0x406c74
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x51c]
call fcn.004030f0
mov eax, dword [ebp - 0x51c]
push dword [eax - 0xc]
push eax
push 1
push 0
push str.ProxyOverride
push dword [ebp - 0x530]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x52c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406cae
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x51c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ccf
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x524]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406cf5
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x406cf5
or esi, 0xffffffff
push dword [ebp - 0x530]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x18
mov dword [ebp - 0x520], esp
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
xor eax, eax
mov word [ecx], ax
push 9
push str.stemp.bat
call fcn.00402980
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov dword [ebp - 0x528], esp
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
xor eax, eax
mov word [ecx], ax
push 6
push 0x48d2ac
call fcn.00402980
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 1
mov edx, 0x91
lea ecx, [ebp - 0x538]
call fcn.00401380
add esp, 0x30
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
push 0x48d1b0
lea ecx, [ebp - 0x524]
call fcn.0045fcf0
mov byte [ebp - 4], 0xf
mov bl, 1
push ecx
mov ecx, esp
mov dword [ebp - 0x520], esp
lea eax, [ebp - 0x524]
push eax
lea edx, [ebp - 0x538]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov dl, bl
lea ecx, [ebp - 0x52c]
call fcn.004642f0
add esp, 4
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x524]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ded
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push ecx
mov dword [ebp - 0x528], esp
mov dword [ebp - 0x520], esp
mov edi, dword [ebp - 0x52c]
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 0x406e1f
cmp ecx, dword [edi - 0x10]
jne 0x406e1f
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x406e49
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x407215
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.004031f0
add esp, 8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp - 0x520]
mov dword [ecx], eax
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0x520], esp
push str.system_settings_changed
call fcn.0045fcf0
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x12
or ecx, 0xffffffff
call fcn.00462c10
add esp, 4
mov ecx, esp
mov dword [ebp - 0x520], esp
push 0x48d10a
call fcn.0045fcf0
mov byte [ebp - 4], 0x17
push ecx
mov ecx, esp
mov dword [ebp - 0x528], esp
push str.Necessary_changes_have_been_done.
call fcn.0045fcf0
mov byte [ebp - 4], 0x18
push ecx
mov ecx, esp
mov dword [ebp - 0x524], esp
push 0x48d168
call fcn.0045fcf0
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x534]
call fcn.00463120
add esp, 0xc
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x52c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406efd
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xd
jmp 0x407005
call fcn.00403ac0
mov ecx, eax
test ecx, ecx
je 0x40721f
jmp 0x407109
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x51c], eax
mov byte [ebp - 4], 0x28
push 0x48d1b0
lea ecx, [ebp - 0x51c]
call fcn.00402ee0
test al, al
jne 0x40713f
push 0x48d1b0
lea ecx, [ebp - 0x51c]
call fcn.0045fc60
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x51c]
push eax
lea edx, [ebp - 0x538]
lea ecx, [ebp - 0x520]
call fcn.0045f3b0
add esp, 4
mov byte [ebp - 4], 0x2a
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x520]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40718b
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x51c]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4071ac
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x538]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4071cd
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x53c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4071ef
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.00471083
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403880
call fcn.004031e0
call fcn.004031e0
push 0x80004005
call fcn.00403880
call fcn.004031e0
int3