Function at 0x14000a860
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xa0
mov rax, qword [0x140118300]
movsxd r12, ecx
movzx ecx, byte [0x1401182ac]
or cl, byte [0x14011829b]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0xd8], cl
jne 0x14000aa28
xor al, al
cmp qword [0x140117860], 0
mov edi, 1
movzx esi, al
cmovne esi, edi
cmp qword [0x140117868], 0
je 0x14000a8ba
or sil, 2
test sil, sil
je 0x14000baf8
xor ebp, ebp
mov ebx, ebp
nop word [rax + rax]
mov ecx, dword [0x1401163cc]
mov r9, rdi
xor r8d, r8d
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14000a8fb
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000a8d0
xor r12b, r12b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
nop word [rax + rax]
mov rcx, qword [0x1401182c8]
lea rdx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0xd8], 0x103
jne 0x14000a94b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
ja 0x14000a964
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a910
mov rcx, qword [0x1401182c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401182c8], rbp
call fcn.14000c170
cmp qword [0x140117860], rbp
je 0x14000a98c
test dil, sil
jne 0x14000a9a5
lea r8, str.AHK_Keybd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1401182b8], rax
jmp 0x14000a9a5
test dil, sil
je 0x14000a9a5
mov rcx, qword [0x1401182b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401182b8], rbp
cmp qword [0x140117868], rbp
je 0x14000a9ce
test sil, 2
jne 0x14000a9e8
lea r8, str.AHK_Mouse
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1401182c0], rax
jmp 0x14000a9e8
test sil, 2
je 0x14000a9e8
mov rcx, qword [0x1401182c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401182c0], rbp
test r12b, r12b
je 0x14000baf8
xorpd xmm3, xmm3
lea rcx, str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140112454], ebp
mov qword [rsp + 0x20], rbp
call fcn.1400b2c80
mov dword [0x140112454], edi
add rsp, 0xa0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdi, qword [0x1401182e8]
test rdi, rdi
jne 0x14000abb6
mov ecx, 0x1800
call fcn.1400ca678
mov qword [0x1401182e8], rax
test rax, rax
je 0x14000aba4
mov ecx, 0x3000
call fcn.1400ca678
mov qword [0x1401182f0], rax
test rax, rax
je 0x14000aba4
mov ecx, 0x20000
call fcn.1400ca678
mov qword [0x1401182d0], rax
test rax, rax
je 0x14000aba4
mov ecx, 0x40000
call fcn.1400ca678
mov rbp, rax
mov qword [0x1401182d8], rax
test rax, rax
je 0x14000aba4
movsxd rcx, dword [0x140118308]
add rcx, rcx
call fcn.1400c9664
mov rbx, rax
mov qword [0x1401182e0], rax
test rax, rax
je 0x14000aba4
mov rdi, qword [0x1401182e8]
xor edx, edx
mov r8d, 0x1800
mov rcx, rdi
call fcn.1400cfea0
mov rsi, qword [0x1401182f0]
xor edx, edx
mov rcx, rsi
mov r8d, 0x3000
call fcn.1400cfea0
mov byte [rdi + 0x1a4], 3
mov byte [rdi + 0xf3c], 1
mov byte [rdi + 0xf54], 2
mov byte [rdi + 0x1bc], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov byte [rdi + 0xf6c], 4
mov byte [rdi + 0xf84], 8
mov byte [rdi + 0x18c], gethostbyname
mov byte [rdi + 0xf0c], 0x10
mov byte [rdi + 0xf24], 0x20
mov byte [rdi + 0x894], 0x40
mov byte [rdi + 0x8ac], 0x80
mov byte [rsi + 0x2c4], 1
mov byte [rsi + 0x1ac4], 2
mov byte [rsi + 0x54c], 4
mov byte [rsi + 0x1d4c], 8
mov byte [rsi + 0x3fc], 0x10
mov byte [rsi + 0x1d1c], 0x20
mov byte [rsi + 0x2094], 0x40
mov byte [rsi + 0x20ac], 0x80
lea rax, [0x140112560]
mov qword [rdi + 0xd98], rax
lea rax, str._a_a_v
mov qword [rdi + 0x1e0], rax
lea rax, [0x140112484]
mov qword [rdi + 0xd80], rax
jmp 0x14000abcb
add rsp, 0xa0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.14000c170
mov rsi, qword [0x1401182f0]
mov rbp, qword [0x1401182d8]
mov rbx, qword [0x1401182e0]
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0x98], r14
lea rax, [rdi + 0xd]
mov qword [rsp + 0x90], r15
mov ecx, 0x40
mov r9d, 0x7fff
nop word [rax + rax]
and byte [rax + 3], 8
and byte [rax + 0x1b], 8
and byte [rax + 0x33], 8
and byte [rax + 0x4b], 8
mov word [rax - 3], r9w
mov word [rax], 0
mov byte [rax + 2], 0
mov byte [rax + 0xa], 0
mov word [rax + 0x15], r9w
mov word [rax + 0x18], 0
mov byte [rax + 0x1a], 0
mov byte [rax + 0x22], 0
mov word [rax + 0x2d], r9w
mov word [rax + 0x30], 0
mov byte [rax + 0x32], 0
mov byte [rax + 0x3a], 0
mov word [rax + 0x45], r9w
mov word [rax + 0x48], 0
mov byte [rax + 0x4a], 0
mov byte [rax + 0x52], 0
add rax, 0x60
dec rcx
jne 0x14000ac00
lea rax, [rsi + 0xd]
mov ecx, 0x80
nop dword [rax]
and byte [rax + 3], 8
and byte [rax + 0x1b], 8
and byte [rax + 0x33], 8
and byte [rax + 0x4b], 8
mov word [rax - 3], r9w
mov word [rax], 0
mov byte [rax + 2], 0
mov byte [rax + 0xa], 0
mov word [rax + 0x15], r9w
mov word [rax + 0x18], 0
mov byte [rax + 0x1a], 0
mov byte [rax + 0x22], 0
mov word [rax + 0x2d], r9w
mov word [rax + 0x30], 0
mov byte [rax + 0x32], 0
mov byte [rax + 0x3a], 0
mov word [rax + 0x45], r9w
mov word [rax + 0x48], 0
mov byte [rax + 0x4a], 0
mov byte [rax + 0x52], 0
add rax, 0x60
dec rcx
jne 0x14000ac70
lea rdx, [0x140113d58]
lea edi, [rcx + 0xd]
mov r8d, 0x1fe
movzx ecx, word [rdx]
lea eax, [rcx - 1]
cmp ax, r8w
ja 0x14000acfc
movzx eax, cx
lea rcx, [rax + rax*2]
mov byte [rsi + rcx*8 + 0x17], 1
add rdx, 0x10
dec rdi
jne 0x14000ace4
mov rdi, qword [0x1401182d0]
movzx eax, r9w
mov ecx, 0x10000
rep stosw word [rdi], ax
movzx eax, r9w
mov rdi, rbp
mov ecx, 0x20000
rep stosw word [rdi], ax
xor eax, eax
cmp dword [0x140118308], eax
jle 0x14000ad52
nop word [rax + rax]
mov word [rbx], r9w
inc eax
add rbx, 2
cmp eax, dword [0x140118308]
jl 0x14000ad40
mov rax, qword [0x140113e40]
movzx ecx, word [rax]
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400ca678
xor r14d, r14d
xor r13d, r13d
mov r15, r12
mov rbx, rax
mov qword [rsp + 0x40], rax
test r12d, r12d
jle 0x14000b632
mov rbx, qword [0x1401182e8]
mov rsi, qword [0x1401182f0]
mov rbp, qword [rsp + 0x38]
lea r12, [rax + 6]
mov ecx, 0x1ff
mov r9d, 0x8000
mov rdi, qword [rbp + r13*8]
movzx eax, byte [rdi + 0x12]
test al, al
je 0x14000b004
cmp al, 4
jae 0x14000b004
cmp byte [0x14011789d], 0
je 0x14000adfe
mov rcx, rdi
call fcn.140006900
mov rbx, qword [0x1401182e8]
mov rsi, qword [0x1401182f0]
test al, al
je 0x14000b004
mov ecx, 0x1ff
mov r9d, 0x8000
cmp word [rdi + 6], 0
je 0x14000ae56
cmp byte [rdi + 0x19], 0
sete al
test al, al
jne 0x14000b004
movzx edx, byte [rdi + 0x10]
test dl, dl
jne 0x14000ae27
cmp word [rdi + 8], 0
je 0x14000b004
cmp dl, 0xff
ja 0x14000b004
movzx eax, word [rdi + 8]
cmp ax, cx
ja 0x14000b004
test dl, dl
jne 0x14000ae77
movzx eax, ax
lea rcx, [rax + rax*2]
lea r8, [rsi + rcx*8]
mov byte [r8 + 0x17], 1
jmp 0x14000af5b
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14000b004
cmp byte [rax + 0x28], 0
jne 0x14000ae14
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14000ae63
jmp 0x14000b004
movzx eax, dl
lea rcx, [rax + rax*2]
lea r8, [rbx + rcx*8]
movzx ecx, dl
sub ecx, 0x10
je 0x14000af1d
dec ecx
je 0x14000aedd
dec ecx
jne 0x14000af5b
mov byte [rbx + 0xf6e], 1
mov byte [rbx + 0xf86], 1
mov byte [rsi + 0x54e], 1
mov byte [rsi + 0x1d4e], 1
cmp byte [rdi + 0x16], cl
je 0x14000af5b
mov byte [rbx + 0xf6f], 1
mov byte [rbx + 0xf87], 1
mov byte [rsi + 0x54f], 1
mov byte [rsi + 0x1d4f], 1
jmp 0x14000af5b
mov byte [rbx + 0xf3e], 1
mov byte [rbx + 0xf56], 1
mov byte [rsi + 0x2c6], 1
mov byte [rsi + 0x1ac6], 1
cmp byte [rdi + 0x16], 0
je 0x14000af5b
mov byte [rbx + 0xf3f], 1
mov byte [rbx + 0xf57], 1
mov byte [rsi + 0x2c7], 1
mov byte [rsi + 0x1ac7], 1
jmp 0x14000af5b
mov byte [rbx + 0xf0e], 1
mov byte [rbx + 0xf26], 1
mov byte [rsi + 0x3fe], 1
mov byte [rsi + 0x1d1e], 1
cmp byte [rdi + 0x16], 0
je 0x14000af5b
mov byte [rbx + 0xf0f], 1
mov byte [rbx + 0xf27], 1
mov byte [rsi + 0x3ff], 1
mov byte [rsi + 0x1d1f], 1
mov byte [r8 + 0xe], 1
cmp byte [rdi + 0x16], 0
movzx ebp, word [rdi + 4]
je 0x14000af73
mov byte [r8 + 0xf], 1
or bp, r9w
movzx ecx, byte [rdi + 0x11]
test cl, cl
jne 0x14000af86
cmp word [rdi + 0xa], 0
jne 0x14000af86
xor al, al
jmp 0x14000af88
mov al, 1
cmp byte [r8 + 0xc], 0
je 0x14000b0d1
cmp byte [rdi + 0xf], 0
jne 0x14000b0d1
test al, al
jne 0x14000b0d9
test byte [rdi + 0x13], 2
jne 0x14000afbb
movzx edx, word [rdi + 8]
movzx ecx, byte [rdi + 0x10]
xor r8d, r8d
call fcn.14000a5f0
movzx eax, word [rdi + 6]
test ax, ax
cmovne bp, ax
inc r14d
add r12, 0xc
mov word [r12 - 8], bp
movzx eax, byte [rdi + 0x10]
mov byte [r12 - 0xc], al
movzx eax, word [rdi + 8]
mov word [r12 - 0xa], ax
mov eax, dword [rdi]
mov dword [r12 - 0x12], eax
movzx eax, byte [rdi + 0xe]
mov byte [r12 - 0xe], al
movzx eax, byte [rdi + 0x15]
mov byte [r12 - 0xd], al
mov rbp, qword [rsp + 0x38]
inc r13
mov ecx, 0x1ff
mov r9d, 0x8000
cmp r13, r15
jl 0x14000adb3
mov rbx, qword [rsp + 0x40]
test r14d, r14d
je 0x14000b632
movsxd rdi, r14d
lea r9, [0x14000a440]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.1400ca740
test r14d, r14d
jle 0x14000b632
mov rsi, qword [0x1401182d0]
mov r11, qword [0x1401182d8]
mov r9, rbx
add rsi, 0x14a
mov edx, 0x7ff9
mov ebx, 0xc0
mov qword [rsp + 0x50], rsi
lea r10, [r11 + 0x270]
movzx edi, word [r9 + 0xa]
mov r8d, 0x7fff
movzx eax, di
and di, r8w
shr ax, 0xf
mov word [rsp + 0xe0], di
and al, 1
mov word [rsp + 0xe8], ax
cmp di, dx
ja 0x14000b262
movzx eax, byte [r9 + 6]
test al, al
je 0x14000b205
movzx eax, al
lea rcx, [rax + rax*2]
mov rax, qword [0x1401182e8]
jmp 0x14000b215
test al, al
je 0x14000afbb
test cl, cl
je 0x14000b1af
movzx eax, cl
lea rdx, [rax + rax*2]
cmp byte [rbx + rdx*8 + 0xc], 0
je 0x14000b195
lea eax, [rcx - 0x10]
cmp al, 2
ja 0x14000b187
movzx ecx, cl
sub ecx, 0x10
je 0x14000b162
dec ecx
je 0x14000b13a
dec ecx
jne 0x14000b1ee
mov byte [rbx + 0x1bd], 2
mov byte [rbx + 0xf6d], 2
mov byte [rbx + 0xf85], 2
mov byte [rsi + 0x54d], 2
mov byte [rsi + 0x1d4d], 2
jmp 0x14000b1ee
mov byte [rbx + 0x1a5], 2
mov byte [rbx + 0xf3d], 2
mov byte [rbx + 0xf55], 2
mov byte [rsi + 0x2c5], 2
mov byte [rsi + 0x1ac5], 2
jmp 0x14000b1ee
mov byte [rbx + 0x18d], 2
mov byte [rbx + 0xf0d], 2
mov byte [rbx + 0xf25], 2
mov byte [rsi + 0x3fd], 2
mov byte [rsi + 0x1d1d], 2
jmp 0x14000b1ee
movzx eax, cl
lea rcx, [rax + rax*2]
mov byte [rbx + rcx*8 + 0xd], 1
jmp 0x14000b1ee
mov byte [rbx + rdx*8 + 0xd], 1
test byte [rdi + 0x13], 1
je 0x14000b1ee
movzx eax, byte [rdi + 0x11]
lea rcx, [rax + rax*2]
or byte [rbx + rcx*8 + 0x10], 0x10
jmp 0x14000b1ee
movzx eax, word [rdi + 0xa]
lea rcx, [rax + rax*2]
cmp byte [rsi + rcx*8 + 0xc], 0
je 0x14000b1c9
lea rcx, [rax + rax*2]
mov byte [rsi + rcx*8 + 0xd], 1
jmp 0x14000b1ee
mov byte [rsi + rcx*8 + 0xd], 1
test byte [rdi + 0x13], 1
je 0x14000b1e1
movzx eax, word [rdi + 0xa]
lea rcx, [rax + rax*2]
or byte [rsi + rcx*8 + 0x10], 0x10
movzx eax, word [rdi + 0xa]
lea rcx, [rax + rax*2]
mov byte [rsi + rcx*8 + 0x17], 1
movzx eax, word [r8 + 0xa]
mov word [rdi + 0xc], ax
movzx eax, word [rdi + 4]
mov word [r8 + 0xa], ax
jmp 0x14000afff
movzx eax, word [r9 + 8]
lea rcx, [rax + rax*2]
mov rax, qword [0x1401182f0]
lea rdx, [rax + rcx*8]
add rdx, 0xa
cmp word [rdx], r8w
je 0x14000b250
nop word [rax + rax]
movzx eax, word [rdx]
mov rcx, qword [rbp + rax*8]
cmp byte [rcx + 0x11], 0
jne 0x14000b245
cmp word [rcx + 0xa], 0
je 0x14000b250
cmp word [rcx + 0xc], r8w
lea rdx, [rcx + 0xc]
jne 0x14000b230
movzx eax, di
mov rcx, qword [rbp + rax*8]
movzx eax, word [rdx]
mov word [rcx + 0xc], ax
mov word [rdx], di
mov edx, dword [r9]
movzx ecx, byte [r9 + 4]
mov edi, 8
mov r8d, edx
mov dword [rsp + 0x34], edx
test cl, cl
je 0x14000b2a5
test cl, 0xc0
mov eax, 0
cmovne eax, edi
test cl, 0xc
je 0x14000b28d
or eax, 1
test cl, 0x30
je 0x14000b295
or eax, 4
test cl, 3
je 0x14000b29d
or eax, 2
or r8d, eax
mov dword [rsp + 0x34], r8d
cmp byte [r9 + 5], 0
je 0x14000b2b1
xor bpl, bpl
jmp 0x14000b2dd
xor al, al
test dl, 8
movzx ebp, al
cmovne ebp, ebx
test dl, 1
je 0x14000b2c5
or bpl, 0xc
test dl, 2
je 0x14000b2ce
or bpl, 3
test dl, 4
je 0x14000b2d7
or bpl, 0x30
or bpl, cl
not bpl
movzx edx, bpl
xor ebx, ebx
xor r15d, r15d
xor r12d, r12d
mov r13, r10
mov r14, rsi
mov dword [rsp + 0x30], edx
test ebx, edx
jne 0x14000b5ce
test bl, 0xc0
mov eax, 0
cmovne eax, edi
test bl, 0xc
je 0x14000b30e
or eax, 1
test bl, 0x30
je 0x14000b316
or eax, 4
test bl, 3
je 0x14000b31e
or eax, 2
and eax, r8d
cmp r8d, eax
jne 0x14000b5ce
movzx r10d, byte [r9 + 4]
test r10b, r10b
je 0x14000b344
movzx ecx, r10b
mov eax, ecx
and eax, ebx
cmp ecx, eax
jne 0x14000b5ce
movzx eax, byte [r9 + 6]
test al, al
setne sil
test al, al
je 0x14000b368
mov rcx, qword [0x1401182d0]
movzx eax, al
add eax, r12d
cdqe
lea r11, [rcx + rax*2]
jmp 0x14000b376
movzx eax, word [r9 + 8]
add eax, r15d
cdqe
lea r11, [r11 + rax*2]
movzx edi, word [r11]
mov eax, 0x7fff
cmp di, ax
je 0x14000b4ec
movzx ecx, di
and cx, ax
mov rax, qword [0x140113e40]
movzx eax, word [rax]
cmp word [rsp + 0xe0], ax
jae case.0x14000b52c.19
cmp cx, ax
jae case.0x14000b52c.19
movzx eax, di
shr ax, 0xf
and al, 1
cmp byte [rsp + 0xe8], 0
je 0x14000b45e
test al, al
jne 0x14000b4ec
mov rax, qword [0x140118300]
movzx r8d, cx
mov rcx, qword [rax + r8*8]
mov eax, 0xff
cmp byte [rcx + 0x15], 0
jne 0x14000b3ec
movzx eax, byte [rcx + 0xf]
test edx, eax
jne 0x14000b4ec
movzx eax, byte [rcx + 0xe]
not al
test r10b, al
jne 0x14000b4ec
mov eax, dword [rcx]
mov edi, dword [r9]
not eax
test edi, eax
je 0x14000b448
movzx edx, byte [rcx + 0xf]
mov eax, 0
mov ecx, 8
test dl, 0xc0
cmovne eax, ecx
test dl, 0xc
je 0x14000b42a
or eax, 1
test dl, 0x30
je 0x14000b432
or eax, 4
test dl, 3
je 0x14000b43a
or eax, 2
mov edx, dword [rsp + 0x30]
not eax
test edi, eax
jne 0x14000b4ec
mov rcx, qword [0x1401182e0]
movzx eax, word [r9 + 0xa]
mov word [rcx + r8*2], ax
jmp case.0x14000b52c.19
test al, al
jne 0x14000b48a
movzx eax, word [rsp + 0xe0]
mov rdi, qword [0x1401182e0]
mov r10d, 0x7fff
cmp word [rdi + rax*2], r10w
movzx r10d, byte [r9 + 4]
jne 0x14000b4ec
movzx eax, cx
movzx edi, word [rdi + rax*2]
mov eax, 0x7fff
cmp di, ax
je 0x14000b4ec
movzx ecx, di
and rcx, rax
mov rax, qword [0x140118300]
mov rdx, qword [rax + rcx*8]
cmp byte [rdx + 0x15], 0
jne 0x14000b4bb
movzx ecx, byte [rdx + 0xf]
movzx eax, bpl
not cl
not al
test al, cl
jne 0x14000b4e8
mov eax, r8d
not eax
test dword [rdx], eax
jne 0x14000b4e8
movzx eax, r10b
not eax
test byte [rdx + 0xe], al
mov edx, dword [rsp + 0x30]
jne 0x14000b4ec
movzx eax, word [rsp + 0xe0]
mov rcx, qword [0x1401182e0]
mov word [rcx + rax*2], di
jmp 0x14000b4ec
mov edx, dword [rsp + 0x30]
movzx eax, word [r9 + 0xa]
mov word [r11], ax
test sil, sil
je case.0x14000b52c.19
movzx eax, byte [r9 + 6]
add eax, 0xfffffff0
cmp eax, 0x95
ja case.0x14000b52c.19
lea rdi, [0x140000000]
cdqe
movzx eax, byte [rdi + rax + 0xbb24]
mov ecx, dword [rdi + rax*4 + 0xbb08]
add rcx, rdi
jmp rcx
movzx eax, word [r9 + 0xa]
mov word [r14 - 2], ax
movzx eax, word [r9 + 0xa]
mov word [r13 - 0x200], ax
cmp byte [r9 + 6], 0xa4
je case.0x14000b52c.19
movzx eax, word [r9 + 0xa]
mov word [r14], ax
movzx eax, word [r9 + 0xa]
mov word [r13], ax
jmp case.0x14000b52c.19
movzx eax, word [r9 + 0xa]
mov word [r14 - 0xa], ax
movzx eax, word [r9 + 0xa]
mov word [r13 - 0x21c], ax
cmp byte [r9 + 6], 0xa0
je case.0x14000b52c.19
movzx eax, word [r9 + 0xa]
mov word [r14 - 8], ax
movzx eax, word [r9 + 0xa]
mov word [r13 - 4], ax
jmp case.0x14000b52c.19
movzx eax, word [r9 + 0xa]
mov word [r14 - 6], ax
movzx eax, word [r9 + 0xa]
mov word [r13 - 0x236], ax
cmp byte [r9 + 6], 0xa2
je case.0x14000b52c.19
movzx eax, word [r9 + 0xa]
mov word [r14 - 4], ax
movzx eax, word [r9 + 0xa]
mov word [r13 - 0x36], ax
mov r11, qword [0x1401182d8]
mov r8d, dword [rsp + 0x34]
add r12d, 0x100
inc ebx
add r15d, 0x200
add r14, 0x200
add r13, 0x400
mov edi, 8
cmp r12d, 0xff00
jle 0x14000b2f3
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x38]
add r9, 0xc
dec qword [rsp + 0x48]
lea r10, [r11 + 0x270]
mov edx, 0x7ff9
mov ebx, 0xc0
jne 0x14000b080
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400caa38
mov rdx, qword [0x1401182e8]
mov r15, qword [rsp + 0x90]
cmp byte [rdx + 0x18e], 0
mov r14, qword [rsp + 0x98]
mov r9d, 0x7fff
je 0x14000b6d9
movzx r8d, word [rdx + 0x18a]
cmp r8w, r9w
je 0x14000b6d9
lea rax, [rdx + 0xf0a]
movzx ecx, word [rax]
cmp cx, r9w
je 0x14000b6a5
mov rdi, qword [0x140118300]
nop word [rax + rax]
movzx eax, cx
mov rax, qword [rdi + rax*8]
movzx ecx, word [rax + 0xc]
add rax, 0xc
cmp cx, r9w
jne 0x14000b690
mov word [rax], r8w
lea rax, [rdx + 0xf22]
movzx ecx, word [rax]
cmp cx, r9w
je 0x14000b6d5
mov rdi, qword [0x140118300]
movzx eax, cx
mov rax, qword [rdi + rax*8]
movzx ecx, word [rax + 0xc]
add rax, 0xc
cmp cx, r9w
jne 0x14000b6c0
mov word [rax], r8w
cmp byte [rdx + 0x1a6], 0
je 0x14000b759
movzx r8d, word [rdx + reloc.OLEAUT32.dll_OleCreatePictureIndirect]
cmp r8w, r9w
je 0x14000b759
lea rax, [rdx + 0xf3a]
movzx ecx, word [rax]
cmp cx, r9w
je 0x14000b725
mov rdi, qword [0x140118300]
nop word [rax + rax]
movzx eax, cx
mov rax, qword [rdi + rax*8]
movzx ecx, word [rax + 0xc]
add rax, 0xc
cmp cx, r9w
jne 0x14000b710
mov word [rax], r8w
lea rax, [rdx + 0xf52]
movzx ecx, word [rax]
cmp cx, r9w
je 0x14000b755
mov rdi, qword [0x140118300]
movzx eax, cx
mov rax, qword [rdi + rax*8]
movzx ecx, word [rax + 0xc]
add rax, 0xc
cmp cx, r9w
jne 0x14000b740
mov word [rax], r8w
cmp byte [rdx + 0x1be], 0
je 0x14000b7d9
movzx r8d, word [rdx + 0x1ba]
cmp r8w, r9w
je 0x14000b7d9
lea rax, [rdx + 0xf6a]
movzx ecx, word [rax]
cmp cx, r9w
je 0x14000b7a5
mov rdi, qword [0x140118300]
nop word [rax + rax]
movzx eax, cx
mov rax, qword [rdi + rax*8]
movzx ecx, word [rax + 0xc]
add rax, 0xc
cmp cx, r9w
jne 0x14000b790
mov word [rax], r8w
lea rax, [rdx + 0xf82]
movzx ecx, word [rax]
cmp cx, r9w
je 0x14000b7d5
mov rdx, qword [0x140118300]
movzx eax, cx
mov rax, qword [rdx + rax*8]
movzx ecx, word [rax + 0xc]
add rax, 0xc
cmp cx, r9w
jne 0x14000b7c0
mov word [rax], r8w
xor al, al
cmp qword [0x140117860], 0
mov edi, 1
movzx esi, al
cmovne esi, edi
cmp qword [0x140117868], 0
je 0x14000b7fc
or sil, 2
movzx r13d, byte [rsp + 0xd8]
cmp r13b, sil
je 0x14000baf0
xor r12d, r12d
test sil, sil
jne 0x14000b85c
lea rax, [0x1401163cc]
lea r8, [0x14000bd30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov edx, 0x2000
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1401182c8], rax
test rax, rax
je 0x14000b8ed
lea edx, [r12 + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ebx, r12d
movzx ebp, r13b
mov ecx, dword [0x1401163cc]
mov r9, rdi
mov r8, rbp
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14000b88e
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x14000b863
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
nop dword [rax + rax]
test r13b, r13b
je 0x14000b96e
mov r9d, 0x417
lea rcx, [rsp + 0x58]
xor edx, edx
mov r8d, r9d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000b990
cmp qword [rsp + 0x68], 0
je 0x14000ba3c
movzx ebx, dil
call fcn.14000c140
test al, al
jne 0x14000ba3c
xor r13b, r13b
jmp 0x14000b8a0
mov rcx, qword [0x1401182e8]
test rcx, rcx
je 0x14000b905
call fcn.1400caa38
mov qword [0x1401182e8], r12
mov rcx, qword [0x1401182f0]
test rcx, rcx
je 0x14000b91d
call fcn.1400caa38
mov qword [0x1401182f0], r12
mov rcx, qword [0x1401182d0]
test rcx, rcx
je 0x14000b935
call fcn.1400caa38
mov qword [0x1401182d0], r12
mov rcx, qword [0x1401182d8]
test rcx, rcx
je 0x14000b94d
call fcn.1400caa38
mov qword [0x1401182d8], r12
mov rcx, qword [0x1401182e0]
test rcx, rcx
je 0x14000baf0
call fcn.1400ca100
mov qword [0x1401182e0], r12
jmp 0x14000baf0
mov rcx, qword [0x1401182c8]
lea rdx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0xd8], 0x103
jne 0x14000b9b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0x1f4
ja 0x14000ba3c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000b8a0
mov rcx, qword [0x1401182c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401182e8]
mov qword [0x1401182c8], r12
test rcx, rcx
je 0x14000b9dc
call fcn.1400caa38
mov qword [0x1401182e8], r12
mov rcx, qword [0x1401182f0]
test rcx, rcx
je 0x14000b9f4
call fcn.1400caa38
mov qword [0x1401182f0], r12
mov rcx, qword [0x1401182d0]
test rcx, rcx
je 0x14000ba0c
call fcn.1400caa38
mov qword [0x1401182d0], r12
mov rcx, qword [0x1401182d8]
test rcx, rcx
je 0x14000ba24
call fcn.1400caa38
mov qword [0x1401182d8], r12
mov rcx, qword [0x1401182e0]
test rcx, rcx
je 0x14000ba3c
call fcn.1400ca100
mov qword [0x1401182e0], r12
cmp qword [0x140117860], 0
je 0x14000ba65
test dil, sil
jne 0x14000ba7e
lea r8, str.AHK_Keybd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1401182b8], rax
jmp 0x14000ba7e
test dil, sil
je 0x14000ba7e
mov rcx, qword [0x1401182b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401182b8], r12
cmp qword [0x140117868], 0
je 0x14000baa8
test sil, 2
jne 0x14000bac2
lea r8, str.AHK_Mouse
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1401182c0], rax
jmp 0x14000bac2
test sil, 2
je 0x14000bac2
mov rcx, qword [0x1401182c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401182c0], r12
test bl, bl
je 0x14000baf0
xorpd xmm3, xmm3
lea rcx, str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
xor r8d, r8d
mov edx, 0x10000
mov dword [0x140112454], r12d
mov qword [rsp + 0x20], r12
call fcn.1400b2c80
mov dword [0x140112454], edi
mov r13, qword [rsp + 0xd0]
add rsp, 0xa0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret