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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc8]
lea esi, [edi + 0x13c]
push 0x410
mov dword [ebp - 0x5b8], eax
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x5b8]
add esp, 0xc
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000a2cf
push 0x208
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x5b8]
push dword [eax + 0x74]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009a12
sub ecx, edx
sar ecx, 1
je 0x1000a2cf
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x420]
push ecx
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x438]
push eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.10006df0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x438]
cmp esi, eax
je 0x10009ab7
mov ecx, esi
call fcn.10006d80
movups xmm0, xmmword [ebp - 0x438]
xor eax, eax
mov word [ebp - 0x438], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.10006d80
mov eax, dword [edi + 0xc8]
lea esi, [edi + 0x154]
push 0x410
mov dword [ebp - 0x5b8], eax
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x5b8]
add esp, 0xc
push dword [eax + 0x104]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000a2cf
push 0x208
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x5b8]
push dword [eax + 0x104]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009b32
sub ecx, edx
sar ecx, 1
je 0x1000a2cf
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x420]
push ecx
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x438]
push eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.10006df0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x438]
cmp esi, eax
je 0x10009bd7
mov ecx, esi
call fcn.10006d80
movups xmm0, xmmword [ebp - 0x438]
xor eax, eax
mov word [ebp - 0x438], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.10006d80
mov ecx, dword [edi + 0xc8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x8c]
call eax
mov ecx, dword [edi + 0xc8]
lea edx, [ebp - 0x4c8]
mov dword [edi + 0x16c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x88]
mov dword [ebp - 4], 2
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [edi + 0x13c]
call fcn.1001a860
test eax, eax
jne 0x10009c60
mov esi, dword [edi + 0xc8]
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3e9
mov ecx, esi
call fcn.10026d90
test eax, eax
je 0x10009c59
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
push 0x3eb
jmp 0x10009cc7
push 0x100c3320
lea ecx, [ebp - 0x498]
call fcn.10006a90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x498]
push eax
mov ecx, esi
call fcn.1001a860
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.10006d80
test esi, esi
jne 0x10009ce4
mov esi, dword [edi + 0xc8]
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3ea
mov ecx, esi
call fcn.10026d90
test eax, eax
je 0x10009cc2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
push 0x3ec
mov ecx, esi
call fcn.10026d90
test eax, eax
je 0x1000a2bd
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x18]
jmp 0x1000a2bd
mov ecx, dword [edi + 0xc8]
push 0
push 0x100e6850
push 0x100e64e4
push 0
push 0x3f3
call fcn.10026d90
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
mov ecx, eax
add esp, 0x14
test ecx, ecx
jne 0x10009d15
xor al, al
jmp 0x10009d2a
mov ecx, dword [ecx + 0x38]
or eax, 0xffffffff
test ecx, ecx
je 0x10009d22
mov eax, dword [ecx + 0x2c]
cmp eax, 0x3f5
sete al
mov edx, 0x100c3354
mov byte [edi + 0x138], al
lea ecx, [edi + 0x108]
call fcn.1001a0c0
mov edx, 0x100c3354
lea ecx, [edi + 0x108]
call fcn.1001a150
lea ecx, [edi + 0xf0]
mov edx, 0x100c3354
call fcn.1001a0c0
mov edx, 0x100c3354
lea ecx, [edi + 0xf0]
call fcn.1001a150
cmp byte [edi + 0x138], 0
je 0x10009d88
lea ecx, [edi + 0x108]
call fcn.10016910
test al, al
jne 0x10009d9a
push 0
push 0x100c2be4
lea ecx, [edi + 0x108]
call fcn.10006df0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x468]
push eax
mov ecx, edi
call fcn.1000a350
push 0x100c3358
lea ecx, [ebp - 0x4f8]
call fcn.10006a90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4e0]
push str._api_advise_report
call fcn.10006a90
mov byte [ebp - 4], 6
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
mov byte [ebp - 4], 7
cmp dword [edi + 0x170], 0
jne 0x10009e97
push 0x24
call fcn.100ab685
mov esi, eax
add esp, 4
mov dword [ebp - 0x5b8], esi
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.100489b0
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x170]
mov dword [ebp - 0x5b8], eax
mov dword [edi + 0x170], esi
test eax, eax
je 0x10009e97
mov dword [ebp - 0x5c0], eax
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.10048a50
push 0x24
push dword [ebp - 0x5b8]
call fcn.100abaf9
add esp, 8
lea ecx, [ebp - 0x5b4]
call fcn.10013a00
mov byte [ebp - 4], 0xb
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov eax, dword [ebp - 0x5a0]
test eax, eax
jne 0x10009ed4
call fcn.100ab267
mov dword [ebp - 0x5a0], eax
test eax, eax
jne 0x10009ed4
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10009f5f
push 0
push 0
push eax
call fcn.100ab369
lea eax, [ebp - 0x5b4]
mov dword [ebp - 0x5ac], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x5a8], eax
mov dword [ebp - 0x5c4], 0x100e81a4
mov byte [ebp - 0x5c0], 0
mov byte [ebp - 4], 0xc
push 0x100e81a4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100e81bc]
mov dword [ebp - 0x5a4], eax
lea eax, [ebp - 0x5ac]
mov byte [ebp - 0x5c0], 1
mov dword [0x100e81bc], eax
mov byte [ebp - 4], 0xb
push 0x100e81a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x1000c000
push esi
push 0x64
push dword [0x100e78c4]
mov byte [ebp - 0x5c0], 0
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 0
push 0x100c33a4
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.1000b920
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x438]
push 0x20
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push str.c6456bfa0e6312b0ccfe238a4c0dcabd
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.1000b920
mov byte [ebp - 4], 0xe
lea edx, [edi + 0xf0]
lea ecx, [ebp - 0x498]
call fcn.1001c010
mov esi, eax
mov byte [ebp - 4], 0xf
lea edx, [edi + 0x108]
lea ecx, [ebp - 0x4b0]
call fcn.1001c010
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x480]
push ecx
mov ecx, dword [edi + 0x170]
push esi
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x4f8]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.1002fa50
mov byte [ebp - 0x5b9], al
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x49c]
cmp edx, 0x10
jb 0x1000a096
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a08c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a08c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x484]
cmp edx, 0x10
jb 0x1000a0f1
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a0e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a0e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x1000a14c
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a142
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a142
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x1000a1a7
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a19d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a19d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
cmp byte [ebp - 0x5b9], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
je 0x1000a1da
push 0
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5b4]
call fcn.10013c80
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x46c]
cmp edx, 0x10
jb 0x1000a229
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a21f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a21f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4e0]
call fcn.10006d80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4f8]
call fcn.10006d80
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x454]
cmp edx, 0x10
jb 0x1000a2a2
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a298
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a298
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100abaf9
add esp, 8
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c8]
call fcn.10006d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ab466
mov esp, ebp
pop ebp
ret