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

Disassembly:
sub esp, 0x158
push ebx
push ebp
mov ebp, dword [esp + 0x168]
mov ebx, ecx
test ebp, ebp
jne 0x10006342
pop ebp
xor eax, eax
pop ebx
add esp, 0x158
ret 8
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10006358
pop ebp
pop ebx
add esp, 0x158
ret 8
push esi
push edi
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebx + 0xc]
push 0x103
push esi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x18]
lea edx, [ebx + 0x110]
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 + 0x16c]
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, 0x40
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea ecx, [esp + 0x68]
push 0x103
push ecx
mov dword [ebx + 8], ebp
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x70]
push 0x1000f5d0
push edx
call edi
add esp, 0x14
test eax, eax
je 0x1000663f
lea eax, [esp + 0x64]
push 0x1000f5d0
push eax
call edi
mov esi, eax
lea ecx, [esp + 0x6c]
add esp, 8
mov dword [esp + 0x14], esi
test ecx, ecx
mov byte [esi], 0
jne 0x10006432
mov dword [esp + 0x10], ecx
jmp 0x10006441
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 0x124]
push eax
call fcn.10006b60
test eax, eax
je 0x10006490
mov ecx, dword [esp + 0x10]
mov edi, dword [ebx + 0x124]
mov edx, ecx
lea esi, [esp + 0x64]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x124]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
mov esi, dword [esp + 0x14]
mov dword [ecx - 8], eax
mov edx, dword [ebx + 0x124]
mov byte [eax + edx], 0
add esi, 2
push 0x1000f5d0
push esi
call edi
mov edi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x14], edi
mov byte [edi], 0
jne 0x100064b1
mov dword [esp + 0x10], esi
jmp 0x100064bc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 0x128]
push eax
call fcn.10006b60
test eax, eax
je 0x10006501
mov ecx, dword [esp + 0x10]
mov edi, dword [ebx + 0x128]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x128]
mov edi, dword [esp + 0x14]
mov dword [ecx - 8], eax
mov edx, dword [ebx + 0x128]
mov byte [edx + eax], 0
lea esi, [edi + 2]
lea edi, [ebx + 0x12c]
test esi, esi
jne 0x10006514
mov dword [esp + 0x10], esi
jmp 0x1000651f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.10006b60
test eax, eax
je 0x10006558
mov ecx, dword [esp + 0x10]
mov edi, dword [edi]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x12c]
mov dword [ecx - 8], eax
mov edx, dword [ebx + 0x12c]
mov byte [edx + eax], 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push ebp
mov edi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [esp + 0x28]
push eax
push 0x3c
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3d], 1
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x124]
lea edx, [ebx + 0x130]
push 0x400
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebx + 0x128]
lea ecx, [ebx + 0x140]
push 0x400
push ecx
mov edx, dword [eax - 8]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebx + 0x12c]
lea ecx, [ebx + 0x150]
push 0x400
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebx + 0x138]
mov ecx, dword [ebx + 0x148]
mov edx, dword [ebx + 0x158]
add ecx, eax
add edx, ecx
mov dword [ebx + 0x148], ecx
mov dword [ebx + 0x158], edx
mov edx, dword [esp + 0x14]
push edx
push esi
mov dword [ebx + 0x140], eax
mov dword [ebx + 0x150], 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 0x100066eb
lea eax, [ebx + 0x140]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x64]
lea ebp, [ebx + 0x128]
test ecx, ecx
jne 0x10006663
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x10006674
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x10006687
cmp esi, dword [eax - 4]
jle 0x100066c3
mov edx, dword [0x1000f0c8]
add eax, 0xfffffff4
cmp eax, edx
je 0x100066b7
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100066ae
mov eax, dword [ebp]
sub eax, 0xc
push eax
call fcn.1000bd60
add esp, 4
mov ecx, dword [0x1000f0c4]
mov dword [ebp], ecx
push esi
mov ecx, ebp
call fcn.10006ad0
test eax, eax
je 0x100066eb
mov edi, dword [ebp]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x64]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], eax
mov edx, dword [ebp]
mov byte [edx + eax], 0
mov eax, dword [ebx + 8]
pop edi
test eax, eax
pop esi
je 0x1000673b
push ebx
push str.HyperLinkControl
push eax
call dword [sym.imp.USER32.dll_SetPropA]
mov eax, dword [ebx + 8]
push 0x10006780
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebx + 8]
push 0
push 0
push 0x82a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx + 8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 8]
pop ebp
pop ebx
add esp, 0x158
ret 8