joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008243c
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 fcn.1400e14f0
sub rsp, rax
xor r14d, r14d
movsxd rbx, ecx
mov rsi, rdx
mov edi, r14d
lea ecx, [r14 + 1]
call fcn.1400c8724
mov rcx, rax
call fcn.1400c8cdc
mov ebp, 0x40000
mov ecx, eax
mov edx, ebp
call fcn.1400c8b04
lea ecx, [r14 + 2]
mov dword [0x14015b468], eax
call fcn.1400c8724
mov rcx, rax
call fcn.1400c8cdc
mov ecx, eax
mov edx, ebp
call fcn.1400c8b04
mov dword [0x14015b460], eax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ecx, 0xfde9
mov dword [0x14015b464], eax
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, str.CSTxNNAb_2.2.0_x64__CrxVk_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea edx, [r14 + 1]
lea rcx, [0x14008266c]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str._n__..___CSTxNNAb_2.2.0__x64__19041_Jun_23_2024_09:40:36_n_.__.___WmNq2XQ4LckNWAmour_____CrxVk__n_________HyD6GsV2_8eh27__A0drFqPZIb____13WNHFQUDuVtJ3EjwwVhDpm___n______________https:__blog.A0drFqPZIb.com_CSTxNNAb_n__v________VrHKY7PC8jqERzz_______________CsYn5Ti3FLOXfW6ObwZ6mmMu___n____________https:__3AHo6xGiYBK1Bo___https:__1dXQdzrnq3QHJFnr___n
call fcn.14000b98c
lea ecx, [r14 + 1]
call fcn.140082680
mov rbp, rbx
cmp rbx, 1
jle 0x140082546
lea ebx, [r14 + 1]
cmp edi, 0xc000010a
je 0x1400825e2
cmp edi, 0xc000004b
je 0x1400825d6
mov rdx, qword [rsi + rbx*8]
lea rcx, str._nCSTxNNAb_commandline____s_n
call fcn.14000b98c
mov rcx, qword [rsi + rbx*8]
call fcn.14008277c
inc rbx
mov edi, eax
cmp rbx, rbp
jl 0x140082506
jmp 0x1400825d6
cmp edi, 0xc000004b
je 0x1400825e2
lea rcx, str._nCSTxNNAb_
call fcn.14000b98c
xor ecx, ecx
call fcn.1400c8724
mov rcx, rax
call fcn.1400c8960
xor ecx, ecx
call fcn.1400c8724
mov r8, rax
lea rcx, [rsp + 0x20]
mov edx, 0xffff
call fcn.1400d36b0
test rax, rax
je 0x1400825d6
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140082594
test rax, rax
je 0x1400825d6
cmp word [rsp + 0x20], 0xa
je 0x1400825d6
cmp word [rsp + rax*2 + 0x1e], 0xa
jne 0x1400825b9
mov word [rsp + rax*2 + 0x1e], r14w
lea rdx, [rsp + 0x20]
lea rcx, [0x140111088]
call fcn.14000bb40
lea rcx, [rsp + 0x20]
call fcn.14008277c
mov edi, eax
cmp edi, 0xc000010a
jne 0x140082546
mov ecx, edi
call fcn.1400825ec
int3

Function at 0x1400825ec
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
call fcn.140082680
xor edx, edx
lea rcx, [0x14008266c]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 1
call fcn.1400c8724
mov rcx, rax
call fcn.1400c8cdc
mov edx, dword [0x14015b468]
mov ecx, eax
call fcn.1400c8b04
mov ecx, 2
call fcn.1400c8724
mov rcx, rax
call fcn.1400c8cdc
mov edx, dword [0x14015b460]
mov ecx, eax
call fcn.1400c8b04
mov ecx, dword [0x14015b464]
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor ecx, ecx
cmp ebx, 0xc000004b
jne 0x140082665
call qword [sym.imp.KERNEL32.dll_ExitThread]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14008277c
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 0x140082823
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x140082823
mov edx, ebp
mov ecx, Ordinal_65
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140082823
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp ebp, eax
je 0x1400827e9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, rax
test rbx, rbx
je 0x140082823
cmp word [rbx], 0x21
je 0x14008280f
cmp word [rbx], 0x2a
je 0x140082804
mov rcx, rbx
call fcn.14008283c
jmp 0x140082818
lea rcx, [rbx + 2]
call fcn.1400a9ec4
jmp 0x140082818
lea rcx, [rbx + 2]
call fcn.140099cdc
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14008b0a8
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x47]
sub rsp, 0xc0
mov esi, edx
mov r14, r9
mov rdi, rcx
cmp edx, 3
jb 0x14008b1e7
movzx eax, word [rcx]
cmp ax, word [0x1400f6670]
jne 0x14008b1e7
mov al, byte [rcx + 2]
cmp al, byte [0x1400f6672]
jne 0x14008b1e7
test r8, r8
je 0x14008b1d9
test r9, r9
je 0x14008b1d9
lea rcx, str.__using_BCrypt_with_AES_256_GCM_n
call fcn.14000b98c
xor edx, edx
lea rcx, [rbp - 0x21]
lea r8d, [rdx + 0x58]
call fcn.1400c3c80
lea rax, [rdi + 3]
mov dword [rbp - 0x21], reloc.WLDAP32.dll_Ordinal_88
mov qword [rbp - 0x19], rax
lea rcx, [rdi - 0x10]
add rcx, rsi
mov dword [rbp - 0x1d], 1
lea eax, [rsi - 0x1f]
mov qword [rbp + 7], rcx
mov edx, eax
mov ecx, Ordinal_65
mov dword [rbp - 0x11], reloc.WLDAP32.dll_Ordinal_12
mov dword [rbp + 0xf], 0x10
mov dword [rbp + 0x57], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14008b247
and dword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r8d, dword [rbp + 0x57]
lea r9, [rbp - 0x21]
mov edx, dword [rbp - 0x11]
mov rcx, r14
add rdx, qword [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], rdi
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
js 0x14008b1c6
mov r8d, dword [rbp + 0x57]
lea rcx, str._s:__.S_n
mov rdx, qword [rbp + 0x7f]
mov r9, rdi
call fcn.14000b98c
jmp 0x14008b1d4
mov edx, eax
lea rcx, str.ERROR_pwtrcmixdPApi_chrome_decrypt___BCryptDecrypt:_0x_08x_n
call fcn.14000b98c
mov rcx, rdi
jmp 0x14008b241
lea rcx, str.ERROR_pwtrcmixdPApi_chrome_decrypt___No_Alg_and_or_Key_handle_despite_AES_encryption_n
call fcn.14000b98c
jmp 0x14008b247
and qword [rsp + 0x48], 0
lea rax, [rbp + 0x57]
mov r9d, dword [rbp + 0x6f]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov edx, esi
lea rax, [rbp - 0x31]
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.1400892f0
test eax, eax
je 0x14008b247
mov r9, qword [rbp - 0x31]
lea rcx, str._s:__.S_n
mov r8d, dword [rbp + 0x57]
mov rdx, qword [rbp + 0x7f]
call fcn.14000b98c
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0xc0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400988dc
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 0x140098a30
mov edx, dword [rbp + 0x30]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x140098a3e
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 0x140098a17
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 0x1400989be
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.1400130c4
jmp 0x1400989c0
mov eax, ebx
test eax, eax
je 0x140098a08
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.1400096d4
test eax, eax
je 0x1400989e8
mov ebx, 1
jmp 0x1400989fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_pwtrcmixcRyPTO_keyutil_export_pkcs8_file___pjwecmixfile_writeData__0x_08x__n
call fcn.14000b98c
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140098a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_pwtrcmixcRyPTO_keyutil_export_pkcs8_file___pjwecmixstring_EncodeB64_headers__0x_08x__n
jmp 0x140098a1e
lea rcx, str.ERROR_pwtrcmixcRyPTO_keyutil_export_pkcs8_file___NCryptExportKey_data_:_0x_08x_n
mov edx, eax
call fcn.14000b98c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140098a3e
mov edx, eax
lea rcx, str.ERROR_pwtrcmixcRyPTO_keyutil_export_pkcs8_file___NCryptExportKey_init_:_0x_08x_n
call fcn.14000b98c
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 0x140099cdc
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 0x140099dae
cmp dword [rsp + 0x58], r12d
jle 0x140099dae
movzx ebx, r12w
lea r13, [0x1400f6d80]
cmp bx, 0x13
jae 0x140099d87
mov rcx, qword [r15]
movzx r14d, bx
shl r14, 5
mov rdx, qword [r14 + r13 + 0x10]
call fcn.1400c83a4
test eax, eax
mov edi, r12d
sete dil
test eax, eax
jne 0x140099d80
mov rax, qword [r14 + r13]
test rax, rax
je 0x140099d71
mov ecx, dword [rsp + 0x58]
lea rdx, [r15 + 8]
dec ecx
call rax
mov ebp, eax
jmp 0x140099d80
mov ecx, dword [r14 + r13 + 8]
xor r8d, r8d
xor edx, edx
call fcn.140009fbc
inc bx
test edi, edi
je 0x140099d30
test edi, edi
jne 0x140099dae
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r12w
jne 0x140099d8f
lea r8d, [rax*2 + 2]
mov rdx, rsi
mov ecx, 0x22c003
call fcn.140009fbc
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 0x14009b85c
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.14000e5b0
test eax, eax
je 0x14009b9ee
cmp dword [rsp + 0x88], 0x90
jbe 0x14009b9ee
mov edx, dword [rsp + 0x88]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14009b9ee
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.14000e5b0
test eax, eax
je 0x14009b9d9
lea rcx, str._nSupplemental_Credentials:_n
call fcn.14000b98c
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 0x14009b9e5
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 0x14009b983
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.140004760
jmp 0x14009b999
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_pjwecmixcRyPTO_genericAES128Decrypt___CryptAcquireContext__0x_08x__n
call fcn.14000b98c
mov eax, ebx
test eax, eax
je 0x14009b9ce
mov eax, dword [rdi + 4]
cmp eax, dword [rsi + 0xc]
jne 0x14009b9c3
mov rdx, qword [rsp + 0x40]
lea rcx, [rdi + 0xc]
mov r8d, eax
mov ebx, 1
call fcn.1400c43f0
mov rcx, rdi
call fcn.1400b1f20
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009b9e5
lea rcx, str.ERROR_pwtrcmixlsADumP_getSupplementalCreds___pjwecmixregistry_RegQueryValueEx_data__n
call fcn.14000b98c
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 0x1400a9728
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 0x1400a9768
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 0x1400a97b4
mov qword [r11], rdi
mov rcx, rdi
mov dword [rsi], 0x90625062
shr rcx, 0x28
call fcn.1400a96f0
movzx ebx, al
mov rcx, rdi
or ebx, 0x1d00
shr rcx, 0x24
shl ebx, 8
call fcn.1400a96f0
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x20
shl ebx, 8
call fcn.1400a96f0
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x1c
mov dword [rsi + 4], ebx
call fcn.1400a96f0
movzx ebx, al
mov rcx, rdi
shr rcx, 0x18
shl ebx, 8
call fcn.1400a96f0
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x14
shl ebx, 8
call fcn.1400a96f0
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0x10
shl ebx, 8
call fcn.1400a96f0
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 0xc
mov dword [rsi + 8], ebx
call fcn.1400a96f0
movzx ebx, al
mov rcx, rdi
shr rcx, 8
shl ebx, 8
call fcn.1400a96f0
movzx eax, al
mov rcx, rdi
or ebx, eax
shr rcx, 4
shl ebx, 8
call fcn.1400a96f0
movzx eax, al
mov cl, dil
or ebx, eax
shl ebx, 8
call fcn.1400a96f0
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 0x1400a98a4
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 0x1400a98eb
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 0x1400a98ca
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 0x1400aff48
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.1400c3750
test rax, rax
je 0x1400afff7
mov edx, dword [rbx + 0x20]
cmp edx, 0x14
jb 0x1400b016a
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 4]
cmp rax, qword [0x1400ecc40]
jne 0x1400b016a
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400ecc48]
jne 0x1400b016a
lea rax, [0x1400ebd20]
mov dword [rbp - 0x20], edx
mov qword [rbp - 8], rax
lea r8, [rbp - 0x10]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rbp - 0x10], Ordinal_79
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b0156
lea rcx, str.___CredentialBlob:
jmp 0x1400b012d
mov rcx, qword [rbx + 8]
lea rdx, str.AppSense_DataNow_
call fcn.1400c3750
test rax, rax
je 0x1400b016a
lea rcx, str._Ivanti_FileDirector_crEdential_blob__n
call fcn.14000b98c
cmp dword [rbx + 0x20], 0x14
jb 0x1400b016a
mov rbx, qword [rbx + 0x28]
lea rcx, str.AppN_DN_Win
mov rdx, rbx
call fcn.1400e1b90
test eax, eax
jne 0x1400b016a
cmp dword [rbx + 0xc], eax
je 0x1400b00d2
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000b98c
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 0x1400b00be
lea rcx, str.___CredentialBlob:
call fcn.14000b98c
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.140012334
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b98c
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b00d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_pwtrcmixvAULt_crEd_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000b98c
cmp dword [rbx + 0x10], 0
je 0x1400b016a
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000b98c
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 0x1400b0156
lea rcx, str.___UnkBlob_______:
call fcn.14000b98c
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.140012334
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000b98c
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b016a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_pwtrcmixvAULt_crEd_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000b98c
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x1400b8450
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 0x1400b84ff
mov eax, dword [rsp + 0x38]
test eax, eax
jle 0x1400b84e8
xor ebx, ebx
test eax, eax
jle 0x1400b84df
mov rsi, rdi
mov rcx, qword [rsi]
lea rdx, str._HTC:
mov r8d, 5
call fcn.1400d32a0
test eax, eax
je 0x1400b84b8
inc ebx
add rsi, 8
cmp ebx, dword [rsp + 0x38]
jl 0x1400b8491
jmp 0x1400b84df
movsxd rax, ebx
xor edx, edx
mov rcx, qword [rdi + rax*8]
lea r8d, [rdx + 0xa]
add rcx, 0xa
call fcn.1400ca568
mov edx, eax
mov rcx, rbp
mov ebx, eax
call fcn.1400b8528
test rbx, rbx
jne 0x1400b84f4
lea rcx, str.__No_shared_memory__no_SSO_enabled___n
jmp 0x1400b84ef
lea rcx, str.ERROR_Citrix_SSO_Program_args___No_command_module_
call fcn.14000b98c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b8513
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_args___CommandLineToArgvW__0x_08x__n
call fcn.14000b98c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b8528
Capabilities:
Encode data using xor
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea r9, [rsp + 0x70]
mov dword [rsp + 0x30], esi
mov r8, rax
mov dword [rsp + 0x28], esi
mov rdx, rbx
mov rcx, rdi
lea ebp, [rsi + 4]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400b86b8
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0x61c
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
je 0x1400b8697
mov edx, 0x610
lea ecx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400b868c
mov rcx, rax
lea rdx, [rbp + 0xc]
mov r8d, 0x610
call fcn.1400c43f0
lea rcx, str.advapi32
mov edi, 0x490
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
test rax, rax
je 0x1400b8675
lea rdx, str.SystemFunction041
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b860a
mov edx, 0x610
lea r8d, [rsi + 1]
mov rcx, rbx
call rax
mov edi, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x1400b8675
mov r9d, dword [rbx + 0x400]
lea r10, [rbx + 0x404]
test r9d, r9d
je 0x1400b864e
mov rdx, r10
mov r8d, r9d
mov cl, byte [rdx]
mov al, cl
xor al, sil
mov sil, cl
xor al, 0x43
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x1400b8630
mov r9d, dword [rbx + 0x400]
mov eax, dword [rbx + 0x604]
lea r8, [rbx + 0x200]
mov dword [rsp + 0x28], eax
lea rcx, str._Username__:__s_n_Domain____:__s_n_Password__:__.s_n_flags_type:_0x_08x_n
mov rdx, rbx
mov qword [rsp + 0x20], r10
call fcn.14000b98c
jmp 0x1400b8683
mov edx, edi
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___RtlDecryptMemory:_0x_08x_n
call fcn.14000b98c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1400b86ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___MapViewOfFile__0x_08x__n
call fcn.14000b98c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b86cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_Citrix_SSO_Program_FileMapping___DuplicateHandle__0x_08x__n
call fcn.14000b98c
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret