Function at 0x18004f8d0
Capabilities:
Authenticate hmac
Encode data using xor
Parse pe header

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rdi, rcx
lea r9, [rbp + 0xb8]
mov rcx, qword [rcx + 8]
lea r8, [0x180069040]
xor ebx, ebx
xor edx, edx
mov qword [rbp + 0xb8], rbx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov r8d, eax
test eax, eax
jns 0x18004fafb
movaps xmm0, xmmword [0x180069090]
movabs r9, 0x4ec4ec4ec4ec4ec5
movaps xmm1, xmmword [0x1800690a0]
movzx ecx, byte [0x1800690d8]
movups xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x58], cl
movaps xmm0, xmmword [0x1800690b0]
movups xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [0x1800690d0]
movups xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [0x1800690c0]
movsd qword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x40], xmm1
nop dword [rax]
nop word [rax + rax]
mov rax, r9
mul rbx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [rbp + rbx + 0x10], al
inc rbx
cmp rbx, 0x49
jb 0x18004f970
mov ecx, dword [0x180069080]
movups xmm1, xmmword [0x180069060]
movzx edx, byte [0x180069084]
movups xmm0, xmmword [0x180069050]
mov dword [rsp + 0x50], ecx
xor cl, 0x61
xor byte [rsp + 0x51], 0x62
xor dl, 0x31
xor byte [rsp + 0x52], 0x63
xor byte [rsp + 0x53], 0x64
movups xmmword [rsp + 0x20], xmm0
xor byte [rsp + 0x21], 0x32
movups xmm0, xmmword [0x180069070]
xor byte [rsp + 0x22], 0x33
xor byte [rsp + 0x23], 0x34
xor byte [rsp + 0x24], 0x35
xor byte [rsp + 0x25], 0x36
xor byte [rsp + 0x26], 0x37
xor byte [rsp + 0x27], 0x38
xor byte [rsp + 0x28], 0x39
xor byte [rsp + 0x29], 0x3a
xor byte [rsp + 0x2a], 0x3b
xor byte [rsp + 0x2b], 0x3c
xor byte [rsp + 0x2c], 0x3d
xor byte [rsp + 0x2d], 0x3e
xor byte [rsp + 0x2e], 0x3f
xor byte [rsp + 0x2f], 0x40
movups xmmword [rsp + 0x30], xmm1
xor byte [rsp + 0x31], 0x42
xor byte [rsp + 0x32], 0x43
xor byte [rsp + 0x33], 0x44
xor byte [rsp + 0x34], 0x45
xor byte [rsp + 0x35], 0x46
xor byte [rsp + 0x36], 0x47
xor byte [rsp + 0x37], 0x48
xor byte [rsp + 0x38], 0x49
xor byte [rsp + 0x39], 0x4a
xor byte [rsp + 0x3a], 0x4b
xor byte [rsp + 0x3b], 0x4c
xor byte [rsp + 0x3c], 0x4d
xor byte [rsp + 0x3d], 0x4e
xor byte [rsp + 0x3e], 0x4f
xor byte [rsp + 0x3f], 0x50
movups xmmword [rsp + 0x40], xmm0
xor byte [rsp + 0x41], 0x52
xor byte [rsp + 0x42], 0x53
xor byte [rsp + 0x43], 0x54
xor byte [rsp + 0x44], 0x55
xor byte [rsp + 0x45], 0x56
xor byte [rsp + 0x46], 0x57
xor byte [rsp + 0x47], 0x58
xor byte [rsp + 0x48], 0x59
xor byte [rsp + 0x49], 0x5a
xor byte [rsp + 0x4a], 0x5b
xor byte [rsp + 0x4b], 0x5c
xor byte [rsp + 0x4c], 0x5d
xor byte [rsp + 0x4d], 0x5e
xor byte [rsp + 0x4e], 0x5f
xor byte [rsp + 0x4f], 0x60
movd eax, xmm1
mov byte [rsp + 0x50], cl
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x54], dl
lea rdx, [rbp + 0x10]
xor al, 0x41
mov byte [rsp + 0x20], 0x25
mov byte [rsp + 0x30], al
movd eax, xmm0
xor al, 0x51
mov byte [rsp + 0x40], al
call fcn.180001140
xor al, al
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rdi + 0x10]
lea r9, [rdi + 0x38]
mov rdx, qword [rbp + 0xb8]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0xb8]
mov edi, eax
mov dword [rbp + 0xb0], eax
movabs rax, 0x7ffffffdfffe
lea rdx, [rcx - 0x10000]
cmp rdx, rax
ja 0x18004fb45
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rbp + 0xb8], rbx
test edi, edi
jns 0x1800502b7
movaps xmm0, xmmword [0x180069120]
mov r8, rbx
movaps xmm1, xmmword [0x180069130]
movabs r9, 0x4ec4ec4ec4ec4ec5
movzx eax, byte [0x180069168]
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x180], r12
movups xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x178], r13
movaps xmm0, xmmword [0x180069140]
movups xmmword [rbp + 0x30], xmm0
mov qword [rsp + 0x170], r14
movsd xmm0, qword [0x180069160]
movups xmmword [rbp + 0x20], xmm1
mov qword [rsp + 0x168], r15
movaps xmm1, xmmword [0x180069150]
movsd qword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x40], xmm1
mov byte [rbp + 0x58], al
nop word [rax + rax]
mov rax, r9
mul r8
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rbp + r8 + 0x10], al
inc r8
cmp r8, 0x49
jb 0x18004fbd0
movaps xmm0, xmmword [0x1800690e0]
lea rax, [rsp + 0x20]
movaps xmm1, xmmword [0x1800690f0]
lea rcx, [rsp + 0x20]
mov r10d, 1
mov r11d, 2
sub r10, rax
mov esi, 3
lea rax, [rsp + 0x20]
mov r14d, 4
sub r11, rax
mov r15d, 5
lea rax, [rsp + 0x20]
mov r12d, 6
sub rsi, rax
mov r13d, 7
lea rax, [rsp + 0x20]
sub r14, rax
lea rax, [rsp + 0x20]
sub r15, rax
lea rax, [rsp + 0x20]
sub r12, rax
lea rax, [rsp + 0x20]
sub r13, rax
mov eax, 8
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp + 0xc0], rax
mov eax, 9
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp + 0xc8], rax
mov eax, 0xa
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov eax, 0xb
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov eax, 0xc
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov eax, 0xd
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov eax, 0xe
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x80], rax
mov eax, 0xf
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x78], rax
mov eax, 0x10
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x70], rax
mov eax, 0x11
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x68], rax
mov eax, 0x12
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x60], rax
mov eax, 0x13
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x58], rax
mov eax, 0x14
movups xmmword [rsp + 0x20], xmm0
sub rax, rcx
movaps xmm0, xmmword [0x180069100]
movups xmmword [rsp + 0x30], xmm1
mov qword [rbp - 0x50], rax
movaps xmm1, xmmword [0x180069110]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
mov rdi, qword [rbp + 0xc0]
lea rcx, [rsp + 0x20]
mov eax, 0x15
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x48], rax
mov eax, 0x16
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x40], rax
mov eax, 0x17
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x38], rax
mov eax, 0x18
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x30], rax
mov eax, 0x19
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x28], rax
mov eax, 0x1a
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x20], rax
mov eax, 0x1b
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x18], rax
mov eax, 0x1c
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 0x10], rax
mov eax, 0x1d
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp - 8], rax
mov eax, 0x1e
sub rax, rcx
lea rcx, [rsp + 0x20]
mov qword [rbp], rax
mov eax, 0x1f
sub rax, rcx
mov qword [rbp + 8], rax
mov rax, r9
lea r8, [rsp + 0x20]
mul rbx
add r8, rbx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
lea rcx, [r10 + r8]
add al, 0x31
xor byte [r8], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
lea rcx, [r11 + r8]
add al, 0x32
xor byte [r8 + 1], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
lea rcx, [rsi + r8]
add al, 0x33
xor byte [r8 + 2], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
lea rcx, [r14 + r8]
add al, 0x34
xor byte [r8 + 3], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
lea rcx, [r15 + r8]
add al, 0x35
xor byte [r8 + 4], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
lea rcx, [r12 + r8]
add al, 0x36
xor byte [r8 + 5], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
lea rcx, [r8 + r13]
add al, 0x37
xor byte [r8 + 6], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8 + 7], al
lea rcx, [rdi + r8]
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 0xc8]
add al, 0x39
add rcx, r8
xor byte [r8 + 8], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rsp + 0x60]
add al, 0x3a
add rcx, r8
xor byte [r8 + 9], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rsp + 0x68]
add al, 0x3b
add rcx, r8
xor byte [r8 + 0xa], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rsp + 0x70]
add al, 0x3c
add rcx, r8
xor byte [r8 + 0xb], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rsp + 0x78]
add al, 0x3d
add rcx, r8
xor byte [r8 + 0xc], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x80]
add al, 0x3e
add rcx, r8
xor byte [r8 + 0xd], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x78]
add al, 0x3f
add rcx, r8
xor byte [r8 + 0xe], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x70]
add al, 0x40
add rcx, r8
xor byte [r8 + 0xf], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x68]
add al, 0x41
add rcx, r8
xor byte [r8 + 0x10], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x60]
add al, 0x42
add rcx, r8
xor byte [r8 + 0x11], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x58]
add al, 0x43
add rcx, r8
xor byte [r8 + 0x12], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x50]
add al, 0x44
add rcx, r8
xor byte [r8 + 0x13], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x48]
add al, 0x45
add rcx, r8
xor byte [r8 + 0x14], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x40]
add al, 0x46
add rcx, r8
xor byte [r8 + 0x15], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
add al, 0x47
mov rcx, qword [rbp - 0x38]
xor byte [r8 + 0x16], al
add rcx, r8
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x30]
add al, 0x48
add rcx, r8
xor byte [r8 + 0x17], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x28]
add al, 0x49
add rcx, r8
xor byte [r8 + 0x18], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x20]
add al, 0x4a
add rcx, r8
xor byte [r8 + 0x19], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x18]
add al, 0x4b
add rcx, r8
xor byte [r8 + 0x1a], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 0x10]
add al, 0x4c
add rcx, r8
xor byte [r8 + 0x1b], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp - 8]
add al, 0x4d
add rcx, r8
xor byte [r8 + 0x1c], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp]
add al, 0x4e
xor byte [r8 + 0x1d], al
add rcx, r8
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
sub al, cl
mov rcx, qword [rbp + 8]
add al, 0x4f
add rcx, r8
xor byte [r8 + 0x1e], al
mov rax, r9
mul rcx
shr rdx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
add rbx, 0x20
sub al, cl
add al, 0x50
xor byte [r8 + 0x1f], al
cmp rbx, 0x40
jb 0x18004fe30
mov r8d, dword [rbp + 0xb0]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x20]
call fcn.180001140
mov r15, qword [rsp + 0x168]
xor al, al
mov r14, qword [rsp + 0x170]
mov r13, qword [rsp + 0x178]
mov r12, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x188]
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret
mov al, 1
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret