joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006cd66
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x14006cd9a
mov rax, qword [rsi + 8]
test rax, rax
je 0x14006ce91
bt ebx, 8
jae 0x14006cdb6
mov eax, ebx
and eax, 0x200
jne 0x14006ce91
cmp edi, 2
lea rax, [0x140149ff0]
lea rcx, [0x14014a1f0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x14006ce91
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x14006ce91
bt ebx, 8
jb 0x14006ce91
shr ebx, 9
and ebx, 1
or bl, byte [0x14014a5f0]
je 0x14006ce91
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx r13, byte [rsi + 0x17]
test r13, r13
jns 0x14006ceb0
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x14006ce7a
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400935a8
test eax, eax
je 0x14006ceb5
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x14006ce5a
cmp dword [rsp + 0x2c], 0
jne 0x14006cf33
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140079050
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x14006ce3d
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x14006cec3
test ecx, ecx
jne 0x14006ce7a
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x14006cef2
cmp dword [rsp + 0x2c], 2
jne 0x14006cf03
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x14006cf03
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x14006cf1c
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x14006cf09
jmp 0x14006cf1f
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x14006ce81
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x14006cf3f
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.1400e2146
jmp 0x14006ce91
Function at 0x14006d214
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [0x140149fe0], 0
je 0x14006d318
xorps xmm0, xmm0
lea r15, [rsp + 0x50]
movaps xmmword [r15], xmm0
mov rcx, r15
mov rdx, rdi
call sub.ntdll.dll_RtlInitUnicodeString
lea r13, [rsp + 0x4c]
mov dword [r13], 0x18
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14010db00]
movaps xmmword [rdi], xmm0
mov edx, 0x18
mov rcx, rdi
call fcn.14002af92
mov ebp, 5
mov edx, dword [rsp + 0x4c]
mov rcx, rdi
call fcn.140023352
mov r12, qword [rsp + 0x30]
mov eax, dword [rsp + 0x4c]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rdx, r15
mov r8d, 1
mov r9, r12
call sub.ntdll.dll_NtQueryValueKey
cmp eax, 0xc0000023
je 0x14006d312
cmp eax, 0x80000005
je 0x14006d312
test eax, eax
jns 0x14006d329
xor esi, esi
lea rcx, [rsp + 0x68]
mov qword [rcx], rdi
call fcn.140025f1e
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140079050
mov eax, esi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
dec ebp
jne 0x14006d29f
jmp 0x14006d2e3
call fcn.14006ca46
test al, al
jne 0x14006d24c
xor esi, esi
jmp 0x14006d2f2
mov eax, dword [r12 + 4]
mov dword [rbx], eax
mov r9d, dword [r12 + 0xc]
test r9, r9
jne 0x14006d358
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov rdx, rcx
sub rdx, rax
dec rcx
cmp rdx, rcx
ja 0x14006d36e
mov qword [rsi + 8], rax
mov sil, 1
jmp 0x14006d2e5
mov edx, dword [r12 + 8]
add rdx, r12
lea r8, [rdx + r9]
mov rcx, rsi
call fcn.14004d49c
jmp 0x14006d353
lea rcx, [0x140110299]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400bde54
int3
Function at 0x14006d8c9
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14006d8f0
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14006d92a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14006d949
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140079050
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14006da3c
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140079050
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140039200
test al, al
je 0x14006da0e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x276
mov r9d, 2
call fcn.1400e4c40
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14002217e
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14006d9ac
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
test rax, rax
js 0x14006da15
je 0x14006d9c2
test rsi, rsi
je 0x14006da28
lea rsi, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140033d40
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x14006d9e8
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.14002217e
cmp byte [rsp + 0x57], 0
jns 0x14006da04
mov rcx, qword [rsp + 0x40]
call fcn.140077d00
lea rcx, [rsp + 0x58]
call fcn.1400e4cb0
xor esi, esi
jmp 0x14006d92d
lea rcx, [0x140110299]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1400bde54
lea rcx, [0x140110299]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400bde54
int3
Function at 0x14006da3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x14006da63
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006db09
mov dil, 1
test al, 0x10
je 0x14006da95
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140079050
mov eax, edi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140039200
test al, al
je 0x14006db02
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x266
mov r9d, 2
call fcn.14005c850
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14002217e
mov rcx, rax
mov rdx, rsi
call fcn.14005d570
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.14002217e
mov rcx, rdi
call fcn.14005ccc0
xor edi, edi
jmp 0x14006da79
mov ecx, 2
call fcn.140039200
test al, al
je 0x14006db02
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x262
mov r9d, 2
call fcn.1400e4c40
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14002217e
mov rcx, rax
mov rdx, rsi
call fcn.14005d570
mov rcx, rdi
call fcn.1400e4cb0
jmp 0x14006db02

