Function at 0x140011e40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x108]
sub rsp, 0x1f0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140098280]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movups xmm3, xmmword [0x14008b400]
xor ebx, ebx
movzx eax, word [0x14008b418]
movq xmm7, qword [0x14008b410]
mov rsi, rcx
mov edi, dword [0x1400982d8]
mov r8d, ebx
movq qword [rbp - 0x70], xmm7
mov word [rbp - 0x68], ax
movups xmmword [rbp - 0x80], xmm3
cmp edi, 2
jl 0x140011ff6
movdqa xmm2, xmmword [0x14008c310]
mov r8d, reloc.WS2_32.dll_inet_ntoa
movdqa xmm4, xmmword [0x14008c3f0]
movdqa xmm1, xmm2
movdqa xmm5, xmmword [str.9999]
movdqa xmm0, xmm2
movdqa xmm6, xmmword [0x14008c3c0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x14008c330]
paddw xmm2, xmm6
xorps xmm2, xmm1
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp - 0x80], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x14008c350]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x78]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movq qword [rbp - 0x78], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm7
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
xorps xmm2, xmm0
movq qword [rbp - 0x70], xmm2
mov eax, r8d
lea r9, [rbp - 0x80]
lea r9, [r9 + rax*2]
mov eax, 0x8fb823ef
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x140012001
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400121e9
lea rdx, [rbp - 0x60]
call fcn.140012940
mov r9, rax
cmp word [rax + 0x36], bx
je 0x140012925
cmp edi, 2
jl 0x14001219b
movdqa xmm5, xmmword [0x14008c310]
mov rdx, rax
movdqa xmm4, xmmword [0x14008c3f0]
mov ecx, 4
movdqa xmm6, xmmword [str.9999]
movdqa xmm7, xmmword [0x14008c3c0]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
lea ecx, [rcx + 8]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add ebx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ebx, 0x18
jl 0x1400120a0
cmp ebx, 0x1c
jge 0x140012925
movsxd rax, ebx
lea r8, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x32
xor word [r8 - 2], ax
cmp ebx, 0x1c
jge 0x140012925
jmp 0x1400121b0
mov qword [rsp + 0x218], r14
xor ecx, ecx
movaps xmmword [rsp + 0x1c0], xmm8
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [0x14008a360]
lea r10, [rsp + 0x60]
movups xmm0, xmmword [0x14008a350]
movzx ecx, word [0x14008a364]
mov r14d, 0xa
movups xmm7, xmmword [str._zwssqm]
xor cx, 0x3c
mov dword [rsp + 0x70], edx
movq xmm8, qword [0x14008a338]
xor dx, 0x3a
xor word [rsp + 0x72], 0x3b
mov r11, rax
movups xmmword [rsp + 0x60], xmm0
xor word [rsp + 0x62], 0x33
mov r8d, ebx
xor word [rsp + 0x64], 0x34
xor word [rsp + 0x66], 0x35
xor word [rsp + 0x68], 0x36
xor word [rsp + 0x6a], 0x37
xor word [rsp + 0x6c], 0x38
xor word [rsp + 0x6e], 0x39
mov word [rsp + 0x60], r14w
mov word [rsp + 0x70], dx
mov word [rsp + 0x74], cx
movq qword [rbp - 0x70], xmm8
movups xmmword [rbp - 0x80], xmm7
cmp edi, 2
jl 0x1400123ef
movdqa xmm2, xmmword [0x14008c310]
movdqa xmm4, xmmword [0x14008c3f0]
movdqa xmm1, xmm2
movdqa xmm5, xmmword [str.9999]
movdqa xmm0, xmm2
movdqa xmm6, xmmword [0x14008c3c0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x14008c330]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rbp - 0x80], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x78]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x14008c350]
xorps xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rbp - 0x78], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm8
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp - 0x70], xmm3
jmp 0x140012437
lea r9, [rbp - 0x80]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x1f7047dd
lea r9, [r9 + 2]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x140012400
mov qword [rsp + 0x58], rbx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x50], r11
mov r9d, 0x503008c4
mov qword [rsp + 0x48], rbx
mov r8, r10
mov qword [rsp + 0x40], rsi
mov ecx, 0x200
mov dword [rsp + 0x38], 0x2a8
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], 0x78
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
movaps xmm8, xmmword [rsp + 0x1c0]
mov r14, qword [rsp + 0x218]
mov qword [0x14009bd38], rax
test rax, rax
jne 0x140012639
lea rdx, [rbp - 0x60]
call fcn.140012980
mov r9, rax
cmp word [rax + 0x3c], bx
je 0x14001292e
cmp edi, 2
jl 0x1400125eb
movdqa xmm5, xmmword [0x14008c310]
mov rdx, rax
movdqa xmm4, xmmword [0x14008c3f0]
mov ecx, 4
movdqa xmm6, xmmword [str.9999]
movdqa xmm7, xmmword [0x14008c3c0]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
lea ecx, [rcx + 8]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add ebx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ebx, 0x18
jl 0x1400124f0
cmp ebx, 0x1f
jge 0x14001292e
movsxd rax, ebx
lea r8, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x32
xor word [r8 - 2], ax
cmp ebx, 0x1f
jge 0x14001292e
jmp 0x140012600
xor r9d, r9d
xor r8d, r8d
mov edx, 0x443
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14009bd38]
lea r9, [rbp - 0x20]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
xor r8d, r8d
mov edx, 0x444
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x20], 0x5c
mov dword [rbp - 0x1c], 0x40000000
mov dword [rbp - 0xc], 0xff00
movups xmmword [rbp], xmm0
mov qword [rbp + 0x30], rax
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x38], eax
movups xmmword [rbp + 0x20], xmm0
call qword [sym.imp.USER32.dll_SendMessageW]
movups xmm0, xmmword [0x140089f90]
mov r8d, ebx
movups xmm1, xmmword [0x140089fa0]
mov eax, dword [0x140089ff0]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [0x140089fb0]
movups xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [0x140089fc0]
movups xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [0x140089fd0]
movups xmmword [rbp + 0x70], xmm1
movups xmm1, xmmword [0x140089fe0]
mov dword [rbp + 0xa0], eax
movzx eax, byte [0x140089ff4]
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm1
mov byte [rbp + 0xa4], al
cmp edi, 2
jl 0x140012846
movdqa xmm0, xmmword [0x14008c3d0]
lea rdx, [rbp + 0x40]
movdqa xmm4, xmmword [0x14008c310]
mov ecx, 4
movdqa xmm3, xmmword [0x14008c3f0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm6, xmmword [0x14008c3b0]
movdqa xmmword [rsp + 0x60], xmm0
mov r9d, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
lea ecx, [rcx + 8]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add r8d, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r9d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r9d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp r8d, 0x60
jl 0x140012750
cmp r8d, 0x65
jge 0x140012884
movsxd rax, r8d
lea r9, [rbp + 0x40]
add r9, rax
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x65
jl 0x140012850
mov rsi, 0xffffffffffffffff
mov dword [rsp + 0x28], ebx
mov r9d, esi
mov qword [rsp + 0x20], rbx
lea r8, [rbp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovb rax, rsi
mov rcx, rax
call fcn.140052d4c
mov r9d, esi
mov dword [rsp + 0x28], ebx
lea r8, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [0x14009bd38]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.1400529f0
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400529d0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
mov rcx, r9
call fcn.140006f70
int3
mov rcx, r9
call fcn.140006f70
int3