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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1403630c0]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r8d, 0x1f4
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edi, edi
lea rcx, [rsp + 0x30]
mov ebx, edi
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], bl
jne 0x14000d200
test rax, rax
je 0x14000d23e
nop dword [rax]
movsx ecx, byte [rsp + rbx + 0x30]
call fcn.14005a988
mov byte [rsp + rbx + 0x30], al
lea rcx, [rsp + 0x30]
inc rbx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x14000d230
cmp rbx, rax
jb 0x14000d210
cmp byte [0x1402d9427], dil
mov rax, qword [0x1402d9420]
mov ebx, dword [0x140363078]
mov qword [rsp + 0x20], rax
je 0x14000d393
mov r8d, edi
cmp ebx, 2
jl 0x14000d351
movdqa xmm2, xmmword [0x140076b90]
movdqa xmm4, xmmword [0x1402d9460]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, 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, xmmword [str.8888]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x20]
andps xmm2, xmmword [0x140076bd0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140076be0]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x140076ba0]
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, xmmword [str.8888]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmmword [0x140076bd0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140076be0]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x14000d393
lea r9, [rsp + 0x20]
nop word [rax + rax]
mov eax, 0x24924925
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14000d360
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140048bf0
test rax, rax
jne 0x14000d56d
movzx ecx, word [0x1402d942c]
lea rdx, [rsp + 0x20]
mov eax, dword [0x1402d9428]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x1402d942e]
xor byte [rsp + 0x21], 0x34
xor al, 0x39
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
mov word [rsp + 0x24], cx
xor cl, 0x37
xor byte [rsp + 0x25], 0x38
mov byte [rsp + 0x24], cl
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x20], 0x5c
mov byte [rsp + 0x26], al
call fcn.140048bf0
test rax, rax
jne 0x14000d56d
cmp byte [0x1402d9437], dil
mov rax, qword [str._uruwa:ohejgP_IR_R2_4tE]
mov qword [rsp + 0x20], rax
je 0x14000d553
mov r8d, edi
cmp ebx, 2
jl 0x14000d519
movdqa xmm3, xmmword [0x140076b90]
movdqa xmm2, xmmword [0x140076ba0]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x1402d9460]
movdqa xmm0, xmm3
mov eax, dword [0x140076be0]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x20]
pmulld xmm0, xmmword [str.8888]
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmmword [0x140076bd0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movd dword [rsp + 0x20], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x24]
pmulld xmm0, xmmword [str.8888]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x140076bd0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
jmp 0x14000d553
lea r9, [rsp + 0x20]
nop
mov eax, 0x24924925
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14000d520
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140048bf0
test rax, rax
setne dil
mov eax, edi
jmp 0x14000d572
mov eax, 1
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140046ff0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret