Function at 0x404280
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, 0x18
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp eax, 0x110
je 0x4042f0
cmp eax, 0x111
jne 0x4042d8
cmp edx, 1
je 0x404470
cmp edx, 2
je 0x404600
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [global_dlg], esi
mov dword [esp + 4], 0x3e8
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._SetWindowTextW_8
mov eax, dword [global_dlg]
sub esp, 8
mov esi, dword [eax + 0x208]
mov dword [esp + 4], 0x3e9
mov dword [esp], ebx
and esi, 1
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [global_dlg]
sub esp, 0x10
mov esi, dword [eax + 0x208]
mov dword [esp + 4], 0x3ea
mov dword [esp], ebx
shr esi, 1
and esi, 1
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [global_dlg]
sub esp, 0x10
mov esi, dword [eax + 0x208]
mov dword [esp + 4], 0x3eb
mov dword [esp], ebx
shr esi, 2
and esi, 1
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [global_dlg]
sub esp, 0x10
mov esi, dword [eax + 0x208]
mov dword [esp + 4], 0x3ec
mov dword [esp], ebx
shr esi, 3
and esi, 1
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [global_dlg]
sub esp, 0x10
mov esi, dword [eax + 0x208]
mov dword [esp + 4], 0x3ed
mov dword [esp], ebx
shr esi, 4
and esi, 1
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x4042bf
mov esi, dword [global_dlg]
mov dword [esp + 4], 0x3e8
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp + 8], 0x104
mov dword [esp], eax
call sym._GetWindowTextW_12
sub esp, 0xc
mov dword [esp + 4], 0x3e9
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf2
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x3ea
and edi, 1
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf2
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x3eb
and esi, 1
mov dword [esp], ebx
add esi, esi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf2
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
and eax, 1
mov dword [esp + 4], 0x3ec
shl eax, 2
mov dword [esp], ebx
or esi, eax
or esi, edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf2
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
and eax, 1
mov dword [esp + 4], 0x3ed
shl eax, 3
mov dword [esp], ebx
or esi, eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf2
mov dword [esp], eax
call sym._SendMessageW_16
mov edx, dword [global_dlg]
and eax, 1
sub esp, 0x10
shl eax, 4
or eax, esi
mov dword [edx + 0x208], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._EndDialog_8
sub esp, 8
jmp 0x4042bf
mov dword [esp + 4], 2
mov dword [esp], ebx
call sym._EndDialog_8
sub esp, 8
jmp 0x4042bf