Function at 0x463440
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x56800c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x64], edx
mov ecx, 0x4ef2b8
call fcn.00489000
cmp byte [ebp + 8], 0
mov esi, eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x46347f
push esi
push 0
push 0xc
push dword [edi + 0x78]
call ebx
mov edx, dword [edi + 0x78]
lea ecx, [esp + 0x20]
push esi
call fcn.00417770
mov eax, dword [esp + 0x24]
add esp, 4
add eax, 6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
xor esi, esi
lea eax, [esp + 0x54]
mov dword [esp + 0x18], esi
push eax
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4634d5
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
sub esi, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
lea eax, [esp + 0x74]
push eax
push 0x193
push 0x433
push dword [edi + 0x64]
call ebx
mov eax, dword [esp + 0x7c]
add eax, 0xa
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
sub eax, esi
xor esi, esi
cdq
sub eax, edx
sar eax, 1
cmp dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x463577
mov esi, dword [edi + 0x84]
push 0
push 0
push 0xe
push esi
call ebx
mov dword [esp + 0x54], eax
inc eax
push 2
push eax
mov dword [esp + 0x6c], eax
call fcn.004bf417
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x463550
push ebx
push dword [esp + 0x68]
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov word [ebx + eax*2], cx
lea eax, [esp + 0x54]
xor esi, esi
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x46356f
mov esi, dword [esp + 0x5c]
sub esi, dword [esp + 0x54]
add esi, 0xfffffffa
jmp 0x46360b
mov ebx, dword [esp + 0x64]
test ebx, ebx
jne 0x46358e
push 0x4ef194
call fcn.004c91a0
add esp, 4
jmp 0x463609
mov ecx, dword [edi]
test ecx, ecx
je 0x4635fb
mov eax, dword [ecx]
mov eax, dword [eax + 0x58]
call eax
test al, al
je 0x4635fb
mov ecx, dword [edi]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push str.___d____d_
call fcn.00419f30
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x64]
push eax
push eax
push str.___d____d_
call fcn.00419f30
mov edx, dword [edi + 0x84]
lea ecx, [esp + 0x70]
add esp, 0xc
mov esi, eax
push esi
call fcn.00417770
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], eax
call fcn.004bf8aa
mov esi, dword [esp + 0x58]
add esp, 4
jmp 0x46360b
push ebx
push str.____d
call fcn.00419f30
add esp, 8
mov ebx, eax
push ebx
push 0
push 0xc
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
jne 0x46363c
mov edx, dword [edi + 0x84]
lea ecx, [esp + 0x54]
push ebx
call fcn.00417770
add esp, 4
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
push ebx
add esi, 6
call fcn.004bf8aa
add esp, 4
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
sub eax, ecx
inc eax
push 0
cdq
push ecx
push dword [esp + 0x18]
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x28]
push eax
push ebx
push dword [edi + 0x78]
mov dword [esp + 0x7c], eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x56c02c]
cmp eax, 2
je 0x46369b
cmp eax, 0x17
je 0x46369b
cmp eax, 0x1f
je 0x46369b
cmp eax, 0x27
jne 0x4636a0
add ebx, 0xfffffffa
add ebx, esi
mov eax, dword [esp + 0x10]
push 0
push dword [esp + 0x1c]
add eax, ebx
push dword [esp + 0x1c]
push dword [esp + 0x28]
push eax
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x28]
lea eax, [edx + edx]
sub ecx, eax
lea eax, [edx + ebx]
add eax, dword [esp + 0x18]
push ecx
push dword [esp + 0x70]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x56c02c]
cmp eax, 2
je 0x46371b
cmp eax, 0x17
je 0x46371b
cmp eax, 0x1f
je 0x46371b
cmp eax, 0x27
je 0x46371b
mov eax, dword [esp + 0x14]
push 0
push dword [esp + 0x28]
add eax, ebx
add eax, dword [esp + 0x18]
push esi
push dword [esp + 0x70]
push eax
jmp 0x46372d
push 0
push dword [esp + 0x28]
sub ebx, esi
add ebx, dword [esp + 0x18]
push esi
push dword [esp + 0x70]
push ebx
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x34]
push eax
push 0x1b2
push 0x43f
push dword [edi + 0x64]
mov dword [esp + 0x44], 0x20
mov dword [esp + 0x48], 0x40
call ebx
mov ecx, dword [esp + 0x10]
movzx eax, word [esp + 0x46]
add ecx, 0xc
add ecx, dword [esp + 0x14]
add ecx, esi
cmp eax, ecx
jne 0x463835
cmp byte [ebp + 8], 0
je 0x463835
push dword [edi + 0x84]
lea ecx, [esp + 0x24]
call fcn.00401120
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
push dword [edi + 0x64]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
lea ecx, [esp + 0x68]
mov dword [edx + 0xc], eax
mov edx, dword [edi + 0x84]
call fcn.004597e0
add esp, 0x14
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x20]
push eax
call fcn.00415fa0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
add eax, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push 1
push eax
push dword [edi + 0x64]
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x34]
mov word [esp + 0x46], cx
push eax
push 0x1b2
push 0x440
push dword [edi + 0x64]
call ebx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret