Function at 0x404d0d
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x42075b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x28]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [0x42256c]
xor ebp, ebp
push 0x400
mov ecx, esi
mov dword [esp + 0x18], ebp
call sub.MFC42u.DLL_CWnd::GetDlgItem_1
mov edi, eax
mov dword [esp + 0x14], ebp
cmp edi, ebp
je 0x404e25
call fcn.00401c60
cmp eax, ebp
je 0x404d5d
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x20]
push 0x32ca
push ecx
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x404e25
mov edx, dword [eax]
push 1
push 3
push eax
call dword [edx + 0x4c]
mov eax, dword [esp + 0x14]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0x16e
lea edx, [esp + 0x1c]
push 0x429370
push edx
call fcn.00405450
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x24c], ebp
call dword [ecx + 0x44]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test eax, eax
je 0x404e11
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, eax
mov edi, dword [esp + 0x1c]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
sub eax, ecx
sub eax, 0x32
sub edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, 0x2a
lea edx, [edi + edx - 0x32]
sub eax, ecx
mov dword [esp + 0x1c], edx
add ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], 0x2a
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x244], 0xffffffff
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x403
mov dword [esp + 0x18], ebp
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x10]
mov edi, dword [0x422568]
push ecx
call edi
mov ebx, dword [0x422564]
test eax, eax
je 0x404e64
mov edx, dword [esp + 0x10]
push ebp
push 0x14
push 0x96
push 0x38
push 0x1f
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x404
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x10]
push ecx
call edi
test eax, eax
je 0x404e93
mov edx, dword [esp + 0x10]
push ebp
push 0x14
push 0x96
push 0x4c
push 0x1f
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x405
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x10]
push ecx
call edi
test eax, eax
je 0x404f4a
mov edx, dword [esp + 0x10]
push ebp
push 0x14
push 0x96
push 0x7e
push 0x1f
push edx
call ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 0x100
stosw word es:[edi], ax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [0x422560]
mov edx, dword [esi + 0x60]
mov ecx, 0x164
lea eax, [esp + 0x3c]
cmp word [eax], bp
je 0x404f08
add eax, 2
dec ecx
jne 0x404efb
jmp 0x404f34
cmp ecx, ebp
je 0x404f34
lea eax, [esp + 0x18]
test eax, eax
je 0x404f1d
mov eax, 0x164
sub eax, ecx
jmp 0x404f21
mov eax, dword [esp + 0x18]
mov ecx, 0x164
push edx
sub ecx, eax
lea edx, [esp + eax*2 + 0x40]
push ecx
push edx
call fcn.00404fe0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [0x42255c]
mov edi, dword [0x422568]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 0x406
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov eax, dword [esp + 0x10]
push eax
call edi
test eax, eax
je 0x404f85
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
sub ecx, eax
push ebp
sub ecx, 0x23
push 0x14
push ecx
push 0x93
push 0x1f
push edx
call ebx
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 1
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x10]
push ecx
call edi
test eax, eax
je 0x404fc6
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
sub edx, eax
mov eax, dword [esp + 0x34]
push ebp
sub eax, esi
push 0x17
sub edx, 0x1e
push 0x3c
sub eax, 0x46
push edx
push eax
push ecx
call ebx
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret