joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005d900
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14005d919
mov dword [rsi], eax
mov al, 1
jmp 0x14005d91b
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400622c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x1401955a0]
cmp rax, 1
ja 0x140062321
lea rcx, [0x1401955a0]
call fcn.14002a3e0
test al, al
je 0x140062321
mov dword [0x1401955b0], 0
mov qword [0x1401955a8], 0
lea rsi, [0x1401955a0]
lea rdi, [0x1401955a8]
xor edx, edx
mov rcx, rdi
call fcn.14003c820
xor r8d, r8d
mov rcx, rsi
mov rdx, rdi
mov r9, rsi
call fcn.14002a4a0
mov rcx, qword [0x1401955a0]
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14003c7d0

Function at 0x14006ca50
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r12, rcx
movzx eax, byte [r13]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r13 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r13 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r13 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r12 + 0x30]
mov rax, qword [r12 + 8]
mov r8, qword [r12 + 0x18]
lea rsi, [rdx + rdx]
add rsi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x14006cae3
mov rdx, qword [rdx]
mov rdi, rcx
cmp rcx, rax
je 0x14006caf2
mov rdi, qword [r8 + rsi*8]
mov rdi, qword [rdi]
cmp rdi, rdx
je 0x14006cb0b
cmp dword [rdx + 0x10], ebx
jne 0x14006cae0
cmp rdx, rax
je 0x14006cb0b
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x14006cb7e
mov rsi, qword [rax]
mov r15, qword [rsi + 8]
mov ecx, 0x20
call fcn.1400edc90
test rsi, rsi
mov rcx, r15
cmove rcx, rax
mov rdx, rsi
cmove rdx, rax
mov qword [rax], rdx
mov qword [rax + 8], rcx
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
mov qword [rax + 0x18], 0
mov rcx, qword [r12 + 0x10]
movabs rdx, 0x7fffffffffffffe
cmp rcx, rdx
je 0x14006cb91
add rcx, 1
mov qword [r12 + 0x10], rcx
mov qword [rsi + 8], rax
mov qword [r15], rax
mov rax, qword [r12 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r12
mov rdx, r14
call fcn.14006cba0
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.1400ef190
ud2
Function at 0x140072b80
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x270
mov rsi, rdx
mov eax, ecx
mov rcx, qword [0x140191d78]
xor rcx, rsp
mov qword [rsp + 0x268], rcx
lea rbx, [rsp + 0x60]
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor edi, edi
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
mov edx, eax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140072c00
lea rdi, [rsp + 0x30]
mov qword [rdi], rbx
mov rcx, rbx
call fcn.1400f4120
mov qword [rdi + 8], rax
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1400128d0
mov rcx, rsi
mov rdx, rbx
call fcn.1400129f0
mov rcx, rbx
call fcn.1400138f0
mov dil, 1
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.1400edc60
mov eax, edi
add rsp, 0x270
pop rbx
pop rdi
pop rsi
ret
Function at 0x140075be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r12, r8
mov rbx, rdx
mov rdi, rcx
test r12, r12
je 0x140075cd1
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
movsxd rdx, dword [rcx + 0x3c]
mov edx, dword [rcx + rdx + 0x88]
mov rcx, rdi
call qword [rax + 8]
mov r14, rax
test r14, r14
je 0x140075cd1
cmp rbx, 0xffff
ja 0x140075c39
mov word [r12], bx
jmp 0x140075cf8
mov rax, qword [rdi]
mov edx, dword [r14 + 0x20]
mov rcx, rdi
call qword [rax + 8]
mov edx, dword [r14 + 0x18]
lea rcx, [rdx*4]
test rcx, rcx
je 0x140075cd1
lea rbp, [rax + rdx*4]
lea r13, [rbx + 1]
mov qword [rsp + 0x20], rax
mov r15, rax
mov rsi, rbp
sub rsi, r15
mov rax, rsi
sar rax, 2
shr rsi, 0x3f
add rsi, rax
movabs rax, 0x7ffffffffffffffe
and rsi, rax
mov rax, qword [rdi]
mov edx, dword [r15 + rsi*2]
mov rcx, rdi
call qword [rax + 8]
mov cl, byte [rbx]
test cl, cl
je 0x140075cae
mov rdx, r13
cmp cl, byte [rax]
jne 0x140075cb0
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140075c9e
xor ecx, ecx
lea rsi, [r15 + rsi*2]
movzx ecx, cl
movzx eax, byte [rax]
sub ecx, eax
je 0x140075cd5
test ecx, ecx
cmovle rbp, rsi
lea rax, [rsi + 4]
cmovg r15, rax
cmp r15, rbp
jne 0x140075c67
xor eax, eax
jmp 0x140075cfa
mov rax, qword [rdi]
mov edx, dword [r14 + 0x24]
mov rcx, rdi
call qword [rax + 8]
sub rsi, qword [rsp + 0x20]
sar rsi, 1
movzx eax, word [rax + rsi]
add ax, word [r14 + 0x10]
mov word [r12], ax
mov al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140075d80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140075db8
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140075db8
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x140075db8
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
jmp 0x140075dba
xor eax, eax
ret
Function at 0x1400899b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0x70]
cmp eax, edx
jne 0x1400899c8
cmp qword [rcx + 0x28], 7
jbe 0x1400899d8
mov rcx, qword [rcx + 0x10]
jmp 0x1400899dc
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
add eax, 1
jmp 0x1400899f5
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
add rsp, 0x28
ret

