Function at 0x14009acd4
Capabilities:
Encrypt data using rc4 via systemfunction033
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov ebx, dword [rcx]
xor edi, edi
and dword [rbp - 0x69], edi
mov rsi, rcx
and dword [rbp - 0x65], edi
lea rcx, str.hid_E___R__phAVEHBCH1m1
and qword [rbp - 0x61], rdi
mov r15, r8
lea eax, [rdi + 0x10]
add rbx, rdx
mov dword [rbp - 0x59], eax
mov dword [rbp - 0x55], eax
lea rax, [rbp + 0xf]
mov qword [rbp - 0x51], rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, str.hid_E___R__WzNpNCOVY4Js
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [rsi], edi
je 0x14009af02
mov edx, dword [rsi + 4]
test edx, edx
je 0x14009af02
movzx ecx, word [rbx + 2]
mov r14d, dword [rbp + 0x7f]
sub ecx, 1
je 0x14009add9
cmp ecx, 1
jne 0x14009aef3
cmp dword [rbx + 4], 0x10
jb 0x14009aef3
lea rax, [rbp + 0x57]
mov rcx, r15
mov qword [rsp + 0x28], rax
lea r9d, [rdx - 0x18]
lea rax, [rbp + 0x5f]
lea r8, [rbx + 0x18]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 8]
call fcn.14000477c
test eax, eax
je 0x14009aef3
mov eax, dword [rbp + 0x57]
lea ecx, [rdi + 0x40]
mov edx, eax
mov dword [rbp - 0x65], eax
mov dword [rbp - 0x69], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x61], rax
test rax, rax
je 0x14009adca
mov r8d, dword [rbp + 0x57]
mov rcx, rax
mov rdx, qword [rbp + 0x5f]
call fcn.1400c5960
mov edi, 1
mov rcx, qword [rbp + 0x5f]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009aeab
cmp edx, 6
jb 0x14009aeab
lea rcx, [rbp - 0x49]
call qword [sym.imp.cryptdll.dll_MD5Init]
mov r8d, 0x10
lea rcx, [rbp - 0x49]
mov rdx, r15
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, 4
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x49]
call qword [sym.imp.cryptdll.dll_MD5Update]
mov eax, r14d
lea rcx, str.NTPASSWORDHISTORY
neg eax
lea rdx, str.LMPASSWORD
lea rax, str.NTPASSWORD
sbb r8d, r8d
and r8d, 7
add r8d, 0xb
test r14d, r14d
cmovne rax, rcx
lea rcx, str.LMPASSWORDHISTORY
cmovne rdx, rcx
cmp dword [rbp + 0x77], edi
lea rcx, [rbp - 0x49]
cmovne rdx, rax
call qword [sym.imp.cryptdll.dll_MD5Update]
lea rcx, [rbp - 0x49]
call qword [sym.imp.cryptdll.dll_MD5Final]
mov eax, dword [rsi + 4]
mov ecx, 0x40
add eax, 0xfffffffc
mov edx, eax
mov dword [rbp - 0x65], eax
mov dword [rbp - 0x69], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x61], rax
mov rcx, rax
test rax, rax
je 0x14009aeaf
mov r8d, dword [rbp - 0x69]
lea rdx, [rbx + 4]
call fcn.1400c5960
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_SystemFunction033]
test eax, eax
setns dil
mov rcx, qword [rbp - 0x61]
test edi, edi
je 0x14009aef7
mov r8d, dword [rbp + 0x6f]
lea rdx, str.ntlm
test r14d, r14d
mov dword [rsp + 0x20], r14d
lea rax, str.NTLM
cmovne rax, rdx
lea r9, str.LM
lea rdx, str.lm
cmovne r9, rdx
cmp dword [rbp + 0x77], 0
mov edx, dword [rbp - 0x69]
cmovne r9, rax
call fcn.1400b3378
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14009af02
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x100]
mov eax, edi
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret