Function at 0x14013fcf0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rdi
push r13
push r15
lea rbp, [rsp - 0x3e8]
sub rsp, 0x4e8
mov rax, qword [0x1402d9040]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r15, qword [rcx + 0x20]
mov rdi, 0xffffffffffffffff
mov r13, rcx
mov rcx, rdi
mov rax, qword [r15 + 0x638]
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x14013fd30
mov rdx, qword [r15 + 0x630]
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x14013fd43
add rax, 0x47
add rax, rcx
cmp rax, 0x400
jbe 0x14013fd65
mov eax, 0x3f
jmp 0x1401401e8
mov rcx, qword [r15 + 0x1d0]
mov rax, rdi
mov qword [rsp + 0x518], rbx
mov qword [rsp + 0x528], r12
mov qword [rsp + 0x4e0], r14
inc rax
cmp byte [rcx + rax], 0
jne 0x14013fd87
mov r10d, reloc.WLDAP32.dll_Ordinal_14
cmp rax, r10
jae 0x14013fdb7
mov rdx, rdi
nop
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14013fda0
mov r8, rcx
mov r11, rdx
cmp rdx, 1
jb 0x14013fdec
jmp 0x14013fdc0
mov r11, r10
mov rdx, r10
mov r8, rcx
lea r9, [rbp + 0x360]
sub r9, rcx
lea rbx, [0x140269d90]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
movzx eax, byte [rcx + rbx]
mov byte [r9 + r8 - 1], al
test cl, cl
je 0x14013fdec
sub rdx, 1
jne 0x14013fdd1
sub r10, r11
lea rcx, [rbp + 0x360]
add rcx, r11
mov r8, r10
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x360]
lea rdx, [rbp + 0x370]
lea rcx, str.KGS____
call fcn.1401696e0
lea r8, [rbp + 0x367]
lea rdx, [rbp + 0x378]
lea rcx, str.KGS____
call fcn.1401696e0
xor eax, eax
lea r12, [r15 + 0x648]
mov rcx, r12
mov dword [rbp + 0x380], eax
lea r8, [rbp + 0x370]
mov byte [rbp + 0x384], al
lea rdx, [rbp + 0x3a0]
call fcn.1401696e0
lea r8, [rbp + 0x377]
mov rcx, r12
lea rdx, [rbp + 0x3a8]
call fcn.1401696e0
lea r8, [rbp + 0x37e]
mov rcx, r12
lea rdx, [rbp + 0x3b0]
call fcn.1401696e0
mov r14, qword [r15 + 0x1d0]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14013fea0
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x140140028
mov qword [rsp + 0x520], rsi
test rbx, rbx
je 0x14013fed6
lea rcx, [rbx + rbx]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x14013fee3
lea rcx, [0x1402192d9]
call qword [case.0x14010f187.0]
mov rsi, rax
test rax, rax
je 0x140140020
xor ecx, ecx
test rbx, rbx
je 0x14013ff15
nop word [rax + rax]
movzx eax, byte [r14 + rcx]
mov byte [rsi + rcx*2], al
mov byte [rsi + rcx*2 + 1], 0
inc rcx
cmp rcx, rbx
jb 0x14013ff00
xor r14d, r14d
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
mov qword [rsp + 0x30], r14
xor edx, edx
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x30]
lea r9d, [r14 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140140017
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14013ff81
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rsp + 0x30], r14
jmp 0x140140017
mov rcx, qword [rsp + 0x38]
lea r8d, [rbx + rbx]
xor r9d, r9d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x38]
lea r9, [rbp + 0x360]
xor r8d, r8d
mov dword [rbp + 0x360], r14d
mov dword [rsp + 0x20], r14d
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rbp + 0x360], 0x10
jne 0x14013ffe7
mov rcx, qword [rsp + 0x38]
lea r9, [rbp + 0x360]
lea r8, [rbp + 0x388]
mov dword [rsp + 0x20], r14d
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14013fff7
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140140009
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [rbp + 0x398], eax
mov byte [rbp + 0x39c], al
mov rcx, rsi
call qword [fcn.14016c458]
mov rsi, qword [rsp + 0x520]
lea r8, [rbp + 0x388]
mov rcx, r12
lea rdx, [rbp + 0x3b8]
call fcn.1401696e0
lea r8, [rbp + 0x38f]
mov rcx, r12
lea rdx, [rbp + 0x3c0]
call fcn.1401696e0
lea r8, [rbp + 0x396]
mov rcx, r12
lea rdx, [rbp + 0x3c8]
call fcn.1401696e0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x41d
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [rbp + 0x3a0]
lea rdx, [rbp - 0x73]
mov r14, qword [rsp + 0x4e0]
movsd xmm1, qword [rbp + 0x3b0]
mov eax, 1
mov r12, qword [rsp + 0x528]
mov word [rsp + 0x49], ax
mov word [rsp + 0x40], 0xff0d
mov dword [rsp + 0x45], 0x19000
mov eax, dword [r15 + 0x650]
movups xmmword [rsp + 0x5d], xmm0
mov dword [rsp + 0x4b], eax
movups xmm0, xmmword [rbp + 0x3b8]
mov dword [rsp + 0x57], 8
movsd qword [rsp + 0x6d], xmm1
movsd xmm1, qword [rbp + 0x3c8]
movups xmmword [rsp + 0x75], xmm0
mov dword [rsp + 0x4f], 0x180018
movsd qword [rbp - 0x7b], xmm1
mov rcx, qword [r15 + 0x630]
nop
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140140100
mov rcx, qword [r15 + 0x630]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140140120
mov rcx, qword [r15 + 0x638]
lea r8, [rbp - 0x72]
add r8, rax
mov rdx, r8
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140140140
mov rax, qword [r15 + 0x638]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140140160
movups xmm0, xmmword [str.x86_64_pc_win32]
add rdi, r8
mov rcx, r13
mov r8b, reloc.WS2_32.dll_WSAStartup
movups xmmword [rdi + 1], xmm0
mov eax, dword [str.curl]
add rdi, 0x11
mov dword [rdi], eax
movzx eax, byte [0x1402aee64]
mov byte [rdi + 4], al
lea rax, [rsp + 0x5d]
mov rbx, qword [r13 + 0x20]
sub rdi, rax
add rdi, 5
mov word [rsp + 0x5b], di
mov rdx, qword [rbx + 0x660]
lea r9, [rdi + 0x1d]
call fcn.14013fb80
mov rcx, qword [rbx + 0x660]
lea r8, [rdi + 0x1d]
add rcx, 0x24
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rdi + 0x41]
xor r8d, r8d
mov rcx, r13
call fcn.14013fc20
mov rbx, qword [rsp + 0x518]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14016b380
add rsp, 0x4e8
pop r15
pop r13
pop rdi
pop rbp
ret