joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063fc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401930c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14022dc20]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140064021
cmp byte [rbx + 0x4d4e], 0
jne 0x140064021
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140052000
test dil, 2
je 0x14006414f
jmp 0x1400640aa
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14017b15c]
mulss xmm1, dword [0x14017b14c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x14017b0b0]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.140052000
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140064100
lea r11, [0x140151cd0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400640e3
cmp byte [r8], r9b
jne 0x1400640e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400640d0
not ecx
call fcn.14005a410
test rax, rax
je 0x14006414f
cmp byte [rax + 0xbe], 0
je 0x14006414f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140052000
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14005cf70
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400f0fb0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140069f50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14022dc20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140069fb3
mov qword [rsp], rbx
lea rbx, [0x140151cd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140069f93
cmp byte [r8], r9b
jne 0x140069f93
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140069f80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140069fdf
cmp dword [r8 + 8], eax
je 0x140069fe6
add r8, 0x48
cmp r8, rcx
jne 0x140069fd0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140090630
Capabilities:
Get disk information
Get system information on windows
Hash data using fnv
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1401930c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov dword [rbp - 0x59], ebx
mov dword [rbp - 0x51], ebx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x59]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401797a0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140090831
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140090831
lea rax, [rbp - 0x55]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0xf]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140090831
mov edx, dword [rbp - 0x55]
xor r8d, r8d
lea rcx, [rbp - 0x11]
call fcn.14000c8f0
nop
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rax, qword [rbp - 0x11]
lea rcx, [rbp - 0x55]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140090828
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
movsx eax, byte [rcx]
mov ebx, 0x811c9dc5
test al, al
jne 0x140090757
mov edi, ebx
jmp 0x140090769
xor eax, ebx
imul edx, eax, 0x1000193
inc rcx
call fcn.1400025a0
mov edi, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
lea rcx, [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [rbp - 0x13]
movzx r8d, word [rbp - 0x15]
add edx, dword [rbp - 0x21]
add r8d, edx
add r8d, edi
add r8d, dword [rbp - 0x51]
add r8d, dword [rbp - 0x59]
lea r9, [rbp + 0x4c]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400907a0
lea r8, [rbp + 0x4c]
mov rdx, r9
lea rcx, [rbp + 0x17]
call fcn.140015e10
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
movsx eax, byte [rcx]
test al, al
je 0x140090801
xor eax, ebx
imul edx, eax, 0x1000193
inc rcx
call fcn.1400025a0
mov ebx, eax
mov dword [0x14022dc90], ebx
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x17]
call fcn.14000e640
nop
lea rcx, [rbp - 0x11]
call fcn.14000e640
mov al, 1
jmp 0x140090833
lea rcx, [rbp - 0x11]
call fcn.14000e640
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400f0fb0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140093f40
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x4a8], rbx
mov rax, qword [0x1401930c0]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov r15, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 8]
mov esi, 8
mov ecx, esi
mov rdi, r8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r12d, r12d
movabs r13, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140093fc0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14009403a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140093feb
mov rcx, r13
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400f1c40
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14009403a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r12
xor edx, edx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r12b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r12
jmp 0x14009403d
mov rbx, r12
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14009404a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140094062
inc rbx
test eax, eax
jne 0x140094050
test ecx, ecx
mov rcx, r14
je 0x140094099
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140093fb0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x438
mov rcx, r15
call fcn.140122d90
jmp 0x140094121
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
lea rax, [rbp]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rsi, 1
jne 0x1400940b0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, qword [rax + 0x30]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
mov rcx, rdi
call fcn.14000e640
mov rax, r15
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400f0fb0
mov rbx, qword [rbp + 0x4a8]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140094160
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x1401930c0]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400941e0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14009425a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14009420b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400f1c40
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14009425a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14009425d
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x14009426a
mov rcx, qword [rdi]
sub rcx, rbx
nop dword [rax]
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x140094282
inc rbx
test eax, eax
jne 0x140094270
mov rcx, rsi
test edx, edx
je 0x1400942b0
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400941d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14000e640
xor eax, eax
jmp 0x1400942c3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 8]
mov rcx, rdi
call fcn.14000e640
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400f0fb0
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
Function at 0x1400f1e30
Capabilities:
Parse pe header

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

