Function at 0x140014870
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 - 0x238]
sub rsp, 0x300
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, r8
mov rax, rdx
mov qword [rbp - 0x30], rdx
mov r12, qword [rbp + 0x260]
test r8d, r8d
jne 0x1400148de
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
jne 0x1400148de
mov qword [rdx], 0xffffffffffffffff
mov qword [rdx + 8], 0xffffffffffffffff
jmp 0x140015e76
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r14d, r14d
mov r15d, dword [rbp + 0x254]
cmp rax, qword [0x140163ce8]
jne 0x140014e87
lea r8d, [r15 + 0x36]
lea r10d, [rbx + 0x168]
mov edx, dword [0x140163d08]
mov eax, dword [0x140163d10]
cmp edx, eax
jl 0x140014e87
cmp edx, dword [0x140163d18]
jg 0x140014e87
mov ecx, dword [0x140163d0c]
mov r9d, dword [0x140163d14]
cmp ecx, r9d
jl 0x140014e87
cmp ecx, dword [0x140163d1c]
jg 0x140014e87
sub edx, eax
cmp edx, r10d
jl 0x140014e87
lea eax, [r10 + 0x14]
cmp edx, eax
jg 0x140014e87
sub ecx, r9d
cmp ecx, r8d
jl 0x140014e87
lea eax, [r8 + 0x14]
cmp ecx, eax
jg 0x140014e87
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140014e87
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
cmp dword [0x140163d28], r14d
jne 0x140014e87
mov edx, dword [r12 + 0xc]
lea rcx, [rbp + 0x148]
call fcn.1400091e0
mov r14, rax
mov edx, dword [r12 + 8]
lea rcx, [rbp + 0xa8]
call fcn.1400091e0
mov rsi, rax
mov edx, dword [r12 + 4]
lea rcx, [rbp + 0x88]
call fcn.1400091e0
mov rdi, rax
mov edx, dword [r12]
lea rcx, [rbp + 0x68]
call fcn.1400091e0
mov r8d, 2
lea rdx, [0x140148c38]
mov rcx, rax
call fcn.1400550d0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
xor r13d, r13d
mov qword [rax + 0x10], r13
mov byte [rax], r13b
mov r9, rdi
lea r8, [rbp - 0x28]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x48]
call fcn.1400bf930
mov r8d, 2
lea rdx, [0x140148c38]
lea rcx, [rbp + 0x48]
call fcn.1400550d0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1d0], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r13
mov byte [rax], r13b
mov r9, rsi
lea r8, [rbp + 0x1c0]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x28]
call fcn.1400bf930
mov r8d, 2
lea rdx, [0x140148c38]
lea rcx, [rbp + 0x28]
call fcn.1400550d0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1a0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r13b
mov r9, r14
lea r8, [rbp + 0x190]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x168]
call fcn.1400bf930
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0xf
jbe 0x140014b2e
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014b29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x140014b69
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014b64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd50]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], r13b
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x140014bc3
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd50]
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
jbe 0x140014c06
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014bf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd50]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], r13b
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140014c52
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014c45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd50]
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140014c98
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014c8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd50]
movdqu xmmword [rbp + 0x78], xmm0
mov byte [rbp + 0x68], r13b
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x140014cea
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014cdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd50]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], r13b
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140014d3e
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014d31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014d85
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd50]
movdqu xmmword [rbp + 0xb8], xmm0
mov byte [rbp + 0xa8], r13b
mov rdx, qword [rbp + 0x160]
cmp rdx, 0xf
jbe 0x140014d91
inc rdx
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014d8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014d8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rax, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova rax, qword [rbp + 0x168]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
inc rdx
cmp byte [rax + rdx], r13b
jne 0x140014dc0
inc rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
lea r14, [rbp + 0x168]
cmp qword [rbp + 0x180], 0xf
cmova r14, qword [rbp + 0x168]
lea r9, [rbp + 0x168]
cmova r9, qword [rbp + 0x168]
nop dword [rax]
lea rdi, [rdi + 1]
cmp byte [r9 + rdi], r13b
jne 0x140014e00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, r14
lea rdx, [rdi + 1]
mov rcx, rax
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 + 0x180]
cmp rdx, 0xf
jbe 0x140014e84
inc rdx
mov rcx, qword [rbp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014e7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014e7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
xor r14d, r14d
movzx esi, r14w
lea r13d, [r15 + 0x3c]
mov dword [rsp + 0x3c], r13d
lea eax, [r13 - 6]
mov dword [rsp + 0x38], eax
add eax, 0x14
mov dword [rsp + 0x34], eax
mov eax, dword [r12]
mov dword [rsp + 0x40], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x44], eax
mov eax, dword [r12 + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [r12 + 0xc]
mov dword [rsp + 0x4c], eax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r14
mov edx, 4
lea rcx, [rbp + 0x190]
call fcn.1400306d0
mov rdi, qword [rbp + 0x190]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + 0x10]
mov qword [rbp + 0x198], rax
movsx eax, si
imul r15d, eax, 0x2e
lea r14d, [rbx + 0xac]
add r14d, r15d
mov rdx, qword [0x140163d08]
mov rax, qword [0x140163d10]
cmp edx, eax
jl 0x140014f7b
cmp edx, dword [0x140163d18]
jg 0x140014f7b
mov rcx, qword [0x140163d0c]
mov r8, qword [0x140163d14]
cmp ecx, r8d
jl 0x140014f7b
cmp ecx, dword [0x140163d1c]
jg 0x140014f7b
sub edx, eax
cmp edx, r14d
jl 0x140014f7b
lea eax, [r14 + 0x29]
cmp edx, eax
jg 0x140014f7b
sub ecx, r8d
lea eax, [r13 - 6]
cmp ecx, eax
jl 0x140014f7b
cmp ecx, dword [rsp + 0x34]
jg 0x140014f7b
mov edi, 1
jmp 0x140014f7d
xor edi, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140163ce8]
jne 0x1400150b5
test edi, edi
je 0x1400150b5
cmp dword [0x140163d28], 0
jne 0x1400150b5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140014fe3
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 rcx, si
mov rax, qword [rbp + 0x190]
inc dword [rax + rcx*4]
jmp 0x14001501f
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001501f
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_mouse_event]
movsx rcx, si
mov rax, qword [rbp + 0x190]
dec dword [rax + rcx*4]
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140015035
mov cl, 0x25
jmp 0x140015049
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14001506b
mov cl, 0x26
xor r9d, r9d
mov r8d, 2
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
movsx rcx, si
mov rax, qword [rbp + 0x190]
add dword [rax + rcx*4], 5
jmp 0x1400150b5
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140015081
mov cl, 0x27
jmp 0x140015095
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400150b5
mov cl, Ordinal_41
xor r9d, r9d
mov r8d, 2
xor edx, edx
call qword [sym.imp.USER32.dll_keybd_event]
movsx rcx, si
mov rax, qword [rbp + 0x190]
add dword [rax + rcx*4], 0xfffffffb
movsx rax, si
mov r9, qword [rbp + 0x190]
lea rcx, [r9 + rax*4]
mov eax, dword [rcx]
cmp eax, 0xff
jl 0x1400150d5
mov dword [rcx], 0xff
jmp 0x1400150df
test eax, eax
jg 0x1400150e6
mov dword [rcx], 0
mov r9, qword [rbp + 0x190]
mov r8d, dword [r9 + 4]
mov edx, dword [r9 + 8]
mov ecx, dword [r9 + 0xc]
mov eax, dword [r9]
mov dword [r12], eax
mov dword [r12 + 4], r8d
mov dword [r12 + 8], edx
mov dword [r12 + 0xc], ecx
xor eax, eax
mov qword [rbp - 8], rax
mov word [rbp + 0x176], ax
mov word [rbp + 0x186], ax
mov dword [rbp + 0x1b0], eax
mov dword [rbp + 0x1b4], 1
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x168], r14d
lea eax, [r13 - 6]
mov dword [rbp + 0x16c], eax
lea eax, [r14 + 0x29]
mov dword [rbp + 0x178], eax
mov eax, dword [rsp + 0x34]
mov dword [rbp + 0x17c], eax
movzx ecx, dl
shl cx, 8
mov word [rbp + 0x170], cx
mov word [rbp + 0x172], dx
mov eax, edx
shr eax, 0x10
shl ax, 8
mov word [rbp + 0x174], ax
mov word [rbp + 0x180], cx
mov word [rbp + 0x182], dx
mov word [rbp + 0x184], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x1b0]
mov r8d, 2
lea rdx, [rbp + 0x168]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
lea r11d, [r13 - 5]
lea r10d, [rbx + 0xad]
add r10d, r15d
xor r14d, r14d
mov word [rbp + 0x176], r14w
mov word [rbp + 0x186], r14w
test edi, edi
je 0x1400152d0
mov dword [rbp + 0x18], reloc.WLDAP32.dll_Ordinal_30
mov dword [rbp + 0x1c], reloc.WLDAP32.dll_Ordinal_30
mov eax, dword [0x140163cd4]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp + 8], r8d
mov eax, dword [0x140163cd8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 0xc], eax
mov dword [rbp + 0x1b8], r14d
mov dword [rbp + 0x1bc], 1
mov eax, dword [0x140163cdc]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx r9d, al
mov rax, qword [rbp + 8]
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 + 0x18]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0x178], eax
lea eax, [r11 + 0x12]
mov dword [rbp + 0x17c], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x170], ax
mov edi, 0xff00
and cx, di
shl r9w, 8
mov word [rbp + 0x174], r9w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x180], ax
movzx eax, dx
and ax, di
lea r9, [rbp + 0x1b8]
jmp 0x1400153ca
mov dword [rbp + 0x1c0], reloc.WLDAP32.dll_Ordinal_30
mov dword [rbp + 0x1c4], reloc.WLDAP32.dll_Ordinal_30
mov eax, 0x66666667
imul dword [0x140163cd4]
mov r9d, edx
sar r9d, 1
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x28], r9d
mov eax, 0x66666667
imul dword [0x140163cd8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x24], edx
mov dword [rbp + 0x188], r14d
mov dword [rbp + 0x18c], 1
mov eax, 0x66666667
imul dword [0x140163cdc]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x28]
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 [rbp + 0x1c0]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0x1e001e
lea eax, [r10 + 0x27]
mov dword [rbp + 0x178], eax
lea eax, [r11 + 0x12]
mov dword [rbp + 0x17c], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x170], ax
mov r9d, 0xff00
and cx, r9w
shl r8w, 8
mov word [rbp + 0x174], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x180], ax
movzx eax, dx
and ax, r9w
lea r9, [rbp + 0x188]
shr edx, 0x10
shl dx, 8
mov dword [rsp + 0x28], 1
mov word [rbp + 0x184], dx
mov word [rbp + 0x172], cx
mov dword [rsp + 0x20], 1
mov dword [rbp + 0x168], r10d
mov dword [rbp + 0x16c], r11d
mov word [rbp + 0x182], ax
mov r8d, 2
lea rdx, [rbp + 0x168]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x14001545e
mov rdx, qword [rbp + 0x1a0]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015459
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400154c2
call fcn.140134770
inc si
cmp si, 3
jle 0x140014ea3
movdqa xmm6, xmmword [0x14014fed0]
mov ecx, dword [r12]
lea r10, [rbp + 0x1d5]
test ecx, ecx
jns 0x1400154d0
neg ecx
nop dword [rax]
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x140015490
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400154f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x1400154d0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1d5]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.1400c22c0
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov edi, 3
lea r15, [0x140148c3c]
cmp rax, rdi
jb 0x1400155aa
lea rax, [r8 + 3]
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x50]
cmp rcx, 0xf
cmova rsi, qword [rsp + 0x50]
lea rax, [0x140148c3f]
cmp rax, rsi
jbe 0x14001556d
lea rax, [rsi + r8]
cmp r15, rax
ja 0x14001556d
cmp rsi, r15
jbe 0x140015570
mov r14, rsi
sub r14, r15
jmp 0x140015570
mov r14, rdi
inc r8
lea rcx, [rsi + 3]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
sub r8, r14
lea rdx, [r15 + 3]
add rdx, r14
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x1400155ca
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400c5020
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
movaps xmmword [rbp + 0x1c0], xmm6
add r13d, 0xfffffffe
lea edx, [rbx + 0xb1]
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc8]
mov r8d, r13d
call fcn.14000f330
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140015672
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001566d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001566d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
movdqa xmm6, xmmword [0x14014fed0]
mov r8d, dword [r12 + 4]
lea r10, [rbp + 0x1d5]
test r8d, r8d
jns 0x1400156d0
neg r8d
nop
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140015690
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400156fa
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1400156d0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1d5]
mov rdx, r10
lea rcx, [rsp + 0x70]
call fcn.1400c22c0
mov r8, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r8
lea r15, [0x140148c40]
cmp rax, 3
jb 0x1400157a7
lea rax, [r8 + 3]
mov qword [rbp - 0x80], rax
lea rsi, [rsp + 0x70]
cmp rcx, 0xf
cmova rsi, qword [rsp + 0x70]
lea rax, [0x140148c43]
cmp rax, rsi
jbe 0x140015767
lea rax, [rsi + r8]
cmp r15, rax
ja 0x140015767
cmp rsi, r15
jbe 0x14001576a
mov r14, rsi
sub r14, r15
jmp 0x14001576a
mov r14, rdi
inc r8
lea rcx, [rsi + 3]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
sub r8, r14
lea rdx, [r15 + 3]
add rdx, r14
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
xor r14d, r14d
jmp 0x1400157c7
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400c5020
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movaps xmmword [rbp + 0x1c0], xmm6
lea edx, [rbx + 0xdf]
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xe8]
mov r8d, r13d
call fcn.14000f330
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140015867
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015862
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015862
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
movdqa xmm6, xmmword [0x14014fed0]
mov r8d, dword [r12 + 8]
lea r10, [rbp + 0x1d5]
test r8d, r8d
jns 0x1400158d0
neg r8d
nop dword [rax]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140015890
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400158fa
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1400158d0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1d5]
mov rdx, r10
lea rcx, [rbp - 0x70]
call fcn.1400c22c0
mov r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
sub rax, r8
lea r15, [0x140148c44]
cmp rax, 3
jb 0x1400159a3
lea rax, [r8 + 3]
mov qword [rbp - 0x60], rax
lea rsi, [rbp - 0x70]
cmp rcx, 0xf
cmova rsi, qword [rbp - 0x70]
lea rax, [0x140148c47]
cmp rax, rsi
jbe 0x140015964
lea rax, [rsi + r8]
cmp r15, rax
ja 0x140015964
cmp rsi, r15
jbe 0x140015967
mov r14, rsi
sub r14, r15
jmp 0x140015967
mov r14, rdi
inc r8
lea rcx, [rsi + 3]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
sub r8, r14
lea rdx, [r15 + 3]
add rdx, r14
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x70]
xor r14d, r14d
jmp 0x1400159c2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400c5020
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x118], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movaps xmmword [rbp + 0x1c0], xmm6
lea edx, [rbx + 0x10d]
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x108]
mov r8d, r13d
call fcn.14000f330
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140015a61
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015a5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015a5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
movdqa xmm6, xmmword [0x14014fed0]
mov r8d, dword [r12 + 0xc]
lea r10, [rbp + 0x1d5]
test r8d, r8d
jns 0x140015ac0
neg r8d
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140015a80
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140015aea
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140015ac0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1d5]
mov rdx, r10
lea rcx, [rbp - 0x50]
call fcn.1400c22c0
mov r8, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, r8
lea r15, [0x140148c48]
cmp rax, 3
jb 0x140015b93
lea rax, [r8 + 3]
mov qword [rbp - 0x40], rax
lea rsi, [rbp - 0x50]
cmp rcx, 0xf
cmova rsi, qword [rbp - 0x50]
lea rax, [0x140148c4b]
cmp rax, rsi
jbe 0x140015b54
lea rax, [rsi + r8]
cmp r15, rax
ja 0x140015b54
cmp rsi, r15
jbe 0x140015b57
mov r14, rsi
sub r14, r15
jmp 0x140015b57
mov r14, rdi
inc r8
lea rcx, [rsi + 3]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub rdi, r14
lea rdx, [r15 + 3]
add rdx, r14
lea rcx, [rsi + r14]
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x50]
xor r14d, r14d
jmp 0x140015bb2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400c5020
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x138], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x138], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movaps xmmword [rbp + 0x1c0], xmm6
lea edx, [rbx + 0x13b]
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x128]
mov r8d, r13d
call fcn.14000f330
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140015c51
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015c4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
mov qword [rbp + 0x1c0], 0
lea ecx, [rbx + 0x168]
mov dword [rbp + 0x174], 0
mov dword [rbp + 0x184], 0
mov dword [rbp + 0x188], r14d
mov dword [rbp + 0x18c], 1
mov rax, qword [rbp + 0x1c0]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x168], ecx
mov eax, dword [rsp + 0x38]
mov dword [rbp + 0x16c], eax
lea eax, [rcx + 0x14]
mov dword [rbp + 0x178], eax
mov eax, dword [rsp + 0x34]
mov dword [rbp + 0x17c], eax
movzx eax, dl
shl ax, 8
mov word [rbp + 0x170], ax
mov word [rbp + 0x172], dx
mov word [rbp + 0x180], ax
mov word [rbp + 0x182], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x188]
mov r8d, 2
lea rdx, [rbp + 0x168]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov eax, dword [r12]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp + 0x1c0], r8d
mov eax, dword [r12 + 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 0x1c4], eax
add ebx, 0x169
mov word [rbp + 0x176], r14w
mov word [rbp + 0x186], r14w
mov dword [rbp + 0x188], r14d
mov dword [rbp + 0x18c], 1
mov rdx, qword [r12]
mov rax, rdx
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, dword [r12 + 8]
movzx ecx, al
shl ecx, 0x10
or r9d, ecx
movzx eax, dl
or r9d, eax
mov eax, dword [r12 + 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx edx, al
mov rax, qword [rbp + 0x1c0]
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 + 0x168], ebx
mov r8d, dword [rsp + 0x3c]
add r8d, 0xfffffffb
mov dword [rbp + 0x16c], r8d
lea eax, [rbx + 0x12]
mov dword [rbp + 0x178], eax
lea eax, [r8 + 0x12]
mov dword [rbp + 0x17c], eax
movzx eax, r9b
shl ax, 8
mov word [rbp + 0x170], ax
movzx eax, r9w
mov r8d, 0xff00
and ax, r8w
mov word [rbp + 0x172], ax
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 0x174], r9w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x180], ax
and cx, r8w
mov word [rbp + 0x182], cx
shl dx, 8
mov word [rbp + 0x184], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x188]
mov r8d, 2
lea rdx, [rbp + 0x168]
mov rcx, qword [0x140163d00]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movups xmm0, xmmword [r12]
mov rax, qword [rbp - 0x30]
movups xmmword [rax], xmm0
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140134750
mov rbx, qword [rsp + 0x340]
movaps xmm6, xmmword [rsp + 0x2f0]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret