Function at 0x3940464bb
Capabilities:
Authenticate hmac
Encode data using base64
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp r11w, 0x5a
jne 0x39404656e
push r13
paddusb mm3, mm6
push rbx
mov ebx, 1
xchg r13d, ebx
push r15
cmp r13b, bl
pmaxsw mm3, mm1
minps xmm2, xmm15
push rax
inc r15d
ucomiss xmm0, xmm14
sub al, r13b
nop
push r10
emms
pand mm2, mm1
pmaddwd mm2, mm6
mov ax, 0xb
emms
pop r10
nop
dec r13
sub r13b, r15b
rcr r15w, 0x17
pop rax
andps xmm3, xmm10
emms
nop
pop r15
and bx, r13w
emms
pop rbx
shl r13w, 4
pop r13
jmp 0x394046586
push r8
subps xmm10, xmm14
emms
push r14
psrad mm7, 0x55
pop r14
emms
shr r8, 6
pop r8
cmp r11b, 0x64
jne 0x3940465b1
push r14
psllq mm5, 0x36
push rcx
emms
emms
pop rcx
emms
pop r14
jmp 0x3940465bf
push rax
emms
push rbx
nop
psraw mm3, 0x58
pop rbx
dec rax
pop rax
push r10
emms
push r12
not r10
mov r12, 0x14
pop r12
emms
pop r10
mov esi, dword [0x394070a40]
test esi, esi
je 0x3940466a8
cmp r11, 0x19
jne 0x394046660
push r12
punpckhwd mm2, mm5
nop
sbb r12w, 8
pmaxub mm0, mm3
psrlw mm3, 0x6a
push rdx
nop
neg r12
psraw mm5, 0x30
punpckhbw mm4, mm1
xchg edx, r12d
pop rdx
paddw mm0, mm5
shr r12b, 0x16
psllq mm4, 0x51
inc r12d
not r12d
not r12b
pop r12
jmp 0x394046678
push r13
mulps xmm14, xmm0
shl r13, 1
push rbx
minps xmm5, xmm10
pop rbx
pand mm4, mm6
psrlq mm4, 5
pop r13
push r10
psrlw mm5, 0x1e
push r8
neg r8b
push r13
ror r10, 0x15
push rax
adc r10d, r13d
push rbx
maxss xmm10, xmm1
pop rbx
inc r10
pop rax
sub r8b, r10b
pop r13
nop
pop r8
nop
pop r10
jmp 0x3940473e1
push r15
rcr r15, 0x11
neg r15d
movhlps xmm9, xmm13
nop
push r9
pandn mm5, mm7
emms
emms
rcpps xmm4, xmm3
pop r9
movhlps xmm12, xmm11
nop
emms
subps xmm13, xmm5
pop r15
mov ecx, 0x60
call fcn.394044767
cmp r11, rdx
jne 0x394046757
push r10
not r10
push rax
nop
push r11
comiss xmm15, xmm8
push r13
minps xmm12, xmm11
push r9
test eax, r13d
push r12
rcl r13, 9
pop r12
shr r11b, 6
pop r9
emms
pop r13
sar r11d, 0x10
pop r11
shr r10w, 0xe
pop rax
sar r10b, 0xf
pop r10
jmp 0x39404676c
push r11
psrld mm4, 0x4e
push r12
mulss xmm2, xmm12
pop r12
rcl r11d, 0x15
pop r11
push r8
emms
pmullw mm0, mm5
minps xmm0, xmm10
push rbx
movaps xmm0, xmm4
subps xmm13, xmm2
push r9
movups xmm14, xmm9
pop r9
not bx
psrad mm5, 0x3d
pop rbx
psrlq mm2, 0x4e
movss xmm10, xmm14
emms
pop r8
mov rax, qword [rax + 0x18]
push r9
psrad mm3, 0x4f
psllq mm0, 0x15
psrlq mm7, 0x35
nop
push r12
mov r12b, r9b
sub r12b, r9b
punpcklwd mm4, mm6
push rdx
emms
addss xmm9, xmm0
push r10
not r10w
pop r10
emms
pcmpgtw mm2, mm0
pop rdx
maxps xmm13, xmm3
not r12
rcr r9, 9
pop r12
rcl r9d, 2
emms
nop
rol r9, 0xd
pop r9
push r11
pand mm3, mm2
pcmpgtb mm2, mm5
emms
sub r11b, 0x14
push rbx
sar bx, 1
emms
emms
push rax
inc eax
sar r11d, 1
push r14
rol r14d, 0xb
pop r14
psubsb mm4, mm2
nop
pop rax
neg r11
nop
subps xmm2, xmm5
pop rbx
maxss xmm6, xmm1
emms
emms
pandn mm3, mm1
pop r11
push rdx
nop
push r11
rol dl, 0x15
pop r11
emms
pop rdx
push r14
shl r14d, 0xc
pslld mm3, 0x1f
orps xmm8, xmm2
push r9
psllq mm2, 0x57
rol r14d, 6
push rax
pmaddwd mm6, mm7
pop rax
rcr r14, 0x13
nop
pop r9
rcpps xmm1, xmm12
subss xmm4, xmm13
dec r14
pop r14
xor ebx, ebx
mov rdx, qword [rax + 0x10]
xor eax, eax
cmp qword [rdx + 0x30], 0
je 0x394046d23
cmp r11d, edx
je 0x39404692d
push rbx
shr bl, 1
push rcx
or cx, bx
pop rcx
nop
pop rbx
cmp dx, ax
je 0x394046948
push r9
punpckhbw mm0, mm4
push rdx
sbb dx, r9w
push rbx
emms
push r13
emms
push r15
psrld mm5, 0x5a
pop r15
mov dx, 0x12
pop r13
rcpss xmm11, xmm2
pop rbx
pmaxsw mm4, mm6
pop rdx
nop
pop r9
cmp dl, bl
je 0x394046974
push r14
nop
pmulhuw mm7, mm5
push r15
emms
pop r15
emms
neg r14
pop r14
cmp dx, r15w
je 0x3940469a5
push r8
movaps xmm2, xmm3
paddsb mm0, mm3
emms
sar r8, 0xa
not r8w
maxss xmm15, xmm13
dec r8
mov r8b, 0xa
emms
psrld mm7, 5
emms
nop
pop r8
cmp edx, 0x16
je 0x3940469e7
push r9
pandn mm7, mm5
pop r9
cmp r14, rcx
je 0x394046a29
jne 0x394046a74
push r11
mov r11, 2
push r12
push rcx
pop rcx
pop r12
dec r11
jne 0x394046936
pop r11
jmp 0x394046a74
push r13
orps xmm12, xmm4
emms
nop
emms
push rbx
emms
emms
not r13d
psraw mm3, 0xe
pop rbx
rcpps xmm14, xmm5
psrlw mm6, 0x3d
nop
addps xmm4, xmm11
pop r13
jmp 0x394046a74
push r12
rcpss xmm15, xmm1
nop
orps xmm1, xmm14
shl r12b, 0x11
push r15
psrlq mm7, 0x4e
pmaddwd mm2, mm1
emms
paddusw mm5, mm1
pop r15
punpcklwd mm3, mm2
nop
pmullw mm1, mm7
por mm0, mm4
pop r12
jmp 0x394046a74
push r12
nop
pslld mm2, 0x1f
shl r12, 0x12
push r11
sub r12b, 0x15
pxor mm5, mm6
psrlw mm1, 0x62
push r13
xor r12, r11
pmullw mm3, mm4
psraw mm6, 0x2d
pop r13
nop
comiss xmm14, xmm9
rcr r12b, 4
pop r11
emms
sub r12, 0x11
rcr r12b, 0x16
pop r12
jmp 0x394046a74
push r13
shl r13, 0xa
psadbw mm0, mm3
nop
push rbx
or ebx, r13d
psraw mm4, 0x12
psrld mm6, 0x67
push r11
psrld mm7, 0x54
adc ebx, r13d
push r15
psubw mm7, mm3
addss xmm13, xmm3
pop r15
emms
nop
nop
pop r11
psraw mm2, 0x1a
nop
pop rbx
shl r13, 5
inc r13
pop r13
jmp 0x394046a74
push r11
pcmpeqd mm4, mm6
nop
push r9
nop
minps xmm1, xmm12
push rbx
sar r11b, 0x13
ror r9, 0x10
push rax
ror r11b, 7
add bx, r9w
push r15
pcmpgtb mm1, mm6
addss xmm3, xmm1
pop r15
psrad mm6, 0x37
pslld mm0, 8
pop rax
mov r9b, bl
subss xmm1, xmm14
pop rbx
nop
emms
pop r9
psrlw mm1, 8
maxps xmm15, xmm4
pop r11
push r12
nop
nop
rcpss xmm3, xmm13
push r14
nop
nop
pcmpeqb mm0, mm7
push r15
pmulhuw mm2, mm1
nop
push rdx
psllq mm5, 0x65
ror r12, 0x17
pop rdx
psrlw mm5, 0x61
sar r14, 6
sbb r15, 0x12
pop r15
nop
addps xmm8, xmm9
pop r14
psubw mm7, mm3
nop
pop r12
mov rbx, qword [rdx + 0x30]
push rbx
nop
rcl ebx, 0x17
pslld mm0, 0x64
emms
push r10
nop
nop
shr r10b, 1
emms
pop r10
shr bx, 9
mulps xmm1, xmm8
movss xmm6, xmm12
psrlq mm1, 0x3f
pop rbx
push r8
mov r8, 3
push rbx
push r13
pop r13
pop rbx
dec r8
jne 0x394046ae4
pop r8
movsxd rcx, dword [rbx + 0x3c]
add rcx, rbx
push rdx
mov rdx, 1
push r13
psrld mm4, 0xd
subss xmm2, xmm13
movlhps xmm14, xmm7
push rbx
maxps xmm5, xmm13
xorps xmm13, xmm8
sar bx, 0x15
push rcx
emms
psrld mm5, 0x46
paddusb mm4, mm0
pop rcx
nop
emms
add bx, r13w
pop rbx
nop
mov r13d, 0x17
sbb r13w, 0x13
pop r13
dec rdx
jne 0x394046b00
pop rdx
push r12
psllq mm4, 0x3c
psrld mm2, 0x4c
push r14
psrld mm4, 0x48
adc r12d, r14d
push rbx
nop
psubusw mm5, mm0
push rcx
pcmpgtd mm4, mm7
nop
pop rcx
xor r14, rbx
not r12d
pop rbx
rcr r12d, 0x16
emms
pop r14
nop
not r12w
pop r12
mov ecx, dword [rcx + 0x88]
push r8
subps xmm13, xmm4
push rdx
rol r8w, 4
push r13
comiss xmm5, xmm4
pop r13
shl r8w, 0xc
pop rdx
ucomiss xmm14, xmm3
pop r8
test ecx, ecx
jne 0x394046be7
push rax
mulss xmm2, xmm15
psllq mm1, 0x3b
emms
push r14
psrld mm5, 0xe
emms
movlhps xmm14, xmm9
push rdx
andnps xmm14, xmm1
nop
push r12
comiss xmm15, xmm2
sub r14b, 0xb
pop r12
not rdx
paddsw mm1, mm7
punpckhwd mm2, mm3
pop rdx
emms
not r14b
pop r14
inc rax
ror al, 0x11
pop rax
jmp 0x394046d1b
push rax
psrlq mm3, 0x37
push r11
maxps xmm12, xmm7
punpckhwd mm1, mm4
push rcx
xorps xmm2, xmm6
dec r11d
or cx, r11w
push r13
psraw mm2, 0xe
addps xmm6, xmm11
mov cx, r13w
mov rax, 0x11
pop r13
sar r11w, 0x17
comiss xmm3, xmm6
psadbw mm2, mm5
pop rcx
nop
pcmpgtd mm0, mm2
pop r11
nop
pop rax
lea rax, [rcx + rbx]
cmp r11w, 0x36
jne 0x394046c5d
push r14
punpcklbw mm3, mm5
push r10
rol r10, 6
emms
pop r10
nop
pop r14
jmp 0x394046c6b
push rbx
emms
push rdx
nop
inc rdx
pop rdx
subps xmm1, xmm11
pop rbx
push r15
maxps xmm15, xmm2
push r12
nop
pcmpeqw mm4, mm7
pop r12
pslld mm2, 0x3b
pop r15
mov ecx, dword [rax + 0xc]
add rcx, rbx
push r13
mov r13, 1
push r9
pop r9
dec r13
jne 0x394046c8e
pop r13
mov r8d, dword [rcx]
or r8d, 0x20202020
cmp r8d, 0x6e72656b
je 0x394046cc5
push r13
paddusb mm3, mm1
pmulhuw mm5, mm1
push r14
inc r13d
pop r14
neg r13w
emms
pop r13
jmp 0x394046d1b
cmp r11b, r10b
jne 0x394046cd9
push r13
nop
pop r13
jmp 0x394046ce1
push r12
sar r12, 5
pop r12
push rbx
dec ebx
pop rbx
mov ecx, dword [rcx + 4]
or ecx, 0x20202020
cmp ecx, 0x32336c65
jne 0x394046d05
push rcx
nop
push r12
shl ecx, 0x10
pop r12
por mm6, mm5
pop rcx
jmp 0x394046d23
push r15
mov r15, 3
push r13
push rbx
pop rbx
pop r13
dec r15
jne 0x394046d0e
pop r15
mov rdx, qword [rdx]
jmp 0x39404686e
push r9
punpckhwd mm3, mm0
push r14
neg r14d
push r12
emms
push r11
emms
push r8
pmaxsw mm2, mm0
push r15
test r14, r9
pop r15
rcpps xmm6, xmm8
pop r8
andps xmm7, xmm13
pop r11
rcl r9, 5
pop r12
sbb r14w, r9w
pop r14
emms
pop r9
test rax, rax
jne 0x394046d86
cmp r11b, 0x58
jne 0x394046d75
push rcx
sar cx, 0xd
pop rcx
jmp 0x394046d7c
push r10
punpckhwd mm6, mm1
pop r10
push rdx
shr dl, 3
pop rdx
jmp 0x3940473e6
push r10
shl r10b, 0xf
nop
push r8
paddb mm2, mm0
pmulhuw mm7, mm6
push r13
maxss xmm2, xmm8
nop
push r12
emms
cmp r10w, r13w
push r9
psrld mm0, 0x42
psllq mm5, 0x41
pop r9
psraw mm6, 0x10
emms
pop r12
punpcklbw mm3, mm6
nop
pop r13
psrad mm4, 0x5c
dec r8
pop r8
psrlw mm6, 0x3f
not r10d
pop r10
mov ecx, dword [rax + 0x18]
push rbx
sbb rbx, 0x13
addss xmm5, xmm12
comiss xmm14, xmm3
sar bx, 3
push r12
test rbx, r12
and bx, r12w
emms
minps xmm5, xmm2
pop r12
pxor mm5, mm0
nop
punpcklwd mm0, mm2
pmaxub mm7, mm3
pop rbx
mov r12d, dword [rax + 0x1c]
add r12, rbx
push rdx
addss xmm1, xmm3
psubw mm4, mm0
movlhps xmm9, xmm1
nop
sar rdx, 0xa
push r14
pslld mm7, 0x31
movups xmm13, xmm4
nop
movups xmm4, xmm12
xorps xmm2, xmm13
pop r14
ror edx, 6
psrlw mm5, 0x3b
paddw mm2, mm1
dec edx
pmullw mm5, mm1
psrlq mm7, 0x57
pop rdx
mov edx, dword [rax + 0x20]
add rdx, rbx
cmp r11d, ebx
jne 0x394046eb9
cmp r11w, 0xd
jne 0x394046e7c
push rdx
emms
push rax
psubusw mm1, mm6
nop
pop rax
neg rdx
pop rdx
jmp 0x394046e90
push r8
psrlw mm3, 0x2d
push r12
dec r12d
emms
pop r12
pand mm7, mm4
pop r8
push r15
nop
push r11
pand mm3, mm1
nop
pop r11
emms
pop r15
jmp 0x394046f0f
push r10
punpckhwd mm4, mm3
push r13
cmp r13b, r10b
xadd r13d, r10d
push rcx
sub r10w, cx
dec rcx
ror cx, 0xe
push r15
nop
not rcx
psrlw mm7, 0x6b
nop
push r14
nop
or r10b, cl
dec r10d
nop
mov rcx, r15
pop r14
not r13w
paddsb mm1, mm6
cmp r15b, r13b
pcmpgtw mm4, mm7
pop r15
pcmpgtd mm5, mm3
nop
nop
pop rcx
pslld mm0, 0xb
psllq mm0, 0x2c
pop r13
nop
pop r10
push rdx
nop
nop
not edx
push rbx
mulss xmm9, xmm8
ucomiss xmm13, xmm15
test rdx, rbx
push r8
emms
mulss xmm12, xmm13
push r10
xchg r8, rdx
andps xmm5, xmm13
pop r10
neg r8
andnps xmm4, xmm3
rcr rbx, 7
pop r8
pcmpgtw mm0, mm5
punpckldq mm7, mm5
pop rbx
psllq mm6, 0x43
neg edx
pop rdx
mov edi, dword [rax + 0x24]
add rdi, rbx
push r15
emms
emms
inc r15
emms
rol r15d, 0x10
rcpss xmm12, xmm7
xorps xmm11, xmm13
pop r15
push r10
dec r10d
emms
emms
push rbx
neg ebx
emms
sub r10b, 0x14
push r13
punpcklbw mm2, mm5
not r10b
sbb ebx, 0x13
pop r13
test ebx, r10d
paddusw mm3, mm1
pslld mm6, 0x27
pop rbx
maxps xmm8, xmm14
ror r10d, 1
neg r10b
pop r10
cmp r11b, 8
jne 0x394046fd1
push r12
emms
push rbx
paddw mm0, mm7
not r12b
pop rbx
psrld mm1, 5
pop r12
jmp 0x394046fe3
push rax
pcmpgtb mm6, mm3
push r8
pxor mm5, mm1
pcmpgtd mm2, mm7
pop r8
paddsw mm5, mm3
pop rax
push rcx
nop
push r13
paddsb mm1, mm7
ror r13d, 0xf
pop r13
pslld mm4, 0x60
pop rcx
lea r10d, [rcx - 1]
lea r13, [0x394070a48]
lea rbp, [rdx + r10*4]
add r10, r10
add r10, rdi
cmp r11, 0x1d
jne 0x39404707d
push r12
emms
nop
dec r12
nop
push r13
emms
psubsb mm3, mm0
mov r13d, 0xc
psrld mm1, 0x68
pop r13
neg r12w
mov r12, 0xe
emms
punpckhwd mm3, mm4
pop r12
jmp 0x3940470a5
push r12
dec r12d
nop
nop
nop
push r14
xor r12d, r14d
emms
sbb r14b, r12b
shl r12w, 5
pop r14
movlhps xmm8, xmm4
emms
pcmpgtd mm6, mm0
psllq mm1, 0x5a
pop r12
push r15
nop
push r10
psllq mm2, 0x58
push rdx
psllq mm5, 0x62
push r12
pmaxub mm6, mm5
pop r12
emms
pop rdx
andps xmm10, xmm12
pop r10
psraw mm0, 0x1d
pop r15
mov ecx, dword [rbp]
add rcx, rbx
push r15
rcr r15, 0x15
addss xmm13, xmm3
emms
emms
push rbx
rol ebx, 1
nop
add r15, rbx
push r10
rcr r15w, 0x15
emms
push r8
andps xmm9, xmm5
pop r8
test r15d, r10d
shl bx, 0x17
pop r10
nop
not r15b
neg r15b
pop rbx
nop
subss xmm8, xmm6
emms
punpckhbw mm5, mm6
pop r15
cmp word [rcx], 0
je 0x39404733f
push r13
mulps xmm15, xmm1
push rbx
xchg bl, r13b
push r14
movlhps xmm4, xmm8
pop r14
shr r13b, 0x16
pop rbx
emms
pop r13
call fcn.394045134
mov r11d, esi
shl r11, 4
add r11, r13
mov dword [r11], eax
push rbx
emms
andps xmm14, xmm9
dec ebx
psraw mm7, 0x3c
psllq mm6, 0x10
psrlq mm4, 0x40
maxps xmm12, xmm4
pop rbx
movzx eax, word [r10]
mov eax, dword [r12 + rax*4]
mov dword [r11 + 4], eax
cmp r11w, ax
jne 0x394047213
push r14
emms
por mm3, mm1
emms
nop
neg r14b
push r13
not r13
inc r13d
nop
psrad mm0, 0x1e
push rcx
emms
xor r13w, r14w
sar r13, 0xa
push r12
subss xmm13, xmm15
add cl, r12b
push rdx
psrlw mm7, 0x33
pop rdx
psrlw mm2, 0x4e
movhlps xmm8, xmm11
pop r12
nop
paddd mm3, mm2
not r14d
pop rcx
add r13b, r14b
neg r14w
paddusb mm2, mm4
nop
pop r13
psrld mm3, 0x2e
packsswb mm7, mm4
psrld mm2, 0x2f
minps xmm11, xmm10
paddw mm5, mm1
pop r14
jmp 0x394047255
push rdx
nop
psrlw mm2, 0x12
push r13
nop
test r13b, dl
push r8
and dl, r8b
shl dx, 0xa
push rbx
pmaxub mm6, mm2
punpckldq mm7, mm0
push rcx
mov rcx, r8
emms
pop rcx
sar dx, 1
movss xmm8, xmm13
pop rbx
sar r8, 0x15
nop
pop r8
pslld mm7, 0x27
punpckldq mm0, mm7
pop r13
psrlq mm3, 0x4f
nop
pop rdx
push r14
mov r14d, 7
pmullw mm0, mm4
nop
nop
nop
emms
shr r14, 0x10
pop r14
mov eax, dword [r11 + 4]
add rax, rbx
mov qword [r11 + 8], rax
cmp r11, r9
jne 0x394047285
push r13
pslld mm7, 0x32
pop r13
jmp 0x39404728b
push rax
psrlq mm7, 0xc
pop rax
push r14
ror r14b, 0x10
pop r14
inc esi
push rbx
psraw mm1, 0x30
push r14
paddusw mm5, mm3
emms
push r12
subss xmm5, xmm15
emms
nop
push rdx
sar r14d, 0xd
add r12w, bx
nop
movhlps xmm8, xmm11
push r10
psrlq mm0, 0x3c
xor rdx, r10
psrld mm7, 0x10
nop
neg r12d
pop r10
mov r14, rdx
maxss xmm2, xmm0
not dl
psrlw mm2, 0x62
pop rdx
emms
neg r12w
emms
pop r12
not r14b
pslld mm6, 0x1d
pop r14
nop
pop rbx
cmp esi, 0x7d0
jne 0x39404730b
push rbx
sbb bx, 8
push r12
pminsw mm5, mm0
pop r12
emms
pop rbx
jmp 0x394047392
push rcx
psubusw mm0, mm7
movss xmm13, xmm7
nop
subps xmm11, xmm6
packsswb mm7, mm1
push r12
emms
pmulhuw mm4, mm0
sub r12, rcx
emms
inc r12d
pop r12
emms
pmulhuw mm5, mm7
mov cx, 0xe
nop
pmullw mm7, mm6
movss xmm5, xmm7
pop rcx
push rcx
addss xmm2, xmm6
push r14
pcmpeqd mm7, mm3
neg r14d
push r15
and r14b, r15b
punpcklbw mm6, mm3
psraw mm3, 0xe
push r11
paddsb mm4, mm7
emms
emms
not r15b
pop r11
pcmpgtd mm6, mm4
punpcklwd mm2, mm3
emms
pop r15
punpckhwd mm2, mm0
packsswb mm3, mm1
pop r14
minps xmm13, xmm3
pop rcx
sub rbp, 4
lea rax, [r10 - 2]
cmp rdi, r10
je 0x394047392
mov r10, rax
jmp 0x39404700a
push rbx
mov rbx, 2
push r14
pop r14
dec rbx
jne 0x39404739a
pop rbx
mov dword [0x394070a40], esi
push rax
psrld mm6, 0x23
push r13
pslld mm7, 0x5f
push rdx
paddusb mm2, mm7
push rbx
mulss xmm7, xmm4
push r10
andps xmm15, xmm10
push r11
not r11b
pop r11
psllq mm4, 0x6b
pop r10
mov r13b, 0xf
pop rbx
emms
pop rdx
mov eax, 0xe
pop r13
nop
pop rax
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret