joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006924
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
and dword [rbp + 0x17], 0
lea r9, [rbp + 0x17]
xor eax, eax
mov qword [rbp + 0x37], rcx
and dword [rsp + 0x50], eax
lea rcx, [rbp + 0x67]
and qword [r11 - 0x60], rax
mov edi, r8d
and qword [rbp + 0x2f], rax
lea r8, [rbp + 0x27]
mov dword [rsp + 0x40], 0x860
mov rsi, rdx
mov dword [rsp + 0x38], 3
xorps xmm0, xmm0
mov dword [rsp + 0x30], 1
mov edx, 0x40100000
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], rax
mov dword [rbp + 0x1b], eax
mov qword [rbp + 0x1f], rax
mov dword [rbp + 0x27], 0x30
mov dword [rbp + 0x3f], 0x240
movdqu xmmword [rbp + 0x47], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebx, eax
test eax, eax
js 0x1400069ec
and qword [rsp + 0x40], 0
lea rax, [rbp + 0x17]
and qword [rsp + 0x38], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x67]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov ebx, eax
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x1400069fb
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xa0]
not ebx
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
shr ebx, 0x1f
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400214b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400214bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400214cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400214b5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400214e5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400214d2
sub eax, 3
jb 0x1400214ff
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140021536
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140021526
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140021524
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140021513
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140021472
jmp 0x1400214bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xf000
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140021582
cmp rsi, rcx
jae 0x14002158a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140021569
cmp al, 0x8f
ja 0x140021569
cmp byte [rsi - 2], 0xf
je 0x14002156f
sub al, 0xe8
cmp al, 1
ja 0x140021553
cmp rsi, rcx
jae 0x14002158a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140021559
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002158a
lodsb al, byte [rsi]
jmp 0x140021569
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1f000]
mov eax, dword [rdi]
or eax, eax
je 0x1400215e7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x21000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140021597
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400215e1
mov qword [rbx], rax
add rbx, 8
jmp 0x1400215b7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140021621
cmp al, 0xef
ja 0x140021613
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400215f3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140021602
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140021675
sub rsp, 0xffffffffffffff80
jmp 0x14000175c
Function at 0x36ee213c4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows fibers

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
call rax
mov qword [rbp - 8], rax
mov eax, dword [rbp + 0x18]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x10], rax
mov ecx, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x10]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp - 0x10]
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateFiber]
call rax
mov qword [rbp - 0x18], rax
lea rax, section..rdata
mov rcx, rax
call fcn.36ee21370
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SwitchToFiber]
call rax
nop
add rsp, 0x40
pop rbp
ret

Function at 0x36ee2170c
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
cmp dword [rbp + 0x18], 0
je 0x36ee2175e
cmp dword [rbp + 0x18], 1
jne 0x36ee2175f
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
lea r8, [0x36ee21464]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
jmp 0x36ee2175f
nop
mov eax, 1
add rsp, 0x30
pop rbp
ret

