Function at 0x1002db20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1a8
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
cmp edi, 0x110
je 0x1002dba0
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
mov esi, eax
sub esp, 8
xor eax, eax
cmp edi, 0x111
je 0x1002db70
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 1
je 0x1002dd00
cmp dword [ebp + 0x10], 2
jne 0x1002db5d
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
jmp 0x1002db5d
test byte [0x10047164], 8
jne 0x1002dcd0
mov dword [esp + 8], esi
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [esi]
lea edx, [ebp - 0x18c]
lea ecx, [ebp - 0x10c]
sub esp, 0xc
mov eax, dword [eax + 8]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x14c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x29
mov dword [esp], eax
mov dword [ebp - 0x14c], pe_nt_image_headers32
mov dword [ebp - 0x18c], 0
call sym.wininet.dll_HttpQueryInfoW
sub esp, 0x14
test eax, eax
jne 0x1002dc78
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.user32.dll_SetWindowTextW]
mov dword [esp], ebx
mov dword [esp + 4], 0x401
call edx
mov edx, dword [esi]
sub esp, 8
mov edx, dword [edx + 0x40]
mov edx, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0x10c]
sub esp, 8
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp], 0
mov eax, ebx
call sym._WININET_GetSetPassword
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea eax, [ebp - 0x10c]
call sym._WININET_GetAuthRealm.part.0
test eax, eax
je 0x1002dc13
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x402
mov dword [esp], ebx
mov dword [ebp - 0x198], edx
call edx
lea ecx, [ebp - 0x10c]
mov edi, dword [sym.imp.user32.dll_SetWindowTextW]
sub esp, 8
mov dword [esp + 4], ecx
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x198]
sub esp, 8
jmp 0x1002dc1f
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.WM_INITDIALOG___08Ix__n
mov dword [esp + 8], str.WININET_ProxyPasswordDialog
mov dword [esp + 4], 0x10047164
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1002dbad
xor edx, edx
mov dword [esp], ebx
lea edi, [ebp - 0x18c]
mov word [ebp - 0x18c], dx
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x403
mov dword [ebp - 0x198], edx
call edx
mov edx, dword [ebp - 0x198]
sub esp, 8
test eax, eax
je 0x1002dd53
mov dword [esp + 8], 0x20
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x198]
sub esp, 0xc
xor eax, eax
mov dword [ebp - 0x198], edx
mov word [ebp - 0x14c], ax
mov dword [esp + 4], 0x404
mov dword [esp], ebx
call edx
mov edx, dword [ebp - 0x198]
sub esp, 8
test eax, eax
je 0x1002dda0
lea ecx, [ebp - 0x14c]
mov dword [esp + 8], 0x20
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x198]
sub esp, 0xc
mov dword [esp + 4], 0x405
mov dword [esp], ebx
call edx
sub esp, 8
test eax, eax
je 0x1002dde0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf2
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
jne 0x1002de7d
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [esp], edi
mov edi, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x19c], eax
call edi
mov dword [ebp - 0x198], eax
test eax, eax
je 0x1002de56
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call edi
test eax, eax
je 0x1002df08
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x19c]
mov edi, dword [eax + 0x40]
mov ecx, dword [edi + 0x4c]
mov dword [esp], ecx
mov ecx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x19c], ecx
call ecx
mov eax, dword [ebp - 0x198]
mov edx, dword [edi + 0x50]
mov ecx, dword [ebp - 0x19c]
mov dword [edi + 0x4c], eax
mov dword [esp], edx
call ecx
mov eax, dword [ebp - 0x1a0]
mov dword [edi + 0x50], eax
mov eax, dword [esi]
mov dword [eax + 0x7c], 1
mov dword [esp + 4], 0x2f00
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
jmp 0x1002db5d
mov eax, dword [esi]
lea edx, [ebp - 0x194]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x190], pe_nt_image_headers32
mov dword [ebp - 0x194], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x190]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x29
mov dword [esp], eax
call sym.wininet.dll_HttpQueryInfoW
sub esp, 0x14
test eax, eax
je 0x1002dde0
lea ecx, [ebp - 0x10c]
mov eax, ecx
call sym._WININET_GetAuthRealm.part.0
test eax, eax
je 0x1002dde0
mov eax, dword [esi]
lea ecx, [ebp - 0x10c]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp], 1
mov eax, ebx
call sym._WININET_GetSetPassword
jmp 0x1002dde0
mov eax, dword [ebp - 0x198]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x1002de56