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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
movdqa xmm0, xmmword [0x140123550]
lea rax, [rbp + 0xd0]
movdqa xmm1, xmmword [0x140123f20]
mov r12, rcx
and dword [rbp + 0x20], 0
lea rcx, str.hid________m9yahWGxhoY7
movdqu xmmword [rbp - 0x18], xmm0
mov r15d, 0x10
mov r13d, 0x2800
movdqa xmm0, xmmword [0x140123210]
mov r14, r9
movdqu xmmword [rbp + 8], xmm0
mov rsi, r8
mov dword [rbp - 0x6c], r13d
mov rbx, rdx
mov dword [rbp - 0x48], r15d
mov dword [rbp - 0x44], r15d
mov qword [rbp - 0x40], rax
movdqu xmmword [rbp - 8], xmm1
mov dword [rbp + 0x18], Ordinal_36
mov dword [rbp + 0x1c], 0xa
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movdqa xmm0, xmmword [0x1401243a0]
lea rcx, str.hid________bmrtxLauniYw
movdqa xmm1, xmmword [0x1401243c0]
and dword [rbp + 0xc8], 0
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm0, xmmword [0x140123260]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm0, xmmword [0x140124390]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm1, xmmword [0x1401242b0]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm0, xmmword [0x140123f00]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm1, xmmword [0x140123b70]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm0, xmmword [0x140123390]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm1, xmmword [0x1401233a0]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmmword [rbp + 0xa0], xmm1
mov dword [rbp + 0xc0], reloc.WLDAP32.dll_Ordinal_41
mov dword [rbp + 0xc4], 0xa
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rax, [rbp - 0x4c]
mov r9, r14
mov qword [rsp + 0x30], rax
lea r8, str.SecretsNL_KMCurrVal
lea rax, [rbp - 0x68]
mov rdx, rbx
mov qword [rsp + 0x28], rax
mov rcx, r12
mov rax, qword [rbp + reloc.WLDAP32.dll_Ordinal_304]
mov qword [rsp + 0x20], rax
call fcn.14009c86c
test eax, eax
je 0x14009c329
mov rdi, qword [rbp + 0x138]
test rdi, rdi
je 0x14009bd77
mov rax, qword [rdi]
neg rax
sbb ecx, ecx
and ecx, 0x20006
jmp 0x14009bd79
xor ecx, ecx
or ecx, 0x20019
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea r8, str.Cache
mov dword [rsp + 0x20], ecx
mov rdx, rsi
mov rcx, r12
call fcn.14000d630
test eax, eax
je 0x14009c31f
test r14, r14
je 0x14009be29
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b314
mov rdx, qword [rbp - 0x80]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
lea r8, str.NL_IterationCount
lea rax, [rsp + 0x70]
mov rcx, r12
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
call fcn.14000db90
test eax, eax
je 0x14009be20
mov edx, dword [rsp + 0x70]
mov ecx, edx
and ecx, 0xfffffc00
mov eax, edx
shl eax, 0xa
cmp edx, r13d
cmova eax, ecx
lea rcx, str._NL_IterationCount_is__u___u_real_iteration_s__n
mov r8d, eax
mov dword [rbp - 0x6c], eax
mov r13d, eax
call fcn.14000b314
cmp dword [rsp + 0x70], 0
jne 0x14009be29
lea rcx, [rbp - 0x18]
jmp 0x14009be24
lea rcx, [rbp + 0x30]
call fcn.14000b314
mov rdx, qword [rbp - 0x80]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rcx, r12
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
call fcn.14000d8b0
test eax, eax
je 0x14009c313
mov eax, dword [rsp + 0x78]
mov ebx, 0x40
inc eax
mov ecx, ebx
mov dword [rsp + 0x78], eax
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x14009c313
mov edx, dword [rbp - 0x78]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14009c30a
xor ecx, ecx
mov dword [rsp + 0x70], ecx
cmp dword [rbp - 0x70], ecx
jbe 0x14009c301
mov eax, dword [rsp + 0x78]
mov r8d, ecx
mov rdx, qword [rbp - 0x80]
mov r9, r14
mov dword [rbp - 0x50], eax
mov rcx, r12
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.14000defc
test eax, eax
je 0x14009c2ea
mov r8d, 0xa
lea rdx, str.NL_Control
mov rcx, r14
call fcn.1400d4f80
test eax, eax
je 0x14009c2ea
mov r8d, 0x11
lea rdx, str.NL_IterationCount
mov rcx, r14
call fcn.1400d4f80
test eax, eax
je 0x14009c2ea
test byte [rbx + 0x30], 1
je 0x14009c2ea
mov rdx, r14
lea rcx, str._n__s__
call fcn.14000b314
lea rcx, [rbx + 0x20]
test rcx, rcx
je 0x14009bf76
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14009bf76
lea rcx, [rbp - 0x20]
call fcn.1400116ac
mov edx, dword [rbx + 0x10]
lea rcx, str.__nRID_______:__08x___u__n
mov r8d, edx
call fcn.14000b314
mov r15d, dword [rsp + 0x74]
lea rcx, [rbx + 0x40]
add r15d, 0xffffffa0
cmp qword [rbp + 0x128], 0
je 0x14009c131
and dword [rsp + 0x30], 0
lea rsi, [rbx + 0x60]
mov r9, qword [rbp - 0x68]
mov rdx, rsi
mov r8d, r15d
mov qword [rsp + 0x28], rcx
call fcn.14000410c
test eax, eax
je 0x14009c2ea
mov dl, 0x32
mov rcx, rbx
call fcn.14009c350
movzx eax, word [rbx]
lea r9, [rbx + 0xa8]
mov r8, qword [rdi + 0x30]
mov word [rbp - 0x5e], ax
mov word [rbp - 0x60], ax
mov qword [rbp - 0x58], r9
test r8, r8
je 0x14009c018
mov edx, dword [rbx + 0x84]
test edx, edx
je 0x14009c018
mov r9d, dword [rdi + 0x38]
mov ecx, r15d
sub ecx, edx
add rcx, 0x60
add rcx, rbx
call fcn.14009c448
mov r9, qword [rbp - 0x58]
movzx eax, word [rbp - 0x60]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14009c2ea
movzx r8d, ax
mov rdx, r9
shr r8, 1
call fcn.1400d4f80
test eax, eax
jne 0x14009c2ea
lea rcx, str.__User_caCHe_replace_mode__2___n
call fcn.14000b314
cmp dword [rdi + 0x18], 0
je 0x14009c071
lea rdx, [rdi + 8]
mov r9d, r13d
lea r8, [rbp - 0x60]
mov rcx, rsi
call fcn.140004660
xor ecx, ecx
test eax, eax
setns cl
test ecx, ecx
je 0x14009c2ea
jmp 0x14009c083
cmp dword [rdi + 0x2c], 0
je 0x14009c2ea
movups xmm0, xmmword [rdi + 0x1c]
movdqu xmmword [rsi], xmm0
lea rcx, str.__MsCacheV2_:
call fcn.14000b314
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.1400115ec
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b314
mov rdx, qword [rbp - 0x68]
lea r13, [rbx + 0x50]
mov eax, 0x10
mov r9, rsi
mov dword [rsp + 0x30], eax
mov r8d, eax
mov qword [rsp + 0x28], r13
mov ecx, 0x8004
mov dword [rsp + 0x20], r15d
call fcn.1400039bc
test eax, eax
je 0x14009c2ea
lea rcx, str.__Checksum__:
call fcn.14000b314
xor r8d, r8d
mov rcx, r13
lea edx, [r8 + 0x10]
call fcn.1400115ec
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b314
mov r9, qword [rbp - 0x68]
lea rax, [rbx + 0x40]
mov dword [rsp + 0x30], 1
mov r8d, r15d
mov rdx, rsi
mov qword [rsp + 0x28], rax
call fcn.14000410c
test eax, eax
je 0x14009c2ea
jmp 0x14009c2b7
mov rax, qword [rbp - 0x40]
mov r13d, 0x10
mov r8d, dword [rbp - 0x4c]
mov r9, rcx
mov rdx, qword [rbp - 0x68]
mov ecx, 0x8003
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.1400039bc
test eax, eax
je 0x14009c2ea
lea rsi, [rbx + 0x60]
mov dword [rbp - 0x34], r15d
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x30], rsi
lea rcx, [rbp - 0x38]
mov dword [rbp - 0x38], r15d
call qword [sym.imp.ADVAPI32.dll_SystemFunction033]
test eax, eax
js 0x14009c2ea
mov dl, 0x31
mov rcx, rbx
call fcn.14009c350
movzx eax, word [rbx]
lea rdx, [rbx + 0xa8]
mov word [rbp - 0x5e], ax
mov word [rbp - 0x60], ax
mov qword [rbp - 0x58], rdx
test rdi, rdi
je 0x14009c2ea
mov rcx, qword [rdi]
test rcx, rcx
je 0x14009c2ea
mov r8d, eax
shr r8, 1
call fcn.1400d4f80
test eax, eax
jne 0x14009c2ea
lea rcx, str.__User_caCHe_replace_mode__1___n
call fcn.14000b314
cmp dword [rdi + 0x18], 0
je 0x14009c1fc
lea rdx, [rdi + 8]
xor r9d, r9d
lea r8, [rbp - 0x60]
mov rcx, rsi
call fcn.140004660
jmp 0x14009c20a
cmp dword [rdi + 0x2c], 0
je 0x14009c20a
movups xmm0, xmmword [rdi + 0x1c]
movdqu xmmword [rsi], xmm0
lea rdx, [rdi + 8]
xor r9d, r9d
lea r8, [rbp - 0x60]
mov rcx, rsi
call fcn.140004660
test eax, eax
js 0x14009c2ea
lea rcx, str.__MsCacheV1_:
call fcn.14000b314
xor r8d, r8d
mov edx, r13d
mov rcx, rsi
call fcn.1400115ec
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b314
mov rdx, qword [rbp - 0x40]
lea r13, [rbx + 0x50]
mov dword [rsp + 0x30], 0x10
mov r9, rsi
mov qword [rsp + 0x28], r13
mov ecx, 0x8003
mov dword [rsp + 0x20], r15d
mov r15d, 0x10
mov r8d, r15d
call fcn.1400039bc
test eax, eax
je 0x14009c2ea
lea rcx, str.__Checksum__:
call fcn.14000b314
xor r8d, r8d
mov edx, r15d
mov rcx, r13
call fcn.1400115ec
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b314
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_SystemFunction032]
test eax, eax
js 0x14009c2ea
mov eax, dword [rsp + 0x74]
mov r8, r14
mov rdx, qword [rbp - 0x80]
mov rcx, r12
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x74]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.14000dc90
test eax, eax
je 0x14009c2ea
lea rcx, str.__OK__n
call fcn.14000b314
mov ecx, dword [rsp + 0x70]
mov r13d, dword [rbp - 0x6c]
inc ecx
mov dword [rsp + 0x70], ecx
cmp ecx, dword [rbp - 0x70]
jb 0x14009beba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rbp - 0x80]
mov rcx, r12
call fcn.14000e124
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x1e0]
mov eax, 1
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret