Function at 0x402b00
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x4c
cmp eax, 0xd
push ebx
push esi
mov ebx, ecx
jne 0x402b9b
call fcn.00403530
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x11
call esi
push 0
push 0
push 0
push 0x56
call esi
push 0
push 2
push 0
push 0x11
call esi
push 1
mov ecx, ebx
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [ebx + 0x250]
push 0x3ef
mov ecx, ebx
mov esi, dword [eax - 8]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xb1
push ecx
call esi
push 0x3ef
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x301
push edx
call esi
mov ecx, ebx
call fcn.004034e0
pop esi
xor eax, eax
pop ebx
add esp, 0x4c
ret 8
push ebp
push edi
push 0x3e8
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb0
push eax
call edi
cdq
and edx, 0xffff
push 0x3e8
add eax, edx
mov ecx, ebx
mov esi, eax
sar esi, 0x10
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push esi
push 0xc9
push ecx
call edi
push 0x3e8
mov ecx, ebx
mov dword [ebx + 0x2cc], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0xffffffffffffffff
push 0xbb
push edx
call edi
sub esi, eax
lea eax, [esp + 0x28]
push 0xd
push eax
mov ecx, ebx
mov dword [ebx + 0x2d0], esi
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edi, str.__Line
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x2cc]
mov esi, dword [sym.imp.MSVCRT.dll__itoa]
push ecx
call esi
mov eax, dword [ebx + 0x2d0]
lea edx, [esp + 0x28]
push 0xa
push edx
push eax
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.__Column
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x4c
ret 8