Function at 0x140146260
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 [0x1402dc040]
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 0x1401462a0
mov rdx, qword [r15 + 0x630]
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x1401462b3
add rax, 0x47
add rax, rcx
cmp rax, 0x400
jbe 0x1401462d5
mov eax, 0x3f
jmp 0x140146758
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 0x1401462f7
mov r10d, reloc.WLDAP32.dll_Ordinal_14
cmp rax, r10
jae 0x140146327
mov rdx, rdi
nop
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140146310
mov r8, rcx
mov r11, rdx
cmp rdx, 1
jb 0x14014635c
jmp 0x140146330
mov r11, r10
mov rdx, r10
mov r8, rcx
lea r9, [rbp + 0x360]
sub r9, rcx
lea rbx, [0x14026b9b0]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
movzx eax, byte [rcx + rbx]
mov byte [r9 + r8 - 1], al
test cl, cl
je 0x14014635c
sub rdx, 1
jne 0x140146341
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.14016c360
lea r8, [rbp + 0x367]
lea rdx, [rbp + 0x378]
lea rcx, str.KGS____
call fcn.14016c360
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.14016c360
lea r8, [rbp + 0x377]
mov rcx, r12
lea rdx, [rbp + 0x3a8]
call fcn.14016c360
lea r8, [rbp + 0x37e]
mov rcx, r12
lea rdx, [rbp + 0x3b0]
call fcn.14016c360
mov r14, qword [r15 + 0x1d0]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140146410
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14014659b
mov qword [rsp + 0x520], rsi
test rbx, rbx
je 0x140146446
lea rcx, [rbx + rbx]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x140146453
lea rcx, [0x14021fbe9]
call qword [case.0x140114cc7.0]
mov rsi, rax
test rax, rax
je 0x140146593
xor ecx, ecx
test rbx, rbx
je 0x140146485
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 0x140146470
xor r14d, r14d
mov dword [rsp + 0x20], 0xf0000040
mov r9d, 1
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov qword [rsp + 0x38], r14
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14014658a
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 0x1401464f3
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rsp + 0x30], r14
jmp 0x14014658a
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 edx, 2
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rbp + 0x360], 0x10
jne 0x14014655a
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 0x14014656a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14014657c
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.14016f1de]
mov rsi, qword [rsp + 0x520]
lea r8, [rbp + 0x388]
mov rcx, r12
lea rdx, [rbp + 0x3b8]
call fcn.14016c360
lea r8, [rbp + 0x38f]
mov rcx, r12
lea rdx, [rbp + 0x3c0]
call fcn.14016c360
lea r8, [rbp + 0x396]
mov rcx, r12
lea rdx, [rbp + 0x3c8]
call fcn.14016c360
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]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140146671
mov rcx, qword [r15 + 0x630]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140146690
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 0x1401466b0
mov rax, qword [r15 + 0x638]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1401466d0
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 [0x1402b189c]
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.1401460f0
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.140146190
mov rbx, qword [rsp + 0x518]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14016dfe0
add rsp, 0x4e8
pop r15
pop r13
pop rdi
pop rbp
ret