Function at 0x140013390
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1400bc010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, r8
mov rax, rdx
mov qword [rbp], rdx
mov r15, qword [rbp + 0x170]
test r8d, r8d
jne 0x1400133fa
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x1400133fa
mov qword [rdx], 0xffffffffffffffff
mov qword [rdx + 8], 0xffffffffffffffff
jmp 0x1400145bc
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r12d, r12d
mov r13d, dword [rbp + 0x164]
cmp rax, qword [0x1400bd038]
jne 0x140013926
lea r8d, [r13 + 0x36]
lea r10d, [rbx + 0x168]
mov edx, dword [0x1400bd058]
mov eax, dword [0x1400bd060]
cmp edx, eax
jl 0x140013926
cmp edx, dword [0x1400bd068]
jg 0x140013926
mov ecx, dword [0x1400bd05c]
mov r9d, dword [0x1400bd064]
cmp ecx, r9d
jl 0x140013926
cmp ecx, dword [0x1400bd06c]
jg 0x140013926
sub edx, eax
cmp edx, r10d
jl 0x140013926
lea eax, [r10 + 0x14]
cmp edx, eax
jg 0x140013926
sub ecx, r9d
cmp ecx, r8d
jl 0x140013926
lea eax, [r8 + 0x14]
cmp ecx, eax
jg 0x140013926
lea ecx, [r12 + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013926
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
cmp dword [0x1400bd078], r12d
jne 0x140013926
mov edx, dword [r15 + 4]
lea rcx, [rbp - 0x40]
call fcn.140040040
mov edx, dword [r15 + 0xc]
lea rcx, [rbp + 0x68]
call fcn.140040040
mov edx, dword [r15 + 8]
lea rcx, [rbp + 0x88]
call fcn.140040040
mov edx, dword [r15]
lea rcx, [rbp - 0x20]
call fcn.140040040
lea r8d, [r12 + 2]
lea rdx, [0x1400b21d0]
lea rcx, [rbp - 0x20]
call fcn.14003ff30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea r9, [rbp - 0x40]
lea r8, [rbp + 8]
lea rcx, [rsp + 0x40]
call fcn.1400ade10
lea r8d, [r12 + 2]
lea rdx, [0x1400b21d0]
lea rcx, [rsp + 0x40]
call fcn.14003ff30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea r9, [rbp + 0x88]
lea r8, [rbp + 0x28]
lea rcx, [rbp + 0xe0]
call fcn.1400ade10
lea r8d, [r12 + 2]
lea rdx, [0x1400b21d0]
lea rcx, [rbp + 0xe0]
call fcn.14003ff30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.1400ade10
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140013617
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013612
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140013658
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
movdqa xmm0, xmmword [0x1400b52e0]
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], r12b
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1400136aa
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400136a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400136e7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400136e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
movdqa xmm0, xmmword [0x1400b52e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r12b
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140013735
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013730
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140013770
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001376b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
movdqa xmm0, xmmword [0x1400b52e0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], r12b
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400137b8
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400137b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400137f5
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400137f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001382a
call fcn.1400aeb80
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140013836
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013831
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013831
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aeb80
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rax, qword [rbp + 0xa8]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
inc rdx
cmp byte [rax + rdx], r12b
jne 0x140013865
inc rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
lea r14, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae r14, qword [rbp + 0xa8]
lea r9, [rbp + 0xa8]
cmovae r9, qword [rbp + 0xa8]
lea rdi, [rdi + 1]
cmp byte [r9 + rdi], r12b
jne 0x1400138a2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
mov r8, r14
lea rdx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140013926
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013921
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013921
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aeb80
movzx esi, r12w
lea eax, [r13 + 0x3c]
mov dword [rsp + 0x34], eax
lea r14d, [rax - 6]
mov dword [rsp + 0x30], r14d
nop dword [rax + rax]
mov eax, dword [r15]
mov dword [rbp - 0x40], eax
mov eax, dword [r15 + 4]
mov dword [rbp - 0x3c], eax
mov eax, dword [r15 + 8]
mov dword [rbp - 0x38], eax
mov eax, dword [r15 + 0xc]
mov dword [rbp - 0x34], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r12
mov edx, 4
lea rcx, [rbp + 0xe0]
call fcn.1400ae260
mov r8d, 0x10
lea rdx, [rbp - 0x40]
mov rdi, qword [rbp + 0xe0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
movsx eax, si
imul r12d, eax, 0x2e
lea r13d, [rbx + 0xac]
add r13d, r12d
mov rdx, qword [0x1400bd058]
mov rax, qword [0x1400bd060]
cmp edx, eax
jl 0x140013a04
cmp edx, dword [0x1400bd068]
jg 0x140013a04
mov rcx, qword [0x1400bd05c]
mov r8, qword [0x1400bd064]
cmp ecx, r8d
jl 0x140013a04
cmp ecx, dword [0x1400bd06c]
jg 0x140013a04
sub edx, eax
cmp edx, r13d
jl 0x140013a04
lea eax, [r13 + 0x29]
cmp edx, eax
jg 0x140013a04
sub ecx, r8d
cmp ecx, r14d
jl 0x140013a04
lea eax, [r14 + 0x14]
cmp ecx, eax
jg 0x140013a04
mov r14d, 1
jmp 0x140013a07
xor r14d, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400bd038]
jne 0x140013b1c
test r14d, r14d
je 0x140013b1c
cmp dword [0x1400bd078], 0
jne 0x140013b1c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013a65
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
movsx rax, si
inc dword [rdi + rax*4]
jmp 0x140013a98
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013a98
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.USER32.dll_mouse_event]
movsx rax, si
dec dword [rdi + rax*4]
mov ecx, 0x25
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013aae
mov cl, 0x25
jmp 0x140013ac2
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013adb
mov cl, 0x26
xor r9d, r9d
lea r8d, [r9 + 2]
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
movsx rax, si
add dword [rdi + rax*4], 5
jmp 0x140013b1c
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013af1
mov cl, 0x27
jmp 0x140013b05
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013b1c
mov cl, 0x28
xor r9d, r9d
lea r8d, [r9 + 2]
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
movsx rax, si
add dword [rdi + rax*4], 0xfffffffb
movsx rax, si
mov ecx, dword [rdi + rax*4]
cmp ecx, 0xff
jl 0x140013b34
mov dword [rdi + rax*4], 0xff
jmp 0x140013b3f
test ecx, ecx
jg 0x140013b3f
mov dword [rdi + rax*4], 0
mov ecx, dword [rdi + 4]
mov edx, dword [rdi + 8]
mov r8d, dword [rdi + 0xc]
mov eax, dword [rdi]
mov dword [r15], eax
mov dword [r15 + 4], ecx
mov dword [r15 + 8], edx
mov dword [r15 + 0xc], r8d
xor eax, eax
mov qword [rbp + 8], rax
mov word [rbp + 0xb6], ax
mov word [rbp + 0xc6], ax
mov dword [rbp + 0xd0], eax
mov dword [rbp + 0xd4], 1
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0xa8], r13d
mov ecx, dword [rsp + 0x30]
mov dword [rbp + 0xac], ecx
lea eax, [r13 + 0x29]
mov dword [rbp + 0xb8], eax
lea eax, [rcx + 0x14]
mov dword [rbp + 0xbc], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0xb0], cx
mov word [rbp + 0xb2], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0xb4], ax
mov word [rbp + 0xc0], cx
mov word [rbp + 0xc2], dx
mov word [rbp + 0xc4], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0xd0]
mov r8d, 2
lea rdx, [rbp + 0xa8]
mov rcx, qword [0x1400bd050]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov r13d, dword [rsp + 0x34]
lea r11d, [r13 - 5]
lea r10d, [rbx + 0xad]
add r10d, r12d
xor r12d, r12d
mov word [rbp + 0xb6], r12w
mov word [rbp + 0xc6], r12w
test r14d, r14d
je 0x140013d3a
mov dword [rbp + 0x48], 0x1e
mov dword [rbp + 0x4c], 0x1e
mov eax, dword [0x1400bd024]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp + 0x28], r8d
mov eax, dword [0x1400bd028]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 0x2c], eax
mov dword [rbp + 0xd8], r12d
mov dword [rbp + 0xdc], 1
mov rax, qword [rbp + 0x28]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, dword [0x1400bd02c]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, al
shl ecx, 0x10
or r9d, ecx
movzx eax, r8b
or r9d, eax
mov rax, qword [rbp + 0x48]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0xb8], eax
lea eax, [r11 + 0x12]
mov dword [rbp + 0xbc], eax
movzx eax, r9b
shl ax, 8
mov word [rbp + 0xb0], ax
movzx eax, r9w
mov r14d, 0xff00
and ax, r14w
mov word [rbp + 0xb2], ax
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0xb4], r9w
movzx eax, cl
shl ax, 8
mov word [rbp + 0xc0], ax
movzx eax, cx
and ax, r14w
lea r9, [rbp + 0xd8]
jmp 0x140013e35
mov dword [rsp + 0x40], 0x1e
mov dword [rsp + 0x44], 0x1e
mov eax, 0x66666667
imul dword [0x1400bd024]
mov ecx, edx
sar ecx, 1
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov dword [rbp - 0x20], ecx
mov eax, 0x66666667
imul dword [0x1400bd028]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x1c], edx
mov dword [rbp + 0xc8], r12d
mov dword [rbp + 0xcc], 1
mov rax, qword [rbp - 0x20]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov eax, 0x66666667
imul dword [0x1400bd02c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, cl
or r8d, eax
mov rax, qword [rsp + 0x40]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0xb8], eax
lea eax, [r11 + 0x12]
mov dword [rbp + 0xbc], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0xb0], ax
movzx eax, r8w
mov edx, 0xff00
and ax, dx
mov word [rbp + 0xb2], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp + 0xb4], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0xc0], ax
movzx eax, cx
and ax, dx
lea r9, [rbp + 0xc8]
mov dword [rbp + 0xac], r11d
mov dword [rbp + 0xa8], r10d
shr ecx, 0x10
shl cx, 8
mov dword [rsp + 0x28], 1
mov word [rbp + 0xc4], cx
mov dword [rsp + 0x20], 1
mov word [rbp + 0xc2], ax
mov r8d, 2
lea rdx, [rbp + 0xa8]
mov rcx, qword [0x1400bd050]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test rdi, rdi
je 0x140013ebe
mov rdx, qword [rbp + 0xf0]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x140013eb6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013ed1
mov rcx, rdi
call fcn.1400aeb80
inc si
cmp si, 3
jg 0x140013ed8
mov r14d, dword [rsp + 0x30]
jmp 0x140013940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movdqa xmm0, xmmword [0x1400b53f0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [r15]
lea rcx, [rsp + 0x60]
call fcn.140040040
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
sub rax, r8
mov edi, 3
lea r12, [0x1400b21d4]
cmp rax, rdi
jb 0x140013f93
lea rax, [r8 + 3]
mov qword [rsp + 0x70], rax
lea rsi, [rsp + 0x60]
cmp rcx, 0x10
cmovae rsi, qword [rsp + 0x60]
lea rax, [0x1400b21d7]
cmp rax, rsi
jbe 0x140013f55
lea rax, [rsi + r8]
cmp r12, rax
ja 0x140013f55
cmp rsi, r12
ja 0x140013f4d
xor eax, eax
mov r14d, eax
jmp 0x140013f58
mov r14, rsi
sub r14, r12
jmp 0x140013f58
mov r14, rdi
inc r8
lea rcx, [rsi + 3]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
sub r8, r14
lea rdx, [r12 + 3]
add rdx, r14
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
jmp 0x140013faa
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400ae8f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
add r13d, 0xfffffffe
lea edx, [rbx + 0xb1]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa8]
mov r8d, r13d
call fcn.14000dbe0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140014049
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014044
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014044
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aeb80
movdqa xmm0, xmmword [0x1400b53f0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [r15 + 4]
lea rcx, [rbp - 0x80]
call fcn.140040040
mov r8, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, r8
lea r12, [0x1400b21d8]
cmp rax, 3
jb 0x1400140f6
lea rax, [r8 + 3]
mov qword [rbp - 0x70], rax
lea rsi, [rbp - 0x80]
cmp rcx, 0x10
cmovae rsi, qword [rbp - 0x80]
lea rax, [0x1400b21db]
cmp rax, rsi
jbe 0x1400140b6
lea rax, [rsi + r8]
cmp r12, rax
ja 0x1400140b6
cmp rsi, r12
jbe 0x1400140b9
mov r14, rsi
sub r14, r12
jmp 0x1400140b9
mov r14, rdi
inc r8
lea rcx, [rsi + 3]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
sub r8, r14
lea rdx, [r12 + 3]
add rdx, r14
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x80]
xor r14d, r14d
jmp 0x14001410c
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400ae8f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea edx, [rbx + 0xdf]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa8]
mov r8d, r13d
call fcn.14000dbe0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400141a2
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001419d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001419d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aeb80
movdqa xmm0, xmmword [0x1400b53f0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [r15 + 8]
lea rcx, [rbp + 0x68]
call fcn.140040040
lea r8, [rbp + 0x68]
lea rdx, [0x1400b21dc]
lea rcx, [rbp + 0x88]
call fcn.140040540
mov r9, rax
lea edx, [rbx + 0x10d]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, r13d
call fcn.14000dbe0
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140014230
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001422b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001422b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aeb80
movdqa xmm0, xmmword [0x1400b53f0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [r15 + 0xc]
lea rcx, [rbp - 0x60]
call fcn.140040040
mov r8, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
sub rax, r8
lea r12, [0x1400b21e0]
cmp rax, 3
jb 0x1400142dd
lea rax, [r8 + 3]
mov qword [rbp - 0x50], rax
lea rsi, [rbp - 0x60]
cmp rcx, 0x10
cmovae rsi, qword [rbp - 0x60]
lea rax, [0x1400b21e3]
cmp rax, rsi
jbe 0x14001429d
lea rax, [rsi + r8]
cmp r12, rax
ja 0x14001429d
cmp rsi, r12
jbe 0x1400142a0
mov r14, rsi
sub r14, r12
jmp 0x1400142a0
mov r14, rdi
inc r8
lea rcx, [rsi + 3]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub rdi, r14
lea rdx, [r12 + 3]
add rdx, r14
lea rcx, [rsi + r14]
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x60]
xor r14d, r14d
jmp 0x1400142f3
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400ae8f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea edx, [rbx + 0x13b]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa8]
mov r8d, r13d
call fcn.14000dbe0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140014389
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014384
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aeb80
mov qword [rsp + 0x40], 0
lea ecx, [rbx + 0x168]
mov word [rbp + 0xb6], r14w
mov word [rbp + 0xc6], r14w
mov dword [rbp + 0xc8], r14d
mov dword [rbp + 0xcc], 1
mov rax, qword [rsp + 0x40]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0xa8], ecx
mov r8d, dword [rsp + 0x30]
mov dword [rbp + 0xac], r8d
lea eax, [rcx + 0x14]
mov dword [rbp + 0xb8], eax
lea eax, [r8 + 0x14]
mov dword [rbp + 0xbc], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0xb0], cx
mov word [rbp + 0xb2], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0xb4], ax
mov word [rbp + 0xc0], cx
mov word [rbp + 0xc2], dx
mov word [rbp + 0xc4], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0xc8]
mov r8d, 2
lea rdx, [rbp + 0xa8]
mov rcx, qword [0x1400bd050]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov eax, dword [r15]
cdq
and edx, 3
lea r11d, [rdx + rax]
sar r11d, 2
mov dword [rsp + 0x40], r11d
mov eax, dword [r15 + 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x44], eax
lea r8d, [rbx + 0x169]
mov word [rbp + 0xb6], r14w
mov word [rbp + 0xc6], r14w
mov dword [rbp + 0xc8], r14d
mov dword [rbp + 0xcc], 1
mov rdx, qword [r15]
mov rax, rdx
shr rax, 0x20
movzx r10d, al
shl r10d, 8
mov eax, dword [r15 + 8]
movzx ecx, al
shl ecx, 0x10
or r10d, ecx
movzx eax, dl
or r10d, eax
mov rax, qword [rsp + 0x40]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, dword [r15 + 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, al
shl ecx, 0x10
or r9d, ecx
movzx eax, r11b
or r9d, eax
mov dword [rbp + 0xa8], r8d
mov ecx, dword [rsp + 0x34]
add ecx, 0xfffffffb
mov dword [rbp + 0xac], ecx
lea eax, [r8 + 0x12]
mov dword [rbp + 0xb8], eax
lea eax, [rcx + 0x12]
mov dword [rbp + 0xbc], eax
movzx eax, r10b
shl ax, 8
mov word [rbp + 0xb0], ax
movzx eax, r10w
mov ecx, 0xff00
and ax, cx
mov word [rbp + 0xb2], ax
shr r10d, 0x10
shl r10w, 8
mov word [rbp + 0xb4], r10w
movzx eax, r9b
shl ax, 8
mov word [rbp + 0xc0], ax
movzx eax, r9w
and ax, cx
mov word [rbp + 0xc2], ax
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0xc4], r9w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0xc8]
mov r8d, 2
lea rdx, [rbp + 0xa8]
mov rcx, qword [0x1400bd050]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movups xmm0, xmmword [r15]
mov rax, qword [rbp]
movups xmmword [rax], xmm0
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400aeb60
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret