Function at 0x140103b80
Capabilities:
Encrypt data using rc4 via systemfunction033

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x150]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0xb8], Ordinal_26
mov dword [rsp + 0xbc], Ordinal_26
lea rax, [rsp + 0x128]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x150]
cmp dword [rax], 0
je 0x140103fe8
mov rax, qword [rsp + 0x150]
cmp dword [rax + 4], 0
je 0x140103fe8
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 2]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
je 0x140103c46
cmp dword [rsp + 0x48], 2
je 0x140103e44
jmp 0x140103f0a
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 4]
cmp rax, 6
jb 0x140103e3f
lea rcx, [rsp + 0xd0]
call qword [sym.imp.cryptdll.dll_MD5Init]
mov r8d, 0x10
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, 4
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.cryptdll.dll_MD5Update]
cmp dword [rsp + 0x170], 0
je 0x140103cd8
cmp dword [rsp + 0x178], 0
je 0x140103cc0
mov qword [rsp + 0x68], Ordinal_26
jmp 0x140103cc9
mov qword [rsp + 0x68], reloc.Cabinet.dll_FCIAddFile
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
jmp 0x140103d03
cmp dword [rsp + 0x178], 0
je 0x140103ced
mov qword [rsp + 0x70], Ordinal_26
jmp 0x140103cf6
mov qword [rsp + 0x70], reloc.Cabinet.dll_FCIAddFile
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
cmp dword [rsp + 0x170], 0
je 0x140103d40
cmp dword [rsp + 0x178], 0
je 0x140103d25
lea rax, str.NTPASSWORDHISTORY
mov qword [rsp + 0x78], rax
jmp 0x140103d31
lea rax, str.NTPASSWORD
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
jmp 0x140103d7a
cmp dword [rsp + 0x178], 0
je 0x140103d5b
lea rax, str.LMPASSWORDHISTORY
mov qword [rsp + 0x80], rax
jmp 0x140103d6a
lea rax, str.LMPASSWORD
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.cryptdll.dll_MD5Update]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.cryptdll.dll_MD5Final]
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 4]
sub eax, 4
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140103e3f
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
add rcx, 4
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x40]
call fcn.140161160
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_SystemFunction033]
test eax, eax
jl 0x140103e1c
mov dword [rsp + 0x4c], 1
jmp 0x140103e24
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140103e3f
lea rcx, str.ERROR_kuhl_m_lsadump_getHash___RtlDecryptData2_n
call fcn.140013fd0
jmp 0x140103f21
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 0x10
jb 0x140103f08
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 4]
sub eax, 0x18
mov rcx, qword [rsp + 0x60]
add rcx, 0x18
mov rdx, qword [rsp + 0x60]
add rdx, 8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0x160]
call fcn.140007e20
test eax, eax
je 0x140103f08
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140103efa
mov eax, dword [rsp + 0x50]
mov r8d, eax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
call fcn.140161160
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140103f21
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 2]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_lsadump_getHash___Unknow_SAM_HASH_revision___hu__n
call fcn.140013fd0
cmp dword [rsp + 0x30], 0
je 0x140103fd5
cmp dword [rsp + 0x170], 0
je 0x140103f72
cmp dword [rsp + 0x178], 0
je 0x140103f51
lea rax, str.ntlm
mov qword [rsp + 0xa0], rax
jmp 0x140103f60
lea rax, str.NTLM
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
jmp 0x140103fac
cmp dword [rsp + 0x178], 0
je 0x140103f8d
lea rax, str.lm
mov qword [rsp + 0xa8], rax
jmp 0x140103f9c
lea rax, str.LM
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x168]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140121d90
cmp qword [rsp + 0x40], 0
je 0x140103fe8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x30]
add rsp, 0x148
ret