Function at 0x454470
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 0x454492
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 0x4544a8
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 0x506c4c
push edx
call edi
add esp, 0x14
test eax, eax
je 0x4547df
lea eax, [esp + 0x84]
push 0x506c4c
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 0x454597
mov dword [esp + 0x10], ecx
jmp 0x4545a9
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 + 0x230]
push eax
call fcn.00416bf0
test eax, eax
je 0x454604
mov ecx, dword [esp + 0x10]
mov edi, dword [ebx + 0x230]
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 + 0x230]
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
mov esi, dword [esp + 0x14]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x230]
mov word [eax + ecx], 0
add esi, 4
push 0x506c4c
push esi
call edi
mov edi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x14], edi
mov word [edi], 0
jne 0x454627
mov dword [esp + 0x10], esi
jmp 0x454632
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
lea ecx, [ebx + 0x234]
push edx
call fcn.00416bf0
test eax, eax
je 0x45467f
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 0x234]
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 + 0x234]
mov edi, dword [esp + 0x14]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x234]
mov word [eax + ecx], 0
lea esi, [edi + 4]
lea edi, [ebx + 0x238]
test esi, esi
jne 0x454692
mov dword [esp + 0x10], esi
jmp 0x45469d
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.00416bf0
test eax, eax
je 0x4546de
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 + 0x238]
mov dword [ecx - 8], edx
mov ecx, dword [ebx + 0x238]
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 0x454702
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 + 0x230]
lea ecx, [ebx + 0x23c]
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 + 0x234]
lea ecx, [ebx + 0x24c]
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 + 0x238]
lea ecx, [ebx + 0x25c]
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 + 0x244]
mov ecx, dword [ebx + 0x254]
mov edx, dword [ebx + 0x264]
add ecx, eax
mov dword [ebx + 0x24c], eax
mov eax, dword [esp + 0x14]
add edx, ecx
push eax
push esi
mov dword [ebx + 0x254], ecx
mov dword [ebx + 0x264], edx
mov dword [ebx + 0x25c], 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 0x4548c6
lea ecx, [ebx + 0x24c]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x84]
test edx, edx
jne 0x4547fc
xor ebp, ebp
jmp 0x45480c
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx + 0x234]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x454822
cmp ebp, dword [eax - 4]
jle 0x454890
mov edx, dword [0x4f6100]
add eax, 0xfffffff4
cmp eax, edx
je 0x454858
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45484c
mov ecx, dword [ebx + 0x234]
sub ecx, 0xc
push ecx
call fcn.004d9644
add esp, 4
mov edx, dword [0x4f6eb4]
mov dword [ebx + 0x234], edx
test ebp, ebp
jne 0x454863
mov eax, dword [0x4f6eb4]
jmp 0x45488a
lea ecx, [ebp + ebp + 0xe]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4548c6
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 + 0x234], eax
mov edi, dword [ebx + 0x234]
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 + 0x234]
mov dword [ecx - 8], ebp
mov edx, dword [ebx + 0x234]
mov word [eax + edx], 0
mov eax, dword [ebx + 8]
pop edi
test eax, eax
pop esi
je 0x454903
push ebx
push str.HyperLinkControl
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [ebx + 8]
push 0x4549b0
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 0x45491d
mov dword [ebx + 0x228], 1
mov eax, dword [ebx + 8]
pop ebp
pop ebx
add esp, 0x27c
ret 8