joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072810
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 [0x140143038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x140072843
mov rax, qword [rsi + 8]
test rax, rax
je 0x14007293c
bt ebx, 8
jae 0x14007285f
mov eax, ebx
and eax, 0x200
jne 0x14007293c
cmp edi, 2
lea rax, [0x14015cb70]
lea rcx, [0x14015cd70]
cmove rcx, rax
cmp word [rcx], 0
jne 0x14007293c
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 0x14007293c
cmp byte [0x14015d170], 0
setne al
bt ebx, 8
jb 0x14007293c
shr ebx, 9
and ebx, 1
or bl, al
je 0x14007293c
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx r13d, byte [rsi + 0x17]
test r13b, r13b
jns 0x14007295b
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 0x140072929
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.14009f4d8
test eax, eax
je 0x140072986
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x140072909
cmp dword [rsp + 0x2c], 0
jne 0x140072960
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400843b0
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 0x1400728ec
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x14007296c
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.1400f5d14
jmp 0x14007293c
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x140072994
test ecx, ecx
jne 0x140072929
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400729c3
cmp dword [rsp + 0x2c], 2
jne 0x1400729d4
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400729d4
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x1400729ed
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400729da
jmp 0x1400729f0
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x140072930
Function at 0x140072cc3
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 [0x140143038]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [0x14015cb64], 0
je 0x140072dc7
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 [0x14011cbd0]
movaps xmmword [rdi], xmm0
mov edx, 0x18
mov rcx, rdi
call fcn.14002ae58
mov ebp, 5
mov edx, dword [rsp + 0x4c]
mov rcx, rdi
call fcn.14002862e
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 0x140072dc1
cmp eax, 0x80000005
je 0x140072dc1
test eax, eax
jns 0x140072dd8
xor esi, esi
lea rcx, [rsp + 0x68]
mov qword [rcx], rdi
call fcn.140028978
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400843b0
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 0x140072d4e
jmp 0x140072d92
call fcn.140072538
test al, al
jne 0x140072cfb
xor esi, esi
jmp 0x140072da1
mov eax, dword [r12 + 4]
mov dword [rbx], eax
mov r9d, dword [r12 + 0xc]
test r9, r9
jne 0x140072e07
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov rdx, rcx
sub rdx, rax
dec rcx
cmp rdx, rcx
ja 0x140072e1d
mov qword [rsi + 8], rax
mov sil, 1
jmp 0x140072d94
mov edx, dword [r12 + 8]
add rdx, r12
lea r8, [rdx + r9]
mov rcx, rsi
call fcn.140058004
jmp 0x140072e02
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1400d3d34
int3
Function at 0x1400731c1
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400731e9
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140073228
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14007331c
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140073215
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140073245
test al, 0x10
je 0x1400732ad
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400843b0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x1400732a6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov r8d, 0x262
mov r9d, 2
call fcn.140061d70
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027259
mov rcx, rax
mov rdx, rsi
call fcn.140062760
mov rcx, rdi
call fcn.140061df0
xor edi, edi
jmp 0x140073228
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x1400732a6
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov r8d, 0x266
mov r9d, 2
call fcn.1400616f0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140027259
mov rcx, rax
mov rdx, rsi
call fcn.140062760
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140027259
mov rcx, rdi
call fcn.1400823c0
jmp 0x1400732a6
mov ecx, 2
call fcn.140041fb0
test al, al
je 0x1400732a6
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.140061d70
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140027259
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14007337e
and r8d, 0x7f
jmp 0x140073385
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140023118
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.14003ce80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1400733b5
and r8d, 0x7f
jmp 0x1400733bf
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.140027259
cmp byte [rsp + 0x57], 0
jns 0x1400733db
mov rcx, qword [rsp + 0x40]
call fcn.140082ec0
lea rcx, [rsp + 0x58]
jmp 0x1400732a1
Function at 0x1400748e0
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14011cbd0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
jne 0x140074974
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x140074928
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.1400843b0
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.14007edb6
mov edi, 0x80003
test al, al
je 0x14007491f
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.1400c9575
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x14007491f

Function at 0x1400765f0
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 0x14007669f
test dil, 8
jne 0x1400766e8
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x140076639
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14007664a
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x1400766d7
cmp byte [r15 + 0x18], 0
jne 0x1400766ca
xor r9d, r9d
cmp ebx, 4
jne 0x1400766b1
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 0x1400766c0
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 0x140076705
or edi, 0x20000000
jmp 0x14007661b
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140076710
mov edx, 7
jmp 0x140076669
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14007668a
mov rcx, r15
call fcn.1400691c0
mov r9, rax
jmp 0x14007665f
lea rcx, [r15 + 0x20]
call fcn.1400691c0
mov r14, rax
jmp 0x140076655
cmp byte [r15 + 0x68], 0
je 0x1400766fa
or edi, 0x40000000
jmp 0x140076625
or edi, 0x10000000
jmp 0x140076625
or edi, 0x80000000
jmp 0x14007661b
mov edx, 1
test ebx, ebx
je 0x140076669
cmp ebx, 1
jne 0x14007672c
mov edx, 4
jmp 0x140076669
xor edx, edx
jmp 0x140076669
Function at 0x140077580
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 [0x140143038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140077550]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14015d320]
lea rdx, [0x140077530]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140077690
cmp dword [0x14015d328], 0
jne 0x140077680
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14015d32c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14007762c
mov ecx, 1
mov edx, 0x28
call fcn.140026ee0
test rax, rax
je 0x140077680
mov r14, rax
mov ecx, dword [0x14015d32c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140077678
lea r15, [0x14015d330]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14015d338]
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.1400843b0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.140026e40
mov rcx, rsi
mov rax, rdi
call qword [0x14016a008]
xor esi, esi
jmp 0x14007765c
call fcn.14009c180
int3
Function at 0x14007bf90
Capabilities:
Allocate thread local storage

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

