Function at 0x18009c780
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.18009c6a0
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 0x18009c953
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
movdqa xmm0, xmmword [0x18011c600]
movdqa xmmword [rbp + 0x5d0], xmm0
movdqa xmm1, xmmword [0x18011c300]
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, [0x1800fb390]
lea edx, [r15 + 0x30]
lea rcx, [rbp + 0x5d0]
call fcn.18005f0b0
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.18001d6c0
mov rbx, rax
cmp byte [rax + 0x44], r15b
je 0x18009c8af
mov rcx, rax
call fcn.180022400
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18004fcc0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18009c90c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18009c90c
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 0x18009c90c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x18009c8e0
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.18001d880
nop
cmp qword [rax + 0x18], 0x10
jb 0x18009c923
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x78]
call fcn.1800b8b10
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x78], rax
lea rdx, [0x180160cf8]
lea rcx, [rbp - 0x78]
call fcn.1800bef68
nop
xor eax, eax
mov qword [rbp + 0x588], rax
mov qword [rbp + 0x590], rax
lea rcx, [rbp + 0x588]
call fcn.18009c710
nop
mov rdx, qword [rbp + 0x588]
mov rax, qword [rbp + 0x598]
test rax, rax
mov rcx, r15
je 0x18009c989
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 0x18009caf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
movdqa xmm0, xmmword [0x18011c660]
movdqa xmmword [rbp + 0x650], xmm0
movdqa xmm1, xmmword [0x18011c6c0]
movdqa xmmword [rbp + 0x660], xmm1
movdqa xmm0, xmmword [str.Diiti____e]
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, 0x1b
lea r8, [0x1800fb3c8]
mov edx, 0x2c
lea rcx, [rbp + 0x650]
call fcn.18005f0b0
mov rdx, rax
lea rcx, [rbp + 0x380]
call fcn.18001d6c0
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x18009ca4a
mov rcx, rax
call fcn.180022400
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.18004fcc0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18009caac
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18009caac
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 0x18009caac
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x18009ca80
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.18001d880
nop
cmp qword [rax + 0x18], 0x10
jb 0x18009cac3
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.1800b8b10
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x28], rax
lea rdx, [0x180160cf8]
lea rcx, [rbp - 0x28]
call fcn.1800bef68
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x18009cb01
mov rbx, qword [rbx]
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x18009cb13
mov rcx, qword [rax]
xor r9d, r9d
mov r8d, edx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x18009cc73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
movdqa xmm0, xmmword [0x18011c540]
movdqa xmmword [rbp + 0x750], xmm0
movdqa xmm1, xmmword [0x18011c240]
movdqa xmmword [rbp + 0x760], xmm1
movdqa xmm0, xmmword [0x18011b570]
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, 0x35
lea r8, [0x1800fb3f8]
mov edx, 0x23
lea rcx, [rbp + 0x750]
call fcn.18005f0b0
mov rdx, rax
lea rcx, [rbp + 0x280]
call fcn.18001d6c0
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x18009cbcd
mov rcx, rax
call fcn.180022400
lea rdx, [rsp + 0x44]
mov rcx, rbx
call fcn.18004fcc0
mov eax, dword [rbx + 0x3c]
inc eax
mov dword [rbx + 0x3c], eax
cmp qword [rbx + 0x30], 0
je 0x18009cc2c
mov r9d, dword [rbx + 0x40]
cmp eax, r9d
jge 0x18009cc2c
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 0x18009cc2c
lea eax, [r8 + 1]
mov dword [rbx + 0x3c], eax
cmp eax, r9d
jl 0x18009cc00
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.18001d880
nop
cmp qword [rax + 0x18], 0x10
jb 0x18009cc43
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1800b8b10
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x60], rax
lea rdx, [0x180160cf8]
lea rcx, [rbp - 0x60]
call fcn.1800bef68
nop
mov dword [rbp + 0x580], setsockopt
mov rax, qword [rbp + 0x588]
test rax, rax
mov rcx, r15
je 0x18009cc8f
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 0x18009cd9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
movdqa xmm0, xmmword [0x18011c6b0]
movdqa xmmword [rbp + 0x6d0], xmm0
movdqa xmm1, xmmword [0x18011c440]
movdqa xmmword [rbp + 0x6e0], xmm1
movdqa xmm0, xmmword [0x18011bfd0]
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, 0x4f
lea r8, [0x1800fb420]
mov edx, 0x2d
lea rcx, [rbp + 0x6d0]
call fcn.18005f0b0
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.18001d6c0
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.18004f3b0
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.18001d880
nop
cmp qword [rax + 0x18], 0x10
jb 0x18009cd6c
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1800b8b10
nop
lea rax, vtable.message_exception.0
mov qword [rbp - 0x40], rax
lea rdx, [0x180160cf8]
lea rcx, [rbp - 0x40]
call fcn.1800bef68
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 0x18009cdc8
mov edx, 0x20
mov rcx, r14
call fcn.18001b8b0
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.18001d6c0
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x18009ce00
mov rcx, rax
call fcn.180022400
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1800568e0
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x18009ce5f
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x18009ce5f
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 0x18009ce5f
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x18009ce30
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18001d880
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.18002ee10
nop
cmp qword [rbp - 0x80], 0x10
jb 0x18009ce90
mov rcx, qword [rsp + 0x68]
call fcn.1800958e0
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.18001b4f0
inc rdi
cmp rdi, 0x10
jl 0x18009cdd0
mov rbx, qword [rbp + 0x590]
test rbx, rbx
je 0x18009cee5
lock dec dword [rbx + 8]
jne 0x18009cee5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x18009cee5
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 0x18009cf0e
lock dec dword [rbx + 8]
jne 0x18009cf0e
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x18009cf0e
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.1800b8aa0
mov rbx, qword [rsp + 0x920]
add rsp, 0x8e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret