Function at 0x40a54a
Capabilities:
Connect to wmi namespace via wbemlocator
Delete registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x426a17
call fcn.0041362c
sub esp, 0xc1c
push ebx
xor ebx, ebx
mov dword [ebp + 0x6c], ebx
cmp byte [0x434044], bl
jne 0x40a57e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.004079b8
mov dword [ebp - 4], ebx
mov dword [ebp + 0x44], ebx
lea eax, [ebp + 0x44]
xor edi, edi
push eax
inc edi
mov byte [ebp - 4], 1
call fcn.0040cbeb
pop ecx
test eax, eax
jge 0x40a5c6
push 3
pop ebx
push dword [ebp + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x40]
call fcn.004079ed
push dword [ebp - 0x40]
call fcn.004126c6
pop ecx
pop edi
mov eax, ebx
pop esi
jmp 0x40a56e
push str.ConfigOSSProxySettings
lea ecx, [ebp + 0x44]
call fcn.004029c3
xor eax, eax
push 0x7fe
mov word [ebp - 0xc28], ax
lea eax, [ebp - 0xc26]
push ebx
push eax
call fcn.00413a00
add esp, 0xc
mov dword [ebp + 0x58], 0x400
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
push 0x20019
push dword [ebp + 0x44]
lea ecx, [ebp + 0x64]
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 2
call fcn.004015be
test eax, eax
jne 0x40a63b
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0xc28]
push eax
push 0x4291cc
lea ecx, [ebp + 0x64]
call fcn.00401637
lea ecx, [ebp + 0x64]
call fcn.004015a3
lea eax, [ebp - 0x360]
mov dword [ebp - 0x364], eax
push 3
lea eax, [ebp - 0xc28]
push eax
lea ecx, [ebp - 0x364]
call fcn.00402f79
push dword [ebp - 0x364]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004060ab
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x364], eax
je 0x40a68b
push dword [ebp - 0x364]
call fcn.00412862
pop ecx
cmp dword [ebp - 0x14], 3
push ebx
jae 0x40a6a8
push edi
lea ecx, [ebp - 0x28]
call fcn.00403cab
lea ecx, [ebp + 0x64]
call fcn.004015a3
jmp 0x40a5a6
push ebx
push 0x4290ec
lea ecx, [ebp - 0x118]
call fcn.004069a6
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 6
call fcn.00406053
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 7
mov byte [ebp + 0x72], bl
call fcn.00408abe
mov byte [ebp - 4], 8
jmp 0x40a7b0
push 0x4290e8
lea ecx, [ebp - 0x218]
call fcn.00403c5b
test eax, eax
jne 0x40a712
mov byte [ebp + 0x72], 1
jmp 0x40a7a5
cmp dword [ebp - 0x204], 2
jbe 0x40a74b
push 2
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x218]
call fcn.00405e12
or dword [ebp + 0x6c], edi
push 0x4290e4
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00403c5b
mov byte [ebp + 0x73], 1
test eax, eax
je 0x40a74e
mov byte [ebp + 0x73], bl
test byte [ebp + 0x6c], 1
mov dword [ebp - 4], 8
je 0x40a76c
and dword [ebp + 0x6c], 0xfffffffe
push ebx
push edi
lea ecx, [ebp - 0x9c]
call fcn.00403cab
cmp byte [ebp + 0x73], bl
je 0x40a7a5
push 0xffffffffffffffff
push 2
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x218]
call fcn.00405e12
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.004091d9
push ebx
push edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.00403cab
lea ecx, [ebp - 0x270]
call fcn.00407c9c
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x188]
call fcn.00408b1f
push eax
lea ecx, [ebp - 0x270]
call fcn.004023ff
neg al
sbb al, al
inc al
lea ecx, [ebp - 0x1fc]
mov byte [ebp + 0x73], al
call fcn.00404871
cmp byte [ebp + 0x73], bl
jne 0x40a6f5
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 7
call fcn.00404871
lea ecx, [ebp + 0x28]
call fcn.004079b8
mov dword [ebp + 0x60], ebx
lea eax, [ebp + 0x60]
push eax
push 0x42e0fc
push edi
push ebx
push 0x42e1cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x40a872
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x40a832
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x28]
call fcn.00407eba
push dword [ebp + 0x28]
call fcn.004126c6
pop ecx
lea ecx, [ebp - 0x178]
call fcn.00404888
lea ecx, [ebp - 0x118]
call fcn.00404888
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00403cab
lea ecx, [ebp + 0x64]
call fcn.004015a3
mov ebx, esi
jmp 0x40a5a6
mov esi, dword [ebp + 0x60]
cmp esi, ebx
jne 0x40a8bc
lea ecx, [ebp + 0x28]
call fcn.00407eba
push dword [ebp + 0x28]
call fcn.004126c6
pop ecx
lea ecx, [ebp - 0x178]
call fcn.00404888
lea ecx, [ebp - 0x118]
call fcn.00404888
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00403cab
lea ecx, [ebp + 0x64]
call fcn.004015a3
mov ebx, 0x80004005
jmp 0x40a5a6
mov dword [ebp + 0x5c], ebx
push str.ROOTCIMV2
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00402834
mov eax, dword [eax]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x40a8de
mov eax, dword [eax]
jmp 0x40a8e0
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp + 0x5c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0xc]
mov ecx, dword [ebp + 0x4c]
mov esi, eax
cmp ecx, ebx
je 0x40a8ff
call fcn.004040ec
cmp esi, ebx
jge 0x40a91d
mov eax, dword [ebp + 0x5c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x40a821
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40a821
cmp dword [ebp + 0x5c], ebx
jne 0x40a93c
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x40a879
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40a879
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp + 0x5c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
cmp esi, ebx
jl 0x40a903
mov dword [ebp + 0x48], ebx
mov esi, dword [ebp + 0x5c]
push str.SELECT_Name__SID_FROM_Win32_UserAccount
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0xf
call fcn.004027e0
mov edi, eax
push 0x4290a0
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x10
call fcn.004027e0
mov ecx, dword [edi]
mov byte [ebp - 4], 0x11
cmp ecx, ebx
je 0x40a98d
mov ecx, dword [ecx]
jmp 0x40a98f
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x40a999
mov eax, dword [eax]
jmp 0x40a99b
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp + 0x48]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x58], eax
cmp ecx, ebx
je 0x40a9bc
call fcn.004040ec
mov dword [ebp + 0x54], ebx
mov ecx, dword [ebp + 0x4c]
cmp ecx, ebx
je 0x40a9c8
call fcn.004040ec
cmp dword [ebp + 0x58], ebx
jge 0x40aa42
mov eax, dword [ebp + 0x48]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x40a9de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x5c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x40a9ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x40aa00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x28]
call fcn.00407eba
push dword [ebp + 0x28]
call fcn.004126c6
pop ecx
lea ecx, [ebp - 0x178]
call fcn.00404888
lea ecx, [ebp - 0x118]
call fcn.00404888
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403cab
lea ecx, [ebp + 0x64]
call fcn.004015a3
mov ebx, dword [ebp + 0x58]
jmp 0x40a5a6
mov dword [ebp + 0x50], ebx
mov byte [ebp - 4], 0x12
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0x48], ebx
je 0x40ab07
cmp dword [ebp + 0x50], ebx
je 0x40aa64
push ebx
lea eax, [ebp + 0x50]
push eax
call fcn.0040148e
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
lea edx, [ebp + 0x50]
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, ebx
jl 0x40ab07
cmp dword [ebp + 0xc], 1
jne 0x40aaff
cmp dword [ebp + 0x50], ebx
je 0x40aaff
push ebx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xbc], 0xf
call fcn.004036db
lea ecx, [ebp - 0xb8]
call fcn.0040434b
mov ecx, dword [ebp + 0x50]
lea eax, [ebp - 0xd4]
push eax
push str.Name
mov byte [ebp - 4], 0x13
call fcn.0040666b
mov ecx, dword [ebp + 0x50]
lea eax, [ebp - 0xb8]
push eax
push 0x42908c
call fcn.0040666b
add esp, 0x10
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp + 0x28]
call fcn.00409233
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x12
call fcn.00404888
cmp esi, ebx
je 0x40aa55
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 0xf
cmp eax, ebx
je 0x40ab18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x48]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x40ab29
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x34]
lea ecx, [ebp + 0x20]
mov byte [ebp + 0x73], bl
call fcn.004039c4
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
call fcn.004039c4
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp + 0x18]
call fcn.004027b9
test al, al
jne 0x40a9de
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, str.AssociationActivationMode
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], 0xf
call fcn.004036db
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x14
call fcn.00401be3
cmp dword [eax + 0x18], 0x10
jb 0x40ab9c
mov eax, dword [eax + 4]
jmp 0x40ab9f
add eax, 4
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.004065e7
pop ecx
pop ecx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.004039c4
mov eax, dword [ebp - 0x48]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x14], eax
jmp 0x40ad21
lea ecx, [ebp + 0x10]
call fcn.00401be3
push eax
lea ecx, [ebp - 0x64]
call fcn.00403c37
test eax, eax
jne 0x40ad19
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
jae 0x40abf0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x3e4]
call fcn.00403887
push dword [eax]
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x15
call fcn.004057c9
lea eax, [ebp - 0x3e0]
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x3e4], eax
je 0x40ac2b
push dword [ebp - 0x3e4]
call fcn.00412862
pop ecx
lea ecx, [ebp + 0x18]
call fcn.00401be3
cmp dword [eax + 0x34], 0x10
jb 0x40ac3e
mov eax, dword [eax + 0x20]
jmp 0x40ac41
add eax, 0x20
push eax
lea ecx, [ebp + 0x54]
call fcn.004029e0
push str.SOFTWAREMicrosoftInternet_ExplorerMain
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x18
call fcn.004029c3
push 0x2011f
push dword [ebp + 0x54]
lea ecx, [ebp + 0x64]
push SysStringLen
call fcn.004015be
test eax, eax
jne 0x40acfe
lea eax, [ebp + 8]
push eax
push 0x4290f8
lea ecx, [ebp + 0x64]
mov dword [ebp + 8], ebx
mov dword [ebp + 0x4c], ebx
call fcn.004015ff
lea eax, [ebp + 0x4c]
push eax
push edi
lea ecx, [ebp + 0x64]
call fcn.004015ff
cmp dword [ebp + 8], ebx
jne 0x40acd5
cmp dword [ebp + 0x4c], 2
jne 0x40acd5
push 4
lea eax, [ebp + 0x40]
push eax
push 4
push ebx
push 0x4290f8
push dword [ebp + 0x64]
mov dword [ebp + 0x40], 1
call esi
push 4
lea eax, [ebp + 0x40]
push eax
push 4
push ebx
push edi
push dword [ebp + 0x64]
mov dword [ebp + 0x40], ebx
call esi
jmp 0x40acd9
mov byte [ebp + 0x73], 1
lea ecx, [ebp + 0x64]
call fcn.004015a3
push 0x2001f
push dword [ebp + 0x44]
lea ecx, [ebp + 0x64]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004015be
test eax, eax
je 0x40ad7f
push dword [ebp + 0x54]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
push 1
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x14
call fcn.004038ff
lea ecx, [ebp + 0x10]
call fcn.00401c0f
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x30]
lea ecx, [ebp]
call fcn.004039c4
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x10]
call fcn.004027b9
test al, al
je 0x40abcb
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403cab
lea ecx, [ebp + 0x18]
call fcn.00401bb4
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
call fcn.004039c4
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp + 0x18]
call fcn.004027b9
test al, al
je 0x40ab75
jmp 0x40a9de
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0xc28]
push eax
push 0x4291cc
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x58], 0x400
call fcn.00401637
test eax, eax
jne 0x40afc6
lea eax, [ebp - 0xc28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004057c9
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 7
call fcn.00402f02
mov byte [ebp - 4], 0x1a
cmp byte [ebp + 0x73], bl
je 0x40ade3
cmp byte [ebp + 0x72], bl
jne 0x40ade3
push 0x428fa0
lea ecx, [ebp - 0x80]
call fcn.00405e34
push ebx
push ebx
mov edi, 0x428f9c
push edi
lea ecx, [ebp - 0x428]
call fcn.00405811
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x1b
call fcn.0040607f
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x1c
call fcn.00408120
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x1d
call fcn.00408181
push eax
lea ecx, [ebp - 0x1fc]
call fcn.004023ff
neg al
sbb al, al
inc al
lea ecx, [ebp - 0x354]
mov byte [ebp + 0x73], al
call fcn.004048c8
cmp byte [ebp + 0x73], bl
je 0x40af79
push 2
pop esi
cmp dword [ebp - 0x190], esi
jbe 0x40aed4
push esi
push ebx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00405e58
or dword [ebp + 0x6c], esi
push 0x428f94
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.0040361a
test eax, eax
jne 0x40aed4
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00405e58
or dword [ebp + 0x6c], 4
lea ecx, [ebp - 0x134]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0x1f
call fcn.004035f6
mov byte [ebp + 0x72], 1
test eax, eax
je 0x40aed7
mov byte [ebp + 0x72], bl
test byte [ebp + 0x6c], 4
je 0x40aeef
and dword [ebp + 0x6c], 0xfffffffb
push ebx
push 1
lea ecx, [ebp - 0x28c]
call fcn.004038ff
test byte [ebp + 0x6c], 2
mov dword [ebp - 4], 0x1d
je 0x40af0e
and dword [ebp + 0x6c], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.004038ff
cmp byte [ebp + 0x72], bl
jne 0x40af33
cmp dword [ebp - 0x6c], ebx
je 0x40af21
push edi
lea ecx, [ebp - 0x80]
call fcn.00405e34
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x80]
call fcn.00404c74
lea ecx, [ebp - 0x1fc]
call fcn.0040750d
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.00408181
push eax
lea ecx, [ebp - 0x1fc]
call fcn.004023ff
neg al
sbb al, al
inc al
lea ecx, [ebp - 0x354]
mov byte [ebp + 0x73], al
call fcn.004048c8
cmp byte [ebp + 0x73], bl
jne 0x40ae6b
lea ecx, [ebp - 0x1fc]
call fcn.004048c8
cmp dword [ebp - 0x6c], ebx
jne 0x40af97
push 0x4291cc
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x2d0]
call fcn.004048a4
lea ecx, [ebp - 0x428]
call fcn.004048a4
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.004038ff
push ebx
push 1
lea ecx, [ebp - 0x9c]
call fcn.004038ff
lea ecx, [ebp + 0x64]
call fcn.004015a3
push dword [ebp + 0x54]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.004038ff
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00403cab
mov eax, dword [ebp + 0x5c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x40b001
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x60]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x40b012
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 0x28]
call fcn.00407eba
push dword [ebp + 0x28]
call fcn.004126c6
pop ecx
lea ecx, [ebp - 0x178]
call fcn.00404888
lea ecx, [ebp - 0x118]
call fcn.00404888
push ebx
push 1
jmp 0x40a693