Function at 0x10050440
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c67b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x10188068]
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 edi, ecx
cmp dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x18]
jne 0x10050831
mov esi, dword [ebp + 0xc]
lea eax, [esi - 0x200]
cmp eax, 0xe
ja 0x100504b7
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 1
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call fcn.10050fb0
cmp dword [ebp - 0x25c], 0
mov dword [ebx], eax
jne 0x100505c5
cmp esi, 1
jne 0x100505cf
xor ecx, ecx
call fcn.10050240
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x10168ad0]
ucomisd xmm0, qword [edi + 0x710]
lahf
test ah, 0x44
jnp 0x100504fe
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
sub esp, 8
movsd qword [edi + 0x710], xmm0
movsd qword [esp], xmm0
call dword [eax + 0x60]
mov eax, dword [edi + 0x254]
mov byte [edi + 0x259], 1
test eax, eax
je 0x10050534
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1005052a
push dword [edi + 0x254]
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x10050534
mov dword [edi + 0x254], 0
mov eax, dword [0x10188b80]
mov edx, dword [0x10188b78]
sub eax, edx
mov ecx, dword [0x10188b74]
push 0
push dword [0x101960e0]
push 0
push dword [edi + 4]
push eax
mov eax, dword [0x10188b7c]
sub eax, ecx
push eax
push edx
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x254], eax
test eax, eax
je 0x100505bf
push ecx
push 0xffffffffffffffff
sub esp, 8
push dword [edi + 4]
push ecx
lea ecx, [ebp - 0x240]
call fcn.10056a00
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x240]
push eax
push 0
push 0x432
push dword [edi + 0x254]
call esi
push 0x104
push 0
push 0x418
push dword [edi + 0x254]
call esi
mov dword [ebx], 0
mov eax, 1
jmp 0x10050833
cmp esi, 0x201
jne 0x1005060f
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 1
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.10053d30
cmp dword [ebp - 0x25c], 0
mov dword [ebx], eax
je 0x10050831
mov eax, 1
jmp 0x10050833
cmp esi, 0x202
jne 0x10050638
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 1
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.10052b60
jmp 0x100505f6
cmp esi, 0x204
jne 0x10050661
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 1
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.10053f50
jmp 0x100505f6
cmp esi, 0x205
jne 0x1005075d
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x268]
push eax
push dword [edi + 4]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x268], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0
push 0x64
push 0x129
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
lea eax, [ebp - 0x260]
mov ecx, edi
push eax
call fcn.10054460
lea eax, [ebp - 0x260]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x260], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x270]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [edi + 0x250]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10050726
push dword [edi + 4]
push dword [ebp - 0x25c]
push dword [ebp - 0x260]
call fcn.1004ea70
movzx edx, word [ebp - 0x264]
lea ecx, [edi + 0x28]
movzx eax, word [ebp - 0x268]
mov esi, dword [ecx]
shl edx, 0x10
or edx, eax
push edx
push dword [ebp + 0x10]
push 0x205
call dword [esi + 0x144]
mov dword [ebx], 0
mov eax, 1
jmp 0x10050833
cmp esi, 0x200
jne 0x10050789
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 1
push eax
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push esi
call fcn.10053fd0
jmp 0x100505f6
cmp esi, 0x2a3
jne 0x100507a7
sub esp, 0x10
mov ecx, edi
call fcn.10053ed0
mov dword [ebx], eax
mov eax, 1
jmp 0x10050833
cmp esi, 0x20
jne 0x100507cf
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 1
push eax
push dword [ebp + 0x14]
mov ecx, edi
sub esp, 8
call fcn.10052da0
jmp 0x100505f6
cmp esi, 0x215
jne 0x10050851
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x10050821
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100fc650
add esp, 0xc
lea eax, [ebp - 0x210]
push 0xff
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [edi + 0x270], 0
mov dword [ebx], 0
xor eax, eax
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.100e278d
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x18
jne 0x100508cb
cmp dword [ebp + 0x14], 3
jne 0x10050865
mov eax, 1
mov dword [ebx], eax
jmp 0x10050833
cmp dword [ebp + 0x10], 0
je 0x100508a5
cmp dword [edi + 0x270], 0
jne 0x10050888
mov eax, dword [edi + 0x244]
push ecx
mov ecx, edi
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.10053040
push 0
push 0xa
push 0x140
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov dword [ebx], eax
mov eax, 1
jmp 0x10050833
sub esp, 0x10
mov ecx, edi
call fcn.10053ed0
push 0x129
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
mov dword [ebx], eax
mov eax, 1
jmp 0x10050833
cmp esi, 5
jne 0x100508f0
push 0
push 0
push 0x13d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx], 0
lea eax, [esi - 4]
jmp 0x10050833
cmp esi, 0x7e
jne 0x10050917
push 0
push 0x64
push 0x13d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx], 0
mov eax, 1
jmp 0x10050833
cmp esi, 0x1a
je 0x100508f5
cmp esi, 0x113
jne 0x100509b6
mov eax, dword [ebp + 0x10]
sub eax, 1
je 0x1005099b
sub eax, 0x12b
jne 0x100505bf
push 0x12c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp - 0x278]
xorps xmm0, xmm0
push eax
mov ecx, edi
movups xmmword [ebp - 0x278], xmm0
call fcn.10054310
mov ecx, dword [edi + 0x24c]
test ecx, ecx
je 0x100505bf
movzx edx, word [ebp - 0x274]
movzx eax, word [ebp - 0x278]
mov esi, dword [ecx]
shl edx, 0x10
or edx, eax
push edx
push 0
push 7
call dword [esi]
mov dword [ebx], 0
mov eax, 1
jmp 0x10050833
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx], 0
mov eax, 1
jmp 0x10050833
cmp esi, 0x14
je 0x10050ad5
cmp esi, 0xf
jne 0x10050ae5
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x250]
push ecx
push eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], 0
cmp byte [edi + 0x259], 0
je 0x10050a41
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x10050a3a
push ecx
push 0xffffffffffffffec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x217
push 0
push 0
push 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [edi + 0x259], 0
mov eax, dword [edi + 0x248]
cmp byte [eax + 0x5c], 0
je 0x10050a5f
mov eax, dword [edi + 4]
test eax, eax
je 0x10050ac2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10050ac2
mov ecx, edi
call fcn.100528a0
mov eax, dword [edi + 0x244]
push ecx
mov ecx, edi
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.10053040
cmp dword [edi + 4], 0
je 0x10050ac2
lea esi, [edi + 0x1a0]
test esi, esi
je 0x10050aac
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jle 0x10050ac2
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jle 0x10050ac2
test esi, esi
je 0x10050aac
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jle 0x10050abb
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jle 0x10050abb
push ecx
mov ecx, edi
call fcn.10054a40
push esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, edi
call fcn.10054be0
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x254]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebx], 1
mov eax, 1
jmp 0x10050833
cmp esi, 0x11f
jne 0x10050831
mov eax, dword [edi + 0x250]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10050ad5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1004ec10
mov dword [ebx], 1
mov eax, 1
jmp 0x10050833