Function at 0x42942e
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x418
lea ebp, [esp - 4]
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x418], eax
push 0x28
mov eax, 0x4a9c75
call fcn.00490adb
push str.Ole32.dll
call fcn.0040b51c
mov dword [esp], str.advapi32.dll
call fcn.0040b51c
mov dword [esp], str.oleaut32.dll
call fcn.0040b51c
xor eax, eax
mov edi, 0x208
push edi
mov word [ebp + 0x20c], ax
xor ebx, ebx
lea eax, [ebp + 0x20e]
push ebx
push eax
call fcn.0048e0e0
add esp, 0x10
lea esi, [ebp + 0x20c]
call fcn.004293b9
test eax, eax
je 0x4296c9
xor eax, eax
push edi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.0048e0e0
push dword [0x4dcf2c]
mov ecx, 0x105
push str.SoftwareJHotNews
push str._sIECore_dInternet_Settings
lea edi, [ebp]
call fcn.0040243c
add esp, 0x18
mov eax, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404b9b
push 4
pop eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.ProxyEnable
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings_
push edi
mov dword [ebp - 0x14], ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, 0x80000001
push esi
call ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.ProxyServer
push edi
push esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0x208
call ebx
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404b9b
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
je 0x429592
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x429592
lea eax, [ebp - 0x28]
push eax
push 0x20019
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
call edi
lea eax, [ebp - 0x10]
push eax
push 0x20006
push ebx
push dword [ebp - 0x24]
push esi
call edi
push ebx
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
jmp 0x42959d
lea esi, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
call fcn.00404960
lea eax, [ebp + 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4295b6
xor eax, eax
jmp 0x4295d0
lea edi, [eax + eax]
mov eax, edi
call fcn.004905f0
mov esi, esp
push ebx
push edi
lea eax, [ebp + 0x20c]
push eax
call fcn.00405689
push eax
mov esi, 0x105
push esi
push 0x4f9af8
call fcn.0048c835
lea eax, [ebp + 0x20c]
push eax
push esi
push 0x4f9c00
call fcn.0048c0eb
mov edi, 0x4fb4d0
add esp, 0x18
mov dword [ebp - 0x10], edi
cmp dword [0x4f85c8], ebx
je 0x429666
push edi
push str.kernel32.dll
call fcn.0048912b
pop ecx
pop ecx
test eax, eax
jne 0x429666
lea edx, [edi + 0x414]
push 0xf
mov edi, 0x4c65d4
mov esi, edx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x429632
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x42964f
push 0xf
mov edi, 0x4c65e4
mov esi, edx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42964b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x429666
mov edx, dword [ebp - 0x10]
push 0x7ffffffe
mov eax, str.KernelBase.dll
mov ecx, 0x104
call fcn.00402562
mov edi, dword [ebp - 0x10]
lea esi, [edi - 0x18]
call fcn.004296ef
add edi, 0x470
cmp edi, 0x500d90
mov dword [ebp - 0x10], edi
jl 0x4295fe
cmp dword [ebp - 0x14], ebx
je 0x429693
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x4296b0
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
lea eax, [ebp - 0x34]
push eax
push 0x26
push ebx
mov dword [ebp - 0x34], 1
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00404bfa
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00404bfa
xor eax, eax
inc eax
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x418]
xor ecx, ebp
call fcn.00488e60
add ebp, 0x41c
leave
ret