Function at 0x36ee21910
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.36ee27470
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.36ee27470
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x36ee21980
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x36ee2c064]
mov rbx, rcx
test esi, esi
jle 0x36ee21ab0
mov rax, qword [0x36ee2c068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x36ee219cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x36ee21a55
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x36ee219b0
mov rcx, rbx
call fcn.36ee221e0
mov rdi, rax
test rax, rax
je 0x36ee21ad2
mov rax, qword [0x36ee2c068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.36ee22320
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x36ee2c068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x36ee21ab7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x36ee21a4e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x36ee21a60
add dword [0x36ee2c064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x36ee2c068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x36ee21a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.36ee21910
nop dword [rax]
xor esi, esi
jmp 0x36ee219d8
mov rax, qword [0x36ee2c068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.36ee21910
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.36ee21910
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x36ee21e50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x36ee2c0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x36ee2c080]
test rbx, rbx
je 0x36ee21eac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x36ee21ea3
test rsi, rsi
je 0x36ee21ea3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x36ee21e88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x36ee221e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x36ee295b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x36ee22200
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x36ee22208
ret
cmp word [r8 + 0x18], 0x20b
jne 0x36ee22200
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x36ee2225d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x36ee22254
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x36ee22200
add rax, 0x28
cmp rax, r9
jne 0x36ee22240
xor eax, eax
ret

Function at 0x36ee22260
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x36ee295b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x36ee2227f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x36ee22288
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x36ee2227f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x36ee22320
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x36ee295b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x36ee2233f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x36ee22348
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000d1ec
Capabilities:
Create process on windows

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 r15
sub rsp, 0xd0
mov r15d, r8d
mov edi, ecx
mov rsi, rdx
xor ebp, ebp
lea rcx, [rax - 0x78]
xor edx, edx
lea ebx, [rbp + 0x68]
or r15d, 0x10
mov r8d, ebx
call fcn.1400c6610
mov dword [rsp + 0x60], ebx
cmp qword [rsp + 0x120], rbp
je 0x14000d23f
mov rbx, qword [rsp + 0x120]
jmp 0x14000d250
mov edx, reloc.ODBC32.dll_SQLAllocHandle
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rbx, rbx
je 0x14000d387
mov rcx, rsi
call fcn.1400c2164
mov rsi, rax
test rax, rax
je 0x14000d387
test edi, edi
je 0x14000d30a
dec edi
je 0x14000d2d1
dec edi
jne 0x14000d36b
mov r9d, dword [rsp + 0x100]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x108]
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], rbp
and qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rsi
and qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
jmp 0x14000d33d
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], rbp
and qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], r15d
and dword [rsp + 0x28], ebp
and qword [rsp + 0x20], rbp
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x14000d33d
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], rbp
and qword [rsp + 0x30], rbp
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov dword [rsp + 0x28], r15d
and dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, eax
test eax, eax
je 0x14000d36b
cmp dword [rsp + 0x128], 0
jne 0x14000d358
cmp qword [rsp + 0x120], 0
jne 0x14000d37f
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x120], 0
jne 0x14000d37f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call fcn.1400c2124
lea r11, [rsp + 0xd0]
mov eax, ebp
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x14002f580
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, 0x38
mov rax, qword [rcx + 8]
mov r13, rcx
mov ebp, edx
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov ecx, dword [r11 + 0x30]
mov r10, qword [rax + 8]
mov r14, qword [r11]
movsxd rax, dword [r10 + 0x30]
mov r8d, ecx
mov dword [rsp + 0x80], ecx
cmp eax, ecx
mov r15, rax
cmovl r8d, eax
xor ebx, ebx
mov dword [rsp + 0x88], r8d
imul rbp, rax
cmp eax, ecx
je 0x14002f5e9
cmp byte [r14 + 0x10], bl
lea eax, [rbx + 8]
cmovne ebx, eax
mov rdi, rbp
sub rdi, r15
jmp 0x14002f6de
cmp rdi, rbp
jge 0x14002f6e6
and qword [rsp + 0x20], 0
movsxd r12, ecx
mov rax, rdi
cqo
idiv r12
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 0x14002f6d4
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, r10d
mov rcx, r14
call qword [r14 + pe_nt_image_headers64]
mov ebx, eax
test eax, eax
jne 0x14002f6c5
mov rcx, qword [rsp + 0x20]
call fcn.140022098
mov ebx, eax
test eax, eax
jne 0x14002f6c5
mov rax, qword [rsp + 0x20]
movsxd r8, dword [rsp + 0x88]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv r15
add rdx, qword [rsp + 0x90]
call fcn.1400c3ee0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x14002f6c5
cmp dword [rsp + 0x98], edi
jne 0x14002f6c5
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x3c]
mov eax, edx
mov byte [rsi + 0x1f], dl
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 rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14002f6d4
call fcn.140021a94
mov ecx, dword [rsp + 0x80]
add rdi, r12
test ebx, ebx
je 0x14002f5f4
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140082220
Capabilities:
Check for time delay via gettickcount

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.1400d1d00
sub rsp, rax
xor ebp, ebp
mov r14, rdx
movsxd rbx, ecx
mov edi, ebp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.1400c296c
lea rcx, [rax + 0x30]
call fcn.1400c2fc8
mov esi, 0x40000
mov ecx, eax
mov edx, esi
call fcn.1400c30e0
mov dword [0x140153320], eax
call fcn.1400c296c
lea rcx, [rax + 0x60]
call fcn.1400c2fc8
mov edx, esi
mov ecx, eax
call fcn.1400c30e0
mov dword [0x140153318], eax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ecx, 0xfde9
mov dword [0x14015331c], eax
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea edx, [rbp + 1]
lea rcx, [0x140082438]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, [0x140105140]
call fcn.14000bce4
lea ecx, [rbp + 1]
call fcn.14008244c
lea esi, [rbp + 1]
cmp rsi, rbx
jge 0x14008231a
cmp edi, 0xc000010a
je 0x1400823b6
cmp edi, 0xc000004b
je 0x1400823aa
mov rdx, qword [r14 + rsi*8]
lea rcx, str._nmimikatz_commandline____s_n
call fcn.14000bce4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [r14 + rsi*8]
call fcn.14008254c
inc rsi
mov edi, eax
cmp rsi, rbx
jl 0x1400822d4
jmp 0x1400823aa
cmp edi, 0xc000004b
je 0x1400823b6
lea rcx, str._nmimikatz_
call fcn.14000bce4
call fcn.1400c296c
mov rcx, rax
call fcn.1400c2b54
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.1400c296c
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 0xffff
call fcn.1400c4748
test rax, rax
je 0x1400823aa
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x14008236a
test rax, rax
je 0x1400823aa
cmp word [rsp + 0x20], 0xa
je 0x1400823aa
cmp word [rsp + rax*2 + 0x1e], 0xa
jne 0x14008238d
mov word [rsp + rax*2 + 0x1e], bp
lea rdx, [rsp + 0x20]
lea rcx, [0x140105138]
call fcn.14000be28
lea rcx, [rsp + 0x20]
call fcn.14008254c
mov edi, eax
cmp edi, 0xc000010a
jne 0x14008231a
mov ecx, edi
call fcn.1400823c0
int3

