joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003513c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rax, qword [rcx + 8]
mov r13, rcx
mov ebp, edx
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r15, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
mov r12, rax
cmp eax, r10d
mov ecx, r10d
cmovl ecx, eax
xor ebx, ebx
imul rbp, rax
mov dword [rsp + 0x78], ecx
cmp eax, r10d
je 0x14003519b
cmp byte [r15 + 0x10], bl
lea eax, [rbx + 8]
cmovne ebx, eax
mov rdi, rbp
sub rdi, r12
test ebx, ebx
jne 0x14003528c
mov r14, r10
cmp rdi, rbp
jge 0x14003528c
and qword [rsp + 0x70], 0
mov rax, rdi
cqo
idiv r14
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov eax, 0x40000000
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x140035281
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r15
call qword [r15 + 0x108]
mov ebx, eax
test eax, eax
jne 0x140035277
mov rcx, qword [rsp + 0x70]
call fcn.1400270fc
mov ebx, eax
test eax, eax
jne 0x140035277
mov rax, qword [rsp + 0x70]
movsxd r8, dword [rsp + 0x78]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv r12
add rdx, qword [rsp + 0x80]
call fcn.1400cac20
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x140035277
cmp dword [rsp + 0x88], edi
jne 0x140035277
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x3c]
mov eax, edx
shr eax, 0x18
mov byte [rsi + 0x1c], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x1d], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x1e], al
mov byte [rsi + 0x1f], dl
mov rcx, qword [rsp + 0x70]
call fcn.140026bb4
add rdi, r14
test ebx, ebx
je 0x1400351ac
mov eax, ebx
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004e668
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
lea r9, str.sqlite_master
mov dword [rax - 0x10], ebx
mov rdi, rdx
mov qword [rax - 0x18], rdx
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rsi, rcx
call fcn.140052fdc
test ebx, ebx
jne 0x14004e6bb
mov r9, rdi
lea r8, str.sqlite_master
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.140052fdc
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005f83c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, qword [rcx]
mov rdi, rcx
mov rbp, qword [rcx + 0x10]
mov rsi, qword [rcx + 0x88]
jmp 0x14005f916
movsxd r8, dword [rsi + 0x10]
xor edx, edx
mov rax, qword [r15 + 0x20]
mov r9, r8
mov ebx, dword [rsi + 0x14]
mov rcx, rdi
shl r9, 5
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_97
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.14005f3d4
mov r8, qword [rsi + 8]
lea r14d, [rbx - 1]
mov edx, r14d
mov rcx, rbp
mov r8, qword [r8]
call fcn.1400374c8
lea r8, [0x1401392d0]
mov edx, reloc.WLDAP32.dll_Ordinal_12
mov rcx, rbp
call fcn.140037a80
test rax, rax
je 0x14005f91f
mov ecx, 0x10
mov dword [rax + 8], ebx
mov word [rax + 0x4a], cx
lea edx, [rbx + 2]
lea ecx, [rbx + 1]
mov dword [rax + 0xc], edx
mov dword [rax + 0x68], ecx
mov dword [rax + 0x3c], ebx
mov dword [rax + 0x4c], r14d
mov dword [rax + 0x54], ebx
mov dword [rax + 0x84], ebx
mov dword [rax + 0x94], ebx
mov dword [rax + 0xb0], edx
mov dword [rax + 0xac], ebx
mov dword [rax + 0xf8], ebx
cmp dword [rdi + 0x34], 0
jne 0x14005f913
mov dword [rdi + 0x34], 1
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14005f86a
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14005f960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x88]
mov rbx, rcx
mov r13, qword [rcx + 0x10]
mov r15, qword [rcx]
test rdi, rdi
je 0x14005fa65
mov r12d, 8
movsxd rbp, dword [rdi + 0x10]
mov al, byte [rbx + 0x1f]
mov r14d, dword [rdi + 0x14]
shl rbp, 5
add rbp, qword [r15 + 0x20]
test al, al
jne 0x14005f9bb
inc dword [rbx + 0x38]
mov esi, dword [rbx + 0x38]
jmp 0x14005f9ca
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0xbc]
mov r9d, dword [r13 + 0x90]
lea r8d, [r14 + 2]
add r9d, 7
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, r13
call fcn.1400373e4
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rdi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x62
mov r9, qword [r9 + 0x68]
call fcn.14005f3d4
lea r8, [0x140139d50]
mov edx, 5
mov rcx, r13
call fcn.140037a80
test rax, rax
je 0x14005fa65
mov dword [rax + 0x3c], esi
lea edx, [r14 + 1]
mov dword [rax + 4], edx
lea ecx, [r14 - 1]
mov dword [rax + 0x20], edx
mov dword [rax + 0x34], ecx
mov dword [rax + 0x54], edx
mov dword [rax + 0x50], esi
mov word [rax + 0x4a], r12w
test esi, esi
je 0x14005fa59
cmp byte [rbx + 0x1f], r12b
jae 0x14005fa59
movzx eax, byte [rbx + 0x1f]
mov dword [rbx + rax*4 + 0xbc], esi
inc byte [rbx + 0x1f]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14005f99c
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14008938c
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
call fcn.14000dc70
lea rcx, str.momokatz_2.2.0_x64__oe.eo_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov edx, 1
lea rcx, [0x140089400]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 1
add rsp, 0x28
jmp fcn.140089414

