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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x88], ebx
push edi
test esi, esi
je 0x48c095
cmp dword [esi], 0x3c
jne 0x48c095
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x48bdb3
cmp byte [ebx], al
jne 0x48bdb8
mov ebx, str.DefaultConnectionSettings
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push 0x20019
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x70], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x6c], edi
jne 0x48be2a
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 4
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x7c], 4
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push str.ProxySettingsPerUser
push dword [ebp - 0x80]
call eax
test eax, eax
je 0x48be21
call edi
push dword [ebp - 0x80]
call dword [ebp - 0x88]
mov eax, dword [ebp - 0x70]
mov dword [esi + 8], 0
neg eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
sbb eax, eax
mov dword [esi + 0x18], 0
add eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
cmp dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x74]
mov dword [esi + 0xc], ecx
mov ecx, 1
mov dword [esi], 0x3c
mov dword [esi + 4], 1
movups xmm0, xmmword [str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsConnections]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [0x63a4c8]
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [0x63a4d8]
movups xmmword [ebp - 0x2c], xmm0
movups xmm0, xmmword [0x63a4e8]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [0x63a4f8]
movq qword [ebp - 0xc], xmm0
je 0x48bee9
mov dword [ebp - 0x50], ebx
mov ecx, 2
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x68]
push edx
push 0
push ecx
push 0
push 0x61a500
push 0
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test edi, edi
jne 0x48bf92
cmp dword [ebp - 0x64], 0
mov eax, 0x400
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
jne 0x48bf50
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push ebx
push dword [ebp - 0x68]
call edi
test eax, eax
je 0x48bf44
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x58], eax
jmp 0x48bf6c
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x48bf50
mov ecx, dword [ebp - 0x54]
jmp 0x48bf6c
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [ebp - 0x54], ecx
test ecx, ecx
jne 0x48bf69
call dword [ebp - 0x6c]
mov edi, eax
jmp 0x48bf8e
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x64], 0
jne 0x48bfa0
test eax, eax
je 0x48bfa0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push ecx
push 0
push 0
push ebx
push dword [ebp - 0x68]
call edi
mov edi, eax
test edi, edi
je 0x48bfa0
test edi, edi
je 0x48bfa7
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
jmp 0x48c09a
mov dword [ebp - 0x5c], 0
push 4
push esi
lea ecx, [ebp - 0x68]
call fcn.0048bc40
test eax, eax
je 0x48c088
cmp dword [esi], 0x3c
jb 0x48c088
push 4
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc40
push 4
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc40
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc90
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc90
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc90
push 4
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc40
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc90
push 8
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc40
push 4
lea ebx, [esi + 0x34]
push ebx
lea ecx, [ebp - 0x68]
call fcn.0048bc40
mov eax, dword [ebx]
test eax, eax
je 0x48c06e
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x38], eax
test eax, eax
je 0x48c06e
xor edi, edi
cmp dword [ebx], edi
jbe 0x48c06e
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x68]
push 4
lea eax, [eax + edi*4]
push eax
call fcn.0048bc40
inc edi
cmp edi, dword [ebx]
jb 0x48c058
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc90
push 4
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.0048bc40
mov edx, dword [ebp - 0x50]
xor edi, edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
jmp 0x48c09a
mov edi, 0x57
cmp dword [ebp - 0x60], 0
je 0x48c0c4
cmp dword [ebp - 0x64], 0
je 0x48c0c4
test edx, edx
je 0x48c0c4
test eax, eax
je 0x48c0c4
push dword [ebp - 0x5c]
push eax
push 3
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x48c0d2
push ecx
call dword [ebp - 0x88]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x48c0dd
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052e057
mov esp, ebp
pop ebp
ret