Function at 0x428305
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
nop
push 0xffffffffffffffeb
push dword [ebp + 8]
call sub.USER32.DLL_GetWindowLongA
mov esi, eax
push 0
push 0
push 0x130b
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov dword [esi + 0x28], eax
mov ebx, eax
call sub.USER32.DLL_GetDialogBaseUnits
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 0x1c]
shr eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, ax
movzx eax, ax
shr eax, 3
mov dword [ebp - 0x14], eax
test ebx, ebx
jne 0x428388
mov eax, dword [esi + 4]
test eax, eax
je 0x428383
push 0x65
push dword [esi + 4]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 0x24], eax
push 0x492084
push pe_nt_image_headers32
push 0xd
push dword [ebp - 0x24]
call sub.USER32.DLL_SendMessageA
mov ebx, dword [esi + 0x20]
jmp 0x4283df
mov eax, dword [esi + 4]
test eax, eax
je 0x4283d7
push 0xc9
push dword [esi + 4]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 0x24], eax
push 0x492084
push pe_nt_image_headers32
push 0xd
push dword [ebp - 0x24]
call sub.USER32.DLL_SendMessageA
push 0xca
push dword [esi + 4]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 0x24], eax
push 0x492184
push pe_nt_image_headers32
push 0xd
push dword [ebp - 0x24]
call sub.USER32.DLL_SendMessageA
mov eax, dword [esi + 0x24]
add eax, 8
mov ebx, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4283ee
push dword [esi + 4]
call sub.USER32.DLL_DestroyWindow
push edi
call sub.USER32.DLL_SetRectEmpty
lea eax, [ebx*4]
mov eax, dword [eax + esi + 0x30]
movsx eax, word [eax + 0xe]
mov dword [edi + 8], eax
lea eax, [ebx*4]
mov eax, dword [eax + esi + 0x30]
movsx eax, word [eax + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 8]
movzx ecx, word [ebp - 0x1c]
imul eax, ecx
shr eax, 2
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, ax
movzx eax, ax
imul eax, dword [edi + 0xc]
shr eax, 3
mov dword [edi + 0xc], eax
push edi
push 1
push 0x1328
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov eax, dword [edi + 4]
neg eax
add eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [edi]
push eax
push edi
call sub.USER32.DLL_OffsetRect
push edi
mov eax, esi
add eax, 8
push eax
call sub.USER32.DLL_CopyRect
mov eax, esi
add eax, 8
push eax
push 0
push 0x1328
push dword [esi]
call sub.USER32.DLL_SendMessageA
push 4
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
push eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push eax
push dword [edi + 4]
push dword [edi]
push 0
push dword [esi]
call sub.USER32.DLL_SetWindowPos
push 4
push 8
call sub.USER32.DLL_GetSystemMetrics
shl eax, 1
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp - 0x14]
shl edx, 1
add ecx, edx
add eax, ecx
push eax
push 4
call sub.USER32.DLL_GetSystemMetrics
mov ecx, eax
pop eax
add eax, ecx
push eax
push 7
call sub.USER32.DLL_GetSystemMetrics
shl eax, 1
mov ecx, dword [edi + 8]
mov edx, dword [ebp - 0x18]
shl edx, 1
add ecx, edx
add eax, ecx
push eax
push dword [0x491e54]
push dword [0x491e50]
push 0
push dword [ebp + 8]
call sub.USER32.DLL_SetWindowPos
push 0
push fcn.00427520
push dword [ebp + 8]
lea eax, [ebx*4]
push dword [eax + esi + 0x30]
push dword [0x478670]
call sub.USER32.DLL_CreateDialogIndirectParamA
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4