Function at 0x140042571
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbp, qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [rsp + 0x70]
mov qword [rsp + 0xd0], rcx
mov rdx, rax
mov qword [rsp + 0x48], rax
call rbp
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
or r9d, 0xffffffff
mov edx, dword [0x140118dbc]
mov dword [rsp + 0x28], eax
or r8d, 0xffffffff
mov eax, dword [0x140118dc4]
mov rdi, qword [0x14011d070]
mov dword [rsp + 0x30], 6
mov rcx, qword [rsp + 0xd0]
lea eax, [rax + rdx*2]
add eax, dword [0x140118da8]
xor edx, edx
mov dword [rsp + 0x20], eax
call rdi
mov rsi, qword [sym.imp.USER32.dll_MessageBeep]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3e9
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r12, qword [0x14011cfb0]
mov r8, qword [rsp + 0x48]
xor ecx, ecx
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov edx, dword [0x140118900]
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov dword [0x140118dd0], eax
add eax, 2
cmp edx, eax
mov dword [0x140118904], eax
cmovl edx, eax
mov dword [0x140118900], edx
mov edx, 0x3ef
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call rbp
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x74]
mov rcx, r13
mov eax, dword [0x140118dd0]
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
sub eax, r8d
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b6610]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fa
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call rbp
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x74]
mov edx, 0x403
mov r14d, dword [rsp + 0x78]
mov r15d, dword [0x140118dd0]
mov dword [rsp + 0x5c], r8d
mov rcx, qword [rsp + 0xd0]
sub r14d, r8d
mov dword [rsp + 0x50], r9d
call rsi
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x5c]
mov rcx, r13
mov dword [rsp + 0x28], r15d
mov rdx, rax
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 4
call rdi
mov r14, qword [0x1400b6710]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [r14]
call rbp
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [0x140118dd0]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], 4
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
sub eax, r8d
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b6700]
mov rcx, qword [r14]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x7df
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x7d0
mov dword [0x140118dd4], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fe
sub dword [0x140118dd4], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fd
mov dword [0x140118914], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x7c]
sub eax, dword [0x140118914]
mov edx, 0x3f0
mov rcx, qword [rsp + 0xd0]
mov dword [0x140118914], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3f1
mov dword [0x140118910], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [rsp + 0x7c]
sub eax, dword [0x140118910]
mov edx, 0x7e0
mov rcx, qword [rsp + 0xd0]
mov dword [0x140118910], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
xor edx, edx
mov rcx, r13
mov r13d, 3
call fcn.14003ce4d
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x6c]
add eax, eax
cdq
idiv r13d
mov edx, 0x7e1
add eax, dword [rsp + 0x74]
mov dword [0x140118dd8], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov r15, rax
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
xor edx, edx
mov rcx, r15
call fcn.14003ce4d
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x6c]
add eax, eax
cdq
idiv r13d
mov edx, 0x7e2
add eax, dword [rsp + 0x74]
xor ebx, ebx
mov dword [0x140118ddc], eax
call rsi
mov rdx, qword [rsp + 0x48]
mov r15, rax
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov rcx, r15
xor edx, edx
lea r15, [rsp + 0x68]
call fcn.14003ce4d
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x6c]
add eax, eax
cdq
idiv r13d
mov r13, qword [0x1400b66f0]
mov rcx, qword [r13]
mov edx, 0x463
add eax, dword [rsp + 0x74]
mov dword [0x140118de0], eax
call qword [0x14011d030]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x41c
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
xor eax, eax
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [0x140118904]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov rdx, qword [r14]
lea r14, [0x1400a6dd8]
mov rcx, qword [r13]
call rdi
mov r13, qword [sym.imp.USER32.dll_SetDlgItemTeSetTimer]
mov edx, dword [r14 + rbx*4]
mov rcx, qword [rsp + 0xd0]
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
mov qword [rsp + 0x50], rax
call rbp
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call r12
mov eax, dword [0x140118dcc]
mov r8d, dword [0x140118dc4]
add r8d, dword [0x140118dbc]
sub r8d, eax
test bl, 1
je 0x140042b04
add eax, dword [0x140118db0]
sub r8d, eax
mov dword [rsp + 0x5c], r8d
mov rcx, qword [rsp + 0x50]
mov edx, 3
inc rbx
call r13
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x5c]
mov rdx, rax
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov eax, dword [0x140118904]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140118dcc]
mov dword [rsp + 0x20], eax
call rdi
cmp rbx, 3
jne 0x140042aaa
mov rcx, qword [rsp + 0xd0]
mov edx, 0x400
call rsi
mov r12, qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rbp, qword [0x14011cfb0]
mov rdx, qword [rsp + 0xd0]
call rbp
mov r14, qword [0x1400b6720]
mov r9, r15
xor r8d, r8d
mov r13, qword [0x14011d030]
mov edx, 0x463
mov rcx, qword [r14]
call r13
mov eax, dword [0x140118904]
mov rcx, qword [r14]
xor r8d, r8d
movzx r9d, word [rsp + 0x68]
mov edx, 0x41f
shl eax, 0x10
or r9d, eax
call r13
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x456
call r13
mov rcx, qword [r14]
xor r8d, r8d
mov r9d, eax
movzx edx, ax
add eax, 3
shr r9d, 0x10
movzx eax, ax
mov dword [rsp + 0x68], edx
mov edx, 0x457
mov dword [rsp + 0x6c], r9d
add r9d, 2
shl r9d, 0x10
or r9d, eax
call r13
xor edx, edx
mov eax, dword [0x140118db4]
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x30], edx
mov rbx, qword [0x1400b6640]
mov edx, dword [0x140118904]
mov r8d, dword [0x140118dc4]
mov dword [rsp + 0x20], eax
add r8d, dword [0x140118dbc]
sub r8d, eax
mov dword [rsp + 0x28], edx
mov rcx, qword [r14]
mov rdx, qword [rbx]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x401
call rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r14, qword [0x1400b6670]
mov r9, r15
xor r8d, r8d
mov edx, 0x463
mov rcx, qword [r14]
call r13
mov eax, dword [0x140118904]
mov rcx, qword [r14]
mov edx, 0x41f
movzx r9d, word [rsp + 0x68]
shl eax, 0x10
or r9d, eax
xor r8d, r8d
call r13
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x456
call r13
mov rcx, qword [r14]
xor r8d, r8d
mov r9d, eax
movzx edx, ax
add eax, 3
shr r9d, 0x10
movzx eax, ax
mov dword [rsp + 0x68], edx
mov edx, 0x457
mov dword [rsp + 0x6c], r9d
add r9d, 2
shl r9d, 0x10
or r9d, eax
call r13
mov eax, dword [0x140118904]
xor ecx, ecx
mov r9d, dword [rsp + 0x74]
mov dword [rsp + 0x30], ecx
mov r8d, dword [0x140118db8]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140118db4]
add r8d, dword [0x140118dbc]
add r8d, dword [0x140118db0]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b6620]
mov rcx, qword [r14]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x403
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r9d, dword [rsp + 0x74]
mov eax, dword [rsp + 0x7c]
xor r8d, r8d
mov dword [rsp + 0x30], r8d
mov rcx, r13
mov r8d, dword [0x140118dbc]
sub eax, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [0x140118db8]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b6680]
mov rdx, qword [rax]
call rdi
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fb
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r8d, dword [0x140118dc4]
mov r15d, dword [rsp + 0x78]
mov edx, 0x3fa
sub r15d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x74]
sub r8d, r15d
mov r14d, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xd0]
mov dword [rsp + 0x68], r8d
add r8d, dword [0x140118dbc]
sub r14d, r9d
mov dword [rsp + 0x5c], r9d
mov dword [rsp + 0x50], r8d
call rsi
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rcx, r13
mov dword [rsp + 0x30], r9d
mov rdx, rax
mov r9d, dword [rsp + 0x5c]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
call rdi
xor edx, edx
mov rcx, r13
call qword [0x14011d088]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3fa
call rsi
mov rdx, qword [rsp + 0x48]
mov r15, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov eax, dword [0x140118db8]
mov r13d, dword [0x140118dc4]
mov edx, dword [0x140118db0]
mov r9d, dword [rsp + 0x74]
sub r13d, eax
mov r14d, dword [rsp + 0x7c]
add eax, dword [0x140118dbc]
lea r8d, [rax + rdx]
sub r13d, edx
mov dword [rsp + 0x5c], r9d
mov rcx, qword [rsp + 0xd0]
sub r14d, r9d
mov dword [rsp + 0x50], r8d
mov edx, 0x403
call rsi
xor r10d, r10d
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x30], r10d
mov rdx, rax
mov rcx, r15
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], r14d
call rdi
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rsp + 0xd0]
mov edx, 0x7d5
call rsi
mov rdx, qword [rsp + 0x48]
mov r13, rax
mov rcx, rax
call r12
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov r9d, 2
mov rdx, qword [rsp + 0xd0]
call rbp
mov r9d, dword [rsp + 0x74]
mov eax, dword [rsp + 0x7c]
xor r11d, r11d
mov dword [rsp + 0x30], r11d
mov r8d, dword [0x140118dc4]
mov rcx, r13
sub eax, r9d
add r8d, dword [0x140118dbc]
add r8d, dword [0x140118dac]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140118db4]
mov dword [rsp + 0x20], eax
mov rax, qword [0x1400b6740]
mov rdx, qword [rax]
call rdi
mov rax, qword [0x1400b61e0]
cmp dword [rax], 0
je 0x140043011
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbx]
call r12
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rax, qword [0x1400b66d0]
mov rdx, qword [rax]
call rbp
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov edx, 0x7d0
mov r13d, dword [rsp + 0x7c]
mov r14d, dword [0x140118dc4]
mov dword [rsp + 0x5c], r9d
mov rcx, qword [rsp + 0xd0]
sub r13d, r9d
mov dword [rsp + 0x50], r8d
sub r14d, dword [0x140118db0]
sub r14d, dword [0x140118db4]
call rsi
xor esi, esi
mov dword [rsp + 0x28], r13d
mov r9d, dword [rsp + 0x5c]
mov dword [rsp + 0x30], esi
mov r8d, dword [rsp + 0x50]
mov rdx, rax
mov dword [rsp + 0x20], r14d
mov rcx, qword [rbx]
call rdi
lea r15, [0x1400a6da0]
mov r14, qword [sym.imp.USER32.dll_MessageBeep]
mov rdi, qword [0x14011d070]
lea rbx, [r15 + 0x38]
mov edx, dword [r15]
mov rcx, qword [rsp + 0xd0]
add r15, 4
call r14
mov rdx, qword [rsp + 0x48]
mov rsi, rax
mov rcx, rax
call r12
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call rbp
mov edx, 3
mov rcx, rsi
mov r13, qword [sym.imp.USER32.dll_SetDlgItemTeSetTimer]
call r13
mov r9d, dword [rsp + 0x74]
xor r11d, r11d
mov r8d, dword [rsp + 0x70]
mov rdx, rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x30], r11d
mov rcx, rsi
sub eax, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [0x140118dc4]
mov dword [rsp + 0x20], eax
call rdi
cmp r15, rbx
jne 0x14004302a
xor ebx, ebx
lea r15, [0x1400a6d40]
mov edx, dword [r15 + rbx*4]
mov rcx, qword [rsp + 0xd0]
call r14
mov rdx, qword [rsp + 0x48]
mov rsi, rax
mov rcx, rax
call r12
mov r9d, 2
xor ecx, ecx
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xd0]
call rbp
mov edx, 3
mov rcx, rsi
call r13
mov r9d, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x7c]
mov rdx, rax
mov eax, dword [0x140118dc8]
sub ecx, r9d
cmp rbx, 1
ja 0x140043112
add eax, dword [0x140118dc0]
jmp 0x140043118
cmp rbx, 3
ja 0x14004311f
mov r8d, dword [rsp + 0x70]
jmp 0x140043130
mov r8d, dword [0x140118dbc]
add r8d, eax
add r8d, dword [0x140118dc0]
xor r10d, r10d
inc rbx
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x20], eax
call rdi
cmp rbx, 9
jne 0x1400430b0
mov rcx, qword [rsp + 0xd0]
mov edx, 0x3f3
call r14
mov rdx, qword [rsp + 0x48]
mov rsi, rax
mov rcx, rax
call r12
mov r8, qword [rsp + 0x48]
mov r9d, 2
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
call rbp
mov rcx, rsi
mov edx, 3
call r13
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov rcx, rsi
mov rdx, rax
xor eax, eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x7c]
sub eax, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [0x140118db8]
mov dword [rsp + 0x20], eax
call rdi
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret