Function at 0x18000a700
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rbp + 0x40], r13
mov dword [rsp + 0x20], 0xf0000000
lea r9d, [r13 + 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor r8d, r8d
test eax, eax
jne 0x18000a789
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r13b
lea rdx, [0x180304043]
mov rcx, rdi
call fcn.1800052d0
jmp 0x18000aaa5
mov qword [rbp + 0x30], r13
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov edx, 0x8003
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x18000a7f8
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rbp + 0x30]
test eax, eax
je 0x18000a7f2
mov dword [rbp + 0x38], r13d
mov dword [rbp + 0x48], 4
mov dword [rsp + 0x20], r13d
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x38]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x18000a82a
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r13b
xor r8d, r8d
lea rdx, [0x180304043]
mov rcx, rdi
call fcn.1800052d0
jmp 0x18000aaa5
xorps xmm0, xmm0
mov r12d, dword [rbp + 0x38]
movdqu xmmword [rbp + 0x50], xmm0
mov rsi, r13
mov qword [rbp + 0x60], r13
mov r14, r13
mov rbx, r13
test r12, r12
je 0x18000a878
mov edx, r12d
lea rcx, [rbp + 0x50]
call fcn.180006100
mov r8d, r12d
xor edx, edx
mov r15, qword [rbp + 0x50]
mov rcx, r15
call fcn.180211600
add r12, r15
mov qword [rbp + 0x58], r12
mov r14, r15
mov rbx, r15
mov rsi, qword [rbp + 0x60]
jmp 0x18000a880
mov r12, qword [rbp + 0x58]
mov r15, qword [rbp + 0x50]
mov dword [rsp + 0x20], r13d
lea r9, [rbp + 0x38]
mov r8, r15
mov edx, 2
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x18000a910
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
xor r8d, r8d
lea rdx, [0x180304043]
mov rcx, rdi
call fcn.1800052d0
nop
test r14, r14
je 0x18000aaa5
sub rsi, r14
cmp rsi, 0x1000
jb 0x18000a908
add rsi, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x18000aacf
mov r14, rcx
mov rcx, r14
jmp 0x18000aa9d
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x40]
call fcn.180211600
lea rcx, [rsp + 0x40]
call fcn.18000c700
nop
cmp rbx, r12
je 0x18000a97d
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x68], gethostbyname
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x68], 2
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
call fcn.18000a6e0
movzx edx, byte [rbx]
lea rcx, [rsp + 0x40]
call fcn.18000c890
inc rbx
cmp rbx, r12
jne 0x18000a932
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x30], 4
mov rcx, qword [rbp - 0x48]
test cl, 2
jne 0x18000a9d6
mov rax, qword [rbp - 0x78]
mov r8, qword [rax]
test r8, r8
je 0x18000a9d6
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x50]
cmovb r8, qword [rbp - 0x50]
sub r8, rdx
jmp 0x18000a9fc
test cl, 4
jne 0x18000aa05
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x18000aa05
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x68]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
mov rcx, rdi
call fcn.1800052d0
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.18000c600
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.180077d10
nop
test r15, r15
je 0x18000aaa5
sub rsi, r15
mov rax, r15
cmp rsi, 0x1000
jb 0x18000aa9a
add rsi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000aacf
mov rcx, r15
mov rdx, rsi
call fcn.18007b164
mov rax, rdi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18021e9c0
int3