Function at 0x6c1088f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
push edi
mov edi, eax
push esi
mov esi, ecx
push ebx
mov ebx, edx
sub esp, 0x1dc
mov ebp, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0x403
mov dword [esp], eax
mov dword [esp + 0x38], ebp
call ebp
sub esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 4], 0x404
mov dword [esp], edi
call ebp
sub esp, 8
mov dword [esp + 0x34], eax
lea ebp, [esp + 0xd0]
xor eax, eax
nop
movzx edx, word [ebx + eax]
mov word [ebp + eax], dx
add eax, 2
test dx, dx
jne 0x6c108940
cmp word [esp + 0xd0], 0
mov edx, ebp
je 0x6c108969
nop
add edx, 2
cmp word [edx], 0
jne 0x6c108960
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x6c147874]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6c108970
cmp word [esp + 0xd0], 0
mov edx, ebp
je 0x6c108999
add edx, 2
cmp word [edx], 0
jne 0x6c108990
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6c1089a0
mov edi, dword [esp + 0x1f0]
test edi, edi
jne 0x6c108af0
cmp word [esp + 0xd0], 0
mov ecx, pe_nt_image_headers32
mov word [esp + 0x4e], cx
je 0x6c108c27
mov eax, ebp
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x6c1089e0
sub eax, ebp
add eax, 2
movzx eax, ax
lea edx, [esp + 0x4e]
mov dword [esp + 0x10], 0x13
lea edi, [esp + 0x50]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebp
call sub.mpr.dll_WNetGetCachedPassword
sub esp, 0x14
test eax, eax
je 0x6c108a30
add esp, 0x1dc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x3a
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
mov ebp, eax
test eax, eax
je 0x6c108a1c
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp + 0x3c], eax
xor eax, eax
mov word [ebp], ax
mov dword [esp + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [esp], edi
mov edi, dword [sym.imp.user32.dll_SetWindowTextW]
call edi
sub esp, 8
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
test edx, edx
jne 0x6c108c08
mov ebx, dword [esp + 0x34]
lea edx, [ebp + 2]
mov dword [esp + 4], edx
mov dword [esp], ebx
call edi
sub esp, 8
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0x405
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call eax
sub esp, 8
test eax, eax
je 0x6c108a1c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x6c108a1c
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 8], 0x3f
mov word [esp + 0x50], bx
lea ebx, [esp + 0x50]
mov esi, dword [sym.imp.user32.dll_GetWindowTextW]
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
mov edx, ebx
sub esp, 0xc
cmp word [esp + 0x50], 0
je 0x6c108b31
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x6c108b28
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x6c147878]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6c108b38
cmp word [esp + 0x50], 0
je 0x6c108c31
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x6c108b60
mov ecx, eax
mov edx, 0x40
sub ecx, ebx
sar ecx, 1
sub edx, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp], eax
call esi
sub esp, 0xc
cmp word [esp + 0xd0], 0
je 0x6c108c44
mov eax, ebp
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x6c108ba0
sub eax, ebp
add eax, 2
movzx eax, ax
cmp word [esp + 0x50], 0
je 0x6c108c3d
mov edx, ebx
nop
add edx, 2
cmp word [edx], 0
jne 0x6c108bc0
sub edx, ebx
add edx, 2
movzx edx, dx
mov dword [esp + 8], ebx
mov dword [esp], ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x13
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call sub.mpr.dll_WNetCachePassword
sub esp, 0x18
add esp, 0x1dc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
mov dword [esp], 1
mov ecx, esi
mov edx, ebx
call fcn.6c1088f0
add esp, 0x1dc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 2
jmp 0x6c1089f1
mov edx, 0x40
mov eax, ebx
jmp 0x6c108b76
mov edx, 2
jmp 0x6c108bd1
mov eax, 2
jmp 0x6c108bb1