Function at 0x414b90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5a6124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x80], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x38]
push dword [edi]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x84], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x414c04
push eax
push ecx
mov eax, esp
push 0
push SysReAllocString
push 0
push ecx
mov dword [eax], 0
mov ecx, ebx
mov eax, esp
mov dword [eax], 0
push dword [ebp - 0x6c]
call fcn.00412660
cmp dword [ebp + 0xc], 0
je 0x414d43
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x414c28
push eax
mov ecx, edi
call fcn.00419bf0
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x414d43
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x40], xmm0
call esi
lea eax, [ebp - 0x20]
push eax
push dword [edi]
call esi
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
cdq
sub eax, edx
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
sar eax, 1
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x28]
push 2
push dword [ebp - 0x6c]
lea eax, [eax + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar ecx, 1
mov ebx, eax
mov dword [ebp - 0x78], ecx
lea eax, [edi + esi]
sar ebx, 1
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add esi, ecx
mov ecx, dword [ebp - 0x78]
sub ecx, eax
mov dword [ebp - 0x20], esi
add edi, ecx
mov ecx, dword [ebp - 0x7c]
mov eax, ecx
mov dword [ebp - 0x18], edi
sub eax, ebx
sub ecx, ebx
add dword [ebp - 0x1c], eax
add dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
cmp esi, ecx
jge 0x414cec
sub ecx, esi
add esi, ecx
add eax, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
cmp edx, edi
jge 0x414d05
sub edi, edx
add edx, edi
add ecx, edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x38]
cmp eax, edi
jle 0x414d18
sub edi, eax
add esi, edi
add eax, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x34]
cmp ecx, edi
jle 0x414d2b
sub edi, ecx
add edx, edi
add ecx, edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x84]
sub ecx, edx
push 1
push ecx
sub eax, esi
push eax
push edx
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebp + 0x10]
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov dword [ebp - 0x78], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x5ac06c]
mov dword [ebp - 0x7c], ebx
cmp eax, dword [ebx + 4]
jle 0x414db0
push 0x5ac06c
call fcn.00502aef
add esp, 4
cmp dword [0x5ac06c], 0xffffffff
jne 0x414db0
mov dword [ebp - 4], 0
call fcn.00417de0
push 0x56c4d0
mov dword [0x5ac070], eax
call fcn.00502944
push 0x5ac06c
mov dword [ebp - 4], 0xffffffff
call fcn.00502ab0
add esp, 8
mov eax, dword [0x5ac078]
cmp eax, dword [ebx + 4]
jle 0x414dfd
push 0x5ac078
call fcn.00502aef
add esp, 4
cmp dword [0x5ac078], 0xffffffff
jne 0x414dfd
mov dword [ebp - 4], 1
call fcn.00416e50
push 0x56c490
call fcn.00502944
push 0x5ac078
mov dword [ebp - 4], 0xffffffff
call fcn.00502ab0
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.00417b30
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 2
cmp dword [0x5ac090], 0
je 0x414e62
push ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00417070
mov ecx, eax
call fcn.00416d10
mov esi, dword [eax]
test esi, esi
je 0x414e40
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
push 0
mov eax, dword [eax + ecx*4]
push dword [eax + edx*4]
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x78]
push eax
call fcn.004165e0
mov eax, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x78]
test eax, eax
je 0x414f50
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418430
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ecx + 0x14], esi
call fcn.00415e40
mov eax, dword [eax]
cmp eax, dword [0x5ac070]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x28]
push eax
je 0x414ec6
call fcn.004184d0
mov eax, dword [ebp - 0x28]
inc dword [eax + 0x14]
jmp 0x414ed5
call fcn.004184d0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 0x74]
mov esi, dword [edx]
cmp esi, edx
je 0x414f53
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
test byte [esi + 0x14], 8
je 0x414ef9
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call edi
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0xd], 0
jne 0x414f47
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x414f2c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x414f47
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x414f20
jmp 0x414f47
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x414f45
cmp esi, dword [eax + 8]
jne 0x414f45
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x414f35
mov esi, eax
mov edx, dword [ebp - 0x74]
cmp esi, edx
jne 0x414ee4
jmp 0x414f53
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x80]
cmp byte [eax + 0xdc], 0
jne 0x4151c2
push 0
push 0
push 0
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4151bf
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x5aaeb0]
mov edi, eax
mov eax, dword [ebp - 0x7c]
cmp ecx, dword [eax + 4]
jle 0x415035
push 0x5aaeb0
call fcn.00502aef
add esp, 4
cmp dword [0x5aaeb0], 0xffffffff
jne 0x415035
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x56c440
mov dword [0x5aaed4], 0x56d944
mov dword [0x5aaed8], eax
mov byte [0x5aaedc], 0
call fcn.00502944
xor eax, eax
mov dword [0x5aaeb8], 0x56d95c
push 0x56c470
mov dword [0x5aaebc], 0x5aaed4
mov dword [0x5aaecc], 2
mov dword [0x5aaec4], 0
mov dword [0x5aaec8], 0
mov dword [0x5aaed0], eax
mov dword [0x5aaec0], 0x5aaeb8
call fcn.00502944
push 0x5aaeb0
call fcn.00502ab0
add esp, 0xc
mov eax, dword [0x5aaeb8]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x415052
lock inc dword [0x5aaecc]
mov eax, 0x5aaec0
jmp 0x415059
mov ecx, 0x5aaeb8
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 3
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x415087
push 0x400
lea ecx, [ebp - 0x78]
call fcn.004076b0
mov esi, dword [ebp - 0x78]
push 0x400
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi - 8]
push esi
call fcn.0052340e
add esp, 8
test eax, eax
js 0x41525b
cmp eax, dword [esi - 8]
jg 0x41525b
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [ebp - 0x74]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x4150f5
cmp dword [eax + 0x10], edi
jae 0x4150d2
mov eax, dword [eax + 8]
jmp 0x4150d6
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4150c8
cmp ecx, edx
je 0x4150f5
cmp edi, dword [ecx + 0x10]
jb 0x4150f5
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0xa0], ebx
jne 0x41512c
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
je 0x415208
cmp eax, 2
je 0x415208
cmp eax, 0x112
jne 0x41512c
cmp dword [ebp - 0x98], 0xf060
je 0x415208
mov edi, dword [ebp - 0x80]
cmp byte [edi + 0xdc], 0
jne 0x415212
mov eax, dword [edi]
mov eax, dword [eax + 0x58]
cmp eax, method.CInstallHintMsg.virtual_88
je 0x415157
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, edi
call eax
test eax, eax
jne 0x415171
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4151b2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4151b0
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4151b0
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4151b2
call edx
cmp byte [edi + 0xdc], 0
je 0x414f63
mov edx, dword [ebp - 0x74]
mov ecx, dword [0x5ac090]
mov esi, 0
mov eax, dword [0x5ac08c]
sub ecx, 1
mov dword [0x5ac090], ecx
cmove eax, esi
mov dword [0x5ac08c], eax
test ecx, ecx
je 0x41528c
push ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00417070
mov ecx, eax
call fcn.00416d10
mov esi, dword [eax]
test esi, esi
jne 0x415265
jmp 0x415267
mov eax, dword [ebp - 0x80]
mov byte [eax + 0xdc], 1
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4151bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x415254
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x415254
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4151bf
call edx
jmp 0x4151bf
push 0x80070057
call fcn.00407c80
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 3
dec eax
shr ecx, 2
and ecx, eax
mov eax, dword [esi + 4]
push 1
mov eax, dword [eax + ecx*4]
push dword [eax + edx*4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x74]
mov esi, dword [edx]
mov ebx, dword [0x5ac070]
cmp esi, edx
je 0x415331
nop dword [eax]
mov eax, dword [ebx + 4]
mov ecx, ebx
cmp byte [eax + 0xd], 0
jne 0x4152e9
mov edi, dword [esi + 0x10]
nop
cmp dword [eax + 0x10], edi
jae 0x4152ba
mov eax, dword [eax + 8]
jmp 0x4152be
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4152b0
cmp ecx, ebx
je 0x4152e9
cmp edi, dword [ecx + 0x10]
jb 0x4152e9
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004184d0
mov eax, dword [ebp - 0x28]
dec dword [eax + 0x14]
mov ebx, dword [0x5ac070]
mov edx, dword [ebp - 0x74]
cmp byte [esi + 0xd], 0
jne 0x415329
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41530e
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x415329
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x415302
jmp 0x415329
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x415327
cmp esi, dword [eax + 8]
jne 0x415327
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x415317
mov esi, eax
cmp esi, edx
jne 0x4152a0
mov esi, dword [ebx]
cmp esi, ebx
je 0x41542a
nop dword [eax + eax]
cmp dword [esi + 0x14], 0
jg 0x4153dd
mov ecx, dword [edx + 4]
mov eax, edx
cmp byte [ecx + 0xd], 0
jne 0x415375
mov edi, dword [esi + 0x10]
cmp dword [ecx + 0x10], edi
jae 0x415362
mov ecx, dword [ecx + 8]
jmp 0x415366
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x415358
cmp eax, edx
je 0x415375
cmp edi, dword [eax + 0x10]
jae 0x415377
mov eax, edx
cmp eax, edx
je 0x415386
push 1
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0xd], 0
mov eax, esi
jne 0x4153c8
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xd], 0
jne 0x4153ad
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4153c8
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
je 0x4153a1
jmp 0x4153c8
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4153c6
cmp esi, dword [ecx + 8]
jne 0x4153c6
mov esi, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4153b6
mov esi, ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00415ea0
mov ebx, dword [0x5ac070]
mov edx, dword [ebp - 0x74]
jmp 0x415422
cmp byte [esi + 0xd], 0
jne 0x415422
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x415402
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x415422
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4153f6
jmp 0x415422
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x415420
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x415420
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x415410
mov esi, eax
cmp esi, ebx
jne 0x415340
cmp dword [ebp - 0x9c], 0x12
jne 0x41543d
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x415457
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov esi, dword [ebp - 0x84]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415471
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x80]
push ecx
push dword [ecx]
mov esi, dword [eax + 0xd8]
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x24]
push eax
call fcn.00416c70
push dword [ebp - 0x74]
call fcn.0050241a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502bf3
mov esp, ebp
pop ebp
ret 0xc