Function at 0x100285a0
Capabilities:
Delete registry value
Get proxy
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [edi - 0x1c]
cmp eax, 0x2f
ja case.0x100285c0.30
jmp dword [eax*4 + 0x1004d1a4]
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], edx
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sym.wininet.dll_InternetSetOptionW
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x18], edx
call edx
sub esp, 0x18
mov esi, eax
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x10028a7c
mov dword [esp + 0x14], esi
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov eax, dword [ebp - 0x10]
sub esp, 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov ecx, dword [ebp - 0x14]
mov dword [esp], ecx
call sym.wininet.dll_InternetSetOptionW
mov edi, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0x10
mov esi, eax
cmp ebx, dword [ebp - 0x10]
je 0x1002869e
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call edi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp], 0x14
mov dword [ebp - 0x20], edi
call edi
mov dword [ebp - 0x10], eax
mov dword [eax], 0x14
mov eax, dword [ebx + 4]
test eax, eax
je 0x10028a50
mov esi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 0x18
mov dword [ebp - 0x18], eax
add eax, eax
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call esi
sub esp, 0x18
mov esi, dword [ebx + 8]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
lea eax, [esi + esi*2]
shl eax, 2
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
mov dword [edi + 0x10], eax
test esi, esi
je 0x1002899c
mov ecx, edi
xor esi, esi
mov edi, eax
lea esi, [esi]
mov edx, dword [ebx + 0x10]
lea eax, [esi + esi*2]
shl eax, 2
add edx, eax
add edi, eax
mov eax, dword [edx]
mov dword [edi], eax
cmp eax, 9
ja case.0x10028792.0
jmp dword [eax*4 + 0x1004d264]
mov dword [esp + 0x14], 0
mov edi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call edi
sub esp, 0x18
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call edi
lea ecx, [esi + eax + 0xc]
sub esp, 0x18
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x24], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, eax
mov eax, dword [ebx]
lea edx, [ecx + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ecx], eax
lea ecx, [ecx + esi*2 + 0xe]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov esi, dword [ebp - 0x18]
sub esp, 0x18
mov dword [esp + 0x14], esi
mov esi, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], esi
mov eax, dword [ebx + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call edi
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub esp, 0x18
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x26
jmp 0x1002867b
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x10028a70
mov dword [ebp - 0x24], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x20]
sub esp, 0x18
mov dword [ebp - 0x18], eax
add eax, eax
mov dword [esp], eax
call edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [edx + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x24]
sub esp, 0x18
inc esi
cmp dword [ebx + 8], esi
jbe 0x1002899c
mov edi, dword [ecx + 0x10]
jmp 0x10028778
test byte [0x100471a4], 4
je case.0x10028792.1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_PER_CONN_dwOption:__ld__guessing_at_conversion_to_Wide_n
mov dword [esp + 8], str.InternetSetOptionA
mov dword [esp + 4], 0x100471a4
mov dword [esp], 2
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edx
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc esi
mov dword [edi + 4], eax
cmp dword [ebx + 8], esi
ja 0x1002894b
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov dword [esp + 4], 0x4b
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], edi
mov dword [esp], eax
call sym.wininet.dll_InternetSetOptionW
sub esp, 0x10
mov esi, eax
cmp ebx, edi
je 0x1002869e
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x10028a28
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
nop
lea eax, [ebx + ebx*2]
lea eax, [edx + eax*4]
mov ecx, dword [eax]
cmp ecx, 9
ja 0x10028a1c
mov edi, 1
shl edi, cl
mov ecx, edi
and ecx, 0x25c
je 0x10028a1c
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x14]
call eax
mov edx, dword [esi + 0x10]
inc ebx
cmp dword [esi + 8], ebx
ja 0x100289f0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov dword [esp], edx
call edi
jmp 0x10028696
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
jmp 0x10028945
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x14
mov dword [eax + 4], 0
jmp 0x10028744
mov dword [edi + 4], 0
jmp 0x10028945
mov esi, 0xe
jmp 0x1002869e