Function at 0x4103e1
Capabilities:
Get graphical window text

Disassembly:
push 0xa18
mov eax, 0x463eee
call fcn.00461a33
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, 0x400
mov ebx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0xa20], eax
lea eax, [ebp - 0xa18]
push 0
push eax
mov byte [ebp - 0xa19], 0
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x618]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
lea eax, [ebp - 0x618]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x618]
mov ecx, esi
push eax
call fcn.004110b0
test al, al
je 0x410717
xor edi, edi
push 0x1ff
lea eax, [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x41048e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x32
jl 0x410469
cmp word [ebp - 0x410], 0
je 0x410711
push 0x1ff
lea eax, [ebp - 0xa18]
push eax
push dword [ebp - 0xa20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x410711
cmp dword [ebp + 0xc], 1
jne 0x4105bc
lea eax, [ebp - 0xa18]
mov ecx, esi
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00410014
test al, al
je 0x410547
push str.PodiumParent
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41050f
push str.screenClass
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x410711
call fcn.00410799
lea edi, [esi + 0x24]
mov dword [ebp - 0xa24], edi
cmp dword [eax + 4], 1
seta byte [ebp - 0xa19]
cmp dword [edi + 0x18], 0
je 0x410535
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xa20], 1
and dword [ebp - 4], 0
mov dword [esi], ebx
jmp 0x410700
push ebx
mov ecx, esi
call fcn.00410d18
test al, al
je 0x410711
lea eax, [ebp - 0xa18]
mov ecx, esi
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0041010e
test al, al
je 0x410711
lea edi, [esi + 0x24]
mov al, 1
cmp dword [edi + 0x18], 0
mov byte [ebp - 0xa19], al
mov dword [ebp - 0xa24], edi
je 0x410598
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebp - 0xa19]
mov byte [ebp - 0xa20], 1
mov dword [ebp - 4], 1
mov dword [esi + 4], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x18], 0
je 0x410717
jmp 0x41070a
cmp dword [ebp + 0xc], 3
jne 0x410661
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0xa18]
push eax
call fcn.0041010e
test al, al
je 0x410711
push 0
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00410014
test al, al
je 0x410620
lea edi, [esi + 0x24]
cmp dword [edi + 0x18], 0
mov dword [ebp - 0xa24], edi
je 0x41060d
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xa20], 1
mov dword [ebp - 4], 2
jmp 0x410540
push 0
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.0040ff60
test al, al
je 0x410711
lea edi, [esi + 0x24]
cmp dword [edi + 0x18], 0
mov dword [ebp - 0xa24], edi
je 0x41064e
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xa20], 1
mov dword [ebp - 4], 3
jmp 0x4106fd
cmp dword [ebp + 0xc], 2
jne 0x410711
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0xa18]
push eax
call fcn.00410014
test al, al
je 0x410711
push 0
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.0041010e
test al, al
je 0x4106c5
lea edi, [esi + 0x24]
cmp dword [edi + 0x18], 0
mov dword [ebp - 0xa24], edi
je 0x4106b2
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xa20], 1
mov dword [ebp - 4], 4
mov dword [esi + 4], ebx
jmp 0x410700
push 0
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.0040ff60
test al, al
je 0x410711
lea edi, [esi + 0x24]
cmp dword [edi + 0x18], 0
mov dword [ebp - 0xa24], edi
je 0x4106ef
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0xa20], 1
mov dword [ebp - 4], 5
mov dword [esi + 8], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x18], 0
je 0x410711
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0xa19]
call fcn.004619e2
ret 0xc