Function at 0x1400157d0
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 [0x1400ac2c0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movups xmm3, xmmword [str.yFPC__SO]
xor ebx, ebx
movzx eax, word [0x14009cf48]
movq xmm7, qword [0x14009cf40]
mov rsi, rcx
mov edi, dword [0x1400ac318]
mov r8d, ebx
movq qword [rbp - 0x70], xmm7
mov word [rbp - 0x68], ax
movups xmmword [rbp - 0x80], xmm3
cmp edi, 2
jl 0x140015986
movdqa xmm2, xmmword [0x14009e350]
mov r8d, reloc.WS2_32.dll_inet_ntoa
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm1, xmm2
movdqa xmm5, xmmword [str.3333]
movdqa xmm0, xmm2
movdqa xmm6, xmmword [0x14009e400]
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 [0x14009e370]
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 [0x14009e390]
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, 0xa0a0a0a1
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, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x34
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x140015991
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140015b79
lea rdx, [rbp - 0x60]
call fcn.1400162c0
mov r9, rax
cmp word [rax + 0x36], bx
je 0x1400162a5
cmp edi, 2
jl 0x140015b2b
movdqa xmm5, xmmword [0x14009e350]
mov rdx, rax
movdqa xmm4, xmmword [0x14009e430]
mov ecx, 4
movdqa xmm6, xmmword [str.3333]
movdqa xmm7, xmmword [0x14009e400]
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 0x140015a30
cmp ebx, 0x1c
jge 0x1400162a5
movsxd rax, ebx
lea r8, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x34
xor word [r8 - 2], ax
cmp ebx, 0x1c
jge 0x1400162a5
jmp 0x140015b40
mov qword [rsp + 0x218], r14
xor ecx, ecx
movaps xmmword [rsp + 0x1c0], xmm8
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [0x14009ccc0]
lea r10, [rsp + 0x60]
movups xmm0, xmmword [0x14009ccb0]
movzx ecx, word [0x14009ccc4]
mov r14d, 0xa
movups xmm7, xmmword [0x14009d7b0]
xor cx, 0x3e
mov dword [rsp + 0x70], edx
movq xmm8, qword [0x14009d7c0]
xor dx, 0x3c
xor word [rsp + 0x72], 0x3d
mov r11, rax
movups xmmword [rsp + 0x60], xmm0
xor word [rsp + 0x62], 0x35
mov r8d, ebx
xor word [rsp + 0x64], 0x36
xor word [rsp + 0x66], 0x37
xor word [rsp + 0x68], 0x38
xor word [rsp + 0x6a], 0x39
xor word [rsp + 0x6c], 0x3a
xor word [rsp + 0x6e], 0x3b
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 0x140015d7f
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm1, xmm2
movdqa xmm5, xmmword [str.3333]
movdqa xmm0, xmm2
movdqa xmm6, xmmword [0x14009e400]
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 [0x14009e370]
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 [0x14009e390]
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 0x140015dbe
lea r9, [rbp - 0x80]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x34
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x140015d90
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 [0x1400afe18], rax
test rax, rax
jne 0x140015fb9
lea rdx, [rbp - 0x60]
call fcn.140016300
mov r9, rax
cmp word [rax + 0x3c], bx
je 0x1400162ae
cmp edi, 2
jl 0x140015f6b
movdqa xmm5, xmmword [0x14009e350]
mov rdx, rax
movdqa xmm4, xmmword [0x14009e430]
mov ecx, 4
movdqa xmm6, xmmword [str.3333]
movdqa xmm7, xmmword [0x14009e400]
nop
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 0x140015e70
cmp ebx, 0x1f
jge 0x1400162ae
movsxd rax, ebx
lea r8, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x34
xor word [r8 - 2], ax
cmp ebx, 0x1f
jge 0x1400162ae
jmp 0x140015f80
xor r9d, r9d
xor r8d, r8d
mov edx, 0x443
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1400afe18]
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 [0x14009c2b0]
mov r8d, ebx
movups xmm1, xmmword [0x14009c2c0]
mov eax, dword [0x14009c310]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [0x14009c2d0]
movups xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [0x14009c2e0]
movups xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [0x14009c2f0]
movups xmmword [rbp + 0x70], xmm1
movups xmm1, xmmword [0x14009c300]
mov dword [rbp + 0xa0], eax
movzx eax, byte [0x14009c314]
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm1
mov byte [rbp + 0xa4], al
cmp edi, 2
jl 0x1400161c6
movdqa xmm0, xmmword [0x14009e410]
lea rdx, [rbp + 0x40]
movdqa xmm4, xmmword [0x14009e350]
mov ecx, 4
movdqa xmm3, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x14009e3f0]
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 0x1400160d0
cmp r8d, 0x65
jge 0x140016204
movsxd rax, r8d
lea r9, [rbp + 0x40]
add r9, rax
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x65
jl 0x1400161d0
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.140062a0c
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 [0x1400afe18]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.1400626b0
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140062690
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.140007600
int3
mov rcx, r9
call fcn.140007600
int3