joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059410
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14005952c
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140059568
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140059570
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
and dil, al
mov byte [r8 + 0x16], dil
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140059562
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140059574
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x14005955b
xor r10d, r10d
jmp 0x14005946f
xor eax, eax
jmp 0x140059504
cmp byte [r8 + 0x1a], 0
je 0x14005955f
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14005955f
cmp ecx, 0x666f736f
jne 0x14005955f
cmp edx, 0x76482074
jne 0x14005955f
mov byte [r8 + 0x19], 1
jmp 0x14005955f
Function at 0x140063b20
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 0x140063bb8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x140063b83
call fcn.14006dcf0
mov rcx, qword [rsi]
call fcn.14006f520
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140063b95
mov qword [rsi], rdi
call fcn.14006dcf0
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 0x140063bbc
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 8], 0
int3
Function at 0x14006f550
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401336e8]
mov ecx, dword [0x14012fdc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006f5b0
mov rsi, qword [0x1401336e0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140087020
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401336e8]
call fcn.140085c50
cmp dword [0x1401336e8], 0xffffffff
jne 0x14006f58c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140089170
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140085af8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140133730]
mov ecx, dword [0x14012fdc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006f670
lea r8, [0x140133700]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140039360
mov qword [0x1401336e0], rsi
lea rcx, [0x1401336e8]
call fcn.140085ce8
jmp 0x14006f58c
lea rcx, [0x140133730]
call fcn.140085c50
cmp dword [0x140133730], 0xffffffff
jne 0x14006f641
xorps xmm0, xmm0
movups xmmword [0x140133720], xmm0
movups xmmword [0x140133710], xmm0
movups xmmword [0x140133700], xmm0
lea rcx, [0x140133700]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140133730]
call fcn.140085ce8
jmp 0x14006f641

Function at 0x1400704c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1400fc100]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x97
call fcn.14006dcd0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14006dd00
test esi, esi
js 0x1400705c6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14007de80
test al, al
jne 0x1400705cd
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.14007e1e0
lea rcx, [rsp + 0x50]
call fcn.14006dd80
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140087020
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14007059b
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1400e0110
jmp 0x140070560
Function at 0x1400705f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140070490
mov qword [rsi], 0
test rax, rax
je 0x140070657
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14007063d
call fcn.14006dcf0
mov rcx, qword [rsi]
call fcn.14006f520
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14007064f
mov qword [rsi], rbx
call fcn.14006dcf0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140069bd0
lea rcx, [rsi + 0x20]
call fcn.14007dea0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400817c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x1400817fc
je 0x1400817fb
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x14010d680]
nop word [rax + rax]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x1400817e0
ret
int3
Function at 0x140083400
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140056be0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140136b68]
lea rdx, [0x140056a80]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140083494
cmp dword [0x140136b70], 0
jne 0x140083490
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140136b74]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140083490
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140087020
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140083478
call fcn.14009e900
int3

Function at 0x140086324
Capabilities:
Parse pe header

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

