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

Disassembly:
sub esp, 0x27c
push ebx
push ebp
mov ebp, dword [esp + 0x28c]
mov ebx, ecx
test ebp, ebp
jne 0x460c72
pop ebp
xor eax, eax
pop ebx
add esp, 0x27c
ret 8
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x460c88
pop ebp
pop ebx
add esp, 0x27c
ret 8
push esi
push edi
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebx + 0xc]
push 0x207
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x18]
lea edx, [ebx + 0x214]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x18]
push eax
push ebp
call edi
lea ecx, [esp + 0x20]
push ecx
push ebp
call edi
mov edi, dword [esp + 0x290]
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x86]
mov word [esp + 0x84], 0
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x88]
push 0x207
push ecx
mov dword [ebx + 8], ebp
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
lea edx, [esp + 0x90]
push 0x54e924
push edx
call edi
add esp, 0x14
test eax, eax
je 0x460fd8
lea eax, [esp + 0x84]
push 0x54e924
push eax
call edi
mov esi, eax
lea ecx, [esp + 0x8c]
add esp, 8
mov dword [esp + 0x14], esi
test ecx, ecx
mov word [esi], 0
jne 0x460d77
mov dword [esp + 0x10], ecx
jmp 0x460d89
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 0x234]
push eax
call fcn.0041cda0
test eax, eax
je 0x460de4
mov ecx, dword [esp + 0x10]
mov edi, dword [ebx + 0x234]
lea esi, [esp + 0x84]
lea eax, [ecx + ecx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x234]
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
mov esi, dword [esp + 0x14]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x234]
mov word [eax + ecx], 0
add esi, 4
push 0x54e924
push esi
call edi
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x460e11
push edi
push eax
push 0x7d1
call fcn.004cfdf0
add esp, 0xc
test esi, esi
mov word [edi], 0
jne 0x460e20
mov dword [esp + 0x10], esi
jmp 0x460e2b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
lea ecx, [ebx + 0x238]
push edx
call fcn.0041cda0
test eax, eax
je 0x460e78
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 0x238]
add eax, eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x238]
mov edi, dword [esp + 0x14]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x238]
mov word [ecx + eax], 0
lea esi, [edi + 4]
lea edi, [ebx + 0x23c]
test esi, esi
jne 0x460e8b
mov dword [esp + 0x10], esi
jmp 0x460e96
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
call fcn.0041cda0
test eax, eax
je 0x460ed7
mov eax, dword [esp + 0x10]
mov edi, dword [edi]
add eax, eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x23c]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x23c]
mov word [ecx + eax], 0
push 0
push 0
push 0x31
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x460efb
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
lea edx, [esp + 0x28]
mov esi, eax
push edx
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x28]
mov byte [esp + 0x3d], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x234]
lea ecx, [ebx + 0x240]
push 0x400
mov edx, dword [eax - 8]
push ecx
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebx + 0x238]
lea ecx, [ebx + 0x250]
push 0x400
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebx + 0x23c]
lea ecx, [ebx + 0x260]
push 0x400
push ecx
mov edx, dword [eax - 8]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebx + 0x248]
mov ecx, dword [ebx + 0x258]
mov edx, dword [ebx + 0x268]
add ecx, eax
mov dword [ebx + 0x250], eax
mov eax, dword [esp + 0x14]
add edx, ecx
push eax
push esi
mov dword [ebx + 0x258], ecx
mov dword [ebx + 0x268], edx
mov dword [ebx + 0x260], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4610bf
lea ecx, [ebx + 0x250]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x84]
test edx, edx
jne 0x460ff5
xor ebp, ebp
jmp 0x461005
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx + 0x238]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x46101b
cmp ebp, dword [eax - 4]
jle 0x461089
mov edx, dword [0x52d120]
add eax, 0xfffffff4
cmp eax, edx
je 0x461051
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x461045
mov ecx, dword [ebx + 0x238]
sub ecx, 0xc
push ecx
call fcn.00512b1a
add esp, 4
mov edx, dword [0x52d194]
mov dword [ebx + 0x238], edx
test ebp, ebp
jne 0x46105c
mov eax, dword [0x52d194]
jmp 0x461083
lea ecx, [ebp + ebp + 0xe]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4610bf
mov dword [eax], 1
mov word [eax + ebp*2 + 0xc], 0
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
add eax, 0xc
mov dword [ebx + 0x238], eax
mov edi, dword [ebx + 0x238]
lea eax, [ebp + ebp]
mov ecx, eax
lea esi, [esp + 0x84]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x238]
mov dword [ecx - 8], ebp
mov edx, dword [ebx + 0x238]
mov word [edx + eax], 0
mov eax, dword [ebx + 8]
pop edi
test eax, eax
pop esi
je 0x4610fc
push ebx
push str.HyperLinkControl
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [ebx + 8]
push 0x461550
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebx + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 8]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
je 0x461116
mov dword [ebx + 0x228], 1
mov eax, dword [ebx + 8]
pop ebp
pop ebx
add esp, 0x27c
ret 8