Function at 0x14012caa0
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 [0x1402ba030]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r15, qword [rcx + 0x18]
mov rdi, 0xffffffffffffffff
mov r13, rcx
mov rcx, rdi
mov rax, qword [r15 + 0x620]
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x14012cae0
mov rdx, qword [r15 + 0x618]
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x14012caf3
add rax, 0x47
add rax, rcx
cmp rax, 0x400
jbe 0x14012cb15
mov eax, 0x3f
jmp 0x14012cfa1
mov rcx, qword [r15 + 0x158]
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 0x14012cb37
mov r10d, reloc.WLDAP32.dll_Ordinal_14
cmp rax, r10
jae 0x14012cb67
mov rdx, rdi
nop
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14012cb50
mov r8, rcx
mov r11, rdx
cmp rdx, 1
jb 0x14012cb9c
jmp 0x14012cb70
mov r11, r10
mov rdx, r10
mov r8, rcx
lea r9, [rbp + 0x360]
sub r9, rcx
lea rbx, [0x14024e630]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
movzx eax, byte [rcx + rbx]
mov byte [r9 + r8 - 1], al
test cl, cl
je 0x14012cb9c
sub rdx, 1
jne 0x14012cb81
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.14014f0e0
lea r8, [rbp + 0x367]
lea rdx, [rbp + 0x378]
lea rcx, str.KGS____
call fcn.14014f0e0
xor eax, eax
lea r12, [r15 + 0x630]
mov rcx, r12
mov dword [rbp + 0x380], eax
lea r8, [rbp + 0x370]
mov byte [rbp + 0x384], al
lea rdx, [rbp + 0x3a0]
call fcn.14014f0e0
lea r8, [rbp + 0x377]
mov rcx, r12
lea rdx, [rbp + 0x3a8]
call fcn.14014f0e0
lea r8, [rbp + 0x37e]
mov rcx, r12
lea rdx, [rbp + 0x3b0]
call fcn.14014f0e0
mov r14, qword [r15 + 0x158]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14012cc50
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14012cdb1
mov qword [rsp + 0x520], rsi
test rbx, rbx
je 0x14012cc86
lea rcx, [rbx + rbx]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x14012cc93
lea rcx, [0x1401fe219]
call qword [case.0x1400fa348.0]
mov rsi, rax
test rax, rax
je 0x14012cda9
xor edx, edx
mov ecx, edx
test rbx, rbx
je 0x14012ccc4
nop dword [rax + rax]
movzx eax, byte [rcx + r14]
mov byte [rsi + rcx*2], al
mov byte [rsi + rcx*2 + 1], dl
inc rcx
cmp rcx, rbx
jb 0x14012ccb0
mov r9d, 1
mov qword [rsp + 0x30], rdx
xor r8d, r8d
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14012cd0e
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]
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 ebx, ebx
xor r8d, r8d
mov dword [rbp + 0x360], ebx
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rbp + 0x360], 0x10
jne 0x14012cd70
mov rcx, qword [rsp + 0x38]
lea r9, [rbp + 0x360]
lea r8, [rbp + 0x388]
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14012cd80
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14012cd92
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rsi
mov dword [rbp + 0x398], eax
mov byte [rbp + 0x39c], al
call qword [0x1402ba0c8]
mov rsi, qword [rsp + 0x520]
lea r8, [rbp + 0x388]
mov rcx, r12
lea rdx, [rbp + 0x3b8]
call fcn.14014f0e0
lea r8, [rbp + 0x38f]
mov rcx, r12
lea rdx, [rbp + 0x3c0]
call fcn.14014f0e0
lea r8, [rbp + 0x396]
mov rcx, r12
lea rdx, [rbp + 0x3c8]
call fcn.14014f0e0
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 + 0x638]
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 + 0x618]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14012ce90
mov rcx, qword [r15 + 0x618]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14012ceb0
mov rcx, qword [r15 + 0x620]
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 0x14012ced0
mov rax, qword [r15 + 0x620]
nop dword [rax + rax]
cmp byte [rax + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x14012cef0
movups xmm0, xmmword [str.x86_64_pc_win32]
lea rcx, [r8 + rdi]
movups xmmword [rcx + 1], xmm0
mov eax, dword [str.curl]
add rcx, 0x11
mov dword [rcx], eax
movzx eax, byte [0x140292d44]
mov byte [rcx + 4], al
lea rax, [rsp + 0x5d]
sub rcx, rax
mov rax, qword [r13 + 0xcb0]
add rcx, 5
mov word [rsp + 0x5b], cx
lea rbx, [rcx + 0x1d]
test rax, rax
jne 0x14012cf61
mov ecx, dword [r13 + 0x6c8]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r13 + 0xcb0], rax
test rax, rax
jne 0x14012cf61
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14012cf99
mov r9, rbx
mov r8b, reloc.WS2_32.dll_WSAStartup
mov rdx, rax
mov rcx, r13
call fcn.14012c8a0
mov rcx, qword [r13 + 0xcb0]
lea rdx, [rsp + 0x40]
add rcx, 0x24
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + 0x24]
xor r8d, r8d
mov rcx, r13
call fcn.14012c940
mov rbx, qword [rsp + 0x518]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1401526c0
add rsp, 0x4e8
pop r15
pop r13
pop rdi
pop rbp
ret