Function at 0x401360
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x80
mov eax, dword [0x430334]
mov dword [esp + 0x7c], eax
mov al, 0x3c
push ebx
xor ebx, ebx
mov dl, 0xc7
mov cl, 0x2e
mov byte [esp + 0x10], al
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], 0x10
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 1
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 0xd0
mov byte [esp + 0x31], 2
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 0xfc
mov byte [esp + 0x34], 0xef
mov byte [esp + 0x35], 0x95
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], 1
mov byte [esp + 0x38], 1
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0xa
mov byte [esp + 0x3d], 3
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], cl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], al
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], 3
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 1
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
lea eax, [esp + 4]
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsConnections
push reloc.WS2_32.dll_accept
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], 1
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], 0xd0
mov byte [esp + 0x7d], 2
mov byte [esp + 0x7e], bl
mov byte [esp + 0x7f], 0xfc
mov byte [esp + 0x80], 0xef
mov byte [esp + 0x81], 0x95
mov byte [esp + 0x82], dl
mov byte [esp + 0x83], 1
mov byte [esp + 0x84], 1
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], 0xa3
mov byte [esp + 0x89], 3
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], cl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], bl
mov byte [esp + 0x8f], bl
mov byte [esp + 0x90], bl
mov byte [esp + 0x91], bl
mov byte [esp + 0x92], bl
mov byte [esp + 0x93], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4015c2
xor al, al
pop ebx
mov ecx, dword [esp + 0x7c]
call fcn.0041941a
add esp, 0x80
ret
mov eax, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push 0x431244
lea edx, [esp + 0x14]
push edx
push ebx
push str.DefaultConnectionSettings
push eax
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0x38
call edi
test eax, eax
je 0x401618
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x7c]
call fcn.0041941a
add esp, 0x80
ret
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x38
lea edx, [esp + 0x1c]
push edx
push 3
push ebx
push str.DefaultConnectionSettings
push eax
call esi
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x401659
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x7c]
call fcn.0041941a
add esp, 0x80
ret
lea edx, [esp + 0x14]
push edx
push 0x43127c
lea eax, [esp + 0x18]
push eax
push ebx
push str.SavedLegacySettings
push ecx
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 0x38
call edi
test eax, eax
je 0x4016a5
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x7c]
call fcn.0041941a
add esp, 0x80
ret
mov ecx, dword [esp + 0xc]
push 0x38
lea eax, [esp + 0x54]
push eax
push 3
push ebx
push str.SavedLegacySettings
push ecx
call esi
test eax, eax
jne 0x401685
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x88]
pop esi
pop edi
mov al, 1
pop ebx
call fcn.0041941a
add esp, 0x80
ret