Function at 0x1400de7d0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
mov eax, 0x15e0
call fcn.1400b3040
sub rsp, rax
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x15d0], rbx
mov qword [rbp + 0x15e0], rsi
mov rax, qword [0x1401b8010]
xor rax, rbp
mov qword [rbp + 0x1590], rax
mov rbx, rdx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x520], eax
mov rdi, 0xffffffffffffffff
mov r9, rdi
lea r8, str.CMainDialog::SetPasswordToRegistry
mov edx, 0x102
lea rcx, [rbp + 0x524]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 0x524]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, rdi
lea r8, str.CMainDialog::SetPasswordToRegistry
mov edx, 0x104
lea rcx, [rbp + 0x72c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
xor r14d, r14d
lea r15d, [rdi + 2]
add ecx, eax
je 0x1400de91c
mov dword [rbp + 8], r14d
call fcn.140005ad0
mov qword [rbp], rax
lock inc dword [rbp + 8]
mov rax, qword [rbp]
test rax, rax
jne 0x1400de8b3
call fcn.140005ad0
mov qword [rbp], rax
lock inc dword [rbp + 8]
mov rcx, qword [rbp]
mov dword [rbp + 0x10], 0x20
lea rax, [rbp + 0x524]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x72c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x10]
movsx edx, r15w
call fcn.140004c90
nop
mov qword [rbp], r14
mov eax, edi
lock xadd dword [rbp + 8], eax
cmp eax, 1
js 0x1400de918
call fcn.140005e40
mov eax, edi
lock xadd dword [rbp + 8], eax
cmp eax, 1
jns 0x1400de907
lock inc dword [rbp + 8]
test rbx, rbx
je 0x1400dec8d
cmp byte [rbx], 0x2d
jne 0x1400de978
cmp byte [rbx + 1], 0
jne 0x1400de978
mov qword [rbp + 0x940], 0xffffffff80000003
mov dword [rbp + 0x948], 2
mov dword [rbp + 0x94c], 7
mov dword [rbp + 0xd70], r15d
lea rdx, [rbp + 0x940]
lea rcx, [0x1401c1000]
call fcn.140128880
test al, al
je 0x1400dec8d
mov bl, 1
jmp 0x1400dec8f
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x1190]
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
mov edx, 0x400
lea rcx, [rbp + 0x1190]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r12, vtable.CSHA1.0
mov qword [rbp + 0x20], r12
lea rax, [rbp + 0x98]
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0x28], 0x67452301
mov dword [rbp + 0x2c], 0xefcdab89
mov dword [rbp + 0x30], 0x98badcfe
mov dword [rbp + 0x34], 0x10325476
mov dword [rbp + 0x38], 0xc3d2e1f0
mov qword [rbp + 0x3c], r14
lea rax, [rbp + 0x1190]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400de9f0
lea rdx, [rbp + 0x1190]
lea rcx, [rbp + 0x20]
call fcn.1400b40c0
lea rcx, [rbp + 0x20]
call fcn.1400b3f20
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xd90]
call sub.VCRUNTIME140.dll_memset
movzx r8d, byte [rbp + 0x84]
lea rdx, str._02X
lea rcx, [rbp + 0xd80]
call fcn.1400044a0
lea rcx, [rbp + 0xd90]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400dea50
lea r8, [rbp + 0xd80]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400dea70
lea rbx, [rbp + 0x85]
mov esi, 0x13
nop dword [rax]
movzx r8d, byte [rbx]
lea rdx, str.__02X
lea rcx, [rbp + 0xd80]
call fcn.1400044a0
lea rax, [rbp + 0xd90]
dec rax
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x1400deab1
lea r8, [rbp + 0xd80]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400dead0
inc rbx
sub rsi, 1
jne 0x1400dea90
mov qword [rbp + 0xe0], 0xffffffff80000003
mov dword [rbp + 0xe8], 2
mov dword [rbp + 0xec], 7
mov dword [rbp + 0xf0], r15d
mov dword [rbp + 0x510], r14d
lea rcx, [rbp + 0xd90]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400deb20
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400dec04
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400deb55
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b3040
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400dec04
lfence
mov word [rbx], r14w
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rbx
mov r9d, edi
lea r8, [rbp + 0xd90]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400dec04
lea rax, [rbp + 0xf4]
mov ecx, 8
nop word [rax + rax]
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rbx, [rbx + 0x80]
sub rcx, 1
jne 0x1400debb0
jmp 0x1400dec2a
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xf4]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rax, [rbp + 0xd90]
lea rdi, [rdi + 1]
cmp byte [rax + rdi], 0
jne 0x1400dec31
lea rax, [rdi*2 + 1]
mov qword [rbp + 0x508], rax
lea rdx, [rbp + 0xe0]
lea rcx, [0x1401c1000]
call fcn.14012a450
movzx ebx, al
mov qword [rbp + 0x20], r12
mov dword [rbp + 0x28], 0x67452301
mov dword [rbp + 0x2c], 0xefcdab89
mov dword [rbp + 0x30], 0x98badcfe
mov dword [rbp + 0x34], 0x10325476
mov dword [rbp + 0x38], 0xc3d2e1f0
mov qword [rbp + 0x3c], r14
jmp 0x1400dec8f
xor bl, bl
lea rcx, [rbp + 0x520]
call fcn.140004e30
movzx eax, bl
mov rcx, qword [rbp + 0x1590]
xor rcx, rbp
call fcn.14007e250
mov rbx, qword [rbp + 0x15d0]
mov rsi, qword [rbp + 0x15e0]
lea rsp, [rbp + 0x15a0]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret