Function at 0x140012620
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400de040]
xor rax, rsp
mov qword [rbp + 0xb8], rax
movsx r12d, r9w
mov rbx, r8
mov rax, rdx
mov qword [rbp - 0x28], rdx
mov r15, qword [rbp + 0x120]
test r8d, r8d
jne 0x140012693
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x140012693
mov rdi, 0xffffffffffffffff
mov qword [rdx], rdi
mov dword [rdx + 8], edi
mov dword [rdx + 0xc], 0xff
jmp 0x140013593
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
mov r13d, dword [rbp + 0x114]
cmp rax, qword [0x1400df058]
jne 0x140012a84
imul r9d, r12d, 0x1e
add r9d, 0xfffffffa
add r9d, r13d
lea eax, [rbx + 0x168]
mov edx, dword [0x1400df078]
mov r10d, dword [0x1400df080]
cmp edx, r10d
jl 0x140012a84
cmp edx, dword [0x1400df088]
jg 0x140012a84
mov ecx, dword [0x1400df07c]
mov r8d, dword [0x1400df084]
cmp ecx, r8d
jl 0x140012a84
cmp ecx, dword [0x1400df08c]
jg 0x140012a84
sub edx, r10d
cmp edx, eax
jl 0x140012a84
add eax, 0x14
cmp edx, eax
jg 0x140012a84
sub ecx, r8d
cmp ecx, r9d
jl 0x140012a84
lea eax, [r9 + 0x14]
cmp ecx, eax
jg 0x140012a84
lea ecx, [rdi + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140012a84
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 4]
call qword [sym.imp.USER32.dll_mouse_event]
cmp dword [0x1400df098], edi
jne 0x140012a84
mov edx, dword [r15]
lea rcx, [rsp + 0x40]
call fcn.140040c30
mov edx, dword [r15 + 8]
lea rcx, [rbp + 0x20]
call fcn.140040c30
mov edx, dword [r15 + 4]
lea rcx, [rbp + 0x40]
call fcn.140040c30
lea r8d, [rdi + 2]
lea rdx, [0x1400d50b8]
lea rcx, [rsp + 0x40]
call fcn.140040b60
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
lea rcx, [rbp + 0x98]
call fcn.1400d1540
lea r8d, [rdi + 2]
lea rdx, [0x1400d50b8]
lea rcx, [rbp + 0x98]
call fcn.140040b60
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea r9, [rbp + 0x20]
lea r8, [rbp]
lea rcx, [rbp + 0x60]
call fcn.1400d1540
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140012857
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012852
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400129a3
call fcn.1400d22b0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x140012898
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400129a3
call fcn.1400d22b0
movdqa xmm0, xmmword [0x1400d7b10]
movdqu xmmword [rbp + 0xa8], xmm0
mov byte [rbp + 0x98], dil
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400128ea
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400128e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400129a3
call fcn.1400d22b0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140012927
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012922
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400129a3
call fcn.1400d22b0
movdqa xmm0, xmmword [0x1400d7b10]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], dil
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140012971
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001296c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400129a3
call fcn.1400d22b0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400129af
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400129aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400129aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d22b0
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rax, qword [rbp + 0x60]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400129d5
inc rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
lea r14, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r14, qword [rbp + 0x60]
lea r9, [rbp + 0x60]
cmova r9, qword [rbp + 0x60]
lea rdi, [rdi + 1]
cmp byte [r9 + rdi], 0
jne 0x140012a03
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 + 0x78]
cmp rdx, 0xf
jbe 0x140012a82
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d22b0
xor edi, edi
movzx esi, di
imul eax, r12d, 0x1e
add eax, r13d
mov dword [rsp + 0x38], eax
lea r14d, [rax - 6]
mov dword [rsp + 0x30], r14d
lea eax, [r14 + 0x14]
mov dword [rsp + 0x34], eax
mov r12d, 3
nop dword [rax]
mov eax, dword [r15]
mov dword [rsp + 0x68], eax
mov eax, dword [r15 + 4]
mov dword [rsp + 0x6c], eax
mov eax, dword [r15 + 8]
mov dword [rsp + 0x70], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], rdi
mov rdx, r12
lea rcx, [rbp + 0x98]
call fcn.1400d1990
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, [rsp + 0x68]
mov rdi, qword [rbp + 0x98]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
movsx eax, si
imul eax, eax, 0x2e
add eax, ebx
mov dword [rsp + 0x60], eax
lea r13d, [rax + 0xda]
mov rdx, qword [0x1400df078]
mov rax, qword [0x1400df080]
cmp edx, eax
jl 0x140012b71
cmp edx, dword [0x1400df088]
jg 0x140012b71
mov rcx, qword [0x1400df07c]
mov r8, qword [0x1400df084]
cmp ecx, r8d
jl 0x140012b71
cmp ecx, dword [0x1400df08c]
jg 0x140012b71
sub edx, eax
cmp edx, r13d
jl 0x140012b71
lea eax, [r13 + 0x29]
cmp edx, eax
jg 0x140012b71
sub ecx, r8d
cmp ecx, r14d
jl 0x140012b71
lea eax, [r14 + 0x14]
cmp ecx, eax
jg 0x140012b71
mov r14d, 1
jmp 0x140012b74
xor r14d, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400df058]
jne 0x140012c89
test r14d, r14d
je 0x140012c89
cmp dword [0x1400df098], 0
jne 0x140012c89
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140012bd2
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 0x140012c05
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140012c05
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 0x140012c1b
mov cl, 0x25
jmp 0x140012c2f
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140012c48
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 0x140012c89
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140012c5e
mov cl, 0x27
jmp 0x140012c72
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140012c89
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 0x140012ca1
mov dword [rdi + rax*4], 0xff
jmp 0x140012cac
test ecx, ecx
jg 0x140012cac
mov dword [rdi + rax*4], 0
mov edx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov eax, dword [rdi]
mov dword [r15], eax
mov dword [r15 + 4], edx
mov dword [r15 + 8], ecx
mov dword [r15 + 0xc], 0xff
xor eax, eax
mov qword [rbp + 0x20], rax
mov word [rbp + 0x6e], ax
mov word [rbp + 0x7e], ax
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x8c], 1
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x60], r13d
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x64], eax
lea eax, [r13 + 0x29]
mov dword [rbp + 0x70], eax
mov eax, dword [rsp + 0x34]
mov dword [rbp + 0x74], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0x68], cx
mov word [rbp + 0x6a], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0x6c], ax
mov word [rbp + 0x78], cx
mov word [rbp + 0x7a], dx
mov word [rbp + 0x7c], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x88]
mov r8d, 2
lea rdx, [rbp + 0x60]
mov rcx, qword [0x1400df070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov r13d, dword [rsp + 0x38]
lea r11d, [r13 - 5]
mov r10d, dword [rsp + 0x60]
add r10d, 0xdb
test r14d, r14d
je 0x140012e5e
mov dword [rbp - 0x20], 0x1e
mov dword [rbp - 0x1c], 0x1e
mov eax, dword [0x1400df044]
cdq
and edx, r12d
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp + 0x40], r8d
mov eax, dword [0x1400df048]
cdq
and edx, r12d
add eax, edx
sar eax, 2
mov dword [rbp + 0x44], eax
xor r14d, r14d
mov word [rbp + 0x6e], r14w
mov word [rbp + 0x7e], r14w
mov dword [rbp + 0x90], r14d
mov dword [rbp + 0x94], 1
mov eax, dword [0x1400df04c]
cdq
and edx, r12d
add eax, edx
sar eax, 2
movzx r9d, al
mov rax, qword [rbp + 0x40]
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 - 0x20]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0x70], eax
lea eax, [r11 + 0x12]
mov dword [rbp + 0x74], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x68], ax
mov r14d, 0xff00
and cx, r14w
shl r9w, 8
mov word [rbp + 0x6c], r9w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x78], ax
movzx eax, dx
and ax, r14w
lea r9, [rbp + 0x90]
jmp 0x140012f4c
mov dword [rsp + 0x40], 0x1e
mov dword [rsp + 0x44], 0x1e
mov eax, 0x66666667
imul dword [0x1400df044]
mov r9d, edx
sar r9d, 1
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp], r9d
mov eax, 0x66666667
imul dword [0x1400df048]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 4], edx
xor eax, eax
mov word [rbp + 0x6e], ax
mov word [rbp + 0x7e], ax
mov dword [rbp + 0x80], eax
mov dword [rbp + 0x84], 1
mov eax, 0x66666667
imul dword [0x1400df04c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp]
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 + 0x40]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0x70], eax
lea eax, [r11 + 0x12]
mov dword [rbp + 0x74], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x68], ax
mov r9d, 0xff00
and cx, r9w
shl r8w, 8
mov word [rbp + 0x6c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x78], ax
movzx eax, dx
and ax, r9w
lea r9, [rbp + 0x80]
shr edx, 0x10
shl dx, 8
mov dword [rsp + 0x28], 1
mov word [rbp + 0x7c], dx
mov word [rbp + 0x6a], cx
mov dword [rsp + 0x20], 1
mov dword [rbp + 0x60], r10d
mov dword [rbp + 0x64], r11d
mov word [rbp + 0x7a], ax
mov r8d, 2
lea rdx, [rbp + 0x60]
mov rcx, qword [0x1400df070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test rdi, rdi
je 0x140012fca
mov rdx, qword [rbp + 0xa8]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x140012fc2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012fdf
mov rcx, rdi
call fcn.1400d22b0
inc si
cmp si, 2
jg 0x140012fe6
mov r14d, dword [rsp + 0x30]
xor edi, edi
jmp 0x140012ab0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movdqa xmm0, xmmword [0x1400d7c00]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [r15]
lea rcx, [rsp + 0x78]
call fcn.140040c30
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
lea r14, [0x1400d50bc]
cmp rax, r12
jb 0x140013097
lea rax, [r8 + 3]
mov qword [rbp - 0x78], rax
lea rdi, [rsp + 0x78]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x78]
lea rax, [0x1400d50bf]
cmp rax, rdi
jbe 0x14001305a
lea rax, [rdi + r8]
cmp r14, rax
ja 0x14001305a
cmp rdi, r14
ja 0x140013052
xor eax, eax
mov esi, eax
jmp 0x14001305d
mov rsi, rdi
sub rsi, r14
jmp 0x14001305d
mov rsi, r12
inc r8
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r12
sub r8, rsi
lea rdx, [r14 + 3]
add rdx, rsi
lea rcx, [rdi + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
jmp 0x1400130ae
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.1400d2020
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
add r13d, 0xfffffffe
lea edx, [rbx + 0xdf]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
mov r8d, r13d
call fcn.14000dc90
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14001313c
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013137
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013137
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d22b0
movdqa xmm0, xmmword [0x1400d7c00]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [r15 + 4]
lea rcx, [rbp - 0x68]
call fcn.140040c30
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
sub rax, r8
lea r14, [0x1400d50c0]
cmp rax, r12
jb 0x1400131e6
lea rax, [r8 + 3]
mov qword [rbp - 0x58], rax
lea rdi, [rbp - 0x68]
cmp rcx, 0xf
cmova rdi, qword [rbp - 0x68]
lea rax, [0x1400d50c3]
cmp rax, rdi
jbe 0x1400131a8
lea rax, [rdi + r8]
cmp r14, rax
ja 0x1400131a8
cmp rdi, r14
jbe 0x1400131ab
mov rsi, rdi
sub rsi, r14
jmp 0x1400131ab
mov rsi, r12
inc r8
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r12
sub r8, rsi
lea rdx, [r14 + 3]
add rdx, rsi
lea rcx, [rdi + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x68]
xor esi, esi
jmp 0x1400131fc
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.1400d2020
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea edx, [rbx + 0x10d]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
mov r8d, r13d
call fcn.14000dc90
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140013283
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001327e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001327e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d22b0
movdqa xmm0, xmmword [0x1400d7c00]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [r15 + 8]
lea rcx, [rbp - 0x48]
call fcn.140040c30
mov r8, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r8
lea r14, [0x1400d50c4]
cmp rax, r12
jb 0x14001332d
lea rax, [r8 + 3]
mov qword [rbp - 0x38], rax
lea rdi, [rbp - 0x48]
cmp rcx, 0xf
cmova rdi, qword [rbp - 0x48]
lea rax, [0x1400d50c7]
cmp rax, rdi
jbe 0x1400132ef
lea rax, [rdi + r8]
cmp r14, rax
ja 0x1400132ef
cmp rdi, r14
jbe 0x1400132f2
mov rsi, rdi
sub rsi, r14
jmp 0x1400132f2
mov rsi, r12
inc r8
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r12, rsi
lea rdx, [r14 + 3]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x48]
xor esi, esi
jmp 0x140013343
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rdx, r12
lea rcx, [rbp - 0x48]
call fcn.1400d2020
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], rsi
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 + 0x60]
mov r8d, r13d
call fcn.14000dc90
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400133ca
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400133c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400133c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d22b0
mov qword [rsp + 0x40], 0
lea ecx, [rbx + 0x168]
mov dword [rbp + 0x6c], 0
mov dword [rbp + 0x7c], 0
mov dword [rbp + 0x80], esi
mov dword [rbp + 0x84], 1
mov rax, qword [rsp + 0x40]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x60], ecx
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x64], eax
lea eax, [rcx + 0x14]
mov dword [rbp + 0x70], eax
mov eax, dword [rsp + 0x34]
mov dword [rbp + 0x74], eax
movzx eax, dl
shl ax, 8
mov word [rbp + 0x68], ax
mov word [rbp + 0x6a], dx
mov word [rbp + 0x78], ax
mov word [rbp + 0x7a], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x80]
mov r8d, 2
lea rdx, [rbp + 0x60]
mov rcx, qword [0x1400df070]
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 + 0x40], r8d
mov eax, dword [r15 + 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x44], eax
add ebx, 0x169
mov word [rbp + 0x6e], si
mov word [rbp + 0x7e], si
mov dword [rbp + 0x80], esi
mov dword [rbp + 0x84], 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 + 0x40]
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 + 0x60], ebx
mov r8d, dword [rsp + 0x38]
add r8d, 0xfffffffb
mov dword [rbp + 0x64], r8d
lea eax, [rbx + 0x12]
mov dword [rbp + 0x70], eax
lea eax, [r8 + 0x12]
mov dword [rbp + 0x74], eax
movzx eax, r9b
shl ax, 8
mov word [rbp + 0x68], ax
movzx eax, r9w
mov r8d, 0xff00
and ax, r8w
mov word [rbp + 0x6a], ax
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0x6c], r9w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x78], ax
and cx, r8w
mov word [rbp + 0x7a], cx
shl dx, 8
mov word [rbp + 0x7c], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x80]
mov r8d, 2
lea rdx, [rbp + 0x60]
mov rcx, qword [0x1400df070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movups xmm0, xmmword [r15]
mov rax, qword [rbp - 0x28]
movups xmmword [rax], xmm0
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1400d2290
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret