Function at 0x42d1d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x431971
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14c]
mov dword [esp + 0xc], ebx
call edx
cmp ebx, eax
jge 0x42d52f
mov eax, dword [edi + 0x18]
push eax
call sub.mfc90.dll_Ordinal_2587
mov ebx, eax
xor eax, eax
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call sub.mfc90.dll_Ordinal_3056
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x20]
add eax, dword [esp + 0x3c]
add ecx, ecx
cmp ecx, eax
jge 0x42d28c
xor eax, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
test ebx, ebx
je 0x42d28c
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call sub.mfc90.dll_Ordinal_2470
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x54], eax
lea eax, [edi + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x58]
add eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0x24]
mov dword [esp + 0x24], ecx
push 0x434f57
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x434f65
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x6c], 1
test ecx, ecx
jl 0x42d31c
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x6c]
sar eax, 2
cmp ecx, eax
jge 0x42d31c
jb 0x42d314
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + ecx*4]
jmp 0x42d31e
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
push 0
call fcn.00422ef0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x42d353
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x6c]
sar eax, 2
cmp ecx, eax
jge 0x42d353
jb 0x42d34b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + ecx*4]
jmp 0x42d355
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push 2
call fcn.00422ef0
push 7
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
test ecx, ecx
jl 0x42d51b
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x6c]
sar eax, 2
cmp ecx, eax
jge 0x42d51b
jb 0x42d396
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x42d51b
push 7
call fcn.00422e80
test eax, eax
je 0x42d484
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90.dll_Ordinal_2592
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.mfc90.dll_Ordinal_2592
test eax, eax
je 0x42d444
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90.dll_Ordinal_2592
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.mfc90.dll_Ordinal_2592
mov edx, dword [eax + 0x20]
cmp edx, dword [esi + 0x20]
jne 0x42d444
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
call sub.mfc90.dll_Ordinal_2470
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call sub.mfc90.dll_Ordinal_2470
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [edi + 8]
mov edx, dword [esi + 0x20]
push edi
push 0
push 0x1043
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42d466
mov eax, dword [esp + 0x18]
push 0xd8e9ec
push eax
mov ecx, ebx
call sub.mfc90.dll_Ordinal_2470
push 0xd8e9ec
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call sub.mfc90.dll_Ordinal_2470
mov edi, dword [esp + 0xc]
push 0x10
push 0x10
push edi
mov ecx, esi
call sub.mfc90.dll_Ordinal_6333
push 1
push 1
push edi
mov ecx, esi
call sub.mfc90.dll_Ordinal_6333
jmp 0x42d48f
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
push 5
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x38]
push eax
mov ecx, ebx
call edx
lea eax, [esp + 0x1c]
push str.__1_
push eax
lea ecx, [esp + 0x1c]
call fcn.00401020
add esp, 8
mov byte [esp + 0x6c], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebx]
push 0x24
lea esi, [esp + 0x54]
push esi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, ebx
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
mov edi, 0x4357b0
call fcn.004026d0
add esp, 8
mov byte [esp + 0x6c], 3
mov eax, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x70]
push 0x26
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4