Function at 0x180095950
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7e0]
sub rsp, 0x8e0
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x920], rbx
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x48], rcx
xor r15d, r15d
mov dword [rsp + 0x3c], r15d
xor eax, eax
mov qword [rbp + 0x598], rax
mov qword [rbp + 0x5a0], rax
lea rcx, [rbp + 0x598]
call fcn.180095870
nop
mov dword [rsp + 0x20], 0xf0000000
lea r9d, [r15 + 1]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x598]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x180095b23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
movdqa xmm0, xmmword [0x1801145f0]
movdqa xmmword [rbp + 0x5d0], xmm0
movdqa xmm1, xmmword [0x1801144b0]
movdqa xmmword [rbp + 0x5e0], xmm1
movdqa xmm0, xmmword [str.m_rudssns___0_]
movdqa xmmword [rbp + 0x5f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x600], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x610], xmm0
movdqa xmmword [rbp + 0x620], xmm1
movdqa xmmword [rbp + 0x630], xmm0
movdqa xmmword [rbp + 0x640], xmm1
mov r9b, 1
lea r8, [0x1800f5df0]
lea edx, [r15 + 0x30]
lea rcx, [rbp + 0x5d0]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.18001d380
mov rbx, rax
cmp byte [rax + 0x44], r15b
je 0x180095a7f
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1800506c0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180095adc
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095adc
mov r10, qword [rbx + 0x18]
nop dword [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180095adc
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095ab0
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095af3
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1800b3cc8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x78], rax
lea rdx, [0x18015b2b8]
lea rcx, [rbp - 0x78]
call fcn.1800b9888
nop
xor eax, eax
mov qword [rbp + 0x588], rax
mov qword [rbp + 0x590], rax
lea rcx, [rbp + 0x588]
call fcn.1800958e0
nop
mov rdx, qword [rbp + 0x588]
mov rax, qword [rbp + 0x598]
test rax, rax
mov rcx, r15
je 0x180095b59
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x180095cc3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
movdqa xmm0, xmmword [0x180114720]
movdqa xmmword [rbp + 0x650], xmm0
movdqa xmm1, xmmword [0x1801146e0]
movdqa xmmword [rbp + 0x660], xmm1
movdqa xmm0, xmmword [0x1801141c0]
movdqa xmmword [rbp + 0x670], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x680], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x690], xmm0
movdqa xmmword [rbp + 0x6a0], xmm1
movdqa xmmword [rbp + 0x6b0], xmm0
movdqa xmmword [rbp + 0x6c0], xmm1
mov r9b, 0xf5
lea r8, [0x1800f5e28]
mov edx, 0x2c
lea rcx, [rbp + 0x650]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x380]
call fcn.18001d380
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095c1a
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.1800506c0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180095c7c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095c7c
mov r10, qword [rbx + 0x18]
nop dword [rax]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180095c7c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095c50
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095c93
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.1800b3cc8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x28], rax
lea rdx, [0x18015b2b8]
lea rcx, [rbp - 0x28]
call fcn.1800b9888
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180095cd1
mov rbx, qword [rbx]
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x180095ce3
mov rcx, qword [rax]
xor r9d, r9d
mov r8d, edx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180095e43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
movdqa xmm0, xmmword [0x180114780]
movdqa xmmword [rbp + 0x750], xmm0
movdqa xmm1, xmmword [0x180114930]
movdqa xmmword [rbp + 0x760], xmm1
movdqa xmm0, xmmword [0x180113a70]
movdqa xmmword [rbp + 0x770], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x780], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x790], xmm0
movdqa xmmword [rbp + 0x7a0], xmm1
movdqa xmmword [rbp + 0x7b0], xmm0
movdqa xmmword [rbp + 0x7c0], xmm1
mov r9b, 0xea
lea r8, [0x1800f5e58]
mov edx, 0x23
lea rcx, [rbp + 0x750]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x280]
call fcn.18001d380
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095d9d
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x44]
mov rcx, rbx
call fcn.1800506c0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180095dfc
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095dfc
mov r10, qword [rbx + 0x18]
nop word [rax + rax]
movsxd r8, dword [rbx + 0x3c]
mov rcx, r8
mov rax, r8
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180095dfc
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095dd0
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095e13
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1800b3cc8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x60], rax
lea rdx, [0x18015b2b8]
lea rcx, [rbp - 0x60]
call fcn.1800b9888
nop
mov dword [rbp + 0x580], setsockopt
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x180095e5f
mov rcx, qword [rax]
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0x580]
lea r8, [rbp + 0x5b8]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x180095f6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
movdqa xmm0, xmmword [0x180114ac0]
movdqa xmmword [rbp + 0x6d0], xmm0
movdqa xmm1, xmmword [0x180114890]
movdqa xmmword [rbp + 0x6e0], xmm1
movdqa xmm0, xmmword [0x180114250]
movdqa xmmword [rbp + 0x6f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x700], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x710], xmm0
movdqa xmmword [rbp + 0x720], xmm1
movdqa xmmword [rbp + 0x730], xmm0
movdqa xmmword [rbp + 0x740], xmm1
mov r9b, 0xdf
lea r8, [0x1800f5e80]
mov edx, 0x2d
lea rcx, [rbp + 0x6d0]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.18001d380
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.18004fdb0
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095f3c
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1800b3cc8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x40], rax
lea rdx, [0x18015b2b8]
lea rcx, [rbp - 0x40]
call fcn.1800b9888
nop
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r15
mov byte [r14], 0
mov dword [rsp + 0x3c], 1
cmp qword [r14 + 0x10], 0x20
ja 0x180095f98
mov edx, 0x20
mov rcx, r14
call fcn.18001b560
mov rdi, r15
or rsi, 0xffffffffffffffff
nop
movzx eax, byte [rbp + rdi + 0x5b8]
mov dword [rsp + 0x30], eax
lea rdx, str._02x
lea rcx, [rbp + 0x80]
call fcn.18001d380
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095fd0
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180056ac0
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x18009602f
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x18009602f
mov r10, qword [rbx + 0x18]
nop dword [rax + rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
mov qword [rbp + 0x5a8], rdx
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x18009602f
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x180096000
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18001d5c0
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.18002ebc0
nop
cmp qword [rbp - 0x80], 0x10
jb 0x180096060
mov rcx, qword [rsp + 0x68]
call fcn.18008fef0
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
lea rcx, [rbp + 0x80]
call fcn.18001b1d0
inc rdi
cmp rdi, 0x10
jl 0x180095fa0
mov rbx, qword [rbp + 0x590]
test rbx, rbx
je 0x1800960b5
lock dec dword [rbx + 8]
jne 0x1800960b5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x1800960b5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [rbp + 0x5a0]
test rbx, rbx
je 0x1800960de
lock dec dword [rbx + 8]
jne 0x1800960de
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x1800960de
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.WS2_32.dll_htonl]
mov rax, r14
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1800b33d0
mov rbx, qword [rsp + 0x920]
add rsp, 0x8e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret