Function at 0x140149400
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 [0x1402e1040]
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 + 0x690]
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x140149440
mov rdx, qword [r15 + 0x688]
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x140149453
add rax, 0x47
add rax, rcx
cmp rax, 0x400
jbe 0x140149475
mov eax, 0x3f
jmp 0x1401498f8
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 0x140149497
mov r10d, reloc.WLDAP32.dll_Ordinal_14
cmp rax, r10
jae 0x1401494c7
mov rdx, rdi
nop
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1401494b0
mov r8, rcx
mov r11, rdx
cmp rdx, 1
jb 0x1401494fc
jmp 0x1401494d0
mov r11, r10
mov rdx, r10
mov r8, rcx
lea r9, [rbp + 0x360]
sub r9, rcx
lea rbx, [0x14026f9e0]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
movzx eax, byte [rcx + rbx]
mov byte [r9 + r8 - 1], al
test cl, cl
je 0x1401494fc
sub rdx, 1
jne 0x1401494e1
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.14016ff50
lea r8, [rbp + 0x367]
lea rdx, [rbp + 0x378]
lea rcx, str.KGS____
call fcn.14016ff50
xor eax, eax
lea r12, [r15 + 0x6a0]
mov rcx, r12
mov dword [rbp + 0x380], eax
lea r8, [rbp + 0x370]
mov byte [rbp + 0x384], al
lea rdx, [rbp + 0x3a0]
call fcn.14016ff50
lea r8, [rbp + 0x377]
mov rcx, r12
lea rdx, [rbp + 0x3a8]
call fcn.14016ff50
lea r8, [rbp + 0x37e]
mov rcx, r12
lea rdx, [rbp + 0x3b0]
call fcn.14016ff50
mov r14, qword [r15 + 0x1d0]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1401495b0
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14014973b
mov qword [rsp + 0x520], rsi
test rbx, rbx
je 0x1401495e6
lea rcx, [rbx + rbx]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x1401495f3
lea rcx, [0x140223be9]
call qword [case.0x140115757.0]
mov rsi, rax
test rax, rax
je 0x140149733
xor ecx, ecx
test rbx, rbx
je 0x140149625
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 0x140149610
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 0x14014972a
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 0x140149693
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rsp + 0x30], r14
jmp 0x14014972a
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 0x1401496fa
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 0x14014970a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14014971c
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 [0x1402e1138]
mov rsi, qword [rsp + 0x520]
lea r8, [rbp + 0x388]
mov rcx, r12
lea rdx, [rbp + 0x3b8]
call fcn.14016ff50
lea r8, [rbp + 0x38f]
mov rcx, r12
lea rdx, [rbp + 0x3c0]
call fcn.14016ff50
lea r8, [rbp + 0x396]
mov rcx, r12
lea rdx, [rbp + 0x3c8]
call fcn.14016ff50
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 + 0x6a8]
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 + 0x688]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140149811
mov rcx, qword [r15 + 0x688]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140149830
mov rcx, qword [r15 + 0x690]
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 0x140149850
mov rax, qword [r15 + 0x690]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140149870
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 [0x1402b6540]
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 + 0x6b8]
lea r9, [rdi + 0x1d]
call fcn.140149270
mov rcx, qword [rbx + 0x6b8]
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.140149310
mov rbx, qword [rsp + 0x518]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140171bd0
add rsp, 0x4e8
pop r15
pop r13
pop rdi
pop rbp
ret