Function at 0x42ebf0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x470436
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x492bec]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x49c]
lea eax, [esp + 0x78]
push eax
mov esi, ecx
call fcn.00422e40
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push edi
mov ecx, esi
call fcn.0042eac0
lea edx, [esp + 0x20]
push edx
push edi
lea ecx, [esp + 0x58]
call fcn.004265f0
cmp dword [esi + 0x94], 0
mov dword [esp + 0x494], 0
je 0x42ec95
mov ebp, dword [esp + 0x50]
mov ecx, esi
call fcn.00422e20
push eax
mov ecx, esi
call fcn.00422e20
push eax
push ebp
lea ecx, [esi + 0x90]
call fcn.00443b10
push 0x400
lea eax, [esp + 0x8c]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x400
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 0xa8]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
xor ebp, ebp
test eax, eax
je 0x42ecdf
push eax
push edi
call ebx
mov ebp, eax
lea eax, [esp + 0x88]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ecf0
sub eax, edx
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x90]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test ebp, ebp
je 0x42ed16
push ebp
push edi
call ebx
mov ecx, esi
call fcn.00422e80
and eax, 0x300
cmp eax, 0x200
jne 0x42ed3e
mov ebp, dword [esp + 0x28]
sub ebp, dword [esi + 0xa0]
mov edi, ebp
sub edi, dword [esp + 0x14]
add edi, 4
jmp 0x42ed87
test eax, eax
je 0x42ed6b
cmp eax, 0x100
je 0x42ed6b
cmp eax, 0x300
jne 0x42ed7f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
lea ebp, [edi + ecx + 4]
jmp 0x42ed87
mov edi, dword [esi + 0xa0]
add edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
lea ebp, [edi + ecx + 4]
jmp 0x42ed87
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x20]
call fcn.00413760
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x494], 1
je 0x42edfb
mov eax, dword [esi + 0xa4]
mov ecx, dword [esp + 0x18]
add ecx, eax
lea edx, [esp + 0x30]
mov dword [esp + 0x34], eax
push edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], ebp
call fcn.0042ea60
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
sar eax, 1
add eax, ecx
lea ecx, [esp + 0x40]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0042ea30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x494], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
call fcn.00413da0
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.0046d6fc
add esp, 0x484
ret 4