Function at 0x140102428
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400f1c40
sub rsp, rax
mov rax, qword [0x1401930c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14010a14c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140102477
mov rax, rbp
jmp 0x14010257f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x22d3a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14010f19c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x22d3a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14010257b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010257b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14010f19c
test rax, rax
js 0x14010257b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14010257b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14010256d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14010256d
cmp byte [rcx], 0xd
jne 0x140102553
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140102562
cmp byte [rcx + 1], 0xa
jne 0x140102562
inc rcx
jmp 0x140102562
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1934e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140102535
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14010257f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400f0fb0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140107754
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140107544
Function at 0x14010cee4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14010cf16
call fcn.1400fd9cc
mov dword [rax], 0x16
call fcn.140101a18
jmp 0x14010d035
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14010d035
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14010d035
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14010cf45
lock or dword [rcx + 0x14], 0x10
jmp 0x14010d035
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14010cf59
call fcn.14010e4ac
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14010a14c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14010e9c4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14010d023
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14010cfee
mov rcx, rsi
call fcn.14010a14c
cmp eax, edi
je 0x14010cfd9
mov rcx, rsi
call fcn.14010a14c
cmp eax, 0xfffffffe
je 0x14010cfd9
mov rcx, rsi
call fcn.14010a14c
movsxd rbx, eax
lea r14, [0x14022d3a0]
mov rcx, rsi
sar rbx, 6
call fcn.14010a14c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14010cfe0
lea rdx, [0x140193490]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14010cfee
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14010d012
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14010d012
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14010d012
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14010d038
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14010e518
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14022d3a0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14010e576
cmp word [rdx], r12w
jne 0x14010e576
or byte [rax + r8*8 + 0x38], cl
jmp 0x14010e57c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14010e6d7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14010e6b2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14010e5b5
mov rcx, r9
jmp 0x14010e5d8
cmp r9, rdx
jae 0x14010e5ef
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14010e599
jmp 0x14010e6d7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010e6ac
cmp dword [rsp + 0x80], edi
je 0x14010e6ac
mov rdx, r14
lea r11, [0x14022d3a0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14010e685
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14010e658
mov word [rbx], r12w
jmp 0x14010e6d3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14010e661
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14010e6d3
cmp word [rsp + 0x70], r12w
jne 0x14010e692
cmp rbx, rsi
je 0x14010e652
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14010f1a4
cmp word [rsp + 0x70], r12w
je 0x14010e6d7
mov word [rbx], r13w
jmp 0x14010e6d3
lea r11, [0x14022d3a0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14010e6cf
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14010e6d7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401138e4
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 0x140113914
xor eax, eax
jmp 0x1401139d7
mov rbp, rbx
cmp word [rax], si
je 0x140113939
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140113920
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14011391c
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.140112068
movsxd r14, eax
test eax, eax
jne 0x140113977
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14011390d
mov rcx, r14
call fcn.14010d250
mov rdi, rax
test rax, rax
jne 0x140113990
xor ecx, ecx
call fcn.14010be1c
jmp 0x14011396c
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.140112068
test eax, eax
jne 0x1401139c1
mov rcx, rdi
call fcn.14010be1c
jmp 0x1401139cb
xor ecx, ecx
call fcn.14010be1c
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 0x14011a6ec
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.1400f92bc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14011a776
cmp byte [rbp - 0x21], r15b
je 0x14011a771
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14011a7ac
call fcn.14010c634
test eax, eax
jne 0x14011a798
cmp byte [rbp - 0x21], r15b
je 0x14011a790
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14011a7ac
cmp byte [rbp - 0x21], r15b
je 0x14011a7a9
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.140106c84
test eax, eax
jne 0x14011a84c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400f92bc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14011a7eb
cmp byte [rbp - 0x21], r15b
je 0x14011a820
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14011a820
call fcn.14010c634
test eax, eax
jne 0x14011a80c
cmp byte [rbp - 0x21], r15b
je 0x14011a805
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14011a820
cmp byte [rbp - 0x21], r15b
je 0x14011a81d
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.140106c84
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14011a84c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14011a84f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14011a85d
mov rcx, rdi
call fcn.14010be1c
cmp byte [rbp + 0x3f], r15b
je 0x14011a86c
mov rcx, qword [rbp + 0x27]
call fcn.14010be1c
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 0x14011b5b0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14010f1a4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14010f1a4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14011b700
cmp rax, 0xffffffffffffffff
je 0x14011b700
xor edi, edi
test rbp, rbp
jle 0x14011b6ab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14010c29c
mov rbx, rax
test rax, rax
jne 0x14011b638
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14011b6a1
mov edx, 0x8000
mov ecx, r14d
call fcn.1401085f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14010b8ac
cmp eax, 0xffffffff
je 0x14011b681
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14011b648
mov edx, r15d
mov ecx, r14d
call fcn.1401085f8
jmp 0x14011b6a1
cmp byte [rsi + 0x38], dil
je 0x14011b698
cmp dword [rsi + 0x34], 5
jne 0x14011b698
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14011b6a1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14010be1c
jmp 0x14011b714
jns 0x14011b714
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14010f1a4
cmp rax, 0xffffffffffffffff
jne 0x14011b6cc
cmp byte [rsi + 0x30], dil
je 0x14011b714
mov edi, dword [rsi + 0x2c]
jmp 0x14011b714
mov ecx, r14d
call fcn.140114604
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14011b714
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14011b714
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14011b70d
mov eax, dword [rsi + 0x2c]
jmp 0x14011b712
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14010f1a4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret