Function at 0x415580
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c807
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x42c0a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x10]
lea ecx, [ebx + 0x14]
mov edi, dword [ebp + 0xc]
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x534], esi
call fcn.00416fd0
test eax, eax
jne 0x415bbc
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebx + 0xf4]
call fcn.00416fd0
test eax, eax
jne 0x415bbc
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebx + 0x1d4]
call fcn.00416fd0
test eax, eax
jne 0x415bbc
mov eax, dword [ebp + 8]
cmp eax, 0x200
ja 0x41597c
je 0x415958
sub eax, 2
je 0x41593c
sub eax, 0x10f
je 0x4156fa
sub eax, 2
jne 0x4156e9
cmp edi, 0x7f
jne 0x4156e9
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
push 0xd
push dword [ebx + 0x2cc]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x4a8]
push eax
call fcn.0040b540
add esp, 4
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.0040df20
lea ecx, [ebp - 0x4a8]
movzx esi, al
mov dword [ebp - 4], 0xffffffff
call fcn.0040de80
test esi, esi
je 0x4156e3
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.0040de00
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 1
push eax
call fcn.0040b660
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
mov esi, dword [ebp - 0x534]
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
cmp edi, 0x69
je 0x41591e
cmp edi, 0x6f
je 0x41591e
cmp edi, 0x6d
je 0x415919
cmp edi, 0x2710
jne 0x41572d
push esi
call fcn.0040b6a0
add esp, 4
xor eax, eax
jmp 0x415bc1
cmp edi, 0x270f
jne 0x415745
push esi
call fcn.0040b680
add esp, 4
xor eax, eax
jmp 0x415bc1
cmp edi, 0x7b
jne 0x41583d
lea eax, [ebp - 0x4a8]
push eax
call fcn.0040b540
add esp, 4
push dword [ebx + 4]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0040df60
push eax
call fcn.0040d150
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a8]
mov esi, eax
call fcn.0040de80
test esi, esi
je 0x4157bd
mov esi, dword [ebp - 0x534]
push esi
push edi
push 0x111
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
lea eax, [ebp - 0x98]
push 1
push eax
call fcn.0040e570
mov edi, eax
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 3
push 0x1b
push eax
call fcn.0040e570
add esp, 0x10
mov esi, eax
push 0x30
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040df60
push eax
mov ecx, esi
call fcn.0040df60
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x4a8]
call fcn.0040de80
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.0040de80
mov esi, dword [ebp - 0x534]
mov ecx, ebx
mov edi, dword [ebp + 0xc]
push esi
push edi
push dword [ebp + 8]
call fcn.0040e9f0
jmp 0x415bc1
cmp edi, 0x78
jne 0x4156e9
push dword [ebx + 4]
call fcn.0040cd80
mov esi, eax
add esp, 4
test esi, esi
je 0x415912
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x1a
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x530]
call fcn.0040de30
mov ecx, esi
mov dword [ebp - 4], 5
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4158a5
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
mov edx, str._s_s
push eax
mov eax, 0x41e384
push esi
cmp word [esi + ecx*2 - 2], 0x5c
cmove eax, edx
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0040e3b0
lea eax, [ebp - 0x530]
push eax
call fcn.0040b660
add esp, 0x14
lea ecx, [ebp - 0x530]
call fcn.0040e460
push eax
push 0
push 0xc
push dword [ebx + 0x2cc]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x530]
call fcn.0040de80
xor eax, eax
jmp 0x415bc1
call fcn.0040b630
push esi
push edi
push 0x111
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x415bc1
push 0x7f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
mov eax, esi
mov ecx, ebx
shr eax, 0x10
cwde
push eax
movsx eax, si
push eax
push edi
call fcn.00416060
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
sub eax, 0x201
je 0x415a65
sub eax, 1
je 0x415a30
sub eax, 0x27a
jne 0x4156e9
mov eax, edi
sub eax, 0x1b5a
je 0x415a0f
sub eax, 0x3e6
je 0x415a04
sub eax, 1
jne 0x4156e9
call fcn.0040b5c0
test eax, eax
jne 0x4159e3
push 0x30
push 0x420b4c
push 0x4211fc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
push 0
push 0x7b
push 0x111
mov ecx, ebx
call fcn.00417c20
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
push 0
push 0
push 0x10
jmp 0x41579c
push 0
push 0x78
push 0x111
mov ecx, ebx
call fcn.00417c20
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
movsx eax, si
mov ecx, ebx
mov dword [ebp - 0x538], eax
mov eax, esi
shr eax, 0x10
cwde
mov dword [ebp - 0x534], eax
lea eax, [ebp - 0x538]
push eax
push edi
call fcn.00416020
push esi
push edi
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040e9f0
jmp 0x415bc1
movsx eax, si
lea ecx, [ebx + 0xf4]
mov dword [ebp - 0x534], eax
mov eax, esi
shr eax, 0x10
cwde
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x54c]
push eax
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x548], 0
mov dword [ebp - 0x54c], 0
mov dword [ebp - 0x560], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x55c], 0
call fcn.00416a50
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebx + 0x14]
call fcn.00416a50
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebx + 0x1d4]
call fcn.00416a50
push dword [ebp - 0x53c]
movaps xmm0, xmmword [0x4210a0]
lea ecx, [ebp - 0x54c]
push dword [ebp - 0x534]
movups xmmword [ebp - 0x57c], xmm0
call fcn.0040fcb0
test eax, eax
jne 0x4156e9
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x55c]
push dword [ebp - 0x534]
call fcn.0040fcb0
test eax, eax
jne 0x4156e9
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x56c]
push dword [ebp - 0x534]
call fcn.0040fcb0
test eax, eax
jne 0x4156e9
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x57c]
push dword [ebp - 0x534]
call fcn.0040fcb0
test eax, eax
jne 0x4156e9
push esi
push 2
push 0xa1
jmp 0x41579c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418138
mov esp, ebp
pop ebp
ret 0xc