Function at 0x14006e73e
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 0x50]
mov r14, qword [rcx + 0x58]
cmp rbx, r14
jne 0x14006e762
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rsi, r8
mov edi, edx
mov r15, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], edi
jne 0x14006e78a
cmp byte [rbx + 0x27], 0
js 0x14006e77f
lea rcx, [rbx + 0x10]
jmp 0x14006e783
mov rcx, qword [rbx + 0x10]
call r15
test al, 0x10
je 0x14006e795
add rbx, 0x70
cmp rbx, r14
je 0x14006e756
jmp 0x14006e76e
mov rcx, rsi
mov rdx, rbx
call fcn.1400f54b4
jmp 0x14006e78a
Function at 0x14006f6e3
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14010db00]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
jne 0x14006f777
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14006f72b
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140079050
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
mov cx, 6
xor edx, edx
xor r8d, r8d
call fcn.140075126
mov edi, 0x80003
test al, al
je 0x14006f722
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.1400b9863
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x14006f722

Function at 0x140070160
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
jne 0x140070213
test dil, 8
jne 0x140070234
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1400701a9
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1400701ba
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14007025b
cmp byte [r15 + 0x18], 0
jne 0x14007026c
xor r9d, r9d
cmp ebx, 4
jne 0x140070225
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x140070251
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r15 + 0x50], 0
jne 0x14007027c
or edi, 0x20000000
jmp 0x14007018b
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140070287
mov edx, 7
jmp 0x1400701dd
cmp byte [r15 + 0x68], 0
je 0x140070246
or edi, 0x40000000
jmp 0x140070195
or edi, 0x10000000
jmp 0x140070195
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400701fe
lea rcx, [r15 + 0x20]
call fcn.1400661c0
mov r14, rax
jmp 0x1400701c5
mov rcx, r15
call fcn.1400661c0
mov r9, rax
jmp 0x1400701d3
or edi, 0x80000000
jmp 0x14007018b
mov edx, 1
test ebx, ebx
je 0x1400701dd
cmp ebx, 1
jne 0x1400702a3
mov edx, 4
jmp 0x1400701dd
xor edx, edx
jmp 0x1400701dd
Function at 0x140070b40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140070b10]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14014ce68]
lea rdx, [0x140070af0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140070c38
cmp dword [0x14014ce70], 0
jne 0x140070c45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14014ce74]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x140070bec
mov ecx, 1
mov edx, 0x28
call fcn.14003da90
test rax, rax
je 0x140070c45
mov r14, rax
mov ecx, dword [0x14014ce74]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140070c3d
lea r15, [0x14014ce78]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14014ce80]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140079050
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140090250
mov rcx, r14
call fcn.14003d9e0
mov rcx, rsi
mov rax, rdi
call qword [0x14012a4d0]
xor esi, esi
jmp 0x140070c1c
Function at 0x140073310
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14014cfa8], 0
jne 0x14007334d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140073340
mov dword [rdi], eax
mov dword [0x14014cfb0], eax
mov qword [0x14014cfa8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x140075000
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x14010db00]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1401160b2]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x51d
call fcn.14003ae50
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003f6a0
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400ae900
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x1400750f4
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400973f4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14003af80
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14005fd00
mov rcx, rsi
mov rdx, r14
call fcn.14003b1f0
mov rcx, r14
call fcn.14003b180
mov rcx, rbx
call fcn.14003b180
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14003f720
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140079050
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140075b62
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12, qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x140075c05
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140075be0
mov rcx, rdi
call r12
cmp eax, 3
je 0x140075ba3
mov eax, dword [rsp + 0x2c]
jmp 0x140075be5
cmp eax, 0xffffffff
je 0x140075c19
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140079050
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x140075be7
int3

