Function at 0x485120
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fb5a4
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x7e6410]
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 esi, ecx
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp dword [esi + 0x140], 0
mov edi, eax
je 0x4853d0
mov ebx, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
sub ebx, dword [esi + 0x24]
sub edi, dword [esi + 0x20]
push 0x54
mov dword [ebp - 0x21c], ebx
call fcn.006b6815
add esp, 4
test eax, eax
jne 0x48519e
mov byte [ebp - 0x21d], al
lea eax, [ebp - 0x21d]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [ebp - 0x228], eax
push ebx
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0042ccb0
lea ecx, [esi + 0x208]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
push ecx
mov ecx, ebx
call fcn.0042d450
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x1d8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
movd xmm1, dword [ebp - 0x21c]
mov ecx, 0x790eb0
mov eax, dword [0x7e7970]
movd xmm0, edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x21c], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x238], 0x40a00000
mov dword [ebp - 0x234], 0x40000000
mov dword [ebp - 0x228], 0
subss xmm0, dword [0x792178]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x230], xmm0
addss xmm1, dword [0x792014]
movss dword [ebp - 0x22c], xmm1
test eax, eax
jne 0x485281
movzx eax, cx
lea ecx, [ebp - 0x21c]
push eax
call fcn.0042a370
jmp 0x4852b7
push 0x790eb0
call edi
mov edi, eax
test edi, edi
je 0x4852b1
push edi
lea ecx, [ebp - 0x21c]
call fcn.004286f0
lea eax, [edi + edi]
push eax
push 0x790eb0
push dword [ebp - 0x21c]
call fcn.006b3670
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], 1
mov eax, dword [0x7e7970]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
shr eax, 0x10
test eax, eax
lea eax, [ebp - 0x218]
jne 0x4852ed
movzx eax, ax
lea ecx, [ebp - 0x224]
push eax
call fcn.0042a370
jmp 0x48531b
push eax
call edi
mov edi, eax
test edi, edi
je 0x48531b
push edi
lea ecx, [ebp - 0x224]
call fcn.004286f0
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call fcn.006b3670
add esp, 0xc
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
movsd xmm0, qword [0x7920b8]
push eax
mov ecx, dword [esi + 0x140]
lea eax, [ebp - 0x21c]
push eax
sub esp, 8
lea eax, [esi + 0x204]
movsd qword [esp], xmm0
push eax
push 0x8824
lea eax, [ebp - 0x238]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x224]
push eax
push ebx
push 0
call fcn.0047bd70
mov eax, dword [ebp - 0x224]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x485391
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x485391
push esi
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x21c]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x4853b5
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x4853b5
push esi
call fcn.006b31f8
add esp, 4
push dword [ebx + 0x20]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov ecx, ebx
mov edi, eax
call fcn.0042ce60
push ebx
call fcn.006b31f8
add esp, 4
mov eax, edi
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.006b3266
mov esp, ebp
pop ebp
ret