Function at 0x6c12e120
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 0x6c12e1b8
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 0x6c12e188
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edx, 1
je 0x6c12e310
cmp edx, 2
jne 0x6c12e176
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
jmp 0x6c12e176
test byte [0x6c147164], 8
jne 0x6c12e2e0
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], 0x28
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 0x6c12e290
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.user32.dll_SetWindowTextW]
mov dword [esp], ebx
mov dword [esp + 4], 0x406
call edx
mov edx, dword [esi]
sub esp, 8
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 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 0x6c12e22b
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 0x6c12e237
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.WM_INITDIALOG___08Ix__n
mov dword [esp + 8], str.WININET_PasswordDialog
mov dword [esp + 4], 0x6c147164
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6c12e1c5
xor edx, edx
mov dword [esp + 4], 0x403
mov word [ebp - 0x198], dx
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp], ebx
mov dword [ebp - 0x1ac], edx
call edx
mov edx, dword [ebp - 0x1ac]
sub esp, 8
test eax, eax
je 0x6c12e363
lea edi, [ebp - 0x198]
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 0x6c12e3b0
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 0x6c12e3f0
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 0x6c12e490
mov eax, dword [esi]
mov edx, dword [sym.imp.ucrtbase.dll__wcsdup]
mov edi, dword [eax + 0x40]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x1ac], edx
mov dword [esp], eax
call edx
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x6c12e469
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x1ac]
mov dword [esp], eax
call edx
test eax, eax
je 0x6c12e50e
mov edx, dword [edi + 0x48]
mov dword [ebp - 0x1b4], eax
mov dword [esp], edx
mov edx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x1ac], edx
call edx
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [edi + 0x4c]
mov edx, dword [ebp - 0x1ac]
mov dword [edi + 0x48], eax
mov dword [esp], ecx
call edx
mov eax, dword [ebp - 0x1b4]
mov dword [edi + 0x4c], 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 0x6c12e176
mov eax, dword [esi]
lea edx, [ebp - 0x1a0]
lea edi, [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], edi
mov dword [esp + 4], 0x28
mov dword [esp], eax
call sym.wininet.dll_HttpQueryInfoW
sub esp, 0x14
test eax, eax
je 0x6c12e3f0
mov eax, edi
call sym._WININET_GetAuthRealm.part.0
test eax, eax
je 0x6c12e3f0
mov eax, dword [esi]
mov ecx, edi
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp], 1
mov eax, ebx
call sym._WININET_GetSetPassword
jmp 0x6c12e3f0
mov eax, dword [ebp - 0x1b0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x6c12e469