Function at 0x140075c33
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140075c33
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140075c93
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x140075c9c
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140079050
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x140075c7c
int3

Function at 0x140077900
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400ae900
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140077995
cmp word [rsp + 0x70], 0
je 0x140077995
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400973f4
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14003af80
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140079050
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14010db00]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14003af20
mov rcx, rdi
call fcn.1400586e0
test al, al
je 0x1400779df
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14005d290
lea rcx, [rsp + 0x40]
call fcn.14003b180
jmp 0x140077977
lea rax, [0x140116022]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14003af80
jmp 0x1400779d3
Function at 0x140077ac0
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rsi, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rsi
mov dl, 0xaa
call fcn.1400ae900
mov word [rsi], 0
lea r8, [rsp + 0x4c]
mov dword [r8], 0x100
mov ecx, 3
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140077b57
lea rax, str..corp.microsoft.com
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rdi + 8], 0x13
lea rbx, [rsp + 0x28]
mov qword [rbx], rsi
mov rcx, rsi
call fcn.1400973f4
mov qword [rbx + 8], rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 1
call fcn.1400eb4c0
mov sil, 1
test al, al
jne 0x140077b59
xor esi, esi
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140079050
mov eax, esi
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007859c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400785e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400785e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400785e6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400785e6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400785e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400785e8
xor al, al
add rsp, 0x28
ret

Function at 0x140078870
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400788e8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400788e8
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400788e8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400788dc
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400788fa
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400788ca
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400788ea
Function at 0x14008a9c8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14008a9ff
call fcn.14008da24
mov dword [rax], 0x16
call fcn.1400902f8
xor eax, eax
jmp 0x14008aa8d
mov rdx, r9
mov rcx, r8
call fcn.14008aab0
mov rbx, rax
test rax, rax
je 0x14008aa8a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14008ab20]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14008aa77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14008da64
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14008aa5e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14008aa6d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14003d9e0
jmp 0x14008aa8a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14008aa87
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14008abf4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14008ad3c

Function at 0x14008ad3c
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14008ad3c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14008adab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008adab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008adab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008adab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008adab
cmp dword [rcx + 0x84], 0xe
jbe 0x14008adab
cmp dword [rcx + 0xf8], 0
je 0x14008adab
mov ecx, ebx
call fcn.14008ac74
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14008aed0
nop
cmp dword [rbp + 0x20], 0
je 0x14008adf9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008ad08
int3
Function at 0x14008dd88
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140105988]
mov rbp, rcx
call fcn.1400a0c7c
xor edi, edi
test rax, rax
je 0x14008de6e
mov ebx, edi
call fcn.14008da24
mov r14d, dword [rax]
call fcn.14008da24
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140093790
mov rsi, rax
test rax, rax
je 0x14008ddff
call fcn.14008da24
mov dword [rax], r14d
jmp 0x14008de29
call fcn.14008da24
cmp dword [rax], 0x22
jne 0x14008de66
call fcn.14008da24
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140093790
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14008de66
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14008de2d
cmp rax, 3
je 0x14008de48
mov rcx, rsi
call fcn.14008dce4
test al, al
je 0x14008de59
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14008de59
mov dil, 1
mov rcx, rbx
call fcn.14003d9e0
mov al, dil
jmp 0x14008de70
mov rcx, rbx
call fcn.14003d9e0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140079050
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14008e6ac
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14008e6f6
call fcn.14008da44
mov dword [rax], 0xf
call fcn.14008da24
mov dword [rax], 0xd
call fcn.1400902f8
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140079050
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14008e701
lea eax, [rbx + 1]
jmp 0x14008e6e3
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14008e6e1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14008e6e3