Function at 0x50df50
Capabilities:
Authenticate hmac

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x50e2ef
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
lea rax, [0x006afd40]
mov qword [rsp], rax
call fcn.0040f840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x38]
mov qword [rdx + 0x40], rcx
mov ecx, dword [0x008b4340]
lea rbx, [rdx + 0x48]
test ecx, ecx
jne 0x50e2d7
mov qword [rdx + 0x48], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov rdx, rax
call rcx
mov rax, qword [rsp + 8]
mov rcx, qword [rsp]
mov rbx, qword [rsp + 0x38]
mov qword [rbx + 0x50], rcx
mov ecx, dword [0x008b4340]
lea rsi, [rbx + 0x58]
test ecx, ecx
jne 0x50e2bf
mov qword [rbx + 0x58], rax
mov rax, qword [rbx + 0x50]
mov rax, qword [rax + 0x30]
mov rcx, qword [rbx + 0x58]
mov qword [rsp], rcx
call rax
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov rax, qword [rcx + 0x50]
mov rax, qword [rax + 0x20]
mov rdx, qword [rcx + 0x58]
mov qword [rsp], rdx
call rax
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 8], rax
mov qword [rsp + 0x10], rax
lea rdx, [0x0066fcc0]
mov qword [rsp], rdx
mov qword [rsp + 8], rax
call fcn.0043e630
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x38]
mov qword [rbx + 0x30], rcx
mov qword [rbx + 0x38], rax
mov eax, dword [0x008b4340]
lea rcx, [rbx + 0x28]
test eax, eax
jne 0x50e2a7
mov qword [rbx + 0x28], rdx
mov rax, qword [rbx + 8]
mov qword [rsp + 0x10], rax
lea rcx, [0x0066fcc0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0043e630
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x38]
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
mov eax, dword [0x008b4340]
lea rcx, [rbx + 0x10]
test eax, eax
jne 0x50e28f
mov qword [rbx + 0x10], rdx
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jg 0x50e21e
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rax
mov rdx, qword [rbx + 0x28]
mov rsi, qword [rbx + 0x30]
cmp rsi, rcx
jle 0x50e211
mov rsi, rcx
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call fcn.00455480
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rbx, qword [rsp + 0x60]
cmp rdx, rbx
jle 0x50e209
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
call fcn.00455480
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x30]
xor edx, edx
cmp rdx, rcx
jge 0x50e183
mov rbx, qword [rax + 0x28]
mov rsi, qword [rax + 0x30]
cmp rdx, rsi
jae 0x50e202
movzx esi, byte [rbx + rdx]
xor esi, 0x36
mov byte [rbx + rdx], sil
inc rdx
cmp rdx, rcx
jl 0x50e15f
mov rcx, qword [rax + 0x18]
xor edx, edx
cmp rdx, rcx
jge 0x50e1ae
mov rbx, qword [rax + 0x10]
mov rsi, qword [rax + 0x18]
cmp rdx, rsi
jae 0x50e1fb
movzx esi, byte [rbx + rdx]
xor esi, 0x5c
mov byte [rbx + rdx], sil
inc rdx
cmp rdx, rcx
jl 0x50e18e
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rax + 0x58]
mov rbx, qword [rax + 0x28]
mov rsi, qword [rax + 0x30]
mov rdi, qword [rax + 0x38]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp], rdx
call rcx
lea rax, [0x007e9600]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
call fcn.004293e0
ud2
call fcn.004293e0
ud2
mov rbx, rdx
jmp 0x50e137
mov rcx, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x50e109
mov rax, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x40]
mov rdx, qword [rdx + 0x40]
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x18], rcx
mov qword [rsp], rax
call rdx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x48]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 0x38]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rsp], rcx
call rdx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
jmp 0x50e0eb
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
call fcn.00410240
mov rbx, qword [rsp + 0x38]
jmp 0x50e0d4
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
call fcn.00410240
mov rbx, qword [rsp + 0x38]
jmp 0x50e084
mov qword [rsp], rsi
mov qword [rsp + 8], rax
call fcn.00410240
mov rbx, qword [rsp + 0x38]
jmp 0x50dff9
mov qword [rsp], rbx
mov qword [rsp + 8], rax
call fcn.00410240
mov rdx, qword [rsp + 0x38]
jmp 0x50dfc4
call fcn.00452210
jmp fcn.0050df50