Function at 0x140086840
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 0x1400868b8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400868b8
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 0x1400868b8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400868ac
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400868ca
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14008689a
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 0x1400868ba
Function at 0x1400995e8
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 0x14009961f
call fcn.14009c644
mov dword [rax], 0x16
call fcn.14009e9a8
xor eax, eax
jmp 0x1400996ad
mov rdx, r9
mov rcx, r8
call fcn.1400996d0
mov rbx, rax
test rax, rax
je 0x1400996aa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140099740]
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 0x140099697
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009c684
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009967e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009968d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14006d0d0
jmp 0x1400996aa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400996a7
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 0x14009c9a8
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 [0x140121038]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1400f1a38]
mov rbp, rcx
call fcn.1400ae85c
xor edi, edi
test rax, rax
je 0x14009ca8e
mov ebx, edi
call fcn.14009c644
mov r14d, dword [rax]
call fcn.14009c644
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400a1270
mov rsi, rax
test rax, rax
je 0x14009ca1f
call fcn.14009c644
mov dword [rax], r14d
jmp 0x14009ca49
call fcn.14009c644
cmp dword [rax], 0x22
jne 0x14009ca86
call fcn.14009c644
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400a1270
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14009ca86
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14009ca4d
cmp rax, 3
je 0x14009ca68
mov rcx, rsi
call fcn.14009c904
test al, al
je 0x14009ca79
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14009ca79
mov dil, 1
mov rcx, rbx
call fcn.14006d0d0
mov al, dil
jmp 0x14009ca90
mov rcx, rbx
call fcn.14006d0d0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140087020
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 0x1400a5fc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a5fe8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a5fe8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400b0018
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400a9b64
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400b00b9
cmp ebx, dword [rsp + 0x30]
je 0x1400b00b2
test esi, esi
je 0x1400b00b2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400b008d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400b009a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400b0077
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400b009e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400b00bb
mov eax, 1
jmp 0x1400b00bb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b10dc
Capabilities:
Query environment variable

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
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400b110c
xor eax, eax
jmp 0x1400b11cf
mov rbp, rbx
cmp word [rax], si
je 0x1400b1131
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b1118
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b1114
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400b0ffc
movsxd r14, eax
test eax, eax
jne 0x1400b116f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b1105
mov rcx, r14
call fcn.1400358f0
mov rdi, rax
test rax, rax
jne 0x1400b1188
xor ecx, ecx
call fcn.14006d0d0
jmp 0x1400b1164
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400b0ffc
test eax, eax
jne 0x1400b11b9
mov rcx, rdi
call fcn.14006d0d0
jmp 0x1400b11c3
xor ecx, ecx
call fcn.14006d0d0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400b11ec
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
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400b1273
mov rsi, rbx
cmp word [rax], bp
je 0x1400b1232
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b121c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b1218
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400358f0
mov rdi, rax
test rax, rax
je 0x1400b1260
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140088ac0
mov rbp, rdi
xor ecx, ecx
call fcn.14006d0d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b44ec
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400b4536
call fcn.14009c664
mov dword [rax], 0xf
call fcn.14009c644
mov dword [rax], 0xd
call fcn.14009e9a8
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140087020
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400b4541
lea eax, [rbx + 1]
jmp 0x1400b4523
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 0x1400b4521
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400b4523

Function at 0x1400b4b0c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b4b22
mov al, 1
jmp 0x1400b4b82
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b4b33
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b4b80
mov ecx, dword [rcx + 0x18]
nop
call fcn.14009cedc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b4b80
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b4b80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b4b80
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b4b82
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400b85d8
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140093e54
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400b8662
cmp byte [rbp - 0x21], r15b
je 0x1400b865d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400b8698
call fcn.1400aa334
test eax, eax
jne 0x1400b8684
cmp byte [rbp - 0x21], r15b
je 0x1400b867c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400b8698
cmp byte [rbp - 0x21], r15b
je 0x1400b8695
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14009946c
test eax, eax
jne 0x1400b8738
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140093e54
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400b86d7
cmp byte [rbp - 0x21], r15b
je 0x1400b870c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400b870c
call fcn.1400aa334
test eax, eax
jne 0x1400b86f8
cmp byte [rbp - 0x21], r15b
je 0x1400b86f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400b870c
cmp byte [rbp - 0x21], r15b
je 0x1400b8709
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14009946c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400b8738
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400b873b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400b8749
mov rcx, rdi
call fcn.14006d0d0
cmp byte [rbp + 0x3f], r15b
je 0x1400b8758
mov rcx, qword [rbp + 0x27]
call fcn.14006d0d0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400d4b10
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx ebp, word [rcx + 0x28]
movzx esi, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov word [rsp + 0x46], ax
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140089170
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.14002a0e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d4c15
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400d4c15
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x1400d4c15
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.140065400
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140087020
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140089170
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.14002a0e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d4c96
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400d4c96
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400d4bdf
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140089170
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.14002a0e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d4d17
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400d4d17
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400d4bdf
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140089170
movzx eax, word [rsp + 0x46]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.14002a0e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400d4d9c
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400d4d9c
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400d4bdf
xor esi, esi
jmp 0x1400d4bef