Function at 0x10001430
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x21f4
call fcn.10007518
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp + 4], 0x13ee
mov esi, eax
mov dword [ebp - 0x21e4], eax
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp], eax
mov dword [ebp - 0x21e8], edi
call edi
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x824
mov dword [esp + 4], 0xc5
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 4], 0x1451
mov dword [esp], esi
call edi
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x81a
mov dword [esp + 4], 0xc5
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 4], 0x1452
mov dword [esp], esi
call edi
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 8
mov dword [esp + 4], 0xc5
mov dword [esp], eax
call ebx
lea eax, [ebp - 0x21d0]
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0x10
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [esp], 0x80000001
call ebx
sub esp, 0xc
test eax, eax
je 0x10001520
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x21d4]
lea esi, [ebp - 0x21d8]
mov dword [ebp - 0x21d8], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x21dc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x21d0]
mov dword [esp + 0x14], esi
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ProxyEnable
mov dword [ebp - 0x21e0], eax
call eax
sub esp, 0x18
test eax, eax
jne 0x1000157e
cmp dword [ebp - 0x21dc], 4
je 0x10001588
mov dword [ebp - 0x21d4], 0
lea eax, [ebp - 0x209c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x21dc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x21d0]
mov dword [ebp - 0x21d8], 0x1048
mov dword [esp], eax
mov eax, dword [ebp - 0x21e0]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ProxyServer
call eax
sub esp, 0x18
test eax, eax
jne 0x100015db
cmp dword [ebp - 0x21dc], 1
je 0x100015e4
xor eax, eax
mov word [ebp - 0x209c], ax
lea eax, [ebp - 0x1054]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x21dc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x21d0]
mov dword [ebp - 0x21d8], 0x1048
mov dword [esp], eax
mov eax, dword [ebp - 0x21e0]
mov dword [esp + 8], 0
mov dword [esp + 4], str.AutoConfigURL
call eax
sub esp, 0x18
test eax, eax
jne 0x10001637
cmp dword [ebp - 0x21dc], 1
je 0x10001640
xor eax, eax
mov word [ebp - 0x1054], ax
lea eax, [ebp - 0x21cc]
mov dword [esp + 4], 0x1000a05c
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x21d0]
mov dword [esp], eax
call ebx
mov ebx, eax
mov eax, dword [ebp - 0x21d0]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x21ec], eax
call eax
sub esp, 4
test ebx, ebx
je 0x10001780
movzx ebx, byte [0x10008018]
mov eax, dword [ebp - 0x21d4]
and ebx, 8
jne 0x10001869
test eax, eax
jne 0x100019f8
lea eax, [ebp - 0x209c]
mov dword [esp + 4], 0x3a
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcschr]
mov esi, eax
test eax, eax
je 0x10001c38
xor edi, edi
mov ebx, dword [sym.imp.user32.dll_SetDlgItemTextW]
add esi, 2
mov word [eax], di
mov edi, dword [ebp - 0x21e4]
lea eax, [ebp - 0x209c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1451
mov dword [esp], edi
call ebx
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0x1452
mov dword [esp], edi
call ebx
sub esp, 0xc
cmp word [ebp - 0x1054], 0
je 0x10001518
mov esi, dword [ebp - 0x21e4]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x13ed
mov dword [esp], esi
call dword [sym.imp.user32.dll_CheckDlgButton]
mov eax, dword [ebp - 0x21e8]
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 0x13ee
call eax
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
lea eax, [ebp - 0x1054]
sub esp, 8
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x13ee
call ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x21dc]
mov dword [esp + 0x14], esi
xor edi, edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x21cc]
mov dword [ebp - 0x21d8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x21e0]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.DefaultConnectionSettings
call eax
sub esp, 0x18
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x21d8]
mov dword [esp], edi
mov ebx, edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edi, eax
mov eax, dword [ebp - 0x21cc]
test edi, edi
je 0x10001e7c
lea ecx, [ebp - 0x21dc]
mov dword [esp], eax
mov eax, dword [ebp - 0x21e0]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.DefaultConnectionSettings
call eax
sub esp, 0x18
cmp eax, 0xea
je 0x100017d0
mov ebx, eax
mov eax, dword [ebp - 0x21cc]
mov dword [esp], eax
mov eax, dword [ebp - 0x21ec]
call eax
sub esp, 4
test ebx, ebx
je 0x10001998
movzx ebx, byte [0x10008018]
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
and ebx, 8
mov eax, dword [ebp - 0x21d4]
je 0x10001699
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ProxyEnable___lx_n
mov dword [esp + 8], 0x1000a17c
mov dword [esp + 4], 0x10008018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x10008018], 8
je 0x10001c26
lea eax, [ebp - 0x209c]
shr eax, 0x10
je 0x10001da1
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 0x10001a9e
cmp word [ebp - 0x209c], 0
je 0x10001e2a
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebp + edx*2 - 0x209a], 0
jne 0x100018e8
mov eax, 0x224c
lea ebx, [ebp - 0x209c]
lea ecx, [ebp - 0x21c6]
mov word [ebp - 0x21c8], ax
lea edi, [ebp - 0x20a6]
mov dword [ebp - 0x21e0], ebx
jmp 0x10001955
cmp ax, 9
je 0x10001d20
cmp ax, 0xa
jne 0x10001d3e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10001a70
cmp ecx, edi
ja 0x10001a70
mov edx, eax
add dword [ebp - 0x21e0], 2
mov eax, dword [ebp - 0x21e0]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10001c68
jbe 0x10001920
cmp ax, 0x22
je 0x10001d90
cmp ax, 0x5c
jne 0x10001d31
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10001940
cmp dword [ebp - 0x21dc], 3
jne 0x1000184a
mov eax, dword [edi]
cmp eax, 0x46
je 0x10001e4b
movzx ebx, byte [0x10008018]
test bl, 1
je 0x10001851
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.unexpected_structure_version___lx__n
mov dword [esp + 8], 0x1000a17c
mov dword [esp + 4], 0x10008018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx ebx, byte [0x10008018]
jmp 0x10001851
mov esi, dword [ebp - 0x21e4]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1450
mov dword [esp], esi
call dword [sym.imp.user32.dll_CheckDlgButton]
mov edi, dword [ebp - 0x21e8]
sub esp, 0xc
mov dword [esp + 4], 0x1451
mov dword [esp], esi
call edi
mov ebx, dword [sym.imp.user32.dll_EnableWindow]
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 0x1452
mov dword [esp], esi
call edi
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
sub esp, 8
jmp 0x100016a1
mov byte [ecx], 0x22
test eax, eax
jle 0x10001e43
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x21c8]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.ProxyServer___s_n
mov dword [esp + 8], 0x1000a17c
mov dword [esp + 4], 0x10008018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test byte [0x10008018], 8
je 0x10001c26
lea eax, [ebp - 0x1054]
shr eax, 0x10
je 0x10001dcb
lea eax, [ebp - 0x1054]
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 0x10001bfe
cmp word [ebp - 0x1054], 0
je 0x10001e09
mov esi, esi
lea edi, [edi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebp + edx*2 - 0x1052], 0
jne 0x10001b20
mov ecx, 0x224c
lea ebx, [ebp - 0x1054]
lea edi, [ebp - 0x20a6]
mov word [ebp - 0x21c8], cx
lea ecx, [ebp - 0x21c6]
mov dword [ebp - 0x21e0], ebx
jmp 0x10001b8d
cmp ax, 9
je 0x10001c80
cmp ax, 0xa
jne 0x10001c9e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
cmp ecx, edi
ja 0x10001bd0
test edx, edx
jle 0x10001bd0
mov edx, eax
add dword [ebp - 0x21e0], 2
mov eax, dword [ebp - 0x21e0]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10001d08
jbe 0x10001b60
cmp ax, 0x22
je 0x10001cf0
cmp ax, 0x5c
jne 0x10001c91
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x10001b80
mov byte [ecx], 0x22
test eax, eax
jle 0x10001e22
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x21c8]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.AutoConfigURL___s_n
mov dword [esp + 8], 0x1000a17c
mov dword [esp + 4], 0x10008018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x21d4]
jmp 0x10001699
lea eax, [ebp - 0x209c]
mov dword [esp + 4], 0x1451
mov ebx, dword [sym.imp.user32.dll_SetDlgItemTextW]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x21e4]
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x10001704
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10001940
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10001b80
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x10001dff
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 0x10001b80
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x10001b80
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10001b80
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x10001940
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x10001df5
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 0x10001940
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x10001940
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 0x10001a9e
lea eax, [ebp - 0x1054]
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 0x10001bfe
mov byte [ecx], al
add ecx, 1
jmp 0x10001940
mov byte [ecx], al
add ecx, 1
jmp 0x10001b80
mov ebx, 0x224c
mov byte [ebp - 0x21c6], 0x22
lea ecx, [ebp - 0x21c6]
mov word [ebp - 0x21c8], bx
lea eax, [ecx + 1]
jmp 0x10001beb
mov edx, 0x224c
mov byte [ebp - 0x21c6], 0x22
lea ecx, [ebp - 0x21c6]
mov word [ebp - 0x21c8], dx
lea eax, [ecx + 1]
jmp 0x10001a8b
test byte [edi + 8], 8
je 0x1000184a
mov eax, dword [ebp - 0x21e4]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x13ec
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckDlgButton]
sub esp, 0xc
jmp 0x1000184a
mov dword [esp], eax
mov eax, dword [ebp - 0x21ec]
call eax
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10001518