Function at 0x140001da0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0x60]
lea rcx, str.0123456789abcdef
mov rdi, rax
mov rsi, rcx
mov ecx, 0x11
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140001e21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140001e5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor r9d, r9d
mov r8d, dword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140001ea0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea rax, [rsp + 0xa0]
lea rcx, str.2fbfdd5687585edb76f5832dadbc55fa
mov rdi, rax
mov rsi, rcx
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc8]
lea rcx, str.af3e375dc952dc98699913c837e07022
mov rdi, rax
mov rsi, rcx
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x3c], 0x21
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x78]
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000200c
mov dword [rsp + 0x34], 0
jmp 0x140001f2e
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x34], eax
jae 0x140001ff1
mov eax, dword [rsp + 0x34]
movzx eax, byte [rsp + rax + 0x78]
sar eax, 4
cdqe
movzx eax, byte [rsp + rax + 0x60]
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x34]
movzx eax, byte [rsp + rax + 0x78]
and eax, 0xf
cdqe
movzx eax, byte [rsp + rax + 0x60]
mov byte [rsp + 0x31], al
cmp dword [rsp + 0x40], 0
je 0x140001fab
movsx eax, byte [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
shl ecx, 1
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xa0]
cmp eax, ecx
je 0x140001fab
movsx eax, byte [rsp + 0x31]
mov ecx, dword [rsp + 0x34]
inc ecx
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xa0]
cmp eax, ecx
je 0x140001fab
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x44], 0
je 0x140001fec
movsx eax, byte [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
shl ecx, 1
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xc8]
cmp eax, ecx
je 0x140001fec
movsx eax, byte [rsp + 0x31]
mov ecx, dword [rsp + 0x34]
inc ecx
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xc8]
cmp eax, ecx
je 0x140001fec
mov dword [rsp + 0x44], 0
jmp 0x140001f24
cmp dword [rsp + 0x40], 0
jne 0x140001fff
cmp dword [rsp + 0x44], 0
je 0x14000200a
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x140002016
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add rsp, 0xf8
pop rdi
pop rsi
ret