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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470004
mov eax, dword fs:[0]
push eax
sub esp, 0x534
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 ebx, ecx
mov dword [ebp - 0x534], ebx
call fcn.00403a70
mov ecx, eax
test ecx, ecx
je 0x406c2b
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.00419d60
lea eax, [ebp - 0x530]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406712
cmp dword [ebp - 0x530], eax
je 0x406712
push 0x487b70
lea ecx, [ebp - 0x524]
call fcn.0045d100
mov byte [ebp - 4], 2
push 0x48780e
lea ecx, [ebp - 0x51c]
call fcn.0045d100
mov byte [ebp - 4], 3
mov dword [ebp - 0x528], 0x400
push dword [ebp - 0x524]
lea ecx, [ebp - 0x518]
call fcn.0045d1b0
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 0x4064ed
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test esi, esi
jne 0x406522
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406500
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x51c]
call fcn.004030c0
mov eax, dword [ebp - 0x51c]
cmp dword [eax - 0xc], 0
jl 0x4065fd
push 0x487b80
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4065fd
mov ecx, dword [ebp - 0x51c]
sub eax, ecx
sar eax, 1
js 0x4065fd
mov eax, dword [ecx - 0xc]
add eax, 0xfffffff9
push eax
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x51c]
call fcn.0045c870
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 0x4065d7
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x4065c8
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4065c8
call fcn.00403060
mov dword [ebp - 0x52c], eax
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4065bd
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 0x4065da
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x51c]
call fcn.004030c0
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 0x406600
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x406600
or esi, 0xffffffff
mov edx, 0x48780e
lea ecx, [ebp - 0x51c]
call fcn.0045c510
test al, al
je 0x4066ce
push str.10..
lea ecx, [ebp - 0x52c]
call fcn.0045d100
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 0x406694
lea ebx, [edi + 0xc]
cmp dword [ebx], 0
jl 0x40667f
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x40667f
call fcn.00403060
mov dword [ebp - 0x520], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x406674
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 0x406694
push dword [edx - 0xc]
push edx
lea ecx, [ebp - 0x51c]
call fcn.004030c0
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 0x4066ce
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 0x4066ef
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 0x406715
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x406715
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.004029c0
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 0x487a74
call fcn.004029c0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 1
mov edx, 0x91
lea ecx, [ebp - 0x538]
call fcn.00401370
add esp, 0x30
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
push 0x4878b4
lea ecx, [ebp - 0x524]
call fcn.0045d100
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.0045c7c0
add esp, 4
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov dl, bl
lea ecx, [ebp - 0x52c]
call fcn.00460ee0
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 0x40680d
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 0x40683f
cmp ecx, dword [edi - 0x10]
jne 0x40683f
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x406869
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x406c35
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 - 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.0045d100
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x12
or ecx, 0xffffffff
call fcn.0045f800
add esp, 4
mov ecx, esp
mov dword [ebp - 0x520], esp
push 0x48780e
call fcn.0045d100
mov byte [ebp - 4], 0x17
push ecx
mov ecx, esp
mov dword [ebp - 0x528], esp
push str.Necessary_changes_have_been_done.
call fcn.0045d100
mov byte [ebp - 4], 0x18
push ecx
mov ecx, esp
mov dword [ebp - 0x524], esp
push str.Success
call fcn.0045d100
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x534]
call fcn.0045fd10
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 0x40691d
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xd
jmp 0x406a25
call fcn.00403a70
mov ecx, eax
test ecx, ecx
je 0x406c3f
jmp 0x406b29
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x51c], eax
mov byte [ebp - 4], 0x28
push 0x4878b4
lea ecx, [ebp - 0x51c]
call fcn.00402f20
test al, al
jne 0x406b5f
push 0x4878b4
lea ecx, [ebp - 0x51c]
call fcn.0045d070
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x51c]
push eax
lea edx, [ebp - 0x538]
lea ecx, [ebp - 0x520]
call fcn.0045c7c0
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 0x406bab
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 0x406bcc
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 0x406bed
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 0x406c0f
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
push 0x80004005
call fcn.00403850
call fcn.004031b0
int3