Function at 0x140001350
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140561440]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rbx, r8
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x70], rcx
xor r13d, r13d
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x58], r13
mov dword [rbp - 0x24], r13d
mov dword [rbp], r13d
mov dword [rbp - 0x20], r13d
mov dword [rbp - 0x28], r13d
mov r12d, r13d
mov r14d, r13d
mov qword [rbp + 8], r13
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], r13b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
lea ecx, [r13 + 1]
call fcn.140003710
mov rcx, rax
mov qword [rbp - 0x40], rax
inc rax
mov qword [rbp - 0x30], rax
mov byte [rcx], r13b
mov qword [rbp - 0x38], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r13
sub rbx, r15
je 0x14000146f
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x140001b52
cmp rbx, 0x1000
jb 0x140001447
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140001b58
call fcn.140003710
mov rcx, rax
test rax, rax
je 0x140001b5e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000144f
mov rcx, rbx
call fcn.140003710
mov qword [rbp - 0x18], rax
lea rsi, [rax + rbx]
mov qword [rbp - 8], rsi
mov r8, rbx
mov rdx, r15
mov rcx, rax
call fcn.140008ed0
mov qword [rbp - 0x10], rsi
jmp 0x140001473
mov rsi, qword [rbp - 0x10]
sub rsi, qword [rbp - 0x18]
lea rdx, [0x140561f48]
cmp qword [0x140561f60], 0x10
cmovae rdx, qword [0x140561f48]
mov r8, qword [0x140561f58]
lea rcx, [rbp + 8]
call fcn.1400011f0
lea rcx, str.Bcrypt.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
test rax, rax
je 0x140001a50
lea rdx, str.BCryptOpenAlgorithmProvider
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
lea rdx, str.BCryptGetProperty
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rbp - 0x68], rax
lea rdx, str.BCryptCreateHash
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, str.BCryptHashData
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, str.BCryptFinishHash
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, str.BCryptGenerateSymmetricKey
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
lea rdx, str.BCryptDecrypt
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x80], rax
lea rdx, str.BCryptCloseAlgorithmProvider
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.BCryptDestroyKey
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x78], rax
lea rdx, str.BCryptDestroyHash
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140001995
test rbx, rbx
je 0x140001995
cmp qword [rsp + 0x58], 0
je 0x140001995
cmp qword [rsp + 0x60], 0
je 0x140001995
cmp qword [rsp + 0x68], 0
je 0x140001995
cmp qword [rsp + 0x78], 0
je 0x140001995
cmp qword [rbp - 0x80], 0
je 0x140001995
test r13, r13
je 0x140001995
cmp qword [rbp - 0x78], 0
je 0x140001995
test rcx, rcx
je 0x140001995
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SHA256
lea rcx, [rbp - 0x60]
call rax
test eax, eax
js 0x1400017f7
xor eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x24]
lea rdx, str.ObjectLength
mov rcx, qword [rbp - 0x60]
call rbx
test eax, eax
js 0x1400017f7
mov ebx, dword [rbp - 0x24]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 4]
lea r8, [rbp - 0x20]
lea rdx, str.HashDigestLength
mov rcx, qword [rbp - 0x60]
call qword [rbp - 0x68]
test eax, eax
js 0x1400017f9
mov ebx, dword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, dword [rbp - 0x24]
mov r8, r12
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp - 0x60]
call qword [rsp + 0x58]
test eax, eax
js 0x1400017f9
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rdx, qword [rbp + 8]
xor r9d, r9d
mov r8d, dword [rbp + 0x18]
mov rcx, qword [rbp - 0x50]
call qword [rsp + 0x60]
test eax, eax
js 0x1400017f9
xor r9d, r9d
mov r8d, dword [rbp - 0x20]
mov rdx, r14
mov rcx, qword [rbp - 0x50]
call qword [rsp + 0x68]
test eax, eax
js 0x1400017f9
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x28], xmm0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14001c990]
lea rcx, [rbp - 0x48]
mov rax, qword [rsp + 0x70]
call rax
test eax, eax
js 0x1400017f9
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 0x10
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x48]
call qword [rsp + 0x78]
test eax, eax
js 0x1400017f9
mov dword [rsp + 0x48], 1
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x80]
call rbx
test eax, eax
js 0x1400017f7
mov ecx, dword [rbp - 0x28]
mov edx, ecx
mov rax, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
sub rax, r8
cmp rcx, rax
jbe 0x1400017c2
lea rcx, [rbp - 0x40]
call fcn.140003370
mov ecx, dword [rbp - 0x28]
mov r8, qword [rbp - 0x40]
mov dword [rsp + 0x48], 1
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], r8
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, esi
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x58]
call rbx
xor ebx, ebx
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140001807
xor edx, edx
call r13
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140001815
xor edx, edx
call r13
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140001821
call qword [rbp - 0x78]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000182d
call qword [rbp - 0x70]
test r12, r12
je 0x140001846
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
je 0x14000185f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [rbp - 0x28]
mov r8, qword [rbp - 0x40]
add rcx, r8
mov rdx, qword [rbp - 0x38]
cmp rcx, rdx
cmovne rdx, rcx
mov rax, qword [rbp - 0x30]
mov r9, rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x38], rbx
mov rcx, rbx
mov qword [rbp - 0x40], rbx
mov qword [rdi], r8
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rax
mov r8, qword [rbp - 0x18]
test r8, r8
je 0x1400018ef
mov rdx, qword [rbp - 8]
sub rdx, r8
mov rax, r8
cmp rdx, 0x1000
jb 0x1400018d3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b5e
mov rcx, r8
call fcn.1400039a4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rbx
mov r9, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140001930
sub r9, rcx
mov rax, rcx
cmp r9, 0x1000
jb 0x14000191c
add r9, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b46
mov rdx, r9
call fcn.1400039a4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14000196b
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b4c
call fcn.1400039a4
mov rax, rdi
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400036f0
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdx, qword [rbp - 0x30]
xor ebx, ebx
mov r9d, ebx
mov qword [rbp - 0x30], rbx
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x38], rbx
mov rax, qword [rbp - 0x40]
mov r8d, ebx
mov qword [rbp - 0x40], rbx
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140001a17
mov rdx, qword [rbp - 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b5e
call fcn.1400039a4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rbx
mov r9, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x140001930
sub r9, r8
mov rax, r8
cmp r9, 0x1000
jb 0x140001a48
add r9, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b46
mov rcx, r8
jmp 0x14000191c
mov rdx, qword [rbp - 0x30]
mov r9, r13
mov qword [rbp - 0x30], r13
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x38], r13
mov rax, qword [rbp - 0x40]
mov r8, r13
mov qword [rbp - 0x40], r13
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140001ac7
mov rdx, qword [rbp - 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b5e
call fcn.1400039a4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r13
mov r9, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x140001b07
sub r9, r8
mov rax, r8
cmp r9, 0x1000
jb 0x140001af0
add r9, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b46
mov rdx, r9
mov rcx, r8
call fcn.1400039a4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14000196b
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b4c
jmp 0x140001966
call fcn.140009958
nop
call fcn.140009958
nop
call fcn.140003350
int3
call fcn.140001130
int3
call fcn.140009958
int3