Function at 0x1400893c4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
call fcn.140089414
xor edx, edx
lea rcx, [0x140089400]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call fcn.14000dcd8
xor ecx, ecx
cmp ebx, 0xc000004b
jne 0x1400893f8
call qword [sym.imp.KERNEL32.dll_ExitThread]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140091fa0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2f]
sub rsp, 0xc0
mov r14, r8
mov edi, edx
mov r8d, 3
mov rsi, r9
mov rbx, rcx
cmp edx, r8d
jb 0x1400920dd
lea rdx, [0x14013f3e0]
call fcn.1400cb580
test eax, eax
jne 0x1400920dd
test r14, r14
je 0x1400920cf
test rsi, rsi
je 0x1400920cf
lea rcx, str.__using_BCrypt_with_AES_256_GCM_n
call fcn.14000d9f0
mov r14d, reloc.WLDAP32.dll_Ordinal_88
lea rcx, [rbp - 0x31]
mov r8d, r14d
xor edx, edx
call fcn.1400cb080
lea rax, [rbx + 3]
mov dword [rbp - 0x31], r14d
mov qword [rbp - 0x29], rax
lea rcx, [rbx - 0x10]
add rcx, rdi
mov dword [rbp - 0x2d], 1
lea eax, [rdi - 0x1f]
mov qword [rbp - 9], rcx
mov edx, eax
lea ecx, [r14 - 0x18]
mov dword [rbp - 0x21], reloc.WLDAP32.dll_Ordinal_12
mov dword [rbp - 1], 0x10
mov dword [rbp + 0x57], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140092140
and dword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r8d, dword [rbp + 0x57]
lea r9, [rbp - 0x31]
mov edx, dword [rbp - 0x21]
mov rcx, rsi
add rdx, qword [rbp - 0x29]
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
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
js 0x1400920bc
mov r8d, dword [rbp + 0x57]
lea rcx, str._s:__.S_n
mov rdx, qword [rbp + 0x7f]
mov r9, rbx
call fcn.14000d9f0
jmp 0x1400920ca
mov edx, eax
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___BCryptDecrypt:_0x_08x_n
call fcn.14000d9f0
mov rcx, rbx
jmp 0x14009213a
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___No_Alg_and_or_Key_handle_despite_AES_encryption_n
call fcn.14000d9f0
jmp 0x140092140
and qword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r9d, dword [rbp + 0x6f]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov edx, edi
lea rax, [rbp - 0x41]
mov rcx, rbx
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x77]
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.140090174
test eax, eax
je 0x140092140
mov r9, qword [rbp - 0x41]
lea rcx, str._s:__.S_n
mov r8d, dword [rbp + 0x57]
mov rdx, qword [rbp + 0x7f]
call fcn.14000d9f0
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400951e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rbp, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rsp + 0x20]
mov esi, eax
call qword [sym.imp.cryptdll.dll_MD5Init]
mov ebx, 0x5b6
mov r8d, esi
lea rcx, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.cryptdll.dll_MD5Update]
sub rbx, 1
jne 0x140095219
lea rcx, [rsp + 0x20]
call qword [sym.imp.cryptdll.dll_MD5Final]
xor ecx, ecx
lea edx, [rbx + 0x10]
lea rax, [0x14013f4a0]
mov al, byte [rcx + rax]
xor al, byte [rsp + rcx + 0x78]
mov byte [rcx + rbp], al
inc rcx
sub rdx, 1
jne 0x140095240
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140095274
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, SQLAllocHandle
cmp eax, ebx
jge 0x14009529b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea edx, [rbx + 1]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdx, rax
test rax, rax
je 0x1400952da
test ebx, ebx
je 0x1400952da
lea rcx, [0x14013f480]
mov r8d, ebx
sub rdi, rcx
mov r9, rax
sub r9, rcx
mov al, byte [rdi + rcx]
xor al, byte [rcx]
mov byte [r9 + rcx], al
inc rcx
sub r8, 1
jne 0x1400952c8
mov rbx, qword [rsp + 0x30]
mov rax, rdx
add rsp, 0x20
pop rdi
ret
Function at 0x14009f5b8
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor ebx, ebx
lea rax, [rbp + 0x30]
mov dword [rsp + 0x38], ebx
lea r8, str.PKCS8_PRIVATEKEY
mov qword [r11 - 0x38], rax
mov r14, rdx
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor edx, edx
mov qword [r11 - 0x48], rbx
mov rsi, rcx
call qword [sym.imp.ncrypt.dll_NCryptExportKey]
test eax, eax
jne 0x14009f70c
mov edx, dword [rbp + 0x30]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14009f71a
lea rax, [rbp + 0x30]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea r8, str.PKCS8_PRIVATEKEY
mov eax, dword [rbp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ncrypt.dll_NCryptExportKey]
test eax, eax
jne 0x14009f6f3
mov esi, dword [rbp + 0x30]
lea rax, [rbp + 0x38]
mov edx, esi
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rbp + 0x38], ebx
mov r8d, 0x80000001
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x14009f69a
lea rax, [rbp + 0x38]
mov r8d, esi
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, str.PRIVATE_KEY
call fcn.1400171a0
jmp 0x14009f69c
mov eax, ebx
test eax, eax
je 0x14009f6e4
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rdx, qword [rbp - 0x10]
mov rcx, r14
mov r8d, eax
call fcn.14000af2c
test eax, eax
je 0x14009f6c4
mov ebx, 1
jmp 0x14009f6d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_crypto_keyutil_export_pkcs8_file___kull_m_file_writeData__0x_08x__n
call fcn.14000d9f0
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009f701
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_crypto_keyutil_export_pkcs8_file___kull_m_string_EncodeB64_headers__0x_08x__n
jmp 0x14009f6fa
lea rcx, str.ERROR_kuhl_m_crypto_keyutil_export_pkcs8_file___NCryptExportKey_data_:_0x_08x_n
mov edx, eax
call fcn.14000d9f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009f71a
mov edx, eax
lea rcx, str.ERROR_kuhl_m_crypto_keyutil_export_pkcs8_file___NCryptExportKey_init_:_0x_08x_n
call fcn.14000d9f0
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
Function at 0x1400a08fc
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
lea rdx, [rax + 0x10]
mov ebp, r12d
mov rsi, rcx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
mov edi, r12d
test rax, rax
je 0x1400a09c8
cmp dword [rsp + 0x58], r12d
jle 0x1400a09c8
movzx ebx, r12w
lea r13, [0x14013fb50]
cmp bx, 0x13
jae 0x1400a09a7
mov rcx, qword [r15]
movzx r14d, bx
shl r14, 5
mov rdx, qword [r14 + r13 + 0x10]
call fcn.1400f0958
test eax, eax
mov edi, r12d
sete dil
test eax, eax
jne 0x1400a09a0
mov rax, qword [r14 + r13]
test rax, rax
je 0x1400a0991
mov ecx, dword [rsp + 0x58]
lea rdx, [r15 + 8]
dec ecx
call rax
mov ebp, eax
jmp 0x1400a09a0
mov ecx, dword [r14 + r13 + 8]
xor r8d, r8d
xor edx, edx
call fcn.14000b990
inc bx
test edi, edi
je 0x1400a0950
test edi, edi
jne 0x1400a09c8
mov rcx, rsi
call fcn.1400f0ad0
mov rdx, rsi
mov ecx, 0x22c003
lea r8d, [rax*2 + 2]
call fcn.14000b990
mov rbx, qword [rsp + 0x50]
mov eax, ebp
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400a2460
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 r14
sub rsp, 0x50
xor ebx, ebx
lea rax, [r11 + 0x20]
mov qword [r11 - 0x38], rax
mov r14, r8
mov qword [r11 - 0x40], rbx
lea r8, str.SupplementalCredentials
mov qword [r11 - 0x48], rbx
mov rdi, rdx
mov rbp, rcx
mov dword [r11 + 0x20], ebx
call fcn.140011264
test eax, eax
je 0x1400a25f2
cmp dword [rsp + 0x88], 0x90
jbe 0x1400a25f2
mov edx, dword [rsp + 0x88]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400a25f2
lea rax, [rsp + 0x88]
mov rdx, rdi
mov qword [rsp + 0x30], rax
lea r8, str.SupplementalCredentials
mov qword [rsp + 0x28], rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call fcn.140011264
test eax, eax
je 0x1400a25dd
lea rcx, str._nSupplemental_Credentials:_n
call fcn.14000d9f0
mov edx, dword [rsi + 0xc]
lea ecx, [rbx + 0x40]
add edx, 0xc
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400a25e9
mov ebp, dword [rsp + 0x88]
lea r9d, [rbx + 0x18]
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rsp + 0x48]
add ebp, 0xffffffe0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400a2587
lea rcx, [rsp + 0x48]
mov r9d, ebp
mov qword [rsp + 0x30], rcx
lea rax, [rdi + 4]
mov qword [rsp + 0x28], rax
lea r8, [rsi + 0x20]
lea rax, [rsp + 0x40]
mov rcx, r14
lea rdx, [rsi + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14000587c
jmp 0x1400a259d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kull_m_crypto_genericAES128Decrypt___CryptAcquireContext__0x_08x__n
call fcn.14000d9f0
mov eax, ebx
test eax, eax
je 0x1400a25d2
mov eax, dword [rdi + 4]
cmp eax, dword [rsi + 0xc]
jne 0x1400a25c7
mov rdx, qword [rsp + 0x40]
lea rcx, [rdi + 0xc]
mov r8d, eax
mov ebx, 1
call fcn.1400cac20
mov rcx, rdi
call fcn.1400b8634
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400a25e9
lea rcx, str.ERROR_kuhl_m_lsadump_getSupplementalCreds___kull_m_registry_RegQueryValueEx_data__n
call fcn.14000d9f0
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 r14
pop rdi
pop rsi
ret
Function at 0x1400aff24
Capabilities:
Encode data using xor

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

Function at 0x1400b00a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
and dword [rax + 8], 0
mov rdi, rdx
xor r10b, r10b
mov r11, rcx
movabs r8, 0xff80000000000000
movzx esi, r10b
lea rdx, [rsp + 8]
mov ecx, 9
mov r9, rdi
sub ecx, esi
shl ecx, 2
shr r9, cl
xor cl, cl
and r9b, 0xf
xor bl, bl
mov al, r9b
shr al, cl
inc cl
and al, 1
xor byte [rdx], al
xor bl, al
inc rdx
cmp cl, 4
jb 0x1400b00e7
imul eax, esi, 0xfffffffb
inc r10b
movzx edx, bl
lea ecx, [rax + 0x32]
shl rdx, cl
lea ecx, [rax + 0x33]
movzx eax, r9b
shl rax, cl
or rdx, rax
or r8, rdx
cmp r10b, 0xa
jb 0x1400b00c6
movzx eax, byte [rsp + 0xa]
movzx ecx, byte [rsp + 0xb]
mov rbx, qword [rsp + 0x10]
add ecx, ecx
mov rsi, qword [rsp + 0x18]
or ecx, eax
movzx eax, byte [rsp + 9]
add ecx, ecx
mov rdi, qword [rsp + 0x20]
or ecx, eax
movzx eax, byte [rsp + 8]
add ecx, ecx
or ecx, eax
mov dword [r11], 0x148040
lea eax, [rcx + rcx]
or r8, rax
mov rax, r8
mov dword [r11 + 8], r8d
shr rax, 0x20
mov dword [r11 + 4], eax
ret
Function at 0x1400b66b4
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
lea rdx, str.Microsoft_WinInet_
mov rcx, qword [rcx + 8]
call fcn.1400cb790
test rax, rax
je 0x1400b6764
cmp dword [rbx + 0x20], 0x14
jb 0x1400b68d7
mov rcx, qword [rbx + 0x28]
lea rdx, [0x140135880]
add rcx, 4
mov r8d, 0x10
call fcn.1400cb580
test eax, eax
jne 0x1400b68d7
mov eax, dword [rbx + 0x20]
lea r8, [rbp - 0x10]
mov dword [rbp - 0x20], eax
lea rcx, [rbp - 0x20]
mov rax, qword [rbx + 0x28]
xor r9d, r9d
mov qword [rbp - 0x18], rax
xor edx, edx
lea rax, [0x1401349c0]
mov dword [rbp - 0x10], SQLSetEnvAttr
mov qword [rbp - 8], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b68c3
lea rcx, str.___CredentialBlob:
jmp 0x1400b689a
mov rcx, qword [rbx + 8]
lea rdx, str.AppSense_DataNow_
call fcn.1400cb790
test rax, rax
je 0x1400b68d7
lea rcx, str._Ivanti_FileDirector_credential_blob__n
call fcn.14000d9f0
cmp dword [rbx + 0x20], 0x14
jb 0x1400b68d7
mov rbx, qword [rbx + 0x28]
lea rcx, str.AppN_DN_Win
mov rdx, rbx
call fcn.1401057c0
test eax, eax
jne 0x1400b68d7
cmp dword [rbx + 0xc], eax
je 0x1400b683f
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000d9f0
mov eax, dword [rbx + 0xc]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], eax
xor r9d, r9d
lea rax, [rbx + 0x14]
xor r8d, r8d
mov qword [rbp - 0x18], rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b682b
lea rcx, str.___CredentialBlob:
call fcn.14000d9f0
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.1400161e8
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000d9f0
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b683f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000d9f0
cmp dword [rbx + 0x10], 0
je 0x1400b68d7
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000d9f0
mov eax, dword [rbx + 0x10]
lea rcx, [rbx + 0x14]
mov dword [rbp - 0x20], eax
xor r9d, r9d
mov eax, dword [rbx + 0xc]
xor r8d, r8d
add rcx, rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b68c3
lea rcx, str.___UnkBlob_______:
call fcn.14000d9f0
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.1400161e8
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000d9f0
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b68d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000d9f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x1400be968
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 rdi, rax
test rax, rax
je 0x1400bea17
mov eax, dword [rsp + 0x38]
test eax, eax
jle 0x1400bea00
xor ebx, ebx
test eax, eax
jle 0x1400be9f7
mov rsi, rdi
mov rcx, qword [rsi]
lea rdx, str._HTC:
mov r8d, 5
call fcn.140105548
test eax, eax
je 0x1400be9d0
inc ebx
add rsi, 8
cmp ebx, dword [rsp + 0x38]
jl 0x1400be9a9
jmp 0x1400be9f7
movsxd rax, ebx
xor edx, edx
mov rcx, qword [rdi + rax*8]
lea r8d, [rdx + 0xa]
add rcx, 0xa
call fcn.1400f3cf4
mov edx, eax
mov rcx, rbp
mov ebx, eax
call fcn.1400bea40
test rbx, rbx
jne 0x1400bea0c
lea rcx, str.__No_shared_memory__no_SSO_enabled___n
jmp 0x1400bea07
lea rcx, str.ERROR_Citrix_SSO_Program_args___No_command_module_
call fcn.14000d9f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400bea2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_args___CommandLineToArgvW__0x_08x__n
call fcn.14000d9f0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret