Function at 0x14006a6b0
Capabilities:
Log keystrokes via polling
Open clipboard
Read clipboard data
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 - 0x20]
sub rsp, 0x120
mov rax, qword [0x140082010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, r8
mov r15, rdx
mov qword [rbp - 0x80], rdx
mov r12, qword [rbp + 0x88]
test r8d, r8d
jne 0x14006a728
mov rax, rbx
shr rax, 0x20
test eax, eax
jne 0x14006a728
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor r14d, r14d
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
xor r8d, r8d
lea rdx, [0x140079038]
mov rcx, r15
call fcn.140074f70
jmp 0x14006b608
mov r13d, dword [rbp + 0x74]
add r13d, 0x3c
mov dword [rsp + 0x54], r13d
lea r9d, [r13 - 9]
lea esi, [r8 + 0x37]
mov dword [rsp + 0x58], esi
mov edx, dword [0x140082fb8]
mov eax, dword [0x140082fc0]
xor r14d, r14d
cmp edx, eax
jl 0x14006a79a
cmp edx, dword [0x140082fc8]
jg 0x14006a79a
mov ecx, dword [0x140082fbc]
mov r8d, dword [0x140082fc4]
cmp ecx, r8d
jl 0x14006a79a
cmp ecx, dword [0x140082fcc]
jg 0x14006a79a
sub edx, eax
cmp edx, esi
jl 0x14006a79a
lea eax, [rsi + 0xe6]
cmp edx, eax
jg 0x14006a79a
sub ecx, r8d
cmp ecx, r9d
jl 0x14006a79a
lea eax, [r9 + 0x19]
cmp ecx, eax
lea edi, [r14 + 1]
jle 0x14006a79d
mov edi, r14d
mov dword [rsp + 0x50], edi
lea rdx, [0x140083b78]
lea rcx, [rbp - 0x58]
call fcn.140039e20
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140082f98]
jne 0x14006b10b
cmp dword [0x140082fd8], r14d
jne 0x14006b10b
cmp dword [0x140082b5c], r14d
jne 0x14006a826
test edi, edi
je 0x14006b10b
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14006a819
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [0x140082b5c], 1
jmp 0x14006b10b
cmp dword [0x140082b5c], r14d
je 0x14006b10b
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
xor r8d, r8d
lea rdx, [0x140079038]
lea rcx, [rbp - 0x78]
call fcn.140074f70
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0x8000
test si, ax
jne 0x14006a871
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14006a9bc
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14006a94c
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x43
call qword [sym.imp.USER32.dll_keybd_event]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea r13, [0x140083b78]
mov rax, r13
cmp qword [0x140083b90], 0x10
cmovae rax, qword [0x140083b78]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [rax + rdx], r14b
jne 0x14006a8d0
inc rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov r15, r13
cmp qword [0x140083b90], 0x10
cmovae r15, qword [0x140083b78]
mov r9, r13
cmovae r9, qword [0x140083b78]
lea rdi, [rdi + 1]
cmp byte [r9 + rdi], r14b
jne 0x14006a905
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
mov r8, r15
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 esi, 0x8000
jmp 0x14006a953
lea r13, [0x140083b78]
mov ecx, 0x56
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14006a9bc
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x56
call qword [sym.imp.USER32.dll_keybd_event]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14006a9b6
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rax
mov rcx, r13
call fcn.140039bb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov r13d, 8
lea rdi, [0x140000000]
nop dword [rax]
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14006afd4
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14006afd4
mov r8d, 1
mov edx, r13d
call fcn.14000da80
test eax, eax
je 0x14006afd4
lea eax, [r13 - 8]
cmp eax, 0xb7
ja case.0x14006aa36.53
lea eax, [r13 - 8]
movsxd rcx, eax
movzx eax, byte [rdi + rcx + 0x6b73c]
mov ecx, dword [rdi + rax*4 + 0x6b684]
add rcx, rdi
jmp rcx
mov r8d, 1
lea rdx, [0x14007b254]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b584]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b588]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b58c]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b590]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b594]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b598]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b59c]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5a0]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5a4]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5a8]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5ac]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5b0]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5b4]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5b8]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5bc]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5c0]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5c4]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5c8]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5cc]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5d0]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5d4]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5d8]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x140079104]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5dc]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5e0]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5e4]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x140079064]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, str.123456789abcdefghijklmnopqrstuvxyz__
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b564]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b568]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b56c]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b570]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b574]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b578]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b57c]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b580]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007904c]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5e8]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007b5ec]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007911c]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov r8d, 1
lea rdx, [0x14007a798]
lea rcx, [rbp - 0x78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov rdi, qword [0x140083b88]
test rdi, rdi
je case.0x14006aa36.53
lea r10, [0x140083b78]
mov r9, r10
mov r8, qword [0x140083b78]
mov rcx, qword [0x140083b90]
cmp rcx, 0x10
cmovae r9, r8
dec r9
add r9, rdi
mov rax, r10
cmp rcx, 0x10
cmovae rax, r8
sub r9, rax
mov rax, rdi
sub rax, r9
mov edx, 1
cmp rax, rdx
cmovb rdx, rax
mov rax, r10
cmp rcx, 0x10
cmovae rax, r8
lea rcx, [rax + r9]
sub rdi, rdx
mov r8, rdi
sub r8, r9
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [0x140083b88], rdi
jmp case.0x14006aa36.53
xor r8d, r8d
lea rdx, [0x140079038]
lea rcx, [0x140083b78]
call fcn.14003a570
jmp case.0x14006aa36.53
mov dword [0x140082b5c], r14d
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
mov r8, qword [rbp - 0x78]
mov r9, qword [rbp - 0x60]
test ax, ax
je 0x14006afb1
lea rdi, [rbp - 0x78]
cmp r9, 0x10
cmovae rdi, r8
lea rsi, [rbp - 0x78]
cmovae rsi, r8
lea rcx, [rbp - 0x78]
cmovae rcx, r8
mov r15, qword [rbp - 0x68]
add r15, rcx
cmp rdi, r15
je 0x14006afac
sub rsi, rdi
nop word [rax + rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rsi + rdi], al
inc rdi
cmp rdi, r15
jne 0x14006af90
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x78]
mov esi, 0x8000
lea rdx, [rbp - 0x78]
cmp r9, 0x10
cmovae rdx, r8
mov r8, qword [rbp - 0x68]
lea rcx, [0x140083b78]
call fcn.14003a6d0
lea rdi, [0x140000000]
inc r13d
cmp r13d, 0xfe
jl 0x14006a9d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0x1e
cmp qword [0x140083b88], r8
cmovb r8, qword [0x140083b88]
lea rdx, [0x140083b78]
cmp qword [0x140083b90], 0x10
cmovae rdx, qword [0x140083b78]
lea rcx, [rbp - 0x10]
call fcn.140074f70
mov rdx, qword [0x140083b90]
cmp rdx, 0x10
jb 0x14006b069
inc rdx
mov rcx, qword [0x140083b78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b064
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b0f2
call fcn.140076120
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [0x140083b78], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [0x140083b88], xmm1
mov r8d, 1
lea rdx, [0x14007b5f0]
lea rcx, [rbp - 0x58]
call fcn.14003a6d0
mov edi, dword [rsp + 0x50]
test edi, edi
jne 0x14006b0c0
lea ecx, [rdi + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14006b0b9
lea ecx, [rdi + 2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14006b0c0
mov dword [0x140082b5c], r14d
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14006b0fe
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b0f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b0f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140076120
mov esi, dword [rsp + 0x58]
mov r13d, dword [rsp + 0x54]
mov r15, qword [rbp - 0x80]
mov qword [rsp + 0x60], r14
lea ecx, [rbx + 0x35]
mov word [rbp - 0x22], r14w
mov word [rbp - 0x12], r14w
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x7c], 1
mov rax, r14
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp - 0x30], ecx
lea r8d, [r13 - 9]
mov dword [rbp - 0x2c], r8d
lea eax, [rcx + 0xea]
mov dword [rbp - 0x20], eax
lea eax, [r8 + 0x1b]
mov dword [rbp - 0x1c], eax
movzx ecx, dl
shl cx, 8
mov word [rbp - 0x28], cx
mov word [rbp - 0x26], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp - 0x24], ax
mov word [rbp - 0x18], cx
mov word [rbp - 0x16], dx
mov word [rbp - 0x14], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x80]
mov r8d, 2
lea rdx, [rbp - 0x30]
mov rcx, qword [0x140082fb0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov dword [rsp + 0x60], 0x3c
mov dword [rsp + 0x64], 0x3c
lea edx, [r13 - 8]
lea ecx, [rbx + 0x36]
mov word [rbp - 0x22], r14w
mov word [rbp - 0x12], r14w
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x7c], 1
mov rax, qword [rsp + 0x60]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
or r8d, 0x3c003c
mov dword [rbp - 0x30], ecx
mov dword [rbp - 0x2c], edx
lea eax, [rcx + 0xe8]
mov dword [rbp - 0x20], eax
lea eax, [rdx + 0x19]
mov dword [rbp - 0x1c], eax
movzx ecx, r8b
shl cx, 8
mov word [rbp - 0x28], cx
mov edx, 0xff00
movzx eax, r8w
and ax, dx
mov word [rbp - 0x26], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp - 0x24], r8w
mov word [rbp - 0x18], cx
mov word [rbp - 0x16], ax
mov word [rbp - 0x14], r8w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x80]
mov r8d, 2
lea rdx, [rbp - 0x30]
mov rcx, qword [0x140082fb0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test edi, edi
jne 0x14006b35a
cmp dword [0x140082b5c], r14d
jne 0x14006b35a
mov eax, dword [0x140082f84]
cdq
and edx, 7
lea r10d, [rdx + rax]
sar r10d, 3
mov dword [rbp - 0x30], r10d
mov eax, dword [0x140082f88]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rbp - 0x2c], eax
mov dword [rsp + 0x60], 0xf
mov dword [rsp + 0x64], 0xf
lea r8d, [r13 - 7]
mov word [rbp - 2], r14w
mov word [rbp + 0xe], r14w
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x7c], 1
mov rax, qword [rsp + 0x60]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
or r9d, 0xf000f
mov rax, qword [rbp - 0x30]
shr rax, 0x20
movzx r11d, al
shl r11d, 8
mov eax, dword [0x140082f8c]
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx ecx, al
shl ecx, 0x10
or r11d, ecx
movzx eax, r10b
or r11d, eax
lea eax, [rsi + 0xe6]
mov dword [rbp], eax
lea eax, [r8 + 0x17]
mov dword [rbp + 4], eax
movzx eax, r9b
shl ax, 8
mov word [rbp - 8], ax
movzx eax, r9w
mov ecx, 0xff00
and ax, cx
mov word [rbp - 6], ax
movzx eax, r11b
shl ax, 8
mov word [rbp + 8], ax
movzx eax, r11w
shr r11d, 0x10
shl r11w, 8
mov word [rbp + 0xc], r11w
jmp 0x14006b445
mov eax, 0x2aaaaaab
imul dword [0x140082f84]
mov r11d, edx
shr r11d, 0x1f
add r11d, edx
mov dword [rsp + 0x60], r11d
mov eax, 0x2aaaaaab
imul dword [0x140082f88]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x64], edx
mov dword [rbp - 0x30], 0xf
mov dword [rbp - 0x2c], 0xf
lea r8d, [r13 - 7]
mov word [rbp - 2], r14w
mov word [rbp + 0xe], r14w
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x7c], 1
mov rcx, qword [rbp - 0x30]
shr rcx, 0x20
movzx r9d, cl
shl r9d, 8
or r9d, 0xf000f
mov rcx, qword [rsp + 0x60]
shr rcx, 0x20
movzx r10d, cl
shl r10d, 8
mov eax, 0x2aaaaaab
imul dword [0x140082f8c]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r10d, eax
movzx eax, r11b
or r10d, eax
lea eax, [rsi + 0xe6]
mov dword [rbp], eax
lea eax, [r8 + 0x17]
mov dword [rbp + 4], eax
movzx eax, r9b
shl ax, 8
mov word [rbp - 8], ax
movzx eax, r9w
mov ecx, 0xff00
and ax, cx
mov word [rbp - 6], ax
movzx eax, r10b
shl ax, 8
mov word [rbp + 8], ax
movzx eax, r10w
shr r10d, 0x10
shl r10w, 8
mov word [rbp + 0xc], r10w
mov dword [rbp - 0xc], r8d
mov dword [rbp - 0x10], esi
shr r9d, 0x10
shl r9w, 8
mov dword [rsp + 0x28], 1
and ax, cx
mov word [rbp - 4], r9w
mov dword [rsp + 0x20], 1
mov word [rbp + 0xa], ax
lea r9, [rbp - 0x80]
mov r8d, 2
lea rdx, [rbp - 0x10]
mov rcx, qword [0x140082fb0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
test r8, r8
jne 0x14006b4f1
lea rdx, [0x140079038]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14006b4f1
movdqa xmm0, xmmword [str.222___PPPddd]
movdqa xmmword [rbp - 0x30], xmm0
mov esi, 0x190
lea rdx, [0x140082f60]
lea rcx, [rbp - 0x10]
call fcn.140039e20
mov rdi, rax
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140039e20
lea r8d, [r13 - 1]
lea edx, [rbx + 0x40]
jmp 0x14006b587
movdqa xmm0, xmmword [0x14007ba20]
movdqa xmmword [rbp - 0x30], xmm0
mov esi, 0x190
lea rdx, [0x140082f60]
lea rcx, [rbp - 0x10]
call fcn.140039e20
mov rdi, rax
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x60]
call fcn.140039e20
mov r9, rax
lea r8d, [r13 - 1]
lea edx, [rbx + 0x40]
mov word [rsp + 0x38], si
movzx ecx, word [0x140082f80]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.14000d2f0
movdqa xmm0, xmmword [0x14007bad0]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [0x140082f60]
lea rcx, [rbp - 0x10]
call fcn.140039e20
mov rdi, rax
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x60]
call fcn.140039e20
lea r8d, [r13 - 2]
lea edx, [rbx + 0x3f]
mov word [rsp + 0x38], si
movzx ecx, word [0x140082f80]
mov word [rsp + 0x30], cx
mov r9, rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.14000d2f0
lea rdx, [0x140083b78]
mov rcx, r15
call fcn.140039e20
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14006b5f8
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b5f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b67c
call fcn.140076120
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], r14b
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14006b640
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14006b63b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006b67c
mov rcx, r8
call fcn.140076120
mov rax, r15
mov byte [r12], r14b
mov qword [r12 + 0x18], 0xf
mov qword [r12 + 0x10], r14
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140076100
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3