Function at 0x14007c950
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14007c9ea
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007c9d4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14007c9b1
mov qword [rsi], rdi
call fcn.140043d50
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x14007c9ee
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140043d50
mov rcx, qword [rsi]
call fcn.14003bb20
mov qword [rsi], 0
jmp 0x14007c99f
mov byte [rsi + 8], 0
int3
Function at 0x14007ec90
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x14011cbd0]
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, [0x140124696]
lea r8, [0x1401244f8]
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x4f9
call fcn.140043d30
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004a1f0
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140086500
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 0x14007ed84
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400a3324
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140043f30
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140062f30
mov rcx, rsi
mov rdx, r14
call fcn.140044300
mov rcx, r14
call fcn.140044180
mov rcx, rbx
call fcn.140044180
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14004a250
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400843b0
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007f804
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 [0x140143038]
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 0x14007f8a7
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x14007f882
mov rcx, rdi
call r12
cmp eax, 3
je 0x14007f845
mov eax, dword [rsp + 0x2c]
jmp 0x14007f887
cmp eax, 0xffffffff
je 0x14007f8bb
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400843b0
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 0x14007f889
int3

Function at 0x14007f9f9
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140143038]
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 0x14007fa59
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x14007fa62
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400843b0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x14007fa42
int3

Function at 0x1400805d0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140080617
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140080631
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14008060f
mov qword [rsi], rdi
call fcn.140043d50
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140080647
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140043d50
mov rcx, qword [rsi]
call fcn.14003bb20
mov qword [rsi], 0
jmp 0x1400805fd
int3
Function at 0x140082110
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140086500
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 0x1400821a5
cmp word [rsp + 0x70], 0
je 0x1400821a5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400a3324
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140043f30
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400843b0
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 [0x14011cbd0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140043e00
mov rcx, rdi
call fcn.14005e480
test al, al
je 0x1400821ef
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140062210
lea rcx, [rsp + 0x40]
call fcn.140044180
jmp 0x140082187
lea rax, [0x140124604]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140043f30
jmp 0x1400821e3

Function at 0x140082300
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rsi, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rsi
mov dl, 0xaa
call fcn.140086500
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 0x140082397
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.1400a3324
mov qword [rbx + 8], rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 1
call fcn.1400fc940
mov sil, 1
test al, al
jne 0x140082399
xor esi, esi
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1400843b0
mov eax, esi
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret
Function at 0x140083734
Capabilities:
Parse pe header

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

Function at 0x140083bd0
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 0x140083c48
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140083c48
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 0x140083c48
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140083c3c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140083c5a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140083c2a
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 0x140083c4a

Function at 0x1400968f8
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 0x14009692f
call fcn.140099954
mov dword [rax], 0x16
call fcn.14009c228
xor eax, eax
jmp 0x1400969bd
mov rdx, r9
mov rcx, r8
call fcn.1400969e0
mov rbx, rax
test rax, rax
je 0x1400969ba
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140096a50]
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 0x1400969a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140099994
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009698e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009699d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140026e40
jmp 0x1400969ba
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400969b7
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 0x140096b24
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140096c6c
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 0x140096cdb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140096cdb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140096cdb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140096cdb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140096cdb
cmp dword [rcx + 0x84], 0xe
jbe 0x140096cdb
cmp dword [rcx + 0xf8], 0
je 0x140096cdb
mov ecx, ebx
call fcn.140096ba4
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.140096e00
nop
cmp dword [rbp + 0x20], 0
je 0x140096d29
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140096c38
int3

Function at 0x140099cb8
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 [0x140143038]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140114a58]
mov rbp, rcx
call fcn.1400acb2c
xor edi, edi
test rax, rax
je 0x140099d9e
mov ebx, edi
call fcn.140099954
mov r14d, dword [rax]
call fcn.140099954
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14009f6c0
mov rsi, rax
test rax, rax
je 0x140099d2f
call fcn.140099954
mov dword [rax], r14d
jmp 0x140099d59
call fcn.140099954
cmp dword [rax], 0x22
jne 0x140099d96
call fcn.140099954
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14009f6c0
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140099d96
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140099d5d
cmp rax, 3
je 0x140099d78
mov rcx, rsi
call fcn.140099c14
test al, al
je 0x140099d89
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140099d89
mov dil, 1
mov rcx, rbx
call fcn.140026e40
mov al, dil
jmp 0x140099da0
mov rcx, rbx
call fcn.140026e40
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400843b0
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 0x14009a5dc
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140143038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14009a626
call fcn.140099974
mov dword [rax], 0xf
call fcn.140099954
mov dword [rax], 0xd
call fcn.14009c228
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400843b0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14009a631
lea eax, [rbx + 1]
jmp 0x14009a613
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 0x14009a611
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14009a613