Function at 0x451505
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x501c17
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x5475b0]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov eax, dword [0x5475b0]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov ecx, dword [edi + 0x60]
xor ebx, ebx
test ecx, ecx
je 0x45155d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x60], ebx
lea eax, [esp + 0x6c]
xorps xmm0, xmm0
push eax
push dword [edi + 0x6c]
movdqu xmmword [esp + 0x74], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0x6c], ebx
jne 0x451590
cmp dword [esp + 0x74], ebx
jne 0x451590
cmp dword [esp + 0x70], ebx
jne 0x451590
cmp dword [esp + 0x78], ebx
je 0x4519ed
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x4515ae
push ecx
push dword [esp + 0x7c]
mov ecx, eax
push dword [esp + 0x7c]
call fcn.00415755
jmp 0x4515b0
mov eax, ebx
push eax
lea ecx, [esp + 0x34]
mov dword [edi + 0x60], eax
call fcn.004156fb
xor eax, eax
mov dword [esp + 0x8a0], ebx
push 0x7fe
mov word [esp + 0x90], ax
lea eax, [esp + 0x92]
push ebx
push eax
mov dword [0x54e278], 1
call fcn.004deff0
add esp, 0xc
lea eax, [esp + 0x8c]
push 0x400
push eax
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [0x54e278], ebx
cmp dword [edi + 0x98], ebx
je 0x451648
lea ecx, [esp + 0x8c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x45161c
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x451648
shr ecx, 1
lea edi, [esp + 0x8c]
mov eax, 0x2a002a
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x1c]
mov esi, 0xff
cmp dword [edi + 0xcc], ebx
je 0x45165d
mov edx, dword [edi + 0x80]
jmp 0x451660
mov edx, dword [edi + 0x7c]
mov ecx, edx
movzx ebx, dl
shr ecx, 8
or ebx, 0xffffff00
and ecx, esi
shl ebx, 8
movzx eax, cx
xorps xmm0, xmm0
or ebx, eax
shr edx, 0x10
and edx, esi
shl ebx, 8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, dx
or ebx, eax
lea eax, [esp + 0x7c]
push eax
push 0
push 0xb2
push dword [edi + 0x6c]
mov dword [esp + 0x54], ebx
movdqu xmmword [esp + 0x8c], xmm0
call esi
xor ecx, ecx
lea eax, [esp + 0x20]
push eax
push ecx
push 0x434
push dword [edi + 0x6c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call esi
mov eax, dword [edi + 0xbc]
xor esi, esi
push ecx
push ecx
push esi
movd xmm0, eax
lea ecx, [esp + 0x60]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push 0x513740
addsd xmm0, qword [eax*8 + 0x530d20]
cvtpd2ps xmm2, xmm0
call fcn.004159da
mov byte [esp + 0x8a0], 1
mov edx, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], esi
test eax, eax
js 0x451775
test ecx, ecx
js 0x451775
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.0045c4d4
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jne 0x451747
mov edx, dword [esp + 0x28]
mov esi, edx
jmp 0x451775
lea edx, [esp + 0x54]
sub eax, ecx
push edx
lea edx, [esp + 0x18]
push edx
mov edx, ecx
lea ecx, [esp + 0x94]
push eax
call fcn.0045c4d4
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
sub eax, ecx
test eax, eax
jle 0x4518a3
cmp dword [edi + 0xcc], 0
je 0x4518a3
mov ebx, dword [esp + 0x80]
lea eax, [esp + 0x14]
lea edi, [esi + 1]
mov dword [esp + 0x14], 0xff316ac5
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x38]
push eax
dec ebx
add edi, edx
call fcn.00415969
mov ecx, dword [esp + 0x28]
sub esi, ebx
inc ecx
push esi
sub edi, ecx
push edi
push ebx
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.004156c2
push dword [esp + 0x3c]
mov edi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov ebx, vtable.Gdiplus::Brush.0
mov dword [esp + 0x3c], ebx
call edi
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.00415969
push ecx
push ecx
mov ecx, dword [esp + 0x24]
mov esi, eax
push 0
push 0x513740
mov ecx, dword [ecx + 0xbc]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x530d20]
lea ecx, [esp + 0x38]
cvtpd2ps xmm2, xmm0
call fcn.004159da
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
and dword [esp + 0x44], 0
push esi
push 0
movd xmm0, ecx
mov ecx, dword [esp + 0x90]
sub ecx, dword [esp + 0x88]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x50], 0x40000000
movss dword [esp + 0x54], xmm0
movd xmm0, ecx
lea ecx, [esp + 0x4c]
push ecx
cvtdq2ps xmm0, xmm0
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x48]
movss dword [esp + 0x68], xmm0
call fcn.0041587c
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x3c]
mov dword [esp + 0x3c], ebx
call edi
jmp 0x4519d9
lea ecx, [esp + 0x8c]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4518af
sub ecx, edx
sar ecx, 1
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x45198d
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00415969
push ecx
push ecx
mov ecx, dword [edi + 0xbc]
mov esi, eax
xor eax, eax
push eax
push 0x513740
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x530d20]
lea ecx, [esp + 0x54]
cvtpd2ps xmm2, xmm0
call fcn.004159da
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
and dword [esp + 0x5c], 0
push esi
xor esi, esi
mov dword [esp + 0x64], 0x40000000
movd xmm0, ecx
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x84]
cvtdq2ps xmm0, xmm0
push esi
movss dword [esp + 0x6c], xmm0
movd xmm0, ecx
lea ecx, [esp + 0x64]
push ecx
push eax
push dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x48]
movss dword [esp + 0x80], xmm0
call fcn.0041587c
push dword [esp + 0x44]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x3c]
mov dword [esp + 0x3c], vtable.Gdiplus::Brush.0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
cmp dword [edi + 0xc0], esi
je 0x4519d9
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push esi
push ecx
mov dword [esp], 0x3f800000
push ebx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffffe
push eax
push edx
push esi
push edx
push dword [esp + 0x24]
push dword [esp + 0x44]
call dword [sym.imp.gdiplus.dll_GdipDrawLineI]
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push dword [esp + 0x54]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.004d9731
mov esp, ebp
pop ebp
ret