Function at 0x10010d3b
Capabilities:
Get graphical window text

Disassembly:
push 0x2a4
mov eax, 0x1002b55f
call fcn.1002acfb
mov esi, ecx
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
lea ebx, [esi + 4]
push 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClassNameW]
xor edi, edi
test eax, eax
je 0x10010dd0
push 0x10002b04
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10010dd0
push edi
push 0x100
push edi
mov ecx, ebx
call fcn.100115b0
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx eax, al
cmp eax, 3
je 0x10010dcc
cmp eax, 4
je 0x10010dcc
cmp eax, 5
je 0x10010dcc
cmp eax, 6
je 0x10010dcc
cmp eax, 7
je 0x10010dcc
cmp eax, 8
je 0x10010dcc
cmp eax, 9
je 0x10010dcc
cmp eax, 0xd
je 0x10010dcc
cmp eax, 0xe
je 0x10010dcc
cmp eax, 0xf
jne 0x10010dd0
and byte [esi + 0x58], 0xfe
push 0x7f89
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x10010e76
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push edi
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [esi + 0x34], edi
test edi, edi
jne 0x10010e16
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
mov dword [esi + 0x34], eax
test edi, edi
je 0x10010e76
cmp dword [esi + 0x30], 0
jne 0x10010e76
push 0x5c
lea eax, [ebp - 0x98]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x10010e55
mov dword [ebp - 0x88], 0x2bc
jmp 0x10010e62
test byte [esi + 0x54], 1
jne 0x10010e62
mov byte [ebp - 0x83], 1
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov eax, dword [0x1002f54c]
lea edi, [esi + 0x48]
mov edx, dword [0x1002f544]
sub eax, edx
mov ecx, dword [0x1002f540]
push 0
push dword [0x1002f9e4]
push 0
push dword [ebx]
push eax
mov eax, dword [0x1002f548]
sub eax, ecx
push eax
push edx
push ecx
xor eax, eax
push eax
push eax
push 0x10002bc8
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
cmp dword [esi + 0x24], 0
jne 0x10010f64
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x10010f64
and dword [ebp - 0x2a0], 0
and dword [ebp - 4], 0
lea ecx, [eax + 1]
push 2
mov eax, ecx
mov dword [ebp - 0x2a4], ecx
pop edx
mul edx
test edx, edx
jne 0x1001108e
cmp eax, 0xffffffff
ja 0x1001108e
cmp eax, 0x200
jbe 0x10010f1c
push eax
lea ecx, [ebp - 0x2a0]
call fcn.10003dc3
mov edi, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2a4]
jmp 0x10010f28
lea edi, [ebp - 0x29c]
mov dword [ebp - 0x2a0], edi
test edi, edi
je 0x10010f48
push ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x10010f42
push edi
mov ecx, esi
call fcn.100102df
mov edi, dword [ebp - 0x2a0]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x29c]
cmp edi, eax
je 0x10010f61
lea ecx, [ebp - 0x2a0]
call fcn.1000529b
lea edi, [esi + 0x48]
mov ecx, esi
call fcn.10010491
xor ecx, ecx
cmp dword [esi + 0x28], ecx
jne 0x10010f8d
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x10010f8d
cmp dword [esi + 0x24], ecx
je 0x10010fb5
push dword [esi + 0x24]
mov ecx, esi
call fcn.10010214
jmp 0x10010fb3
push ecx
push 1
push 0x401
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x28]
lea eax, [esi + 0x38]
push ecx
push eax
push ecx
mov eax, esp
mov ecx, edi
mov dword [eax], edx
push dword [ebx]
call fcn.10010864
xor ecx, ecx
test byte [esi + 0x58], 1
je 0x10011088
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2b0], ecx
push eax
push 0x2001f
push ecx
push 0x10002b18
push 0x80000001
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2a4], ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10011088
mov ebx, dword [ebp - 0x2a4]
lea edi, [ebp - 0x28]
push 6
pop ecx
rep stosd dword es:[edi], eax
push 0xc
pop edi
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2b0], ebx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2a4], edi
push eax
push 0x10002b74
lea ecx, [ebp - 0x2b0]
call fcn.100114bf
test eax, eax
jne 0x10011048
lea ecx, [ebp - 0x28]
call fcn.10011152
cmp eax, 0xffffffff
je 0x10011048
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], edi
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10002b90
lea ecx, [ebp - 0x2b0]
call fcn.100114bf
test eax, eax
jne 0x1001107d
lea ecx, [ebp - 0x28]
call fcn.10011152
cmp eax, 0xffffffff
je 0x1001107d
mov dword [esi + 0x50], eax
test ebx, ebx
je 0x10011088
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
call fcn.1002acaa
ret
mov ecx, 0x80070057
call fcn.10005aee
int3