Function at 0x140206c30
Capabilities:
Hash data via wincrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x30], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
sub r8, rdx
xor r9d, r9d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1402070db
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x38]
xor r8d, r8d
lea edx, [r15 + 2]
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14020711b
mov esi, dword [rsp + 0x38]
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
test rsi, rsi
je 0x140206d29
cmp rsi, 0x1000
jb 0x140206cfb
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14020715b
call fcn.1402695b8
mov rcx, rax
test rax, rax
je 0x140207161
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140206d03
mov rcx, rsi
call fcn.1402695b8
mov qword [rdi], rax
mov qword [rdi + 8], rax
add rax, rsi
mov qword [rdi + 0x10], rax
mov rbx, qword [rdi]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.14026c200
lea rax, [rbx + rsi]
mov qword [rdi + 8], rax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x38]
mov r8, qword [rdi]
mov edx, 2
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x140207167
lea rax, [0x1402cb970]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x30], r15
mov qword [rbp - 8], r15
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x34], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1400f88d0
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], r12
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x48], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1402695b8
mov rbx, rax
test rax, rax
je 0x140206dec
mov cl, 1
call fcn.1402466bc
mov qword [rbx + 8], rax
jmp 0x140206def
mov rbx, r15
mov qword [rbp - 0x58], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x6c]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x70], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x70], r15
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], 4
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
or dword [rsp + rcx + 0x58], 4
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffffebf
bts eax, 7
mov dword [rsp + rcx + 0x58], eax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
mov r14, qword [rdi + 8]
mov rsi, qword [rdi]
cmp rsi, r14
je 0x140206f01
nop word [rax + rax]
movzx ebx, byte [rsi]
mov edx, 2
lea rcx, [rbp + 0x58]
call fcn.1402484d8
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x40]
add rcx, rdx
mov rdx, qword [rax + 8]
mov rax, qword [rax]
call qword [case.0x1400ac8a1.0]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x68], 0x30
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1400f8bd0
inc rsi
cmp rsi, r14
jne 0x140206eb0
mov qword [rbp + 0x38], r15
mov r9, r15
mov qword [rbp + 0x48], r15
mov edx, select
mov qword [rbp + 0x50], rdx
mov byte [rbp + 0x38], r9b
mov dword [rsp + 0x34], select
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov ecx, dword [rbp - 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140206f55
mov rax, qword [rbp - 0x78]
mov r8, qword [rax]
test r8, r8
je 0x140206f55
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
cmp r8, qword [rbp - 0x50]
cmovb r8, qword [rbp - 0x50]
sub r8, rcx
jmp 0x140206f85
test cl, 4
jne 0x140206f7d
mov rax, qword [rbp - 0x80]
mov r10, qword [rax]
test r10, r10
je 0x140206f7d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
mov rax, qword [rbp - 0x68]
movsxd r8, dword [rax]
sub r8, rcx
add r8, r10
jmp 0x140206f85
mov r8, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140206f9e
mov rdx, rcx
lea rcx, [rbp + 0x38]
call fcn.140043540
mov rdx, qword [rbp + 0x50]
mov r9, qword [rbp + 0x48]
mov dword [rsp + 0x34], 7
mov rax, qword [rdi]
mov qword [rdi + 8], rax
lea rsi, [rbp + 0x38]
mov rcx, qword [rbp + 0x38]
cmp rdx, 0x10
cmovae rsi, rcx
add rsi, r9
lea rbx, [rbp + 0x38]
cmp rdx, 0x10
cmovae rbx, rcx
cmp rbx, rsi
je 0x140207007
movzx eax, byte [rbx]
mov byte [rsp + 0x30], al
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140206fea
mov byte [rdx], al
inc qword [rdi + 8]
jmp 0x140206ff7
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.1400913d0
inc rbx
cmp rbx, rsi
jne 0x140206fd1
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14020703a
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140207035
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402070d5
call fcn.140269844
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], select
mov byte [rbp + 0x38], 0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r12
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.1400cb1d0
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 rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x3c], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.140248570
nop
mov rax, rdi
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.140269300
add rsp, 0x210
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140277ff8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1402de458]
lea rcx, [rbp + 0x58]
call fcn.140025da0
nop
mov r8d, ebx
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0xd0]
call fcn.1402063b0
lea rdx, [0x140355e48]
lea rcx, [rbp + 0xd0]
call fcn.14026ba78
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1402de478]
lea rcx, [rbp + 0x78]
call fcn.140025da0
nop
mov r8d, ebx
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x98]
call fcn.1402063b0
lea rdx, [0x140355e48]
lea rcx, [rbp + 0x98]
call fcn.14026ba78
nop
call fcn.140025510
int3
call fcn.140277ff8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1402de478]
lea rcx, [rbp + 0x78]
call fcn.140025da0
nop
mov r8d, ebx
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x98]
call fcn.1402063b0
lea rdx, [0x140355e48]
lea rcx, [rbp + 0x98]
call fcn.14026ba78
int3