Function at 0x1400823c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
call fcn.14008244c
lea rcx, [0x140082438]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call fcn.1400c296c
lea rcx, [rax + 0x30]
call fcn.1400c2fc8
mov edx, dword [0x140153320]
mov ecx, eax
call fcn.1400c30e0
call fcn.1400c296c
lea rcx, [rax + 0x60]
call fcn.1400c2fc8
mov edx, dword [0x140153318]
mov ecx, eax
call fcn.1400c30e0
mov ecx, dword [0x14015331c]
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor ecx, ecx
cmp ebx, 0xc000004b
jne 0x140082431
call qword [sym.imp.KERNEL32.dll_ExitThread]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14008254c
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 0x1400825f4
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x1400825f4
mov edx, ebp
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400825f4
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp ebp, eax
je 0x1400825b9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, rax
test rbx, rbx
je 0x1400825f4
movzx eax, word [rbx]
cmp eax, 0x21
je 0x1400825e0
cmp eax, 0x2a
je 0x1400825d5
mov rcx, rbx
call fcn.14008260c
jmp 0x1400825e9
lea rcx, [rbx + 2]
call fcn.1400a9d90
jmp 0x1400825e9
lea rcx, [rbx + 2]
call fcn.140099b0c
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 0x14008ae18
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 r14, r9
mov esi, edx
mov rdi, rcx
cmp edx, 3
jb 0x14008af57
movzx eax, word [rcx]
cmp ax, word [0x1400e90dc]
jne 0x14008af57
mov al, byte [rcx + 2]
cmp al, byte [0x1400e90de]
jne 0x14008af57
test r8, r8
je 0x14008af49
test r9, r9
je 0x14008af49
lea rcx, str.__using_BCrypt_with_AES_256_GCM_n
call fcn.14000bce4
xor edx, edx
lea rcx, [rbp - 0x21]
lea r8d, [rdx + 0x58]
call fcn.1400c6610
lea eax, [rsi - 0x1f]
lea rcx, [rdi + 3]
mov qword [rbp - 0x19], rcx
add rcx, 0xffffffffffffffed
mov edx, eax
add rcx, rsi
mov dword [rbp - 0x21], reloc.WLDAP32.dll_Ordinal_88
mov dword [rbp - 0x1d], 1
mov qword [rbp + 7], rcx
mov ecx, 0x40
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 0x14008afb7
and dword [rsp + 0x48], 0
mov edx, dword [rbp - 0x11]
mov r8d, dword [rbp + 0x57]
add rdx, qword [rbp - 0x19]
lea rax, [rbp + 0x57]
lea r9, [rbp - 0x21]
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
mov rcx, r14
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
js 0x14008af36
mov r8d, dword [rbp + 0x57]
mov rdx, qword [rbp + 0x7f]
lea rcx, str._s:__.S_n
mov r9, rdi
call fcn.14000bce4
jmp 0x14008af44
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___BCryptDecrypt:_0x_08x_n
mov edx, eax
call fcn.14000bce4
mov rcx, rdi
jmp 0x14008afb1
lea rcx, str.ERROR_kuhl_m_dpapi_chrome_decrypt___No_Alg_and_or_Key_handle_despite_AES_encryption_n
call fcn.14000bce4
jmp 0x14008afb7
and qword [rsp + 0x48], 0
mov r9d, dword [rbp + 0x6f]
lea rax, [rbp + 0x57]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x31]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x77]
and dword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.140089078
test eax, eax
je 0x14008afb7
mov r9, qword [rbp - 0x31]
mov r8d, dword [rbp + 0x57]
mov rdx, qword [rbp + 0x7f]
lea rcx, str._s:__.S_n
call fcn.14000bce4
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 0x14008de84
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
lea rax, [rsp + 0x78]
mov r13, r9
lea r8, str.SafenetSafeNetKSPSlots
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdi, rcx
mov dword [rsp + 0x20], 0x20119
call fcn.14000e314
test eax, eax
je 0x14008e0c2
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], rax
call fcn.14000e59c
test eax, eax
je 0x14008e0a1
mov eax, dword [rsp + 0x70]
mov ecx, 0x40
inc eax
mov dword [rsp + 0x70], eax
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14008e0b5
xor esi, esi
cmp dword [rsp + 0x74], esi
jbe 0x14008e096
mov ecx, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rax, [rbp - 0x80]
mov dword [rbp - 0x80], ecx
mov r9, rbx
mov r8d, esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14000ea54
test eax, eax
je 0x14008e08a
lea rcx, str._n_____s_
mov rdx, rbx
call fcn.14000bce4
mov rcx, rbx
call fcn.140012764
mov r14, rax
test rax, rax
je 0x14008e08a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rbp - 0x60]
mov r12d, eax
call qword [sym.imp.cryptdll.dll_MD5Init]
mov r15d, 0x5b6
lea rcx, [rbp - 0x60]
mov r8d, r12d
mov rdx, r14
call qword [sym.imp.cryptdll.dll_MD5Update]
dec r15
jne 0x14008dfb8
lea rcx, [rbp - 0x60]
call qword [sym.imp.cryptdll.dll_MD5Final]
xor ecx, ecx
lea edx, [rcx + 0x10]
lea rax, [0x1400ea650]
mov al, byte [rcx + rax]
inc rcx
xor al, byte [rbp + rcx - 9]
mov byte [rbp + rcx - 0x71], al
dec rdx
jne 0x14008dfdc
xor r8d, r8d
lea rcx, [rbp - 0x70]
lea edx, [r8 + 0x10]
call fcn.14001290c
lea rcx, [0x14010ed4c]
call fcn.14000bce4
mov rdx, qword [rsp + 0x78]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], 0x20019
call fcn.14000e314
test eax, eax
je 0x14008e06d
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bce4
mov r9d, dword [rbp + 0x50]
mov rdx, qword [rbp - 0x78]
lea r8, [rbp - 0x70]
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.14008e0e4
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14000ee28
jmp 0x14008e081
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14010ed50]
mov edx, eax
call fcn.14000bce4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
inc esi
cmp esi, dword [rsp + 0x74]
jb 0x14008df4e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14008e0b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_kuhl_m_dpapi_safenet_ksp_registryparser___kull_m_registry_RegQueryInfoKey__0x_08x__n
mov edx, eax
call fcn.14000bce4
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14000ee28
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret