Function at 0x4187d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, 0x5535b5
push dword [ebp + 8]
call fcn.004f9c59
mov esi, eax
test esi, esi
je 0x418b76
cmp dword [esi + 0x61c], 0
jne 0x418805
push 0
call fcn.00415bea
jmp 0x418b76
push 0x55219c
lea ebx, [esi + 4]
push ebx
call fcn.0049f1b8
push 0x55219c
call fcn.00416160
test eax, eax
jne 0x41882d
push 0
call fcn.00415bea
jmp 0x418b76
push esi
push edi
mov esi, 0x5607bb
mov edi, 0x55509c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x55219c
push 0x5607bb
call fcn.00518300
add esp, 8
push 7
push 0
push 0
push 0xe81
call fcn.00415c87
push eax
push 3
push dword [ebp + 8]
call fcn.004de90c
test eax, eax
je 0x418b76
push 0x2e
push 0x56093b
call fcn.0051833c
add esp, 8
test eax, eax
jne 0x4188b2
push 0x529678
push 0x56093b
call fcn.00518300
add esp, 8
push esi
push edi
mov esi, edi
mov edi, 0x5607bb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x56093b
push edi
call fcn.00518300
add esp, 8
push esi
push edi
mov esi, 0x55219c
mov edi, 0x56093b
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0
call fcn.00526bc8
pop ecx
push eax
call fcn.00415e8f
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x8001
call sub.KERNEL32.dll_SetErrorMode
push 0x180
push 0
push 0x4901
push edi
call fcn.0051e680
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
call sub.KERNEL32.dll_SetErrorMode
cmp dword [ebp - 0xc], 0
jge 0x41895f
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x418a99
cmp dword [ebp - 0x10], 0
je 0x41898b
push dword [ebp - 0x10]
push ebx
push 0
push 0xe82
call fcn.00415c87
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x4189a2
push ebx
push 0
push 0xe83
call fcn.00415c87
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push edi
call fcn.005183dc
pop ecx
mov ebx, eax
push ebx
push edi
push dword [ebp - 0xc]
call fcn.0051e1ec
add esp, 0xc
cmp ebx, eax
je 0x4189c3
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x418a99
cmp byte [esi + 0x638], 2
jne 0x418a49
cmp byte [esi + 0x639], 1
jne 0x418a49
push 0
push 0xe84
call fcn.00415c87
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 8
push 0x104
push edi
call fcn.005183dc
pop ecx
add eax, edi
push eax
push dword [esi]
call sub.USER32.dll_GetWindowTextA
push 0x40
push edi
call fcn.0051833c
add esp, 8
test eax, eax
je 0x418a49
push 0x52967e
push edi
call fcn.00518300
add esp, 8
push edi
call fcn.005183dc
pop ecx
mov ebx, eax
push ebx
push edi
push dword [ebp - 0xc]
call fcn.0051e1ec
add esp, 0xc
cmp ebx, eax
je 0x418a49
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x418a99
mov eax, dword [esi + 0x61c]
test eax, eax
je 0x418a99
mov edx, dword [eax + 0x30]
mov dword [ebp - 4], edx
push dword [eax]
push 0x529681
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push edi
call fcn.005183dc
pop ecx
mov ebx, eax
push ebx
push edi
push dword [ebp - 0xc]
call fcn.0051e1ec
add esp, 0xc
cmp ebx, eax
je 0x418a92
mov dword [ebp - 8], 1
jmp 0x418a99
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418a59
cmp dword [ebp - 0x10], 0
je 0x418abe
push dword [ebp - 0x10]
lea edx, [esi + 4]
push edx
push 0
push 0xe85
call fcn.00415c87
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x418ad8
lea ecx, [esi + 4]
push ecx
push 0
push 0xe86
call fcn.00415c87
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push edi
call fcn.005183dc
pop ecx
mov ebx, eax
push ebx
push edi
push dword [ebp - 0xc]
call fcn.0051e1ec
add esp, 0xc
cmp ebx, eax
je 0x418af9
mov dword [ebp - 8], 1
push dword [ebp - 0xc]
call fcn.0051b824
pop ecx
xor eax, eax
mov dword [0x534c34], eax
cmp dword [ebp - 8], 0
je 0x418b45
push 0x55219c
push 0
push 0xe87
call fcn.00415c87
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [0x52a384]
push edi
push dword [0x537430]
call fcn.004c8c63
push 0
call fcn.00415bea
jmp 0x418b76
push 0x55219c
add esi, 4
push esi
push 0
push 0xe88
call fcn.00415c87
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push dword [0x52a384]
push edi
push dword [0x537430]
call fcn.004c8c63
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4