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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x2204
call fcn.10007518
sub esp, eax
mov eax, dword [esp + eax]
cmp dword [edx + 8], 0xffffff36
je 0x10001ed0
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, eax
lea eax, [ebp - 0x21cc]
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
jne 0x10001ebf
mov eax, dword [sym.imp.user32.dll_IsDlgButtonChecked]
mov dword [esp + 4], 0x1450
mov dword [esp], ebx
mov dword [ebp - 0x21d4], eax
call eax
sub esp, 8
mov dword [ebp - 0x21d0], eax
lea eax, [ebp - 0x21d0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x21cc]
mov dword [esp + 0x14], 4
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ProxyEnable
mov dword [ebp - 0x21dc], eax
call eax
sub esp, 0x18
mov esi, eax
test eax, eax
jne 0x100026b0
test byte [0x10008018], 8
jne 0x10002500
lea eax, [ebp - 0x209c]
mov dword [esp + 0xc], 0x824
mov dword [esp + 8], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItemTextW]
mov dword [esp + 4], 0x1451
mov dword [esp], ebx
mov dword [ebp - 0x21d8], eax
call eax
sub esp, 0x10
mov edi, eax
test eax, eax
je 0x10002370
lea edx, [eax + 1]
mov eax, 0x3a
mov dword [esp + 4], 0x1452
mov word [ebp + edi*2 - 0x209c], ax
mov eax, 0x824
sub eax, edx
mov dword [ebp - 0x21e0], edx
mov dword [esp + 0xc], eax
lea eax, [ebp + edx*2 - 0x209c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x21d8]
mov dword [esp], ebx
call eax
mov edx, dword [ebp - 0x21e0]
sub esp, 0x10
test eax, eax
je 0x100023a0
add edx, eax
lea eax, [ebp - 0x209c]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x21cc]
add edx, edx
mov dword [esp + 0x14], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x21dc]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ProxyServer
call eax
sub esp, 0x18
test eax, eax
jne 0x10002538
lea edi, [ebp - 0x1054]
test byte [0x10008018], 8
jne 0x10002550
mov dword [esp + 4], 0x13ed
mov eax, dword [ebp - 0x21d4]
mov dword [esp], ebx
call eax
mov edx, dword [ebp - 0x21d8]
sub esp, 8
mov dword [ebp - 0x21e0], eax
mov dword [esp + 0xc], 0x824
mov dword [esp + 8], edi
mov dword [esp + 4], 0x13ee
mov dword [esp], ebx
call edx
sub esp, 0x10
test eax, eax
je 0x100020a3
mov edx, dword [ebp - 0x21e0]
test edx, edx
jne 0x100023d0
mov eax, dword [ebp - 0x21cc]
mov dword [esp + 4], str.AutoConfigURL
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
sub esp, 8
and eax, 0xfffffffd
jne 0x10002538
test byte [0x10008018], 8
lea esi, [ebp - 0x21c8]
mov dword [ebp - 0x21e0], 0
je 0x10002112
mov edx, 0x1000a105
lea esi, [ebp - 0x21c8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.AutoConfigURL_set_to__s_n
mov dword [esp + 8], str.connections_on_notify
mov dword [esp + 4], 0x10008018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov dword [esp], ebx
mov eax, dword [ebp - 0x21d4]
mov dword [esp + 4], 0x13ec
call eax
mov dword [ebp - 0x21d4], eax
mov eax, dword [ebp - 0x21cc]
sub esp, 8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1000a05c
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.advapi32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x21cc]
sub esp, 0x24
mov dword [esp], eax
call ebx
sub esp, 4
test esi, esi
jne 0x10001ebf
mov eax, dword [ebp - 0x21d0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x21e4], eax
lea eax, [ebp - 0x209c]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [ebp - 0x21d8], eax
call eax
sub esp, 0x20
test eax, eax
je 0x10002758
mov dword [ebp - 0x21e8], eax
mov eax, dword [ebp - 0x21d8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call eax
sub esp, 0x20
test eax, eax
je 0x10002758
mov edx, dword [ebp - 0x21e8]
sub eax, 1
mov dword [esp], 1
mov dword [ebp - 0x21ec], eax
lea eax, [edx + 0x37]
mov dword [ebp - 0x21f0], edx
mov dword [ebp - 0x21e8], eax
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov ecx, eax
test eax, eax
je 0x10002758
cmp dword [ebp - 0x21e4], 1
mov dword [eax], 0x46
sbb eax, eax
mov edx, dword [ebp - 0x21f0]
and eax, 0xfffffffe
add eax, 3
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x21e0]
test eax, eax
je 0x100022b8
or dword [ecx + 8], 4
mov eax, dword [ebp - 0x21d4]
test eax, eax
je 0x100022c6
or dword [ecx + 8], 8
lea eax, [edx - 1]
mov dword [ebp - 0x21d4], eax
mov dword [ecx + 0xc], eax
lea eax, [ecx + 0xc]
mov dword [ebp - 0x21e0], eax
mov eax, dword [ebp - 0x21d4]
test eax, eax
jne 0x100026c7
mov eax, dword [ebp - 0x21ec]
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x100029ac
mov eax, dword [ebp - 0x21e8]
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x21d4], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x21c8]
mov dword [esp + 0xc], 3
mov dword [esp], eax
mov eax, dword [ebp - 0x21dc]
mov dword [esp + 8], 0
mov dword [esp + 4], str.DefaultConnectionSettings
call eax
mov ecx, dword [ebp - 0x21d4]
sub esp, 0x18
mov esi, eax
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x21c8]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 4
test esi, esi
sete al
mov esi, eax
jmp 0x10001ec1
mov eax, dword [ebp - 0x21cc]
mov dword [esp + 4], str.ProxyServer
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
sub esp, 8
cmp eax, 2
jne 0x10002038
jmp 0x10002040
mov ecx, 0x38
mov word [ebp + edx*2 - 0x209c], cx
mov ecx, 0x30
lea edx, [edi + 3]
mov word [ebp + edi*2 - 0x2098], cx
xor edi, edi
mov word [ebp + edx*2 - 0x209c], di
jmp 0x10001ffa
add eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x21cc]
mov dword [esp + 0xc], 1
mov dword [esp], eax
mov eax, dword [ebp - 0x21dc]
mov dword [esp + 8], 0
mov dword [esp + 4], str.AutoConfigURL
call eax
sub esp, 0x18
test eax, eax
jne 0x10002538
lea esi, [ebp - 0x21c8]
test byte [0x10008018], 8
je 0x10002112
mov eax, edi
shr eax, 0x10
je 0x10002900
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1000a006
sub esp, 8
test eax, eax
jne 0x100020ea
cmp word [ebp - 0x1054], 0
je 0x1000296a
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edi + edx*2 + 2], 0
jne 0x10002460
mov eax, 0x224c
mov dword [ebp - 0x21d8], ebx
lea ecx, [ebp - 0x21c6]
mov esi, edi
mov word [ebp - 0x21c8], ax
jmp 0x100024cb
cmp ax, 9
je 0x10002800
cmp ax, 0xa
jne 0x10002778
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [ebp - 0x20a6]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x100028c0
test edx, edx
jle 0x100028c0
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x100027e8
jbe 0x10002490
cmp ax, 0x22
je 0x100027d0
cmp ax, 0x5c
jne 0x1000276b
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x100024b0
mov eax, dword [ebp - 0x21d0]
mov dword [esp + 0xc], str.ProxyEnable_set_to__lx_n
mov dword [esp + 8], str.connections_on_notify
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10008018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001f73
mov eax, dword [ebp - 0x21cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x10001ec1
lea eax, [ebp - 0x209c]
shr eax, 0x10
je 0x10002920
lea eax, [ebp - 0x209c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1000a006
sub esp, 8
test eax, eax
jne 0x1000267a
cmp word [ebp - 0x209c], 0
je 0x1000298b
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebp + edx*2 - 0x209a], 0
jne 0x10002598
mov ecx, 0x224c
mov dword [ebp - 0x21e0], esi
lea edi, [ebp - 0x209c]
mov word [ebp - 0x1054], cx
lea ecx, [ebp - 0x1052]
mov dword [ebp - 0x21e4], ebx
jmp 0x10002603
cmp ax, 9
je 0x100028a8
cmp ax, 0xa
jne 0x10002836
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10002640
lea ebx, [ebp - 0xf32]
cmp ecx, ebx
ja 0x10002640
mov edx, eax
movzx eax, word [edi]
add edi, 2
cmp ax, 0xd
je 0x10002818
jbe 0x100025d0
cmp ax, 0x22
je 0x10002890
cmp ax, 0x5c
jne 0x10002829
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100025f0
mov esi, dword [ebp - 0x21e0]
mov ebx, dword [ebp - 0x21e4]
mov byte [ecx], 0x22
test eax, eax
jle 0x100029a4
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
lea edi, [ebp - 0x1054]
mov byte [eax], 0
mov dword [esp], edi
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.ProxyServer_set_to__s_n
mov dword [esp + 8], str.connections_on_notify
mov dword [esp + 4], 0x10008018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10002053
mov eax, dword [ebp - 0x21cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x10001ebf
mov eax, dword [ebp - 0x21d4]
mov dword [ebp - 0x21e4], edx
mov dword [ebp - 0x21d4], ecx
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x209c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x21d8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call eax
mov eax, dword [ebp - 0x21ec]
mov ecx, dword [ebp - 0x21e0]
mov edx, dword [ebp - 0x21e4]
sub esp, 0x20
test eax, eax
mov dword [ecx + edx + 7], eax
mov ecx, dword [ebp - 0x21d4]
jne 0x10002a0c
mov eax, dword [ebp - 0x21e8]
test eax, eax
jne 0x100022fa
lea esi, [esi]
mov eax, dword [ebp - 0x21c8]
mov dword [esp], eax
call ebx
sub esp, 4
jmp 0x10001ec1
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x10002950
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdefconnections_on_initdialog]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefconnections_on_initdialog]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdefconnections_on_initdialog]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefconnections_on_initdialog]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100024b0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100024b0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100024b0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100024b0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100025f0
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x10002960
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefconnections_on_initdialog]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefconnections_on_initdialog]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefconnections_on_initdialog]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefconnections_on_initdialog]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100025f0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100025f0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100025f0
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x21d8]
test eax, eax
jle 0x10002983
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
lea esi, [ebp - 0x21c8]
mov byte [eax], 0
mov dword [esp], esi
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x100020ea
movzx eax, di
mov dword [esp], section..rdata
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x100020ea
lea eax, [ebp - 0x209c]
mov dword [esp], section..rdata
mov dword [ebp - 0x21e0], eax
movzx eax, word [ebp - 0x21e0]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, eax
jmp 0x1000267a
mov byte [ecx], al
add ecx, 1
jmp 0x100024b0
mov byte [ecx], al
add ecx, 1
jmp 0x100025f0
mov esi, 0x224c
mov byte [ebp - 0x21c6], 0x22
lea ecx, [ebp - 0x21c6]
mov word [ebp - 0x21c8], si
lea eax, [ecx + 1]
jmp 0x100028e1
mov eax, 0x224c
mov byte [ebp - 0x1052], 0x22
lea ecx, [ebp - 0x1052]
mov word [ebp - 0x1054], ax
lea eax, [ecx + 1]
jmp 0x10002667
mov eax, 0xc
mov dword [ebp - 0x21d4], ecx
mov ecx, dword [ebp - 0x21ec]
add eax, dword [ebp - 0x21e0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x21d8]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call eax
mov ecx, dword [ebp - 0x21d4]
sub esp, 0x20
jmp 0x10002744
lea eax, [edx + 0xb]
jmp 0x100029b1