Function at 0x140089db0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp qword [rsi + 0x18], 7
jbe 0x140089dd9
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140089ec7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140089e1b
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400edc60
mov rcx, rsi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
jmp fcn.140089ef0
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x140089ec5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0x38]
mov r8d, 0x238
mov r9d, 2
mov rcx, rdi
call fcn.1400170c0
lea rcx, [rsp + 0x48]
lea rdx, str.CreateDirectory
call fcn.140001700
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x140089e77
mov rax, qword [rsi]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x148]
mov rcx, rsi
call fcn.140018880
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140089ead
mov rdx, qword [rsp + 0x148]
mov rcx, rbx
call fcn.1400032d0
mov rcx, rsi
call fcn.140001c80
mov rcx, rdi
call fcn.140017200
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400edc60
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
Function at 0x140089ef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x178], rax
cmp qword [rsi + 0x18], 7
jbe 0x140089f19
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140089fe8
mov dil, 1
test al, 0x10
jne 0x14008a094
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x14008a092
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0x48]
mov r8d, 0x226
mov r9d, 2
mov rcx, rdi
call fcn.140015d90
lea rcx, [rsp + 0x50]
lea rdx, str.GetFileAttributes
call fcn.140001700
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x140089f86
mov rax, qword [rsi]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.140018880
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140089fbc
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call fcn.1400032d0
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.140001700
mov rcx, rsi
call fcn.140001c80
mov rcx, rdi
call fcn.140015290
jmp 0x14008a092
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x14008a092
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0x48]
mov r8d, 0x222
mov r9d, 2
mov rcx, rdi
call fcn.1400170c0
lea rcx, [rsp + 0x58]
lea rdx, str.GetFileAttributes
call fcn.140001700
mov rbx, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x14008a044
mov rax, qword [rsi]
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.140018880
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14008a07a
mov rdx, qword [rsp + 0x158]
mov rcx, rbx
call fcn.1400032d0
mov rcx, rsi
call fcn.140001c80
mov rcx, rdi
call fcn.140017200
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400edc60
mov eax, edi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret

Function at 0x14008ac00
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x140
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov eax, 0xffffffff
cmp r8, rax
mov esi, 0xffffffff
cmovae r8d, esi
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14008ac93
mov dword [rsp + 0x30], esi
cmp dword [rsp + 0x2c], esi
jne 0x14008ac8d
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140017470
test rax, rax
je 0x14008ac8d
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov r8d, 0x64
mov rcx, rsi
mov r9, rax
call fcn.140016280
mov rcx, rsi
call fcn.140015290
mov esi, dword [rsp + 0x2c]
jmp 0x14008ac9a
mov rsi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400edc60
mov rax, rsi
add rsp, 0x140
pop rsi
ret
mov rcx, qword [rcx + 8]
jmp 0x14008ac00
Function at 0x14008bdf0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x140
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov eax, 0xffffffff
cmp r8, rax
mov esi, 0xffffffff
cmovae r8d, esi
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14008ac93
mov dword [rsp + 0x30], esi
cmp dword [rsp + 0x2c], esi
jne 0x14008ac8d
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140017470
test rax, rax
je 0x14008ac8d
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov r8d, 0x64
mov rcx, rsi
mov r9, rax
call fcn.140016280
mov rcx, rsi
call fcn.140015290
mov esi, dword [rsp + 0x2c]
jmp 0x14008ac9a
mov rsi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400edc60
mov rax, rsi
add rsp, 0x140
pop rsi
ret
mov rcx, qword [rcx + 8]
jmp 0x14008ac00

