Function at 0x1002d730
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 0x1002d7b0
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 0x1002d780
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 1
je 0x1002d900
cmp dword [ebp + 0x10], 2
jne 0x1002d76d
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
jmp 0x1002d76d
test byte [0x10047164], 8
jne 0x1002d8d0
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], 0x28
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 0x1002d880
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 - 0x10c]
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 - 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 0x1002d823
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 0x1002d82f
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], 0x10047164
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1002d7bd
xor edx, edx
mov dword [esp + 4], 0x403
mov word [ebp - 0x18c], dx
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp], ebx
mov dword [ebp - 0x198], edx
call edx
mov edx, dword [ebp - 0x198]
sub esp, 8
test eax, eax
je 0x1002d953
lea ecx, [ebp - 0x18c]
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
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 0x1002d9a0
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 0x1002d9e0
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 0x1002da80
mov eax, dword [esi]
mov edx, dword [sym.imp.ucrtbase.dll__wcsdup]
mov edi, dword [eax + 0x40]
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x19c], edx
mov dword [esp], eax
call edx
mov dword [ebp - 0x198], eax
test eax, eax
je 0x1002da59
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x19c]
mov dword [esp], eax
call edx
test eax, eax
je 0x1002dafe
mov edx, dword [edi + 0x48]
mov dword [ebp - 0x1a0], eax
mov dword [esp], edx
mov edx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x19c], edx
call edx
mov eax, dword [ebp - 0x198]
mov ecx, dword [edi + 0x4c]
mov edx, dword [ebp - 0x19c]
mov dword [edi + 0x48], eax
mov dword [esp], ecx
call edx
mov eax, dword [ebp - 0x1a0]
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 0x1002d76d
mov eax, dword [esi]
lea edx, [ebp - 0x194]
lea edi, [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], edi
mov dword [esp + 4], 0x28
mov dword [esp], eax
call sym.wininet.dll_HttpQueryInfoW
sub esp, 0x14
test eax, eax
je 0x1002d9e0
mov eax, edi
call sym._WININET_GetAuthRealm.part.0
test eax, eax
je 0x1002d9e0
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 0x1002d9e0
mov eax, dword [ebp - 0x198]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x1002da59