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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x101c10e0]
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 0x1000ff45
cmp dword [esi], 0x3c
jne 0x1000ff45
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x1000fc63
cmp byte [ebx], al
jne 0x1000fc68
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.WS2_32.dll_bind
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 0x1000fcda
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 0x1000fcd1
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.WS2_32.dll_bind
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 [0x10154e00]
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [0x10154e10]
movups xmmword [ebp - 0x2c], xmm0
movups xmm0, xmmword [0x10154e20]
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [0x10154e30]
movq qword [ebp - 0xc], xmm0
je 0x1000fd99
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 0x101545d4
push 0
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test edi, edi
jne 0x1000fe42
cmp dword [ebp - 0x64], 0
mov eax, 0x400
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
jne 0x1000fe00
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push ebx
push dword [ebp - 0x68]
call edi
test eax, eax
je 0x1000fdf4
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x58], eax
jmp 0x1000fe1c
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x1000fe00
mov ecx, dword [ebp - 0x54]
jmp 0x1000fe1c
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [ebp - 0x54], ecx
test ecx, ecx
jne 0x1000fe19
call dword [ebp - 0x6c]
mov edi, eax
jmp 0x1000fe3e
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x64], 0
jne 0x1000fe50
test eax, eax
je 0x1000fe50
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 0x1000fe50
test edi, edi
je 0x1000fe57
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
jmp 0x1000ff4a
mov dword [ebp - 0x5c], 0
push 4
push esi
lea ecx, [ebp - 0x68]
call fcn.1000f990
test eax, eax
je 0x1000ff38
cmp dword [esi], 0x3c
jb 0x1000ff38
push 4
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f990
push 4
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f990
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f9e0
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f9e0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f9e0
push 4
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f990
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f9e0
push 8
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f990
push 4
lea ebx, [esi + 0x34]
push ebx
lea ecx, [ebp - 0x68]
call fcn.1000f990
mov eax, dword [ebx]
test eax, eax
je 0x1000ff1e
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x38], eax
test eax, eax
je 0x1000ff1e
xor edi, edi
cmp dword [ebx], edi
jbe 0x1000ff1e
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x68]
push 4
lea eax, [eax + edi*4]
push eax
call fcn.1000f990
inc edi
cmp edi, dword [ebx]
jb 0x1000ff08
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f9e0
push 4
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f990
mov edx, dword [ebp - 0x50]
xor edi, edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
jmp 0x1000ff4a
mov edi, 0x57
cmp dword [ebp - 0x60], 0
je 0x1000ff74
cmp dword [ebp - 0x64], 0
je 0x1000ff74
test edx, edx
je 0x1000ff74
test eax, eax
je 0x1000ff74
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 0x1000ff82
push ecx
call dword [ebp - 0x88]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1000ff8d
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.1005cef4
mov esp, ebp
pop ebp
ret