Function at 0x140093b90
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.1400aedb0
test al, al
je 0x140093bbe
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdi, [rsi + 0x38]
xor edx, edx
mov rcx, rdi
call fcn.140093c20
lea rcx, [rsi + 0x58]
call fcn.140090e60
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140093be3
call fcn.140022570
mov rcx, rdi
call fcn.140093c50
lea rcx, [rsi + 0x28]
call fcn.140002820
lea rcx, [rsi + 0x20]
call fcn.140002820
lea rcx, [rsi + 0x18]
call fcn.140002820
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400aec90
Function at 0x140094390
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400aedb0
test al, al
je 0x1400943b2
mov rcx, qword [rsi]
xor edx, edx
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x20
pop rsi
ret

Function at 0x1400978e0
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp byte [rdi + 0x54], 0
je 0x140097a08
lea rdx, [rdi + 0x48]
lea rbx, [rsp + 0x28]
lea r9, [rsp + 0x34]
mov r8d, 2
mov rcx, rbx
call fcn.140097a40
mov r12, qword [rbx]
test r12, r12
je 0x140097a0f
mov qword [rsp + 0x20], rdi
cmp dword [r12], 0
je 0x1400979fc
lea r13, [r12 + 8]
add qword [rsp + 0x20], 0x30
xor r15d, r15d
mov rbp, qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rbx, r15
shl rbx, 4
test dword [r13 + rbx + 8], 0xc0000020
jne 0x1400979ec
add rbx, r13
test rsi, rsi
je 0x1400979cf
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
je 0x1400979cf
mov r14d, 1
xor ecx, ecx
mov rdi, qword [rbx]
imul rcx, rcx, 0x44
add rcx, rax
call fcn.140098050
mov rcx, rax
mov rdx, rdi
call rbp
test eax, eax
jne 0x1400979ec
mov ecx, r14d
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rax
sar rdx, 2
movabs rdi, 0xf0f0f0f0f0f0f0f1
imul rdx, rdi
inc r14d
cmp rdx, rcx
ja 0x14009798d
mov rdx, qword [rbx]
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.140097fc0
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call fcn.140092250
inc r15
mov eax, dword [r12]
cmp r15, rax
jb 0x140097962
mov rcx, r12
call fcn.1400edcf0
xor esi, esi
jmp 0x140097a13
mov esi, 0x3f0
jmp 0x140097a13
mov esi, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400edc60
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140099510
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x34]
mov qword [rsp + 0x20], r15
mov r9d, 8
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400995a5
lea r12, [rsp + 0x28]
mov qword [rsp + 0x20], r12
mov rcx, rdi
mov rdx, r13
mov r8, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
setne al
cmp qword [r12], rsi
sete bl
and bl, al
mov r9d, dword [rsp + 0x34]
mov qword [rsp + 0x20], r15
mov rcx, rdi
mov rdx, r13
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
setne sil
and sil, bl
jmp 0x1400995a7
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400edc60
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14009d2b0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0xc8]
mov qword [rbx], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x14009d397
mov eax, dword [rsp + 0xc0]
mov edi, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov r11d, dword [rsp + 0xa0]
cmp qword [r8 + 0x18], 7
jbe 0x14009d314
mov r8, qword [r8]
mov rsi, qword [rdx]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, r11d
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rdi, 0xffffffffffffffff
je 0x14009d381
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 3
lea r14, [rsp + 0x48]
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rax, rax
or rax, qword [r14]
jmp 0x14009d388
mov rax, 0xffffffffffffffff
mov qword [rbx], rax
xor ecx, ecx
cmp rax, 0xffffffffffffffff
sete cl
lea esi, [rcx + rcx*4]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400edc60
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14009d7d0
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, r8
mov r15, rdx
mov edi, ecx
lea eax, [rdi - 5]
mov ebp, 5
cmp eax, 1
ja 0x14009d97f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov rbp, qword [rsp + 0x130]
xor r12d, r12d
mov qword [rsp + 0xb0], r12
mov dword [rsp + 0x50], 0x68
mov r13d, 7
cmp qword [r9 + 0x18], r13
jbe 0x14009d862
mov r9, qword [r9]
mov rcx, r9
call fcn.140107be0
mov r14, rax
mov rax, qword [rbp + 0x10]
cmp qword [rbp + 0x18], r13
jbe 0x14009d87b
mov rbp, qword [rbp]
mov rbx, qword [rsp + 0x138]
test rax, rax
cmove rbp, rax
cmp qword [rsi + 0x18], r13
jbe 0x14009d893
mov rsi, qword [rsi]
mov r15, qword [r15]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor r9d, r9d
mov rcx, rsi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x14009d972
cmp edi, 6
mov r12d, 0x1fffff
mov esi, 0x101c01
cmove esi, r12d
mov r13, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, r13
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rsi, qword [rbx + 8]
test eax, eax
je 0x14009d969
add rbx, 8
cmp edi, 6
mov edi, 0x100c43
cmove edi, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rsi
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
jmp 0x14009d972
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x14009d97f
mov rcx, r14
call fcn.140022570
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400edc60
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14009d9b0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, r8
mov rbx, rdx
mov rdi, rcx
mov r15, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov qword [r15], 0
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r8, rbx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rbx, rbx
je 0x14009da4f
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400a0130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x150
mov r12, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x148], rax
test edx, edx
je 0x1400a01bc
lea rax, [0x1400a6450]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x140172090]
lea r8, str.NtMapViewOfSection
mov r9d, 1
mov rcx, r12
mov rdx, rdi
call fcn.14009faa0
lea rax, [0x1400a64c0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov r9d, 1
mov rcx, r12
mov rdx, rdi
call fcn.14009faa0
jmp 0x1400a01c8
cmp qword [r12 + 0x10], 0
je 0x1400a032a
mov rax, qword [r12]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edx, edx
mov r8d, 0x10000
mov r9d, 0x2000
mov rcx, r14
call r13
mov rdi, rax
mov rsi, qword [r12 + 0x10]
shl rsi, 6
lea r15, [rsi + 0x60]
mov rcx, r15
call fcn.14009f8f0
mov rbx, rax
and rax, 0xfffffffffffff000
lea rdx, [rax + rdi]
and ebx, 0xfff
add rsi, 0x105f
and rsi, 0xfffffffffffff000
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov rcx, r14
mov r8, rsi
call r13
mov rdi, rax
test rdi, rdi
jne 0x1400a0273
lea rdx, str..._.._sandbox_win_src_interception.cc
lea r9, str.thunk_base
lea rsi, [rsp + 0x40]
mov r8d, 0x1a8
mov rcx, rsi
call fcn.140015120
mov rcx, rsi
call fcn.140015290
add rdi, rbx
lea rsi, [rsp + 0x40]
mov qword [rsi], r15
mov dword [rsi + 0x18], 0
mov qword [rsi + 8], 0x20
lea rcx, [0x140195a50]
xor edx, edx
mov r8d, 0x148
call fcn.1400f0b20
mov rcx, r12
mov rdx, rdi
mov r8, r15
mov r9, rsi
call fcn.1400a05a0
mov ebx, eax
test ebx, ebx
jne 0x1400a032c
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x1400a032c
cmp qword [rsp + 0x38], 0x20
jne 0x1400a032c
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
mov r8, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r12]
lea rdx, str.g_originals
lea r8, [0x140195a50]
mov r9d, 0x148
call fcn.140094050
mov ebx, eax
jmp 0x1400a032c
xor ebx, ebx
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1400edc60
mov eax, ebx
add rsp, 0x150
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400a6040
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret