Function at 0x429450
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ed88
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x580124]
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 - 0x58], ebx
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x34]
push dword [edi]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x5c], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4294be
push eax
push ecx
mov eax, esp
push 0
push SysReAllocStringLen
push 0
push ecx
mov dword [eax], 0
mov ecx, ebx
mov eax, esp
mov dword [eax], 0
push dword [ebp - 0x44]
call fcn.00427050
cmp dword [ebp + 0xc], 0
je 0x4295df
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4294e2
push eax
mov ecx, edi
call fcn.0042e190
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4295df
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]
sar eax, 1
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
push 0
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 - 0x50], 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 - 0x50]
sub ecx, eax
mov dword [ebp - 0x20], esi
add edi, ecx
mov ecx, dword [ebp - 0x54]
mov eax, ecx
mov dword [ebp - 0x18], edi
sub eax, ebx
sub ecx, ebx
add dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
add dword [ebp - 0x14], ecx
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
cmp esi, ecx
jge 0x42958b
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 0x4295a4
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 0x4295b7
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 0x4295ca
sub edi, ecx
add edx, edi
add ecx, edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x5c]
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 - 0x50], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x5857ac]
mov dword [ebp - 0x54], ebx
cmp eax, dword [ebx + 4]
jle 0x42964c
push 0x5857ac
call fcn.004e4b0d
add esp, 4
cmp dword [0x5857ac], 0xffffffff
jne 0x42964c
mov dword [ebp - 4], 0
call fcn.0042c3d0
push 0x54bd80
mov dword [0x5857b0], eax
call fcn.004e4962
push 0x5857ac
mov dword [ebp - 4], 0xffffffff
call fcn.004e4ace
add esp, 8
mov eax, dword [0x5857b8]
cmp eax, dword [ebx + 4]
jle 0x429699
push 0x5857b8
call fcn.004e4b0d
add esp, 4
cmp dword [0x5857b8], 0xffffffff
jne 0x429699
mov dword [ebp - 4], 1
call fcn.0042b440
push 0x54bd40
call fcn.004e4962
push 0x5857b8
mov dword [ebp - 4], 0xffffffff
call fcn.004e4ace
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.0042c120
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 2
cmp dword [0x5857d0], 0
je 0x4296fe
push ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042b660
mov ecx, eax
call fcn.0042b300
mov esi, dword [eax]
test esi, esi
je 0x4296dc
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 - 0x50]
push eax
call fcn.0042abd0
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x50]
test eax, eax
je 0x4297f0
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042ca20
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ecx + 0x14], esi
call fcn.0042a430
mov eax, dword [eax]
cmp eax, dword [0x5857b0]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
je 0x429762
call fcn.0042cac0
mov eax, dword [ebp - 0x28]
inc dword [eax + 0x14]
jmp 0x429771
call fcn.0042cac0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x14], 1
mov edx, dword [ebp - 0x4c]
mov esi, dword [edx]
cmp esi, edx
je 0x4297f3
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
test byte [esi + 0x14], 8
je 0x429795
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 0x4297e7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4297cc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4297e7
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4297c0
jmp 0x4297e7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4297e5
cmp esi, dword [eax + 8]
jne 0x4297e5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4297d5
mov esi, eax
mov edx, dword [ebp - 0x4c]
cmp esi, edx
jne 0x429780
jmp 0x4297f3
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
cmp byte [eax + 0xd8], 0
jne 0x429a4b
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x429a48
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x584ae0]
mov edi, eax
mov eax, dword [ebp - 0x54]
cmp ecx, dword [eax + 4]
jle 0x4298d2
push 0x584ae0
call fcn.004e4b0d
add esp, 4
cmp dword [0x584ae0], 0xffffffff
jne 0x4298d2
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x54bcf0
mov dword [0x584b04], 0x54d8c4
mov dword [0x584b08], eax
mov byte [0x584b0c], 0
call fcn.004e4962
xor eax, eax
mov dword [0x584ae8], 0x54d8dc
push 0x54bd20
mov dword [0x584aec], 0x584b04
mov dword [0x584afc], 2
mov dword [0x584af4], 0
mov dword [0x584af8], 0
mov dword [0x584b00], eax
mov dword [0x584af0], 0x584ae8
call fcn.004e4962
push 0x584ae0
call fcn.004e4ace
add esp, 0xc
mov eax, dword [0x584ae8]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4298ef
lock inc dword [0x584afc]
mov eax, 0x584af0
jmp 0x4298f6
mov ecx, 0x584ae8
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], 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 0x429924
push 0x400
lea ecx, [ebp - 0x50]
call fcn.00407610
mov esi, dword [ebp - 0x50]
push 0x400
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi - 8]
push esi
call fcn.005053f1
add esp, 8
test eax, eax
js 0x429ae4
cmp eax, dword [esi - 8]
jg 0x429ae4
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [ebp - 0x4c]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x429992
cmp dword [eax + 0x10], edi
jae 0x42996f
mov eax, dword [eax + 8]
jmp 0x429973
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x429965
cmp ecx, edx
je 0x429992
cmp edi, dword [ecx + 0x10]
jb 0x429992
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x78], ebx
jne 0x4299c0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
je 0x429a91
cmp eax, 2
je 0x429a91
cmp eax, 0x112
jne 0x4299c0
cmp dword [ebp - 0x70], 0xf060
je 0x429a91
mov edi, dword [ebp - 0x58]
cmp byte [edi + 0xd8], 0
jne 0x429a9b
mov eax, dword [edi]
cmp eax, vtable.CXWindow.0
je 0x4299e6
lea ecx, [ebp - 0x78]
push ecx
mov ecx, edi
call dword [eax + 0x4c]
test eax, eax
jne 0x4299fa
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x78]
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 0x429a3b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x429a39
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x429a39
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x429a3b
call edx
cmp byte [edi + 0xd8], 0
je 0x429803
mov edx, dword [ebp - 0x4c]
mov ecx, dword [0x5857d0]
mov esi, 0
mov eax, dword [0x5857cc]
sub ecx, 1
mov dword [0x5857d0], ecx
cmove eax, esi
mov dword [0x5857cc], eax
test ecx, ecx
je 0x429b15
push ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b660
mov ecx, eax
call fcn.0042b300
mov esi, dword [eax]
test esi, esi
jne 0x429aee
jmp 0x429af0
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xd8], 1
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x429a48
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x429add
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x429add
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x429a48
call edx
jmp 0x429a48
push 0x80070057
call fcn.00407be0
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 1
mov eax, dword [eax + ecx*4]
push dword [eax + edx*4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x4c]
mov esi, dword [edx]
mov ebx, dword [0x5857b0]
cmp esi, edx
je 0x429bba
mov eax, dword [ebx + 4]
mov ecx, ebx
cmp byte [eax + 0xd], 0
jne 0x429b6c
mov edi, dword [esi + 0x10]
cmp dword [eax + 0x10], edi
jae 0x429b3d
mov eax, dword [eax + 8]
jmp 0x429b41
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x429b33
cmp ecx, ebx
je 0x429b6c
cmp edi, dword [ecx + 0x10]
jb 0x429b6c
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042cac0
mov eax, dword [ebp - 0x28]
dec dword [eax + 0x14]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [0x5857b0]
cmp byte [esi + 0xd], 0
jne 0x429bb2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x429b91
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x429bb2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x429b85
jmp 0x429bb2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x429bb0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x429bb0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x429ba0
mov esi, eax
cmp esi, edx
jne 0x429b25
mov esi, dword [ebx]
cmp esi, ebx
je 0x429cba
cmp dword [esi + 0x14], 0
jg 0x429c6c
mov ecx, dword [edx + 4]
mov eax, edx
cmp byte [ecx + 0xd], 0
jne 0x429bfd
mov edi, dword [esi + 0x10]
nop dword [eax]
cmp dword [ecx + 0x10], edi
jae 0x429bea
mov ecx, dword [ecx + 8]
jmp 0x429bee
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x429be0
cmp eax, edx
je 0x429bfd
cmp edi, dword [eax + 0x10]
jae 0x429bff
mov eax, edx
cmp eax, edx
je 0x429c0e
push 1
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0xd], 0
mov eax, esi
jne 0x429c57
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xd], 0
jne 0x429c3c
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x429c57
nop dword [eax]
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
je 0x429c30
jmp 0x429c57
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x429c55
cmp esi, dword [ecx + 8]
jne 0x429c55
mov esi, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x429c45
mov esi, ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042a490
mov edx, dword [ebp - 0x4c]
mov ebx, dword [0x5857b0]
jmp 0x429cb2
cmp byte [esi + 0xd], 0
jne 0x429cb2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x429c91
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x429cb2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x429c85
jmp 0x429cb2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x429cb0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x429cb0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x429ca0
mov esi, eax
cmp esi, ebx
jne 0x429bc4
cmp dword [ebp - 0x74], 0x12
jne 0x429cca
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x429cde
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov esi, dword [ebp - 0x5c]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429cf5
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
push ecx
push dword [ecx]
mov esi, dword [eax + 0xd4]
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x24]
push eax
call fcn.0042b260
push dword [ebp - 0x4c]
call fcn.004e4438
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.004e4c11
mov esp, ebp
pop ebp
ret 0xc