Function at 0x3940459c5
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
push r14
emms
psrad mm4, 0x1b
psubusw mm0, mm3
push rax
movups xmm5, xmm10
adc r14, rax
emms
push r11
not r14d
not eax
push r12
xorps xmm15, xmm11
emms
pop r12
emms
inc eax
nop
pop r11
rcl r14w, 0xf
neg r14
pop rax
sar r14b, 0x14
pmulhuw mm7, mm2
pop r14
mov esi, dword [0x394078760]
test esi, esi
je 0x394045a36
push r13
shr r13w, 2
xorps xmm0, xmm9
push rcx
rcr r13d, 5
pop rcx
nop
inc r13
pop r13
jmp 0x3940464a9
push r13
psrld mm6, 2
push r9
not r9d
inc r9
push r14
emms
rcpps xmm10, xmm1
shl r9b, 0xb
push r10
movlhps xmm14, xmm9
emms
emms
xchg r10d, r14d
pop r10
nop
inc r13d
rcpss xmm2, xmm8
pop r14
movups xmm7, xmm10
andnps xmm8, xmm0
pop r9
mov r13d, 0x14
pop r13
mov ecx, 0x60
call fcn.394044767
push rcx
nop
xorps xmm7, xmm10
push r13
comiss xmm2, xmm0
pop r13
pslld mm3, 0x4c
psraw mm0, 0x38
pop rcx
mov rax, qword [rax + 0x18]
cmp r11, 0x47
jne 0x394045ab5
push r9
nop
pop r9
jmp 0x394045abb
push rbx
comiss xmm5, xmm12
pop rbx
push rdx
psrlw mm6, 0x2e
pop rdx
cmp r11, 0x14
jne 0x394045ad5
push r15
emms
pop r15
jmp 0x394045adc
push r8
not r8
pop r8
push rcx
not cl
pop rcx
push r14
nop
pop r14
push r14
inc r14d
psrlw mm2, 0x5c
neg r14b
nop
shr r14w, 0x16
push r15
inc r14d
xchg r14d, r15d
psubsb mm7, mm1
xadd r15b, r14b
psrlq mm6, 0x59
pop r15
psrlq mm2, 3
inc r14
emms
emms
not r14
emms
pop r14
xor ebx, ebx
mov rdx, qword [rax + 0x10]
xor eax, eax
cmp qword [rdx + 0x30], 0
je 0x394045deb
push r10
inc r10d
push r11
test r11b, r10b
push rbx
nop
push r13
psrad mm6, 0x44
push r15
pcmpeqw mm6, mm3
pop r15
ror bl, 0x12
pop r13
psrlw mm5, 0x67
pop rbx
addss xmm4, xmm7
pop r11
psrlw mm0, 0x20
pop r10
mov rbx, qword [rdx + 0x30]
push rbx
emms
push rax
orps xmm9, xmm6
push r11
xchg bx, ax
push r15
inc r15
pop r15
rol rbx, 0x13
pop r11
nop
pop rax
andnps xmm5, xmm6
pop rbx
push r8
mov r8, 2
push rbx
push rcx
pop rcx
pop rbx
dec r8
jne 0x394045b8c
pop r8
movsxd rcx, dword [rbx + 0x3c]
add rcx, rbx
cmp r11w, 0x48
jne 0x394045bcc
push r15
rcpss xmm8, xmm1
push rcx
emms
addps xmm14, xmm4
pop rcx
pmullw mm1, mm5
pop r15
jmp 0x394045be0
push rax
psrlw mm7, 0x4a
push r14
not r14w
emms
pop r14
pslld mm5, 0x45
pop rax
push r10
nop
push r13
or r13b, r10b
movaps xmm14, xmm8
pop r13
movaps xmm9, xmm10
pop r10
cmp r11b, bl
jne 0x394045c0e
push r15
psrld mm5, 0x18
push r14
emms
emms
pop r14
neg r15
pop r15
jmp 0x394045c23
push rdx
emms
push r9
xorps xmm14, xmm1
psrad mm3, 0x24
pop r9
addss xmm9, xmm4
pop rdx
push rcx
psraw mm3, 0x2f
push r10
subss xmm9, xmm4
emms
pop r10
emms
pop rcx
mov ecx, dword [rcx + 0x88]
push r11
sar r11, 0xd
nop
nop
push r8
psrlq mm0, 0x68
sbb r11d, 1
psllq mm3, 0x2e
push r15
psllq mm2, 0x14
not r8d
push rdx
nop
pslld mm1, 0x27
pop rdx
pmulhuw mm4, mm2
movhlps xmm3, xmm4
xchg r11b, r8b
pop r15
neg r8w
emms
pop r8
rol r11, 0xe
nop
pop r11
test ecx, ecx
jne 0x394045cb6
push rdx
packsswb mm3, mm6
push r13
psrad mm2, 0x38
push rax
not eax
push rbx
emms
push rcx
psrlq mm4, 0x5e
push r14
dec rax
pop r14
emms
pop rcx
psrld mm5, 0x5a
pop rbx
punpckhwd mm6, mm7
pop rax
pcmpgtw mm6, mm2
pop r13
shl dl, 7
pop rdx
jmp 0x394045de3
push r9
ror r9w, 0x17
pop r9
lea rax, [rcx + rbx]
push r15
emms
movhlps xmm1, xmm2
emms
inc r15d
push rcx
mov rcx, 0xe
neg r15
or rcx, r15
push rbx
emms
dec r15d
push r14
psrlw mm6, 0x55
pop r14
shl r15w, 0xa
nop
pop rbx
mov r15w, 4
sub cl, r15b
nop
pop rcx
pxor mm3, mm5
not r15d
movhlps xmm5, xmm2
maxps xmm4, xmm11
pop r15
mov ecx, dword [rax + 0xc]
add rcx, rbx
cmp r11w, r8w
jne 0x394045d3f
push rbx
emms
push r10
emms
emms
pop r10
subss xmm11, xmm3
pop rbx
jmp 0x394045d52
push r12
rcl r12w, 9
push r13
psraw mm3, 0x5f
nop
pop r13
nop
pop r12
push rax
emms
push r8
punpcklwd mm0, mm1
rcpps xmm15, xmm4
pop r8
ror al, 6
pop rax
mov r8d, dword [rcx]
or r8d, 0x20202020
cmp r8d, 0x6e72656b
je 0x394045d7d
push rdx
emms
pop rdx
jmp 0x394045de3
push r9
paddsb mm0, mm7
push r12
adc r9d, r12d
push r10
rcl r10w, 1
pop r10
comiss xmm10, xmm12
pop r12
pcmpeqb mm6, mm7
pop r9
mov ecx, dword [rcx + 4]
or ecx, 0x20202020
cmp ecx, 0x61626c65
jne 0x394045dd1
push r14
psubusw mm2, mm6
push rax
packuswb mm2, mm6
push rcx
emms
push rbx
emms
push rdx
add rbx, r14
pop rdx
pminsw mm0, mm4
pop rbx
emms
pop rcx
sub al, r14b
pop rax
neg r14d
pop r14
jmp 0x394045deb
push r8
sub r8, 2
push r9
pandn mm2, mm6
pop r9
neg r8d
pop r8
mov rdx, qword [rdx]
jmp 0x394045b26
push r8
psrld mm5, 0xf
push rax
nop
push rbx
sar bl, 0xa
pop rbx
addps xmm7, xmm1
pop rax
pcmpgtd mm3, mm6
pop r8
test rax, rax
jne 0x394045e34
push r11
psrld mm2, 0xf
push r8
rol r8d, 0x14
push r15
rcpss xmm12, xmm10
push r13
nop
pop r13
emms
pop r15
mov r11d, 0xf
pop r8
not r11b
pop r11
jmp 0x3940464ae
push r11
psllq mm1, 4
push r15
cmp r11d, r15d
shl r15, 0xe
push rdx
nop
maxss xmm14, xmm1
nop
push rax
emms
shl r15w, 0x15
neg r11d
pmaxsw mm5, mm2
pop rax
rcpss xmm7, xmm12
dec r11d
emms
pop rdx
add r11w, r15w
nop
pop r15
emms
pop r11
mov ecx, dword [rax + 0x18]
push rdx
psubsb mm7, mm4
nop
mulps xmm10, xmm3
nop
push rbx
emms
psrad mm7, 0x45
psrad mm3, 0x2a
push r10
rol edx, 1
nop
push rax
dec edx
pop rax
nop
psrld mm0, 6
pop r10
neg rdx
punpckhbw mm5, mm1
paddsb mm5, mm0
pop rbx
xorps xmm2, xmm0
maxss xmm9, xmm7
inc rdx
nop
pop rdx
mov r12d, dword [rax + 0x1c]
add r12, rbx
push r10
pmulhuw mm6, mm3
push r8
shl r8w, 0x16
emms
push r14
emms
dec r8
and r14b, r10b
push r12
psraw mm2, 0x65
neg r8
pcmpgtd mm6, mm2
inc r14
push r11
add r8d, r11d
pslld mm1, 0x16
paddusb mm4, mm0
nop
comiss xmm11, xmm5
pop r11
psrad mm4, 0x34
pslld mm2, 0xb
paddsb mm0, mm7
not r14b
pop r12
nop
punpcklwd mm5, mm3
emms
pop r14
mov r10, r8
rol r8d, 8
pop r8
maxss xmm7, xmm3
pop r10
mov edx, dword [rax + 0x20]
add rdx, rbx
push r15
psrlw mm4, 0x64
movss xmm8, xmm6
nop
emms
push rax
nop
not eax
or eax, r15d
push r9
psrad mm2, 0x4c
pmaxsw mm1, mm5
push r11
psraw mm4, 0x3b
pop r11
rcpss xmm15, xmm3
psrad mm6, 0x37
pop r9
psrlq mm7, 0x35
emms
shl ax, 2
pop rax
nop
nop
nop
nop
pop r15
mov edi, dword [rax + 0x24]
add rdi, rbx
push rcx
nop
push rbx
emms
andps xmm9, xmm5
push r11
movhlps xmm12, xmm0
sbb ecx, 0xa
test r11d, ebx
pop r11
rcr cx, 0xa
not rcx
pop rbx
emms
pop rcx
cmp r11, 0x3f
jne 0x394045f9b
push r15
punpcklwd mm5, mm6
pop r15
jmp 0x394045fa0
push rax
punpcklbw mm3, mm0
pop rax
push rcx
nop
pop rcx
push r8
mov r8, 1
push rax
nop
shr eax, 0xd
minps xmm13, xmm5
pmaxsw mm3, mm6
push r14
rcr r14, 0x14
emms
emms
or r14b, al
pop r14
packsswb mm0, mm7
pmaxub mm3, mm5
shl ax, 0x11
sub rax, 6
pop rax
dec r8
jne 0x394045fac
pop r8
lea r10d, [rcx - 1]
lea r13, [0x394078768]
lea rbp, [rdx + r10*4]
add r10, r10
add r10, rdi
cmp r11, 0x25
je 0x394046147
push r11
not r11d
punpckhbw mm0, mm1
push r15
punpcklwd mm2, mm0
or r11b, r15b
push rcx
nop
minps xmm3, xmm2
push r14
pslld mm4, 0x14
psrad mm0, 0x62
push rdx
dec r15d
paddusw mm0, mm4
pop rdx
rcr r14w, 0xd
emms
pop r14
xchg r15w, r11w
psraw mm1, 0x33
pop rcx
emms
punpckhwd mm7, mm5
pop r15
paddb mm2, mm5
nop
pop r11
cmp rdx, 0x26
je 0x39404616c
push rbx
nop
push r9
emms
movlhps xmm14, xmm2
push r8
pcmpeqb mm0, mm3
emms
inc r9
push r11
dec r8d
psllq mm7, 0x65
inc r11
nop
pop r11
nop
emms
inc r8
pop r8
punpckhwd mm2, mm0
andps xmm14, xmm4
pop r9
emms
pop rbx
cmp r14w, r15w
je 0x39404619c
push rbx
mov rbx, 1
push r13
pop r13
dec rbx
jne 0x394046095
pop rbx
cmp r13d, 5
je 0x3940461ba
cmp r11w, 0x1b
jne 0x3940460c5
push r12
dec r12
push rax
shl r12w, 0x16
neg r12
pop rax
emms
pop r12
jmp 0x3940460d7
push r13
nop
push r14
inc r14
pcmpeqb mm6, mm5
pop r14
inc r13
pop r13
push rdx
psubusw mm2, mm0
push r8
mov dl, r8b
paddd mm2, mm4
pop r8
ucomiss xmm14, xmm5
pop rdx
cmp rdx, 0xb
je 0x3940461fa
cmp r11, 0x2d
jne 0x39404610f
push r11
dec r11
push r12
punpckhwd mm0, mm1
nop
pop r12
psrlw mm4, 0x36
pop r11
jmp 0x394046124
push r13
psrlq mm6, 2
push rdx
psrlq mm3, 0x4f
sbb r13, rdx
pop rdx
mulps xmm15, xmm4
pop r13
push rcx
not cx
push r14
emms
rol r14, 0x11
pop r14
psubsb mm2, mm6
pop rcx
cmp r8w, 0x4a
je 0x39404622c
jne 0x394046244
push rdx
pand mm4, mm7
emms
xorps xmm3, xmm0
paddsb mm6, mm5
push rbx
shl rdx, 4
nop
nop
sar bx, 0x15
pop rbx
nop
punpcklwd mm7, mm2
nop
emms
pop rdx
jmp 0x394046244
push r12
psrlq mm2, 0x25
shl r12d, 0xc
pcmpeqb mm5, mm6
emms
push r10
emms
nop
mov r12d, r10d
sub r12b, 0x10
pop r10
emms
pxor mm1, mm5
ror r12d, 0x16
dec r12
pop r12
jmp 0x394046244
push r15
psllq mm3, 0x16
push r11
emms
push rax
emms
pop rax
sub r11b, 0xe
pop r11
pcmpgtb mm6, mm2
pop r15
jmp 0x394046244
cmp r11b, al
jne 0x3940461d2
push r10
nop
push r13
sar r13d, 6
emms
pop r13
emms
pop r10
jmp 0x3940461e3
push r12
psrad mm0, 0x20
push r8
nop
emms
pop r8
emms
pop r12
push r15
psrlq mm4, 0x24
push rdx
emms
xadd dx, r15w
pop rdx
orps xmm14, xmm0
pop r15
jmp 0x394046244
push r10
sbb r10w, 0x16
push r13
emms
push rdx
andps xmm2, xmm1
push r12
shl rdx, 0xc
push rbx
cmp dl, r12b
pop rbx
psrlq mm3, 0x28
pop r12
maxps xmm2, xmm5
pop rdx
paddw mm3, mm1
pop r13
rcpss xmm9, xmm15
pop r10
jmp 0x394046244
push r14
mov r14, 2
push r9
push r13
pop r13
pop r9
dec r14
jne 0x394046235
pop r14
push r9
rcpss xmm12, xmm6
push r14
packssdw mm2, mm1
cmp r14b, r9b
pop r14
nop
pop r9
mov ecx, dword [rbp]
add rcx, rbx
push rdx
paddusw mm3, mm0
push r13
xadd r13, rdx
pcmpgtb mm7, mm5
push rax
neg rax
sbb rdx, 0x17
adc eax, edx
pop rax
nop
emms
pop r13
movups xmm13, xmm1
pop rdx
cmp word [rcx], 0
je 0x394046408
push r13
ror r13d, 0xd
push r8
emms
push rbx
dec r8
push r11
nop
push r10
psrlw mm4, 0x10
pop r10
addss xmm0, xmm14
pop r11
shl r13b, 0xf
pop rbx
emms
pop r8
sar r13b, 0x15
pop r13
call fcn.394045134
mov r11d, esi
shl r11, 4
add r11, r13
mov dword [r11], eax
push rbx
nop
maxps xmm4, xmm0
push r9
pcmpeqd mm5, mm7
pop r9
psrad mm6, 0x43
maxps xmm8, xmm10
pop rbx
movzx eax, word [r10]
mov eax, dword [r12 + rax*4]
mov dword [r11 + 4], eax
push rdx
nop
rol dl, 0x15
neg edx
movaps xmm4, xmm10
paddw mm4, mm7
push r11
nop
punpcklbw mm3, mm6
pslld mm4, 6
emms
push r15
neg dl
emms
emms
push rax
sbb r15w, ax
pslld mm6, 0x35
push r8
xor ax, r8w
pop r8
shl dl, 5
emms
pop rax
nop
shl rdx, 0x14
inc edx
pop r15
mov rdx, r11
emms
psrlq mm0, 0x14
punpcklwd mm6, mm4
pop r11
psrlw mm2, 0xb
ror rdx, 5
pcmpgtd mm3, mm0
addss xmm4, xmm0
pslld mm4, 7
pop rdx
mov eax, dword [r11 + 4]
add rax, rbx
mov qword [r11 + 8], rax
push r12
pand mm0, mm2
nop
nop
nop
movss xmm12, xmm4
push r13
psrlw mm4, 0x6b
inc r12d
packsswb mm4, mm3
emms
adc r13d, r12d
pop r13
psraw mm3, 0x43
inc r12d
mulps xmm4, xmm9
psrld mm2, 0x3f
nop
movhlps xmm14, xmm2
pop r12
inc esi
push r10
rcr r10b, 0xb
emms
mulps xmm14, xmm9
emms
push r12
pslld mm1, 0x20
shr r12b, 9
punpcklbw mm7, mm1
nop
pop r12
inc r10
nop
psllq mm7, 1
packssdw mm4, mm6
pop r10
cmp esi, 0x7d0
jne 0x3940463e4
push r11
paddw mm6, mm0
pmaxub mm6, mm7
psllq mm5, 0x1f
not r11d
inc r11d
pslld mm4, 0x58
movups xmm10, xmm12
pop r11
jmp 0x394046453
push rdx
nop
emms
inc edx
emms
shl edx, 0x14
nop
sbb rdx, 0x17
addss xmm4, xmm12
movhlps xmm2, xmm13
packssdw mm2, mm3
shl dl, 7
rcr dx, 7
pop rdx
push rax
nop
neg ax
push r15
mov ax, r15w
nop
push r8
rcl r8, 0xe
adc eax, r15d
push r12
not ax
andnps xmm7, xmm14
pop r12
pmullw mm3, mm5
neg eax
pop r8
xor r15d, eax
neg ax
pop r15
movaps xmm15, xmm6
emms
pop rax
sub rbp, 4
lea rax, [r10 - 2]
cmp rdi, r10
je 0x394046453
mov r10, rax
jmp 0x394045ff2
push r8
nop
movaps xmm11, xmm7
push r14
sar r8, 4
xchg r14w, r8w
push rbx
nop
maxss xmm3, xmm14
push rdx
xorps xmm10, xmm1
xor r14, r8
pop rdx
ror rbx, 1
paddw mm1, mm4
pop rbx
psrld mm0, 0x5b
sar r8b, 7
pop r14
inc r8
not r8d
pop r8
mov dword [0x394078760], esi
push rdx
shl edx, 9
ucomiss xmm11, xmm0
push r11
shr dl, 0x15
pop r11
shl rdx, 0xc
emms
pop rdx
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret