Function at 0x545550
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x57d120
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
xor ebx, ebx
cmp dword [esi + 0x1d4], ebx
jne 0x5455a7
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [esp + 0x24], ebx
cmp eax, dword [esi + 0x20]
jne 0x5455af
mov dword [esp + 0x24], 1
mov ecx, esi
call fcn.00415144
mov ebp, dword [esp + 0xe0]
mov edi, eax
cmp ebp, ebx
jne 0x5455c7
xor eax, eax
jmp 0x5455ca
mov eax, dword [ebp + 4]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x68]
call fcn.00555ae0
mov ecx, esi
mov dword [esp + 0xd8], ebx
call fcn.00415144
neg eax
sbb eax, eax
and eax, 0xfffffff6
add eax, 0xf
push eax
mov ecx, esi
call fcn.0052f790
mov ebx, eax
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], ebx
call fcn.00419533
cmp dword [esi + 0x60], 0
je 0x545685
mov dword [esi + 0x1dc], 1
test ebp, ebp
jne 0x545626
xor eax, eax
jmp 0x545629
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.00555ae0
mov eax, dword [esp + 0x94]
mov edx, dword [esi]
mov edx, dword [edx + 0x118]
push 0
push eax
push 0xf
mov ecx, esi
mov byte [esp + 0xe4], 1
call edx
lea ecx, [esp + 0x90]
call fcn.005551f0
lea ecx, [esp + 0x90]
mov dword [esi + 0x1dc], 0
mov byte [esp + 0xd8], 0
call fcn.00555cf0
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
mov edx, dword [eax + 0x118]
push 0
push ecx
push 0x318
mov ecx, esi
call edx
mov ebp, dword [esi + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x58497c
call fcn.00407d30
mov eax, dword [ebp]
mov edx, dword [eax + 4]
push esi
mov ecx, ebp
call edx
mov ebp, eax
mov dword [esp + 0x48], ebp
test edi, edi
jne 0x5456d0
mov dword [esp + 0x24], 4
jmp 0x5456de
xor eax, eax
cmp dword [esp + 0x24], eax
setne al
inc eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
push 0
push 0xfa1
push ecx
push 0
mov ecx, ebp
call fcn.0052c330
push 2
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.00544a10
mov dword [esp + 0x44], eax
test eax, eax
jne 0x54574b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, eax
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
sub edx, 3
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], edx
call fcn.00419533
jmp 0x545818
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x5457af
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add edx, 2
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
add eax, 0xfffffffe
add edx, 2
add ecx, 0xfffffffe
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], edx
call fcn.004168dc
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.0052b0c0
jmp 0x545818
cmp eax, 1
jne 0x545818
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push 0xed9
push ecx
push 0
mov ecx, ebp
call fcn.0052c2e0
push eax
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x6c]
call fcn.00419958
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x1c], edx
push ebx
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], eax
call fcn.00419958
push 0
lea ecx, [esp + 0x64]
call fcn.00416f17
mov ecx, esi
call fcn.00414fc6
test al, 2
je 0x54594b
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
push ebx
add edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], edx
call fcn.00419533
mov ebp, dword [esi + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5846b8
call fcn.00407d30
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push esi
mov ecx, ebp
call eax
lea ecx, [esp + 0x3c]
push ecx
push 1
push 0
mov ebp, eax
mov eax, 0xd
push 0
push 3
mov ecx, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.0052c8e0
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
sub eax, ebx
add eax, dword [esp + 0x18]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x3c]
sar ecx, 1
add eax, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
mov dword [esp + 0x50], eax
add eax, edx
mov dword [esp + 0x58], eax
add ecx, ebx
lea eax, [esp + 0xc0]
push eax
neg edi
push 0
sbb edi, edi
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x20]
push 0x1001
and edi, 0xfffffffd
push ecx
add edi, 4
call dword [sym.imp.USER32.dll_SendMessageW]
dec eax
neg eax
sbb eax, eax
neg eax
je 0x54592f
add edi, 4
lea edx, [esp + 0x50]
push edx
push edi
push 3
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.0052b0c0
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov ecx, esi
call fcn.00414fc6
test al, 1
jne 0x5459c3
cmp dword [esp + 0x44], 0
jne 0x5459c3
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
push 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, edx
sub ecx, eax
mov eax, dword [esp + 0x18]
push ebx
sub esi, eax
push esi
sub edx, ecx
push edx
push eax
mov dword [esp + 0x24], ecx
push ecx
lea ecx, [esp + 0x74]
call fcn.004197e8
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push eax
push 1
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebp
call fcn.0052b0c0
lea ecx, [esp + 0x60]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00555cf0
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 4