Function at 0x4187ee
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x443340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ecx + 0x30], 1
mov eax, dword [0x44333c]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x210], ebx
cmp eax, ebx
je 0x418845
push dword [ebp + 0xc]
push esi
push 0x409aa0
push ebx
push 0x50
push eax
call fcn.004264d9
add esp, 0x18
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x418955
cmp esi, ebx
je 0x4188e6
cmp ax, word [esi]
je 0x4188e6
cmp dword [0x444664], ebx
je 0x418a2d
mov al, byte [0x444668]
cmp al, 3
jae 0x4188a4
cmp al, bl
jne 0x418a2d
mov edx, dword [0x444654]
mov eax, 0x80000000
and edx, eax
xor ecx, ecx
or ecx, edx
je 0x418a2d
mov edx, dword [0x44465c]
mov ecx, edx
and ecx, eax
xor eax, eax
cmp eax, dword [0x444658]
jne 0x418a2d
cmp ecx, edx
jne 0x418a2d
push esi
push 0x4069c8
jmp 0x418a1c
cmp dword [0x444664], ebx
je 0x418a2d
mov al, byte [0x444668]
cmp al, 3
jae 0x418903
cmp al, bl
jne 0x418a2d
mov edx, dword [0x444654]
mov eax, 0x80000000
and edx, eax
xor ecx, ecx
or ecx, edx
je 0x418a2d
mov edx, dword [0x44465c]
mov ecx, edx
and ecx, eax
xor eax, eax
cmp eax, dword [0x444658]
jne 0x418a2d
cmp ecx, edx
jne 0x418a2d
push 0x4069d8
push dword [0x444634]
push dword [0x444630]
call fcn.0041269f
jmp 0x418a2d
cmp esi, ebx
je 0x4189d0
xor eax, eax
cmp ax, word [esi]
je 0x4189d0
cmp dword [0x444664], ebx
je 0x418a2d
mov al, byte [0x444668]
cmp al, 3
jae 0x41897d
cmp al, bl
jne 0x418a2d
mov edx, dword [0x444654]
mov eax, 0x80000000
and edx, eax
xor ecx, ecx
or ecx, edx
je 0x418a2d
mov edx, dword [0x44465c]
mov ecx, edx
and ecx, eax
xor eax, eax
cmp eax, dword [0x444658]
jne 0x418a2d
cmp ecx, edx
jne 0x418a2d
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x4069a8
push dword [0x444634]
push dword [0x444630]
call fcn.00416998
jmp 0x418a2d
cmp dword [0x444664], ebx
je 0x418a2d
mov al, byte [0x444668]
cmp al, 3
jae 0x4189e5
cmp al, bl
jne 0x418a2d
mov edx, dword [0x444654]
mov eax, 0x80000000
and edx, eax
xor ecx, ecx
or ecx, edx
je 0x418a2d
mov edx, dword [0x44465c]
mov ecx, edx
and ecx, eax
xor eax, eax
cmp eax, dword [0x444658]
jne 0x418a2d
cmp ecx, edx
jne 0x418a2d
lea eax, [ebp - 0x20c]
push eax
push 0x4069b8
push dword [0x444634]
push dword [0x444630]
call fcn.00416b43
mov edi, dword [ebp + 0x14]
cmp edi, ebx
jne 0x418ab3
mov eax, dword [0x44333c]
cmp eax, ebx
je 0x418a52
push dword [ebp + 0xc]
push esi
push 0x4099f8
push ebx
push 0x50
push eax
call fcn.004264d9
add esp, 0x18
push 1
push esi
call fcn.00416f07
push ebx
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x418a74
call fcn.004158ac
test eax, eax
jge 0x418a95
mov eax, dword [0x44333c]
cmp eax, ebx
je 0x418a92
push dword [ebp + 0xc]
push esi
push 0x409950
push ebx
push 0x50
push eax
call fcn.004264d9
add esp, 0x18
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x214]
push 1
push dword [ebp + 0xc]
add ecx, 0x34
push esi
call fcn.004183ac
mov dword [ebp - 0x210], 1
cmp edi, 1
jne 0x418b04
mov eax, dword [0x44333c]
cmp eax, ebx
je 0x418ad6
push dword [ebp + 0xc]
push esi
push 0x409880
push ebx
push 0x50
push eax
call fcn.004264d9
add esp, 0x18
push 2
push esi
call fcn.00416f07
mov edi, dword [ebp - 0x214]
push 2
push dword [ebp + 0xc]
lea ecx, [edi + 0x34]
push esi
call fcn.004183ac
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00416e3c
mov dword [ebp - 0x210], eax
jmp 0x418b52
cmp edi, 2
jne 0x418b2f
mov eax, dword [0x44333c]
cmp eax, ebx
je 0x418b27
push dword [ebp + 0xc]
push esi
push 0x4097d8
push ebx
push 0x50
push eax
call fcn.004264d9
add esp, 0x18
mov dword [ebp - 0x210], ebx
jmp 0x418b5a
cmp dword [ebp - 0x210], ebx
jne 0x418b62
mov eax, dword [0x44333c]
cmp eax, ebx
je 0x418b5a
push edi
push 0x409778
push ebx
push 0x3c
push eax
call fcn.004264d9
add esp, 0x14
cmp dword [ebp - 0x210], ebx
jne 0x418b62
push 3
push esi
call fcn.00416f07
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004217ea
leave
ret 0x10