Function at 0x180095940
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.180095860
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 0x180095b13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
movdqa xmm0, xmmword [0x180114640]
movdqa xmmword [rbp + 0x5d0], xmm0
movdqa xmm1, xmmword [str.sxqun_bnoudyu___o_0_:s722__41p94__423___]
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, [0x1800f5db8]
lea edx, [r15 + 0x30]
lea rcx, [rbp + 0x5d0]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.18001d390
mov rbx, rax
cmp byte [rax + 0x44], r15b
je 0x180095a6f
mov rcx, rax
call fcn.180022db0
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 0x180095acc
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095acc
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 0x180095acc
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095aa0
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.18001d5d0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095ae3
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1800b3cb8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x78], rax
lea rdx, [0x18015b288]
lea rcx, [rbp - 0x78]
call fcn.1800b9878
nop
xor eax, eax
mov qword [rbp + 0x588], rax
mov qword [rbp + 0x590], rax
lea rcx, [rbp + 0x588]
call fcn.1800958d0
nop
mov rdx, qword [rbp + 0x588]
mov rax, qword [rbp + 0x598]
test rax, rax
mov rcx, r15
je 0x180095b49
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 0x180095cb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
movdqa xmm0, xmmword [0x180114630]
movdqa xmmword [rbp + 0x650], xmm0
movdqa xmm1, xmmword [0x1801145f0]
movdqa xmmword [rbp + 0x660], xmm1
movdqa xmm0, xmmword [str.sIC]
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, 0x2c
lea r8, [0x1800f5df0]
mov edx, 0x2c
lea rcx, [rbp + 0x650]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x380]
call fcn.18001d390
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095c0a
mov rcx, rax
call fcn.180022db0
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 0x180095c6c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095c6c
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 0x180095c6c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095c40
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.18001d5d0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095c83
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.1800b3cb8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x28], rax
lea rdx, [0x18015b288]
lea rcx, [rbp - 0x28]
call fcn.1800b9878
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180095cc1
mov rbx, qword [rbx]
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x180095cd3
mov rcx, qword [rax]
xor r9d, r9d
mov r8d, edx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180095e33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
movdqa xmm0, xmmword [0x180114530]
movdqa xmmword [rbp + 0x750], xmm0
movdqa xmm1, xmmword [0x1801146f0]
movdqa xmmword [rbp + 0x760], xmm1
movdqa xmm0, xmmword [0x1801139e0]
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, 0x57
lea r8, [0x1800f5e20]
mov edx, 0x23
lea rcx, [rbp + 0x750]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x280]
call fcn.18001d390
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095d8d
mov rcx, rax
call fcn.180022db0
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 0x180095dec
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x180095dec
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 0x180095dec
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x180095dc0
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.18001d5d0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095e03
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1800b3cb8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x60], rax
lea rdx, [0x18015b288]
lea rcx, [rbp - 0x60]
call fcn.1800b9878
nop
mov dword [rbp + 0x580], setsockopt
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x180095e4f
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 0x180095f5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
movdqa xmm0, xmmword [0x180114890]
movdqa xmmword [rbp + 0x6d0], xmm0
movdqa xmm1, xmmword [0x180114a50]
movdqa xmmword [rbp + 0x6e0], xmm1
movdqa xmm0, xmmword [0x180114240]
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, 0x82
lea r8, [0x1800f5e48]
mov edx, 0x2d
lea rcx, [rbp + 0x6d0]
call fcn.18005bc50
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.18001d390
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.18004fdb0
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.18001d5d0
nop
cmp qword [rax + 0x18], 0x10
jb 0x180095f2c
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1800b3cb8
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x40], rax
lea rdx, [0x18015b288]
lea rcx, [rbp - 0x40]
call fcn.1800b9878
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 0x180095f88
mov edx, 0x20
mov rcx, r14
call fcn.18001b570
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.18001d390
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180095fc0
mov rcx, rax
call fcn.180022db0
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 0x18009601f
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x18009601f
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 0x18009601f
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x180095ff0
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18001d5d0
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.18002ebd0
nop
cmp qword [rbp - 0x80], 0x10
jb 0x180096050
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.18001b1e0
inc rdi
cmp rdi, 0x10
jl 0x180095f90
mov rbx, qword [rbp + 0x590]
test rbx, rbx
je 0x1800960a5
lock dec dword [rbx + 8]
jne 0x1800960a5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x1800960a5
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 0x1800960ce
lock dec dword [rbx + 8]
jne 0x1800960ce
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x1800960ce
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.1800b33c0
mov rbx, qword [rsp + 0x920]
add rsp, 0x8e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret