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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov rbx, r8
mov rax, rdx
mov qword [rbp - 0x48], rdx
mov r15, qword [rbp + 0x110]
test r8d, r8d
jne 0x14001341e
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x14001341e
mov qword [rdx], 0xffffffffffffffff
mov qword [rdx + 8], 0xffffffffffffffff
jmp 0x140014256
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r12d, r12d
mov r14d, dword [rbp + 0x104]
cmp rax, qword [0x1400b8058]
jne 0x140013935
lea r8d, [r14 + 0x36]
lea r10d, [rbx + 0x168]
mov edx, dword [0x1400b8078]
mov eax, dword [0x1400b8080]
cmp edx, eax
jl 0x140013935
cmp edx, dword [0x1400b8088]
jg 0x140013935
mov ecx, dword [0x1400b807c]
mov r9d, dword [0x1400b8084]
cmp ecx, r9d
jl 0x140013935
cmp ecx, dword [0x1400b808c]
jg 0x140013935
sub edx, eax
cmp edx, r10d
jl 0x140013935
lea eax, [r10 + 0x14]
cmp edx, eax
jg 0x140013935
sub ecx, r9d
cmp ecx, r8d
jl 0x140013935
lea eax, [r8 + 0x14]
cmp ecx, eax
jg 0x140013935
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013935
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
cmp dword [0x1400b8098], r12d
jne 0x140013935
mov edx, dword [r15 + 4]
lea rcx, [rsp + 0x78]
call fcn.1400409b0
mov edx, dword [r15 + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1400409b0
mov edx, dword [r15 + 8]
lea rcx, [rbp + 0x20]
call fcn.1400409b0
mov edx, dword [r15]
lea rcx, [rbp - 0x68]
call fcn.1400409b0
mov r8d, 2
lea rdx, [0x1400ae150]
lea rcx, [rbp - 0x68]
call fcn.1400408e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400aa1c0
mov r8d, 2
lea rdx, [0x1400ae150]
lea rcx, [rsp + 0x30]
call fcn.1400408e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x20]
lea rcx, [rbp + 0x78]
call fcn.1400aa1c0
mov r8d, 2
lea rdx, [0x1400ae150]
lea rcx, [rbp + 0x78]
call fcn.1400408e0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea r9, [rsp + 0x50]
lea r8, [rbp]
lea rcx, [rbp + 0x40]
call fcn.1400aa1c0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140013635
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013630
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x140013673
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001366e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
movdqa xmm0, xmmword [0x1400b0b80]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], r12b
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400136ca
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400136bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
movdqa xmm0, xmmword [0x1400b0b80]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001370f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013702
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
movdqa xmm0, xmmword [0x1400b0b80]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r12b
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001375d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013750
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
movdqa xmm0, xmmword [0x1400b0b80]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400137a0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
movdqa xmm0, xmmword [0x1400b0b80]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], r12b
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400137e1
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400137dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140013818
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013813
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001384c
call fcn.1400aaf30
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140013858
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013853
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aaf30
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rax, qword [rbp + 0x40]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
nop
inc rdx
cmp byte [rax + rdx], r12b
jne 0x140013880
inc rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
lea r14, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r14, qword [rbp + 0x40]
lea r9, [rbp + 0x40]
cmova r9, qword [rbp + 0x40]
nop
lea rdi, [rdi + 1]
cmp byte [r9 + rdi], r12b
jne 0x1400138b0
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 + 0x58]
cmp rdx, 0xf
jbe 0x14001392e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013929
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013929
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aaf30
mov r14d, dword [rbp + 0x104]
movzx esi, r12w
nop dword [rax]
mov eax, dword [r15]
mov dword [rsp + 0x78], eax
mov eax, dword [r15 + 4]
mov dword [rsp + 0x7c], eax
mov eax, dword [r15 + 8]
mov dword [rbp - 0x80], eax
mov eax, dword [r15 + 0xc]
mov dword [rbp - 0x7c], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r12
mov edx, 4
lea rcx, [rbp + 0x78]
call fcn.1400aa610
mov r8d, 0x10
lea rdx, [rsp + 0x78]
mov rdi, qword [rbp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea r12d, [r14 + 0x36]
movsx eax, si
imul eax, eax, 0x2e
add eax, ebx
mov dword [rsp + 0x70], eax
lea r13d, [rax + 0xac]
mov rdx, qword [0x1400b8078]
mov rax, qword [0x1400b8080]
cmp edx, eax
jl 0x140013a05
cmp edx, dword [0x1400b8088]
jg 0x140013a05
mov rcx, qword [0x1400b807c]
mov r8, qword [0x1400b8084]
cmp ecx, r8d
jl 0x140013a05
cmp ecx, dword [0x1400b808c]
jg 0x140013a05
sub edx, eax
cmp edx, r13d
jl 0x140013a05
lea eax, [r13 + 0x29]
cmp edx, eax
jg 0x140013a05
sub ecx, r8d
cmp ecx, r12d
jl 0x140013a05
lea eax, [r12 + 0x14]
cmp ecx, eax
jg 0x140013a05
mov r14d, 1
jmp 0x140013a08
xor r14d, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400b8058]
jne 0x140013b25
test r14d, r14d
je 0x140013b25
cmp dword [0x1400b8098], 0
jne 0x140013b25
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013a68
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
movsx rax, si
inc dword [rdi + rax*4]
jmp 0x140013a9d
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013a9d
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 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 0x140013ab3
mov cl, 0x25
jmp 0x140013ac7
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013ae2
mov cl, 0x26
xor r9d, r9d
mov r8d, 2
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
movsx rax, si
add dword [rdi + rax*4], 5
jmp 0x140013b25
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013af8
mov cl, 0x27
jmp 0x140013b0c
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140013b25
mov cl, 0x28
xor r9d, r9d
mov r8d, 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 0x140013b3d
mov dword [rdi + rax*4], 0xff
jmp 0x140013b48
test ecx, ecx
jg 0x140013b48
mov dword [rdi + rax*4], 0
mov r8d, dword [rdi + 4]
mov edx, dword [rdi + 8]
mov ecx, dword [rdi + 0xc]
mov eax, dword [rdi]
mov dword [r15], eax
mov dword [r15 + 4], r8d
mov dword [r15 + 8], edx
mov dword [r15 + 0xc], ecx
xor eax, eax
mov qword [rbp - 0x40], rax
mov word [rbp + 0x4e], ax
mov word [rbp + 0x5e], ax
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], 1
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x40], r13d
mov dword [rbp + 0x44], r12d
lea eax, [r13 + 0x29]
mov dword [rbp + 0x50], eax
lea eax, [r12 + 0x14]
mov dword [rbp + 0x54], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0x48], cx
mov word [rbp + 0x4a], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0x4c], ax
mov word [rbp + 0x58], cx
mov word [rbp + 0x5a], dx
mov word [rbp + 0x5c], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x68]
mov r8d, 2
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1400b8070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov r13d, dword [rbp + 0x104]
add r13d, 0x37
mov r10d, dword [rsp + 0x70]
add r10d, 0xad
test r14d, r14d
je 0x140013ce8
mov dword [rbp], 0x1e
mov dword [rbp + 4], 0x1e
mov eax, dword [0x1400b8044]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp - 0x20], r8d
mov eax, dword [0x1400b8048]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x1c], eax
xor r14d, r14d
mov word [rbp + 0x4e], r14w
mov word [rbp + 0x5e], r14w
mov dword [rbp + 0x70], r14d
mov dword [rbp + 0x74], 1
mov eax, dword [0x1400b804c]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx r9d, al
mov rax, qword [rbp - 0x20]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r9d
shl eax, 0x10
or ecx, eax
movzx eax, r8b
or ecx, eax
mov rax, qword [rbp]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0x50], eax
lea eax, [r13 + 0x12]
mov dword [rbp + 0x54], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x48], ax
mov r8d, 0xff00
and cx, r8w
shl r9w, 8
mov word [rbp + 0x4c], r9w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x58], ax
movzx eax, dx
and ax, r8w
lea r9, [rbp + 0x70]
jmp 0x140013dd1
mov dword [rsp + 0x30], 0x1e
mov dword [rsp + 0x34], 0x1e
mov eax, 0x66666667
imul dword [0x1400b8044]
mov r9d, edx
sar r9d, 1
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x68], r9d
mov eax, 0x66666667
imul dword [0x1400b8048]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x64], edx
xor r14d, r14d
mov word [rbp + 0x4e], r14w
mov word [rbp + 0x5e], r14w
mov dword [rbp + 0x60], r14d
mov dword [rbp + 0x64], 1
mov eax, 0x66666667
imul dword [0x1400b804c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x68]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r8d
shl eax, 0x10
or ecx, eax
movzx eax, r9b
or ecx, eax
mov rax, qword [rsp + 0x30]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0x50], eax
lea eax, [r13 + 0x12]
mov dword [rbp + 0x54], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x48], ax
mov r9d, 0xff00
and cx, r9w
shl r8w, 8
mov word [rbp + 0x4c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x58], ax
movzx eax, dx
and ax, r9w
lea r9, [rbp + 0x60]
shr edx, 0x10
shl dx, 8
mov dword [rsp + 0x28], 1
mov word [rbp + 0x5c], dx
mov word [rbp + 0x4a], cx
mov dword [rsp + 0x20], 1
mov dword [rbp + 0x40], r10d
mov dword [rbp + 0x44], r13d
mov word [rbp + 0x5a], ax
mov r8d, 2
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1400b8070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test rdi, rdi
je 0x140013e4f
mov rdx, qword [rbp + 0x88]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x140013e47
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013e67
mov rcx, rdi
call fcn.1400aaf30
inc si
cmp si, 3
jg 0x140013e6e
mov r14d, dword [rbp + 0x104]
xor r12d, r12d
jmp 0x140013940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movdqa xmm6, xmmword [0x1400b0c70]
movdqa xmmword [rsp + 0x30], xmm6
mov edx, dword [r15]
lea rcx, [rsp + 0x50]
call fcn.1400409b0
mov edi, dword [rbp + 0x104]
add edi, 0x3a
lea r8, [rsp + 0x50]
lea rdx, [0x1400ae154]
lea rcx, [rbp + 0x20]
call fcn.140040ec0
mov r9, rax
lea edx, [rbx + 0xb1]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, edi
call fcn.14000dde0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140013f0a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013efd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013efd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aaf30
movdqa xmm6, xmmword [0x1400b0c70]
movdqa xmmword [rsp + 0x30], xmm6
mov edx, dword [r15 + 4]
lea rcx, [rsp + 0x50]
call fcn.1400409b0
lea r8, [rsp + 0x50]
lea rdx, [0x1400ae158]
lea rcx, [rbp + 0x20]
call fcn.140040ec0
mov r9, rax
lea edx, [rbx + 0xdf]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, edi
call fcn.14000dde0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140013f8e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013f89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aaf30
movdqa xmm0, xmmword [0x1400b0c70]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [r15 + 8]
lea rcx, [rsp + 0x50]
call fcn.1400409b0
lea r8, [rsp + 0x50]
lea rdx, [0x1400ae15c]
lea rcx, [rbp + 0x20]
call fcn.140040ec0
mov r9, rax
lea edx, [rbx + 0x10d]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, edi
call fcn.14000dde0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14001401a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014015
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014015
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aaf30
movdqa xmm0, xmmword [0x1400b0c70]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [r15 + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1400409b0
lea r8, [rsp + 0x50]
lea rdx, [0x1400ae160]
lea rcx, [rbp + 0x20]
call fcn.140040ec0
mov r9, rax
lea edx, [rbx + 0x13b]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r8d, edi
call fcn.14000dde0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400140a6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400140a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400140a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aaf30
mov qword [rsp + 0x30], 0
lea ecx, [rbx + 0x168]
mov dword [rbp + 0x4c], 0
mov dword [rbp + 0x5c], 0
mov dword [rbp + 0x60], r14d
mov dword [rbp + 0x64], 1
mov rax, qword [rsp + 0x30]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x40], ecx
mov dword [rbp + 0x44], r12d
lea eax, [rcx + 0x14]
mov dword [rbp + 0x50], eax
lea eax, [r12 + 0x14]
mov dword [rbp + 0x54], eax
movzx eax, dl
shl ax, 8
mov word [rbp + 0x48], ax
mov word [rbp + 0x4a], dx
mov word [rbp + 0x58], ax
mov word [rbp + 0x5a], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x60]
mov r8d, 2
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1400b8070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov eax, dword [r15]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rsp + 0x30], r8d
mov eax, dword [r15 + 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x34], eax
add ebx, 0x169
mov word [rbp + 0x4e], r14w
mov word [rbp + 0x5e], r14w
mov dword [rbp + 0x60], r14d
mov dword [rbp + 0x64], 1
mov rdx, qword [r15]
mov rax, rdx
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, dword [r15 + 8]
movzx ecx, al
shl ecx, 0x10
or r9d, ecx
movzx eax, dl
or r9d, eax
mov eax, dword [r15 + 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx edx, al
mov rax, qword [rsp + 0x30]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, edx
shl eax, 0x10
or ecx, eax
movzx eax, r8b
or ecx, eax
mov dword [rbp + 0x40], ebx
mov dword [rbp + 0x44], r13d
lea eax, [rbx + 0x12]
mov dword [rbp + 0x50], eax
lea eax, [r13 + 0x12]
mov dword [rbp + 0x54], eax
movzx eax, r9b
shl ax, 8
mov word [rbp + 0x48], ax
movzx eax, r9w
mov r8d, 0xff00
and ax, r8w
mov word [rbp + 0x4a], ax
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0x4c], r9w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x58], ax
and cx, r8w
mov word [rbp + 0x5a], cx
shl dx, 8
mov word [rbp + 0x5c], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x60]
mov r8d, 2
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1400b8070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movups xmm0, xmmword [r15]
mov rax, qword [rbp - 0x48]
movups xmmword [rax], xmm0
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.1400aaf10
mov rbx, qword [rsp + 0x1f0]
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret