Function at 0x6c12e530
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x1c8
mov edi, dword [ecx + 4]
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp edi, 0x110
je 0x6c12e5c8
mov dword [ebp - 0x1ac], edx
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
mov edx, dword [ebp - 0x1ac]
sub esp, 8
mov esi, eax
xor eax, eax
cmp edi, 0x111
je 0x6c12e598
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edx, 1
je 0x6c12e720
cmp edx, 2
jne 0x6c12e586
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
jmp 0x6c12e586
test byte [0x6c147164], 8
jne 0x6c12e6f0
mov dword [esp + 8], esi
lea edi, [ebp - 0x118]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [esi]
lea edx, [ebp - 0x198]
sub esp, 0xc
mov eax, dword [eax + 8]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x158]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x29
mov dword [esp], eax
mov dword [ebp - 0x158], pe_nt_image_headers32
mov dword [ebp - 0x198], 0
call sym.wininet.dll_HttpQueryInfoW
sub esp, 0x14
test eax, eax
jne 0x6c12e6a0
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 - 0x118]
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 - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea eax, [ebp - 0x118]
call sym._WININET_GetAuthRealm.part.0
test eax, eax
je 0x6c12e63b
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp], ebx
lea edi, [ebp - 0x118]
mov dword [esp + 4], 0x402
mov dword [ebp - 0x1ac], edx
call edx
sub esp, 8
mov dword [esp + 4], edi
mov edi, dword [sym.imp.user32.dll_SetWindowTextW]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1ac]
sub esp, 8
jmp 0x6c12e647
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], 0x6c147164
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6c12e5d5
xor edx, edx
mov dword [esp], ebx
lea edi, [ebp - 0x198]
mov word [ebp - 0x198], dx
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x403
mov dword [ebp - 0x1ac], edx
call edx
mov edx, dword [ebp - 0x1ac]
sub esp, 8
test eax, eax
je 0x6c12e773
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 - 0x1ac]
sub esp, 0xc
xor eax, eax
mov dword [ebp - 0x1ac], edx
mov word [ebp - 0x158], ax
mov dword [esp + 4], 0x404
mov dword [esp], ebx
call edx
mov edx, dword [ebp - 0x1ac]
sub esp, 8
test eax, eax
je 0x6c12e7c0
lea ecx, [ebp - 0x158]
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 - 0x1ac]
sub esp, 0xc
mov dword [esp + 4], 0x405
mov dword [esp], ebx
call edx
sub esp, 8
test eax, eax
je 0x6c12e800
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 0x6c12e89d
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [esp], edi
mov edi, dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x1b0], eax
call edi
mov dword [ebp - 0x1ac], eax
test eax, eax
je 0x6c12e876
lea eax, [ebp - 0x158]
mov dword [esp], eax
call edi
test eax, eax
je 0x6c12e928
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b0]
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 - 0x1b0], ecx
call ecx
mov eax, dword [ebp - 0x1ac]
mov edx, dword [edi + 0x50]
mov ecx, dword [ebp - 0x1b0]
mov dword [edi + 0x4c], eax
mov dword [esp], edx
call ecx
mov eax, dword [ebp - 0x1b4]
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 0x6c12e586
mov eax, dword [esi]
lea edx, [ebp - 0x1a0]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x19c], pe_nt_image_headers32
mov dword [ebp - 0x1a0], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x19c]
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 0x6c12e800
lea ecx, [ebp - 0x118]
mov eax, ecx
call sym._WININET_GetAuthRealm.part.0
test eax, eax
je 0x6c12e800
mov eax, dword [esi]
lea ecx, [ebp - 0x118]
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 0x6c12e800
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x6c12e876