Function at 0x180095920
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.180095840
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 0x180095af3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
movdqa xmm0, xmmword [0x180113530]
movdqa xmmword [rbp + 0x5d0], xmm0
movdqa xmm1, xmmword [str.sxqun_bnoudyu____6__._c_b2705__2c_2__BEQEEREESEETEBB_oonu__bpthsd_bjdx_mdofui_hr_ong_hmde_un_FduQsnq__6__8co]
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, [0x1800f5d98]
lea edx, [r15 + 0x30]
lea rcx, [rbp + 0x5d0]
call fcn.18005bc40
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.18001d380
mov rbx, rax
cmp byte [rax + 0x44], r15b
je 0x180095a4f
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1800506b0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180095aac
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095aac
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 0x180095aac
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095a80
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095ac3
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1800b3c98
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x78], rax
lea rdx, [0x18015a348]
lea rcx, [rbp - 0x78]
call fcn.1800b9858
nop
xor eax, eax
mov qword [rbp + 0x588], rax
mov qword [rbp + 0x590], rax
lea rcx, [rbp + 0x588]
call fcn.1800958b0
nop
mov rdx, qword [rbp + 0x588]
mov rax, qword [rbp + 0x598]
test rax, rax
mov rcx, r15
je 0x180095b29
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 0x180095c93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
movdqa xmm0, xmmword [0x180113620]
movdqa xmmword [rbp + 0x650], xmm0
movdqa xmm1, xmmword [0x1801135f0]
movdqa xmmword [rbp + 0x660], xmm1
movdqa xmm0, xmmword [0x1801132b0]
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, 0xfe
lea r8, [0x1800f5dd0]
mov edx, 0x2c
lea rcx, [rbp + 0x650]
call fcn.18005bc40
mov rdx, rax
lea rcx, [rbp + 0x380]
call fcn.18001d380
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095bea
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.1800506b0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180095c4c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095c4c
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 0x180095c4c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095c20
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095c63
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.1800b3c98
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x28], rax
lea rdx, [0x18015a348]
lea rcx, [rbp - 0x28]
call fcn.1800b9858
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180095ca1
mov rbx, qword [rbx]
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x180095cb3
mov rcx, qword [rax]
xor r9d, r9d
mov r8d, edx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180095e13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
movdqa xmm0, xmmword [0x1801136b0]
movdqa xmmword [rbp + 0x750], xmm0
movdqa xmm1, xmmword [0x180113980]
movdqa xmmword [rbp + 0x760], xmm1
movdqa xmm0, xmmword [0x180112b10]
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, 0xfc
lea r8, [0x1800f5e00]
mov edx, 0x23
lea rcx, [rbp + 0x750]
call fcn.18005bc40
mov rdx, rax
lea rcx, [rbp + 0x280]
call fcn.18001d380
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095d6d
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x44]
mov rcx, rbx
call fcn.1800506b0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x180095dcc
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095dcc
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 0x180095dcc
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095da0
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095de3
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1800b3c98
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x60], rax
lea rdx, [0x18015a348]
lea rcx, [rbp - 0x60]
call fcn.1800b9858
nop
mov dword [rbp + 0x580], setsockopt
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x180095e2f
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 0x180095f3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
movdqa xmm0, xmmword [0x1801139a0]
movdqa xmmword [rbp + 0x6d0], xmm0
movdqa xmm1, xmmword [0x1801135e0]
movdqa xmmword [rbp + 0x6e0], xmm1
movdqa xmm0, xmmword [0x180113330]
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, 0xfa
lea r8, [0x1800f5e28]
mov edx, 0x2d
lea rcx, [rbp + 0x6d0]
call fcn.18005bc40
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.18001d380
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.18004fda0
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.18001d5c0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095f0c
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1800b3c98
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x40], rax
lea rdx, [0x18015a348]
lea rcx, [rbp - 0x40]
call fcn.1800b9858
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 0x180095f68
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 0x180095fa0
mov rcx, rax
call fcn.180022da0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180056ab0
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x180095fff
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x180095fff
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 0x180095fff
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x180095fd0
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 0x180096030
mov rcx, qword [rsp + 0x68]
call fcn.18008fed0
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 0x180095f70
mov rbx, qword [rbp + 0x590]
test rbx, rbx
je 0x180096085
lock dec dword [rbx + 8]
jne 0x180096085
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x180096085
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 0x1800960ae
lock dec dword [rbx + 8]
jne 0x1800960ae
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x1800960ae
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.1800b33a0
mov rbx, qword [rsp + 0x920]
add rsp, 0x8e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret