joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400854b4
Capabilities:
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov eax, 0x20020
call sub.ntdll.dll___chkstk
sub rsp, rax
movsxd rdi, ecx
mov rcx, qword [sym.imp.msvcrt.dll__iob]
xor r14d, r14d
add rcx, 0x30
mov rbp, rdx
mov ebx, r14d
call qword [sym.imp.msvcrt.dll__fileno]
mov esi, 0x40000
mov ecx, eax
mov edx, esi
call qword [sym.imp.msvcrt.dll__setmode]
mov rcx, qword [sym.imp.msvcrt.dll__iob]
add rcx, 0x60
mov dword [0x140140838], eax
call qword [sym.imp.msvcrt.dll__fileno]
mov edx, esi
mov ecx, eax
call qword [sym.imp.msvcrt.dll__setmode]
mov dword [0x140140840], eax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ecx, 0xfde9
mov dword [0x14014083c], eax
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, str.NJBZKL88_2.2.0_x64__NF0PO_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea edx, [r14 + 1]
lea rcx, [0x1400856e0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str._n__..___NJBZKL88_2.2.0__x64__19041_Sep_19_2022_17:44:08_n_.__.___MK83QVXBIHBYBHN25F4_____NF0PO__n_________0US5VMVJMNSWYP__PQWZCT3031____MKXX6HP5_PQWZCT3031.com___n______________https:__blog.PQWZCT3031.com_NJBZKL88_n__v________Z9PP7FXUXAH91QY_______________VMRUOLV9KP95XFOT8YLK52CG___n____________https:__pingcastle.com___https:__mysmartlogon.com___n
call fcn.14000c030
lea ecx, [r14 + 1]
call fcn.1400856f4
lea esi, [r14 + 1]
cmp rsi, rdi
jge 0x1400855be
cmp ebx, 0xc000010a
je 0x140085655
cmp ebx, 0xc000004b
je 0x140085649
mov rdx, qword [rbp + rsi*8]
lea rcx, str._nNJBZKL88_commandline____s_n
call fcn.14000c030
mov rcx, qword [rbp + rsi*8]
call fcn.1400857f4
inc rsi
cmp rsi, rdi
mov ebx, eax
jl 0x14008557c
jmp 0x140085649
cmp ebx, 0xc000004b
je 0x140085655
lea rcx, str._nNJBZKL88_
call fcn.14000c030
mov rcx, qword [sym.imp.msvcrt.dll__iob]
call qword [sym.imp.msvcrt.dll_fflush]
mov r8, qword [sym.imp.msvcrt.dll__iob]
lea rcx, [rsp + 0x20]
mov edx, 0xffff
call qword [sym.imp.msvcrt.dll_fgetws]
cmp rax, r14
je 0x140085649
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x140085649
cmp word [rsp + 0x20], 0xa
je 0x140085649
cmp word [rsp + rcx*2 + 0x1e], 0xa
jne 0x14008562c
mov word [rsp + rcx*2 + 0x1e], r14w
lea rdx, [rsp + 0x20]
lea rcx, [0x1400f7d88]
call fcn.14000c178
lea rcx, [rsp + 0x20]
call fcn.1400857f4
mov ebx, eax
cmp ebx, 0xc000010a
jne 0x1400855be
mov ecx, ebx
call fcn.140085660
int3
Function at 0x140085660
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
call fcn.1400856f4
lea rcx, [0x1400856e0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rcx, qword [sym.imp.msvcrt.dll__iob]
add rcx, 0x30
call qword [sym.imp.msvcrt.dll__fileno]
mov edx, dword [0x140140838]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__setmode]
mov rcx, qword [sym.imp.msvcrt.dll__iob]
add rcx, 0x60
call qword [sym.imp.msvcrt.dll__fileno]
mov edx, dword [0x140140840]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__setmode]
mov ecx, dword [0x14014083c]
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor ecx, ecx
cmp ebx, 0xc000004b
jne 0x1400856d9
call qword [sym.imp.KERNEL32.dll_ExitThread]
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400857f4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov edi, 0xc0000001
test rcx, rcx
je 0x14008589d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x14008589d
mov rdx, rbp
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008589d
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp ebp, eax
je 0x140085862
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, rax
test rbx, rbx
je 0x14008589d
movzx eax, word [rbx]
cmp eax, 0x21
je 0x140085889
cmp eax, 0x2a
je 0x14008587e
mov rcx, rbx
call fcn.1400858b4
jmp 0x140085892
lea rcx, [rbx + 2]
call fcn.1400af6e4
jmp 0x140085892
lea rcx, [rbx + 2]
call fcn.14009e2b0
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x14008e8a4
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rdi, r9
mov esi, edx
mov rbx, rcx
cmp edx, 3
jb 0x14008ea08
mov r11w, word [rcx]
lea r10, [0x1400d3fc4]
cmp r11w, word [r10]
jne 0x14008e8e6
mov r11b, byte [rcx + 2]
cmp r11b, byte [r10 + 2]
jne 0x14008e8e6
xor eax, eax
jmp 0x14008e8eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14008ea08
test r8, r8
je 0x14008e9fa
test r9, r9
je 0x14008e9fa
lea rcx, str.__using_BCrypt_with_AES_256_GCM_n
call fcn.14000c030
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x58]
call sub.msvcrt.dll_memset
lea eax, [rsi - 0x1f]
lea rcx, [rbx + 3]
mov qword [rsp + 0x68], rcx
lea rcx, [rsi + rcx - 0x13]
mov edx, eax
mov qword [rsp + 0x88], rcx
mov ecx, 0x40
mov dword [rsp + 0x60], 0x58
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x70], 0xc
mov dword [rsp + 0x90], 0x10
mov dword [rsp + 0xd8], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008ea7f
and dword [rsp + 0x48], 0
mov edx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0xd8]
add rdx, qword [rsp + 0x68]
lea rax, [rsp + 0xd8]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], rbx
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov rcx, rdi
call sub.bcrypt.dll_BCryptDecrypt
test eax, eax
js 0x14008e9e7
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0x100]
lea rcx, str._s:__.S_n
mov r9, rbx
call fcn.14000c030
jmp 0x14008e9f5
lea rcx, str.PA7LB_kuhl_m_dpapi_chrome_decrypt___BCryptDecrypt:_0x_08x_n
mov edx, eax
call fcn.14000c030
mov rcx, rbx
jmp 0x14008ea79
lea rcx, str.PA7LB_kuhl_m_dpapi_chrome_decrypt___No_Alg_and_or_Key_handle_despite_AES_encryption_n
call fcn.14000c030
jmp 0x14008ea7f
and qword [rsp + 0x48], 0
mov r9d, dword [rsp + 0xf0]
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xf8]
and dword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.14008c9b4
test eax, eax
je 0x14008ea7f
mov r9, qword [rsp + 0x50]
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0x100]
lea rcx, str._s:__.S_n
call fcn.14000c030
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14009280c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rbp, rdx
mov esi, ecx
call fcn.140092a8c
mov r11, qword [rbp]
lea r8, [rsp + 0x40]
lea rdx, str.server
mov rcx, rbp
call qword [r11 + pe_nt_image_headers64]
test eax, eax
jne 0x14009295a
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14009295a
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x40]
test eax, eax
jne 0x14009295a
xor ebx, ebx
cmp dword [rsp + 0x20], ebx
jle 0x14009295a
mov rbp, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x28]
mov edx, ebx
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jne 0x140092946
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140092946
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x50]
test eax, eax
jne 0x14009293b
cmp dword [rsp + 0x38], 1
jne 0x14009293b
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x50]
lea rdx, str.properties
mov rax, qword [rcx]
call qword [rax + 0x128]
test eax, eax
jne 0x140092923
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140092923
lea rdx, str.name
call fcn.140014904
mov rdi, rax
test rax, rax
je 0x140092923
lea edx, [rsi + rsi]
lea r8, [0x1400e17cc]
lea rcx, str._s__s_n
mov r9, rax
call fcn.14000c030
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x28]
lea ecx, [rsi + 1]
mov r9, rbp
call fcn.140092a8c
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc ebx
cmp ebx, dword [rsp + 0x20]
jl 0x140092887
mov rbp, qword [rsp + 0x88]
mov rax, qword [rbp]
lea r8, [rsp + 0x48]
lea rdx, str.group
mov rcx, rbp
call qword [rax + pe_nt_image_headers64]
test eax, eax
jne 0x140092a7c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140092a7c
mov rax, qword [rcx]
lea rdx, [rsp + 0x24]
call qword [rax + 0x40]
test eax, eax
jne 0x140092a7c
xor ebx, ebx
cmp dword [rsp + 0x24], ebx
jle 0x140092a7c
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x30]
mov edx, ebx
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jne 0x140092a70
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140092a70
mov rax, qword [rcx]
lea rdx, [rsp + 0x3c]
call qword [rax + 0x50]
test eax, eax
jne 0x140092a65
cmp dword [rsp + 0x3c], 1
jne 0x140092a65
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, str.properties
mov rax, qword [rcx]
call qword [rax + 0x128]
test eax, eax
jne 0x140092a48
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140092a48
lea rdx, str.name
call fcn.140014904
mov rdi, rax
test rax, rax
je 0x140092a48
lea edx, [rsi + rsi]
lea r8, [0x1400e17cc]
lea rcx, str._s__s__n
mov r9, rax
call fcn.14000c030
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x30]
lea ecx, [rsi + 1]
call fcn.14009280c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x1400929a8
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009ce48
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
lea rax, [r11 + 0x18]
mov rbp, rdx
mov dword [rsp + 0x38], ebx
mov qword [r11 - 0x38], rax
lea r8, str.PKCS8_PRIVATEKEY
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [r11 - 0x48], rbx
mov rsi, rcx
call sub.ncrypt.dll_NCryptExportKey
cmp eax, ebx
jne 0x14009cfb2
mov edx, dword [rsp + 0x80]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
cmp rax, rbx
je 0x14009cfc0
lea rax, [rsp + 0x80]
mov dword [rsp + 0x38], ebx
lea r8, str.PKCS8_PRIVATEKEY
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x80]
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call sub.ncrypt.dll_NCryptExportKey
cmp eax, ebx
jne 0x14009cf99
mov esi, dword [rsp + 0x80]
lea rax, [rsp + 0x88]
xor r9d, r9d
mov r8d, 0x80000001
mov rcx, rdi
mov edx, esi
mov dword [rsp + 0x88], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
cmp eax, ebx
je 0x14009cf3d
lea rax, [rsp + 0x88]
lea r9, [rsp + 0x40]
lea rcx, str.PRIVATE_KEY
mov r8d, esi
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140013a70
jmp 0x14009cf3f
mov eax, ebx
cmp eax, ebx
je 0x14009cf8a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
mov r8d, eax
call fcn.140009ce8
cmp eax, ebx
je 0x14009cf69
mov ebx, 1
jmp 0x14009cf7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PA7LB_kuhl_m_crypto_keyutil_export_pkcs8_file___kull_m_file_writeData__0x_08x__n
mov edx, eax
call fcn.14000c030
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009cfa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PA7LB_kuhl_m_crypto_keyutil_export_pkcs8_file___kull_m_string_EncodeB64_headers__0x_08x__n
jmp 0x14009cfa0
lea rcx, str.PA7LB_kuhl_m_crypto_keyutil_export_pkcs8_file___NCryptExportKey_data_:_0x_08x_n
mov edx, eax
call fcn.14000c030
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009cfc0
lea rcx, str.PA7LB_kuhl_m_crypto_keyutil_export_pkcs8_file___NCryptExportKey_init_:_0x_08x_n
mov edx, eax
call fcn.14000c030
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009e2b0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rdx, [rsp + 0x68]
xor r14d, r14d
mov ebp, r14d
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, r14d
mov r12, rax
cmp rax, r14
je 0x14009e38f
cmp dword [rsp + 0x68], r14d
jle 0x14009e38f
movzx edi, r14w
lea rsi, [0x1400d56a0]
lea r15d, [r14 + 1]
cmp di, 0x13
jae 0x14009e361
mov rcx, qword [r12]
movzx r13d, di
shl r13, 5
mov rdx, qword [r13 + rsi + 0x10]
call qword [sym.imp.ntdll.dll__wcsicmp]
mov ebx, r14d
cmp eax, r14d
sete bl
cmp ebx, r14d
je 0x14009e358
mov rax, qword [r13 + rsi]
cmp rax, r14
je 0x14009e349
mov ecx, dword [rsp + 0x68]
lea rdx, [r12 + 8]
dec ecx
call rax
mov ebp, eax
jmp 0x14009e358
mov ecx, dword [r13 + rsi + 8]
xor r8d, r8d
xor edx, edx
call fcn.14000a67c
add di, r15w
cmp ebx, r14d
je 0x14009e303
mov rsi, qword [rsp + 0x60]
cmp ebx, r14d
jne 0x14009e38f
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov rdx, rsi
not rcx
sub rcx, r15
lea r8d, [rcx + rcx + 2]
mov ecx, 0x22c003
call fcn.14000a67c
mov eax, ebp
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a0044
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
xor ebx, ebx
lea rax, [r11 + 0x20]
mov r12, r8
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x40], rbx
lea r8, str.SupplementalCredentials
xor r9d, r9d
mov qword [r11 - 0x48], rbx
mov rdi, rdx
mov rbp, rcx
mov dword [r11 + 0x20], ebx
call fcn.14000ed54
cmp eax, ebx
je 0x1400a01dc
cmp dword [rsp + 0x88], 0x90
jbe 0x1400a01dc
mov edx, dword [rsp + 0x88]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
cmp rax, rbx
je 0x1400a01dc
lea rax, [rsp + 0x88]
lea r8, str.SupplementalCredentials
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
call fcn.14000ed54
cmp eax, ebx
je 0x1400a01c7
lea rcx, str._nSupplemental_Credentials:_n
call fcn.14000c030
mov edx, dword [rsi + 0xc]
lea ecx, [rbx + 0x40]
add edx, 0xc
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
cmp rax, rbx
je 0x1400a01d3
mov ebp, dword [rsp + 0x88]
lea r9d, [rbx + 0x18]
lea rcx, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
add ebp, 0xffffffe0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, ebx
je 0x1400a0171
lea rcx, [rsp + 0x48]
lea rax, [rdi + 4]
lea r8, [rsi + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, [rsi + 0x10]
mov r9d, ebp
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140004c90
jmp 0x1400a0187
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PA7LB_kull_m_crypto_genericAES128Decrypt___CryptAcquireContext__0x_08x__n
mov edx, eax
call fcn.14000c030
mov eax, ebx
cmp eax, ebx
je 0x1400a01bc
mov eax, dword [rdi + 4]
cmp eax, dword [rsi + 0xc]
jne 0x1400a01b1
mov rdx, qword [rsp + 0x40]
lea rcx, [rdi + 0xc]
mov r8, rax
mov ebx, 1
call sub.msvcrt.dll_memcpy
mov rcx, rdi
call fcn.1400b7d94
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400a01d3
lea rcx, str.PA7LB_kuhl_m_lsadump_getSupplementalCreds___kull_m_registry_RegQueryValueEx_data__n
call fcn.14000c030
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
Function at 0x1400aeec0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, r8w
movzx r10d, dl
mov r11, r9
shl r10d, 0x10
xor r9b, r9b
mov rsi, rcx
or r10d, eax
movabs rax, 0x2004000000
add r10d, r10d
movsxd rdi, r10d
xor r10b, r10b
or rdi, rax
xor r8b, r8b
movzx edx, r8b
mov rax, rdi
inc r8b
lea ecx, [rdx + 0xd]
shr rax, cl
lea ecx, [rdx + 1]
and al, 1
xor r10b, al
mov rax, rdi
shr rax, cl
and al, 1
xor r9b, al
cmp r8b, 0xc
jb 0x1400aef00
movzx eax, r10b
and eax, 1
shl eax, 0x19
movsxd rcx, eax
xor eax, eax
test r9b, r9b
sete al
and eax, 1
or rcx, rax
or rdi, rcx
test r11, r11
je 0x1400aef4f
mov qword [r11], rdi
mov rcx, rdi
mov dword [rsi], 0x90625062
shr rcx, 0x28
call fcn.1400aee88
mov rcx, rdi
movzx ebx, al
shr rcx, 0x24
or ebx, 0x1d00
shl ebx, 8
call fcn.1400aee88
mov rcx, rdi
movzx r11d, al
shr rcx, 0x20
or ebx, r11d
shl ebx, 8
call fcn.1400aee88
mov rcx, rdi
movzx r11d, al
shr rcx, 0x1c
or ebx, r11d
mov dword [rsi + 4], ebx
call fcn.1400aee88
mov rcx, rdi
movzx ebx, al
shr rcx, 0x18
shl ebx, 8
call fcn.1400aee88
mov rcx, rdi
movzx r11d, al
shr rcx, 0x14
or ebx, r11d
shl ebx, 8
call fcn.1400aee88
mov rcx, rdi
movzx r11d, al
shr rcx, 0x10
or ebx, r11d
shl ebx, 8
call fcn.1400aee88
mov rcx, rdi
movzx r11d, al
shr rcx, 0xc
or ebx, r11d
mov dword [rsi + 8], ebx
call fcn.1400aee88
mov rcx, rdi
movzx ebx, al
shr rcx, 8
shl ebx, 8
call fcn.1400aee88
mov rcx, rdi
movzx r11d, al
shr rcx, 4
or ebx, r11d
shl ebx, 8
call fcn.1400aee88
mov cl, dil
movzx r11d, al
or ebx, r11d
shl ebx, 8
call fcn.1400aee88
movzx r11d, al
or ebx, r11d
mov dword [rsi + 0xc], ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400af050
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
mov byte [rax + 8], 0
xor eax, eax
mov rsi, rdx
mov r9, rcx
movabs r8, 0xff80000000000000
xor r11b, r11b
mov word [rsp + 0x11], ax
mov byte [rsp + 0x13], al
movzx ebp, r11b
mov rdx, rsi
lea r10, [rsp + 0x10]
mov ebx, ebp
neg ebx
lea ecx, [rbx*4 + 0x24]
shr rdx, cl
xor cl, cl
and dl, 0xf
xor dil, dil
mov al, dl
shr al, cl
inc cl
and al, 1
xor byte [r10], al
inc r10
xor dil, al
cmp cl, 4
jb 0x1400af0a4
lea eax, [rbp + rbp*4]
movzx edx, dl
mov ecx, 0x33
sub ecx, eax
movzx eax, dil
inc r11b
shl rdx, cl
lea ecx, [rbx + rbx*4 + 0x32]
shl rax, cl
or rdx, rax
or r8, rdx
cmp r11b, 0xa
jb 0x1400af082
movzx eax, byte [rsp + 0x12]
movzx ecx, byte [rsp + 0x13]
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
add ecx, ecx
or ecx, eax
movzx eax, byte [rsp + 0x11]
mov dword [r9], 0x148040
add ecx, ecx
or ecx, eax
movzx eax, byte [rsp + 0x10]
add ecx, ecx
or ecx, eax
lea eax, [rcx + rcx]
cdqe
or r8, rax
mov rax, r8
mov dword [r9 + 8], r8d
shr rax, 0x20
mov dword [r9 + 4], eax
pop rdi
ret
Function at 0x1400be71c
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, rdx
mov rbp, rcx
lea rdx, [r11 + 0x10]
mov rcx, qword [rax + 8]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x1400be7d1
mov edx, dword [rsp + 0x38]
test edx, edx
jle 0x1400be7ba
xor ebx, ebx
test edx, edx
jle 0x1400be7b1
mov rdi, rax
mov rcx, qword [rdi]
lea rdx, str._HTC:
mov r8d, 5
call qword [sym.imp.ntdll.dll__wcsnicmp]
test eax, eax
je 0x1400be789
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x38]
jl 0x1400be761
jmp 0x1400be7b1
movsxd rax, ebx
xor edx, edx
mov rcx, qword [rsi + rax*8]
lea r8d, [rdx + 0xa]
add rcx, 0xa
call qword [sym.imp.ntdll.dll_wcstoul]
mov rcx, rbp
mov edx, eax
mov ebx, eax
call fcn.1400be7fc
test rbx, rbx
jne 0x1400be7c6
lea rcx, str.__No_shared_memory__no_SSO_enabled___n
jmp 0x1400be7c1
lea rcx, str.PA7LB_Citrix_SSO_Program_args___No_command_module_
call fcn.14000c030
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400be7e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PA7LB_Citrix_SSO_Program_args___CommandLineToArgvW__0x_08x__n
mov edx, eax
call fcn.14000c030
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400be7fc
Capabilities:
Encode data using xor
Encrypt data using dpapi
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea r9, [rsp + 0x60]
mov rdx, rbx
mov dword [rsp + 0x30], esi
mov r8, rax
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, esi
je 0x1400be950
mov rcx, qword [rsp + 0x60]
lea edx, [rsi + 4]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0x61c
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
cmp rax, rsi
je 0x1400be92f
lea ecx, [rsi + 0x40]
mov edx, 0x610
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
cmp rax, rsi
je 0x1400be924
lea rdx, [rdi + 0xc]
mov rcx, rax
mov r8d, 0x610
call sub.msvcrt.dll_memcpy
lea r8d, [rsi + 1]
mov edx, 0x610
mov rcx, rbx
call sub.ADVAPI32.dll_SystemFunction041
cmp eax, esi
jl 0x1400be90d
mov eax, dword [rbx + 0x400]
lea rdx, [rbx + 0x404]
cmp eax, esi
jbe 0x1400be8df
mov r8, rdx
mov r9, rax
mov cl, byte [r8]
mov al, cl
xor al, sil
mov sil, cl
xor al, 0x43
mov byte [r8], al
inc r8
sub r9, 1
jne 0x1400be8c6
mov eax, dword [rbx + 0x604]
mov r9d, dword [rbx + 0x400]
lea r8, [rbx + 0x200]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rcx, str._Username__:__s_n_Domain____:__s_n_Password__:__.s_n_flags_type:_0x_08x_n
mov rdx, rbx
call fcn.14000c030
jmp 0x1400be91b
lea rcx, str.PA7LB_Citrix_SSO_Program_FileMapping___RtlDecryptMemory:_0x_08x_n
mov edx, eax
call fcn.14000c030
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1400be943
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PA7LB_Citrix_SSO_Program_FileMapping___MapViewOfFile__0x_08x__n
mov edx, eax
call fcn.14000c030
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400be964
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PA7LB_Citrix_SSO_Program_FileMapping___DuplicateHandle__0x_08x__n
mov edx, eax
call fcn.14000c030
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret