joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400851a8
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 [0x14013b728], eax
call qword [sym.imp.msvcrt.dll__fileno]
mov edx, esi
mov ecx, eax
call qword [sym.imp.msvcrt.dll__setmode]
mov dword [0x14013b730], eax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ecx, 0xfde9
mov dword [0x14013b72c], eax
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, str.mimikatz_2.2.0_x64__oe.eo_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea edx, [r14 + 1]
lea rcx, [0x1400853d4]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str._n__..___mimikatz_2.2.0__x64__19041_Aug_10_2021_17:19:53_n_.__.___A_La_Vie__A_LAmour_____oe.eo__n_________Benjamin_DELPY__gentilkiwi____benjamin_gentilkiwi.com___n______________https:__blog.gentilkiwi.com_mimikatz_n__v________Vincent_LE_TOUX_______________vincent.letoux_gmail.com___n____________https:__pingcastle.com___https:__mysmartlogon.com___n
call fcn.14000c020
lea ecx, [r14 + 1]
call fcn.1400853e8
lea esi, [r14 + 1]
cmp rsi, rdi
jge 0x1400852b2
cmp ebx, 0xc000010a
je 0x140085349
cmp ebx, 0xc000004b
je 0x14008533d
mov rdx, qword [rbp + rsi*8]
lea rcx, str._nmimikatz_commandline____s_n
call fcn.14000c020
mov rcx, qword [rbp + rsi*8]
call fcn.1400854e8
inc rsi
cmp rsi, rdi
mov ebx, eax
jl 0x140085270
jmp 0x14008533d
cmp ebx, 0xc000004b
je 0x140085349
lea rcx, str._nmimikatz_
call fcn.14000c020
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 0x14008533d
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x14008533d
cmp word [rsp + 0x20], 0xa
je 0x14008533d
cmp word [rsp + rcx*2 + 0x1e], 0xa
jne 0x140085320
mov word [rsp + rcx*2 + 0x1e], r14w
lea rdx, [rsp + 0x20]
lea rcx, [0x1400f5718]
call fcn.14000c168
lea rcx, [rsp + 0x20]
call fcn.1400854e8
mov ebx, eax
cmp ebx, 0xc000010a
jne 0x1400852b2
mov ecx, ebx
call fcn.140085354
int3
Function at 0x140085354
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
call fcn.1400853e8
lea rcx, [0x1400853d4]
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 [0x14013b728]
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 [0x14013b730]
mov ecx, eax
call qword [sym.imp.msvcrt.dll__setmode]
mov ecx, dword [0x14013b72c]
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor ecx, ecx
cmp ebx, 0xc000004b
jne 0x1400853cd
call qword [sym.imp.KERNEL32.dll_ExitThread]
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400854e8
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 0x140085591
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x140085591
mov rdx, rbp
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140085591
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp ebp, eax
je 0x140085556
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, rax
test rbx, rbx
je 0x140085591
movzx eax, word [rbx]
cmp eax, 0x21
je 0x14008557d
cmp eax, 0x2a
je 0x140085572
mov rcx, rbx
call fcn.1400855a8
jmp 0x140085586
lea rcx, [rbx + 2]
call fcn.1400aefec
jmp 0x140085586
lea rcx, [rbx + 2]
call fcn.14009dc90
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 0x14008e590
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 0x14008e6f4
mov r11w, word [rcx]
lea r10, [0x1400d1f84]
cmp r11w, word [r10]
jne 0x14008e5d2
mov r11b, byte [rcx + 2]
cmp r11b, byte [r10 + 2]
jne 0x14008e5d2
xor eax, eax
jmp 0x14008e5d7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14008e6f4
test r8, r8
je 0x14008e6e6
test r9, r9
je 0x14008e6e6
lea rcx, str.__using_BCrypt_with_AES_256_GCM_n
call fcn.14000c020
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], reloc.WLDAP32.dll_Ordinal_88
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_12
mov dword [rsp + 0x90], SQLAllocHandle
mov dword [rsp + 0xd8], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008e76b
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 0x14008e6d3
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0x100]
lea rcx, str._s:__.S_n
mov r9, rbx
call fcn.14000c020
jmp 0x14008e6e1
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___BCryptDecrypt:_0x_08x_n
mov edx, eax
call fcn.14000c020
mov rcx, rbx
jmp 0x14008e765
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___No_Alg_and_or_Key_handle_despite_AES_encryption_n
call fcn.14000c020
jmp 0x14008e76b
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.14008c6a0
test eax, eax
je 0x14008e76b
mov r9, qword [rsp + 0x50]
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0x100]
lea rcx, str._s:__.S_n
call fcn.14000c020
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 0x1400921ec
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.14009246c
mov r11, qword [rbp]
lea r8, [rsp + 0x40]
lea rdx, str.server
mov rcx, rbp
call qword [r11 + 0x120]
test eax, eax
jne 0x14009233a
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14009233a
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x40]
test eax, eax
jne 0x14009233a
xor ebx, ebx
cmp dword [rsp + 0x20], ebx
jle 0x14009233a
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 0x140092326
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140092326
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x50]
test eax, eax
jne 0x14009231b
cmp dword [rsp + 0x38], 1
jne 0x14009231b
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x50]
lea rdx, str.properties
mov rax, qword [rcx]
call qword [rax + Ordinal_301]
test eax, eax
jne 0x140092303
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140092303
lea rdx, str.name
call fcn.1400145fc
mov rdi, rax
test rax, rax
je 0x140092303
lea edx, [rsi + rsi]
lea r8, [0x1400df15c]
lea rcx, str._s__s_n
mov r9, rax
call fcn.14000c020
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.14009246c
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc ebx
cmp ebx, dword [rsp + 0x20]
jl 0x140092267
mov rbp, qword [rsp + 0x88]
mov rax, qword [rbp]
lea r8, [rsp + 0x48]
lea rdx, str.group
mov rcx, rbp
call qword [rax + 0x120]
test eax, eax
jne 0x14009245c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14009245c
mov rax, qword [rcx]
lea rdx, [rsp + 0x24]
call qword [rax + 0x40]
test eax, eax
jne 0x14009245c
xor ebx, ebx
cmp dword [rsp + 0x24], ebx
jle 0x14009245c
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x30]
mov edx, ebx
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jne 0x140092450
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140092450
mov rax, qword [rcx]
lea rdx, [rsp + 0x3c]
call qword [rax + 0x50]
test eax, eax
jne 0x140092445
cmp dword [rsp + 0x3c], 1
jne 0x140092445
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, str.properties
mov rax, qword [rcx]
call qword [rax + Ordinal_301]
test eax, eax
jne 0x140092428
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140092428
lea rdx, str.name
call fcn.1400145fc
mov rdi, rax
test rax, rax
je 0x140092428
lea edx, [rsi + rsi]
lea r8, [0x1400df15c]
lea rcx, str._s__s__n
mov r9, rax
call fcn.14000c020
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.1400921ec
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc ebx
cmp ebx, dword [rsp + 0x24]
jl 0x140092388
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009c828
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 0x14009c992
mov edx, dword [rsp + 0x80]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
cmp rax, rbx
je 0x14009c9a0
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 0x14009c979
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 0x14009c91d
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.140013768
jmp 0x14009c91f
mov eax, ebx
cmp eax, ebx
je 0x14009c96a
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 0x14009c949
mov ebx, 1
jmp 0x14009c95d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_crypto_keyutil_export_pkcs8_file___kull_m_file_writeData__0x_08x__n
mov edx, eax
call fcn.14000c020
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009c987
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 0x14009c980
lea rcx, str.ERROR_kuhl_m_crypto_keyutil_export_pkcs8_file___NCryptExportKey_data_:_0x_08x_n
mov edx, eax
call fcn.14000c020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009c9a0
lea rcx, str.ERROR_kuhl_m_crypto_keyutil_export_pkcs8_file___NCryptExportKey_init_:_0x_08x_n
mov edx, eax
call fcn.14000c020
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009dc90
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 0x14009dd6f
cmp dword [rsp + 0x68], r14d
jle 0x14009dd6f
movzx edi, r14w
lea rsi, [0x1400d35b0]
lea r15d, [r14 + 1]
cmp di, 0x13
jae 0x14009dd41
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 0x14009dd38
mov rax, qword [r13 + rsi]
cmp rax, r14
je 0x14009dd29
mov ecx, dword [rsp + 0x68]
lea rdx, [r12 + 8]
dec ecx
call rax
mov ebp, eax
jmp 0x14009dd38
mov ecx, dword [r13 + rsi + 8]
xor r8d, r8d
xor edx, edx
call fcn.14000a67c
add di, r15w
cmp ebx, r14d
je 0x14009dce3
mov rsi, qword [rsp + 0x60]
cmp ebx, r14d
jne 0x14009dd6f
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 0x14009fa24
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.14000ed44
cmp eax, ebx
je 0x14009fbbc
cmp dword [rsp + 0x88], 0x90
jbe 0x14009fbbc
mov edx, dword [rsp + 0x88]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
cmp rax, rbx
je 0x14009fbbc
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.14000ed44
cmp eax, ebx
je 0x14009fba7
lea rcx, str._nSupplemental_Credentials:_n
call fcn.14000c020
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 0x14009fbb3
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 0x14009fb51
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 0x14009fb67
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kull_m_crypto_genericAES128Decrypt___CryptAcquireContext__0x_08x__n
mov edx, eax
call fcn.14000c020
mov eax, ebx
cmp eax, ebx
je 0x14009fb9c
mov eax, dword [rdi + 4]
cmp eax, dword [rsi + 0xc]
jne 0x14009fb91
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.1400b6f80
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009fbb3
lea rcx, str.ERROR_kuhl_m_lsadump_getSupplementalCreds___kull_m_registry_RegQueryValueEx_data__n
call fcn.14000c020
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 0x1400ae7c8
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 0x1400ae808
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 0x1400ae857
mov qword [r11], rdi
mov rcx, rdi
mov dword [rsi], 0x90625062
shr rcx, 0x28
call fcn.1400ae790
mov rcx, rdi
movzx ebx, al
shr rcx, 0x24
or ebx, 0x1d00
shl ebx, 8
call fcn.1400ae790
mov rcx, rdi
movzx r11d, al
shr rcx, 0x20
or ebx, r11d
shl ebx, 8
call fcn.1400ae790
mov rcx, rdi
movzx r11d, al
shr rcx, 0x1c
or ebx, r11d
mov dword [rsi + 4], ebx
call fcn.1400ae790
mov rcx, rdi
movzx ebx, al
shr rcx, 0x18
shl ebx, 8
call fcn.1400ae790
mov rcx, rdi
movzx r11d, al
shr rcx, 0x14
or ebx, r11d
shl ebx, 8
call fcn.1400ae790
mov rcx, rdi
movzx r11d, al
shr rcx, 0x10
or ebx, r11d
shl ebx, 8
call fcn.1400ae790
mov rcx, rdi
movzx r11d, al
shr rcx, 0xc
or ebx, r11d
mov dword [rsi + 8], ebx
call fcn.1400ae790
mov rcx, rdi
movzx ebx, al
shr rcx, 8
shl ebx, 8
call fcn.1400ae790
mov rcx, rdi
movzx r11d, al
shr rcx, 4
or ebx, r11d
shl ebx, 8
call fcn.1400ae790
mov cl, dil
movzx r11d, al
or ebx, r11d
shl ebx, 8
call fcn.1400ae790
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 0x1400ae958
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 0x1400ae9ac
lea eax, [rbp + rbp*4]
movzx edx, dl
mov ecx, Ordinal_54
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 0x1400ae98a
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 0x1400c3370
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
mov edx, 0x80000000
and qword [rax - 0x38], rbp
and dword [rax - 0x40], ebp
lea r8d, [rbp + 3]
mov dword [rax - 0x48], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
je 0x1400c34c0
cmp rax, 0xffffffffffffffff
je 0x1400c34c0
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400c34a1
mov r14d, 0x10000000
lea ecx, [rbp + 0x40]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400c34b5
mov rax, qword [rsp + 0x80]
xor ecx, ecx
test rax, rax
jle 0x1400c3496
lea r12, [rcx + 0x10000000]
mov rbx, rax
mov rdx, rcx
sub rbx, rcx
cmp r12, rax
mov rcx, rdi
cmovl rbx, r14
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400c346e
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c345f
mov edx, dword [rsp + 0x78]
mov r8d, 1
mov rcx, rsi
call fcn.1400c324c
add ebp, eax
jmp 0x1400c3482
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___ReadFile__0x_08x__n
jmp 0x1400c347b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___SetFilePointerEx__0x_08x__n
mov edx, eax
call fcn.14000c020
mov rax, qword [rsp + 0x80]
mov rcx, r12
cmp r12, rax
jl 0x1400c3401
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c34b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___GetFileSizeEx__0x_08x__n
mov edx, eax
call fcn.14000c020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c34d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_sekurlsa_sk_search_file___CreateFile__0x_08x__n
mov edx, eax
call fcn.14000c020
mov eax, ebp
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c6d4c
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400c6db7
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x1400c6dd7
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1400d0600]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1400c6eb0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1400c6ecb
rol rcx, 0x10
test cx, 0xffff
jne 0x1400c6ec7
ret 0
ror rcx, 0x10
jmp 0x1400c758c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14013a930]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14013aa28]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400c7611
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14013a930]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400c7633
mov rax, qword [rsp + 0x88]
mov qword [0x14013aa28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14013a9c8], rax
mov rax, qword [0x14013aa28]
mov qword [0x14013a8a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14013a9b0], rax
mov dword [0x14013a890], 0xc0000409
mov dword [0x14013a894], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140134008]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400d0638]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x1400cbdb8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x1400cbe05
cmp rcx, 0xffffffffffffffff
je 0x1400cbe05
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400cbdfd
cmp dword [rcx + 0x3c], edx
jl 0x1400cbdfd
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400cbdfd
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400cbe05
mov rax, rdx
add rsp, 0x18
ret