Function at 0x140239938
Capabilities:
Hash data via bcrypt

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc70
mov qword [r11 - 0xa58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0xc60], rax
mov r15, rdx
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0x50], rcx
mov qword [r11 - 0xb90], rcx
mov edx, 0x100000
mov eax, edx
cmp r15, rdx
cmovb rax, r15
mov qword [r11 - 0xc18], rax
mov qword [r11 - 0xbe0], rax
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x290
add rcx, rsi
mov qword [r11 - 0xa50], rcx
lea rax, [rcx + 8]
mov qword [r11 - 0xa48], rax
mov rax, qword [rax]
sub rax, qword [rcx]
mov qword [r11 - 0xb70], rax
cmp rax, rdx
jae 0x1402399e7
mov qword [r11 - 0xb68], rcx
call fcn.1400708ec
call fcn.140231084
mov rbx, rax
mov qword [rsp + 0x138], rax
mov edx, 0x2a8
mov eax, 0x2c0
xor edi, edi
cmp byte [rbx + 7], dil
cmovne edx, eax
add rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14023afbc
nop
mov al, byte [rbx + 7]
mov byte [rsp + 0x41], al
test al, al
jne 0x140239a5c
mov ecx, 0x60
add rcx, rsi
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x140], rcx
lea rdx, [rcx + 8]
mov qword [rsp + 0x148], rdx
mov rdx, qword [rdx]
sub rdx, qword [rcx]
mov qword [rsp + 0x150], rdx
lea r8, [rsp + 0x40]
call fcn.14023b034
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x260]
call fcn.14023afbc
nop
mov qword [rsp + 0x278], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x280], xmm0
mov qword [rsp + 0x290], r15
mov qword [rsp + 0x298], rdi
mov dword [rsp + 0x2a0], edi
xor edx, edx
mov r8d, 0x978
lea rcx, [rsp + 0x2a8]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov byte [rsp + 0xc20], dil
lea r8, [rsp + 0x2a0]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x110]
call fcn.140285138
mov rbx, rax
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x278]
cmp rax, rbx
je 0x140239be3
mov rcx, qword [rsp + 0x278]
test rcx, rcx
je 0x140239b91
mov rax, qword [rsp + 0x288]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x160], rax
mov rdx, rax
shl rdx, 3
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140239b74
add rdx, 0x27
mov qword [rsp + 0x98], rdx
mov rcx, qword [rcx - 8]
mov qword [rsp + 0x168], rcx
sub rax, rcx
mov qword [rsp + 0x170], rax
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140239ce4
mov qword [rsp + 0xa0], rcx
call fcn.140356b5c
mov qword [rsp + 0x278], rdi
mov qword [rsp + 0x280], rdi
mov qword [rsp + 0x288], rdi
mov rax, qword [rbx]
mov qword [rsp + 0x278], rax
lea rdx, [rbx + 8]
mov qword [rsp + 0x178], rdx
mov rax, qword [rdx]
mov qword [rsp + 0x280], rax
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x180], rcx
mov rax, qword [rcx]
mov qword [rsp + 0x288], rax
mov qword [rbx], rdi
mov qword [rsp + 0x188], rdx
mov qword [rdx], rdi
mov qword [rsp + 0x190], rcx
mov qword [rcx], rdi
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x140239c84
mov rax, qword [rsp + 0x120]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x198], rax
mov rdx, rax
shl rdx, 3
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140239c67
add rdx, 0x27
mov qword [rsp + 0xa8], rdx
mov rcx, qword [rcx - 8]
mov qword [rsp + 0x1a0], rcx
sub rax, rcx
mov qword [rsp + 0x1a8], rax
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140239cf1
mov qword [rsp + 0xb0], rcx
call fcn.140356b5c
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x120], rdi
mov r14, rdi
mov qword [rsp + 0x90], rdi
lea rdx, [rsp + 0x58]
lea rcx, [0x14054f238]
call fcn.1402301a4
nop
mov r13, qword [rsp + 0x58]
test r13, r13
je 0x140239cfe
lea rcx, [r13 + 0x30]
mov qword [rsp + 0x1b0], rcx
mov r12d, 1
mov eax, r12d
lock xadd qword [rcx], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x80], rax
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x58]
jmp 0x140239d0c
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
mov r12d, 1
mov rax, qword [rsp + 0x80]
cmp r15, r14
jbe 0x14023a2f9
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], rax
mov ebx, 0x290
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov qword [rsp + 0x1b8], rbx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x38]
test rcx, rcx
jne 0x140239d60
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
nop dword [rax + rax]
mov qword [rsp + 0x1c0], rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0xc8]
mov rdx, rbx
mov rax, qword [rax + 0x10]
call qword [str.p76_]
mov esi, eax
mov dword [rsp + 0x48], eax
test eax, eax
jns 0x140239f7f
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140239df0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x140239dec
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140239dec
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov esi, dword [rsp + 0x48]
lea rcx, [rsp + 0x260]
call fcn.14028550c
mov rcx, qword [rsp + 0x278]
test rcx, rcx
je 0x140239e76
mov rdx, qword [rsp + 0x288]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov qword [rsp + 0xd0], rdx
mov rax, rcx
mov ebx, 0x1000
cmp rdx, rbx
jb 0x140239e57
add rdx, 0x27
mov qword [rsp + 0xd0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140239e57
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
call fcn.140356b5c
mov qword [rsp + 0x278], rdi
mov qword [rsp + 0x280], rdi
mov qword [rsp + 0x288], rdi
jmp 0x140239e7b
mov ebx, 0x1000
mov rcx, qword [rsp + 0x260]
test rcx, rcx
je 0x140239eed
mov rdx, qword [rsp + 0x270]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov qword [rsp + 0xd8], rdx
mov rax, rcx
cmp rdx, rbx
jb 0x140239ed0
add rdx, 0x27
mov qword [rsp + 0xd8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140239ed0
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
call fcn.140356b5c
mov qword [rsp + 0x260], rdi
mov qword [rsp + 0x268], rdi
mov qword [rsp + 0x270], rdi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140239f50
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov qword [rsp + 0xe0], rdx
mov rax, rcx
cmp rdx, rbx
jb 0x140239f3c
add rdx, 0x27
mov qword [rsp + 0xe0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140239f3c
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
call fcn.140356b5c
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140239f78
mov rax, qword [rcx]
cmp rcx, rbx
sete dl
xor dl, r12b
mov rax, qword [rax + 0x20]
call qword [str.p76_]
mov qword [rbx + 0x38], rdi
mov eax, esi
jmp 0x14023a445
mov rsi, qword [rsp + 0x88]
test rsi, rsi
je 0x14023a2f9
add r14, rsi
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x1c8], rbx
mov rbx, qword [rbx]
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], rsi
test rbx, rbx
je 0x14023a0fb
movzx r15d, di
mov word [rsp + 0x44], di
mov rax, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
sub rax, rcx
sar rax, 4
mov qword [rsp + 0x1e0], rax
movzx r9d, r15w
cmp r9, rax
jae 0x14023a296
mov eax, r9d
add rax, rax
mov ecx, dword [rcx + rax*8]
test ecx, ecx
je 0x14023a270
cmp ecx, r12d
je 0x14023a257
cmp ecx, 2
je 0x14023a22f
jle 0x14023a0fb
cmp ecx, 5
jle 0x14023a0be
cmp ecx, 6
je 0x14023a058
cmp ecx, 7
jne 0x14023a0fb
mov rax, qword [rsp + 0x278]
mov rcx, qword [rax + r9*8]
mov qword [rsp + 0x1e8], rcx
mov r9, rsi
mov r8, rbx
call fcn.140328838
jmp 0x14023a287
mov rax, qword [rsp + 0x278]
mov rdx, qword [rax + r9*8]
mov qword [rsp + 0x1f0], rdx
mov rdx, qword [rdx]
mov qword [rsp + 0x1f8], rdx
mov qword [rsp + 0x200], rdx
mov qword [rsp + 0x208], rdx
lea rax, [rdx + 8]
lea rcx, [rdx + 4]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x290]
mov r8, qword [rsp + 0x298]
mov rdx, rsi
mov rcx, rbx
call fcn.14028f3ec
jmp 0x14023a287
mov rax, qword [rsp + 0x278]
mov rcx, qword [rax + r9*8]
mov qword [rsp + 0x210], rcx
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x218], rcx
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
test eax, eax
je 0x14023a287
call fcn.1400550c0
mov qword [rsp + 0x228], rax
mov rcx, qword [rax + 8]
mov qword [rsp + 0x230], rcx
cmp dword [rcx], 3
jbe 0x14023a176
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf0], Compress
lea rax, str.Failed_to_calculate_hashes_data
mov qword [rsp + 0xc50], rax
mov dword [rsp + 0xc58], 0x40
mov dword [rsp + 0xc5c], edi
lea rax, [rsp + 0xc30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140484838]
call fcn.140001208
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14023a1c0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x14023a1c0
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14023a1c0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x260]
call fcn.140285678
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14023a2c7
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov qword [rsp + 0xf8], rdx
mov rax, rcx
mov ebx, 0x1000
cmp rdx, rbx
jb 0x14023a2b3
add rdx, 0x27
mov qword [rsp + 0xf8], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14023a2b3
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
mov rax, qword [rsp + 0x278]
mov rdx, qword [rax + r9*8]
mov qword [rsp + 0x220], rdx
mov r9, rsi
mov r8, rbx
lea rcx, [0x1403b9510]
call fcn.140344aa4
jmp 0x14023a287
mov r8, rsi
mov rdx, rbx
mov rcx, qword [rsp + 0x278]
mov rcx, qword [rcx + r9*8]
call fcn.1403411a0
jmp 0x14023a287
mov r8, rsi
mov rdx, rbx
mov rcx, qword [rsp + 0x278]
mov rcx, qword [rcx + r9*8]
call fcn.140342b30
add r15w, r12w
mov word [rsp + 0x44], r15w
jmp 0x140239fc8
add qword [rsp + 0x298], rsi
mov byte [rsp + 0xc20], r12b
mov r15, qword [rsp + 0xe8]
jmp 0x140239d04
call fcn.140356b5c
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14023a2ef
mov rax, qword [rcx]
cmp rcx, rbx
sete dl
xor dl, r12b
mov rax, qword [rax + 0x20]
call qword [str.p76_]
mov qword [rbx + 0x38], rdi
mov eax, 0x25c
jmp 0x14023a445
lea rcx, [rsp + 0x260]
call fcn.14028550c
cmp r15, r14
jne 0x14023a324
test r13, r13
je 0x14023a324
lea rcx, [r13 + 0x38]
mov qword [rsp + 0x238], rcx
mov rax, r12
lock xadd qword [rcx], rax
mov dword [rsp + 0x48], edi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14023a372
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x14023a372
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14023a372
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x260]
call fcn.140285678
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14023a3e8
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov qword [rsp + 0x100], rdx
mov rax, rcx
mov ebx, 0x1000
cmp rdx, rbx
jb 0x14023a3d4
add rdx, 0x27
mov qword [rsp + 0x100], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14023a3d4
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
call fcn.140356b5c
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14023a410
mov rax, qword [rcx]
cmp rcx, rbx
sete dl
xor dl, r12b
mov rax, qword [rax + 0x20]
call qword [str.p76_]
mov qword [rbx + 0x38], rdi
xor eax, eax
jmp 0x14023a445
mov rcx, qword [rsp + 0xc60]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0xc70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret