Function at 0x9171d0
Capabilities:
Authenticate hmac

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x3b8
mov rbx, qword [rsp + 0x428]
mov rsi, qword [rsp + 0x430]
mov r12, rcx
mov ecx, dword [rsp + 0x420]
mov rbp, rdx
mov rdi, r9
mov qword [rsp + 0x410], r8
test ecx, ecx
je 0x917840
test rbx, rbx
je 0x917821
test rsi, rsi
je 0x917821
cmp rbp, 0x40
ja 0x917784
lea rax, [rsp + 0x90]
mov rdx, r12
mov r8, rbp
mov rcx, rax
mov qword [rsp + 0x70], rax
call sub.msvcrt.dll_memcpy
lea rax, [rsp + 0x110]
mov edx, 0x40
mov qword [rsp + 0x48], rax
sub rdx, rbp
cmp rbp, 0x40
jne 0x9177c9
lea r8, [rsp + 0x260]
mov r9, qword [rsp + 0x70]
xor eax, eax
lea rbp, [rsp + 0xd0]
mov qword [rsp + 0x38], r8
nop dword [rax]
movzx edx, byte [r9 + rax]
mov ecx, edx
xor edx, 0x5c
xor ecx, 0x36
mov byte [r8 + rax], dl
mov byte [rbp + rax], cl
add rax, 1
cmp rax, 0x40
jne 0x917288
mov r15, qword [rsp + 0x48]
lea r12, [rsp + 0x1b8]
mov rcx, r15
call fcn.008ea0f0
mov r8d, 0x40
mov rdx, rbp
mov rcx, r15
call fcn.008ea160
mov rcx, r12
call fcn.008ea0f0
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov rcx, r12
call fcn.008ea160
lea eax, [rsi + 0x1f]
shr eax, 5
mov dword [rsp + 0x7c], eax
je 0x917758
lea rax, [rsp + 0xf0]
mov dword [rsp + 0x54], edi
lea r15, [rsp + 0x308]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x8c]
lea r14, [rsp + 0x260]
mov qword [rsp + 0x60], rax
lea rax, [rbx + rsi]
mov qword [rsp + 0x68], rax
mov eax, 0x300
mov qword [rsp + 0x40], rsi
bswap eax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x78], eax
nop word [rax + rax]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov ecx, 0x2a
mov qword [rsp + 0x38], r14
rep movsq qword [rdi], qword [rsi]
mov eax, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
mov rcx, r14
bswap eax
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x410]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rax + 0x18], 0
mov eax, dword [rsp + 0x78]
mov byte [rsp + 0xf0], pe_nt_image_headers64
mov dword [rsp + 0x10c], eax
call fcn.008ea160
mov rdx, qword [rsp + 0x60]
mov r8d, 4
mov rcx, r14
call fcn.008ea160
mov rdx, rbp
mov rcx, r14
call fcn.008ea350
mov r8d, 0x20
mov rdx, rbp
mov rcx, r15
call fcn.008ea160
mov rdx, rbp
mov rcx, r15
call fcn.008ea350
mov eax, dword [rsp + 0x3a0]
cmp dword [rsp + 0x420], 1
mov r13d, dword [rsp + 0x390]
mov r12d, dword [rsp + 0x394]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x3a4]
mov edi, dword [rsp + 0x398]
mov esi, dword [rsp + 0x39c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3a8]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3ac]
mov dword [rsp + 0x28], eax
jbe 0x91764e
mov ebx, 1
nop word cs:[rax + rax]
mov r8d, 0x40
mov rdx, rbp
mov rcx, r14
add ebx, 1
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x300], rax
call fcn.008ea160
mov eax, dword [rsp + 0x2e8]
mov rdx, rbp
mov rcx, r15
bswap eax
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x2ec]
mov r8d, 0x40
bswap eax
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0x2f0]
bswap eax
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x2f4]
bswap eax
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0x2f8]
bswap eax
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0x2fc]
bswap eax
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0x300]
bswap eax
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x304]
bswap eax
mov dword [rsp + 0xec], eax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x390], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x398], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x3a8], rax
call fcn.008ea160
mov r11d, dword [rsp + 0x398]
mov r10d, dword [rsp + 0x39c]
mov r9d, dword [rsp + 0x3a0]
mov r8d, dword [rsp + 0x3a4]
mov ecx, dword [rsp + 0x3a8]
xor dword [rsp + 0x2c], r9d
xor edi, r11d
xor esi, r10d
mov edx, dword [rsp + 0x3ac]
mov eax, dword [rsp + 0x390]
xor dword [rsp + 0x34], r8d
xor r13d, dword [rsp + 0x390]
bswap eax
xor dword [rsp + 0x30], ecx
xor r12d, dword [rsp + 0x394]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x394]
xor dword [rsp + 0x28], edx
bswap eax
mov dword [rsp + 0xd4], eax
mov eax, r11d
bswap eax
mov dword [rsp + 0xd8], eax
mov eax, r10d
bswap eax
mov dword [rsp + 0xdc], eax
mov eax, r9d
bswap eax
mov dword [rsp + 0xe0], eax
mov eax, r8d
bswap eax
mov dword [rsp + 0xe4], eax
mov eax, ecx
bswap eax
mov dword [rsp + 0xe8], eax
mov eax, edx
bswap eax
mov dword [rsp + 0xec], eax
cmp dword [rsp + 0x420], ebx
jne 0x917460
bswap edi
mov rdx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x98], edi
mov rdi, qword [rsp + 0x40]
bswap eax
bswap r13d
bswap r12d
bswap esi
mov dword [rsp + 0xa0], eax
sub rdx, rdi
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x28]
bswap eax
cmp rdi, 0x20
mov dword [rsp + 0xac], eax
mov eax, 0x20
cmovbe rax, rdi
mov dword [rsp + 0x90], r13d
mov dword [rsp + 0x94], r12d
mov dword [rsp + 0x9c], esi
cmp eax, 8
jae 0x917708
test al, 4
jne 0x91776c
test eax, eax
je 0x9176e7
mov rsi, qword [rsp + 0x70]
movzx ecx, byte [rsi]
mov byte [rdx], cl
test al, 2
jne 0x917888
mov esi, dword [rsp + 0x50]
sub qword [rsp + 0x40], 0x20
lea eax, [rsi + 1]
cmp dword [rsp + 0x7c], esi
je 0x917758
mov dword [rsp + 0x50], eax
jmp 0x917350
mov rbx, qword [rsp + 0x70]
lea r10, [rdx + 8]
and r10, 0xfffffffffffffff8
mov rcx, qword [rbx]
mov qword [rdx], rcx
mov ecx, eax
mov r8, qword [rbx + rcx - 8]
mov qword [rdx + rcx - 8], r8
sub rdx, r10
add eax, edx
sub rbx, rdx
and eax, 0xfffffff8
mov r9, rbx
cmp eax, 8
jb 0x9176e7
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r8, qword [r9 + rcx]
mov qword [r10 + rcx], r8
cmp edx, eax
jb 0x91773f
jmp 0x9176e7
add rsp, 0x3b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x70]
mov ecx, dword [rsi]
mov dword [rdx], ecx
mov ecx, eax
mov eax, dword [rsi + rcx - 4]
mov dword [rdx + rcx - 4], eax
jmp 0x9176e7
lea r15, [rsp + 0x110]
mov rcx, r15
mov qword [rsp + 0x48], r15
call fcn.008ea0f0
mov r8d, ebp
mov rdx, r12
mov rcx, r15
call fcn.008ea160
lea rax, [rsp + 0x90]
mov rcx, r15
mov ebp, 0x20
mov rdx, rax
mov qword [rsp + 0x70], rax
call fcn.008ea350
mov edx, 0x20
add rbp, qword [rsp + 0x70]
mov eax, edx
xor r8d, r8d
cmp edx, 8
jb 0x91785f
lea rcx, [rbp + 8]
mov eax, edx
mov qword [rbp], 0
mov qword [rbp + rax - 8], 0
and rcx, 0xfffffffffffffff8
sub rbp, rcx
lea eax, [rdx + rbp]
and eax, 0xfffffff8
cmp eax, 8
jb 0x917269
and eax, 0xfffffff8
xor edx, edx
mov r9d, edx
add edx, 8
mov qword [rcx + r9], r8
cmp edx, eax
jb 0x91780e
jmp 0x917269
mov r8d, 0x12c
lea rdx, str.cbitscryptonite_pbkdf2.c
lea rcx, str.out__nout
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x917225
mov r8d, 0x12c
lea rdx, str.cbitscryptonite_pbkdf2.c
lea rcx, str.iterations
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x917213
and edx, 4
jne 0x91789e
test eax, eax
je 0x917269
mov byte [rbp], 0
test al, 2
je 0x917269
xor edx, edx
mov word [rbp + rax - 2], dx
jmp 0x917269
mov rsi, qword [rsp + 0x70]
mov eax, eax
movzx ecx, word [rsi + rax - 2]
mov word [rdx + rax - 2], cx
jmp 0x9176e7
mov dword [rbp], 0
mov dword [rbp + rax - 4], 0
jmp 0x917269
jmp 0x9171d0