joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
loop case.0x14000ba02.0
invalid

Function at 0x182a22058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.182a221df
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 0x182a22089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x182a2206f
add dl, dl
jne 0x182a22096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x182a220f6
xor eax, eax
add dl, dl
jne 0x182a220a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x182a221ad
add dl, dl
jne 0x182a220b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x182a220c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x182a220d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x182a220dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x182a220ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x182a2207e
mov eax, 1
add dl, dl
jne 0x182a22106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x182a22113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x182a220fb
sub eax, ebx
mov ebx, 1
jne 0x182a2214c
mov ecx, 1
add dl, dl
jne 0x182a2212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x182a2213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x182a22123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x182a2207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x182a22168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x182a22175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x182a2215d
cmp eax, 0x7d00
jae 0x182a2219b
cmp eax, 0x500
jb 0x182a22196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x182a2207e
cmp eax, 0x7f
ja 0x182a2219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x182a2207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x182a221d2
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 0x182a2207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001940
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x180001ac2
test byte [r8 + 0x5e], 0x40
jne 0x18000196d
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx eax, word [rsi + 0x14]
lea rdx, [rsi + 0x18]
mov r8d, dword [r8 + 0xb0]
add rdx, rax
movzx eax, word [rsi + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x180001ac2
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1800019a6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1800019bd
add rdx, 0x28
cmp rdx, r9
jb 0x180001994
mov eax, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x180001ab8
cmp rbx, r15
jae 0x180001ab8
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x180001ab3
lea ecx, [rax - 8]
shr ecx, 1
je 0x180001aa7
lea r11, [rbx + 8]
mov edi, ecx
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x180001a32
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x180001a3e
cmp ax, 0xa
jne 0x180001a96
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x180001a8b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x180001a72
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x180001a7d
add rax, 0x28
cmp rax, r10
jb 0x180001a60
jmp 0x180001a8b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x180001a8e
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x180001a10
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x1800019f4
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
Function at 0x18000a900
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
xor ebp, ebp
mov ebx, ebp
mov dword [rsp + 0x50], ebp
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x18000a989
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x50]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x18000a940
test eax, eax
js 0x18000aa5d
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x18000aa5d
nop dword [rax + rax]
mov esi, edi
imul rax, rsi, 0x128
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
lea rdx, [rbx + 0x30]
add rdx, rcx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x18000a9e0
lea rcx, [rsp + 0x20]
call fcn.1800017e0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
lea rdx, [0x180052110]
call fcn.18001597c
test eax, eax
je 0x18000aa85
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18000aa53
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aa4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000aae1
call fcn.18000b108
inc edi
cmp edi, dword [rbx]
jb 0x18000a9a0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
imul rax, rsi, 0x128
mov rdi, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18000aadc
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000aad7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000aae1
call fcn.18000b108
mov rax, rdi
jmp 0x18000aa70
call fcn.1800112d8
int3
Function at 0x18001df2c
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 0x18001df5c
xor eax, eax
jmp 0x18001e01f
mov rbp, rbx
cmp word [rax], si
je 0x18001df81
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001df68
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001df64
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.18001de7c
movsxd r14, eax
test eax, eax
jne 0x18001dfbf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001df55
mov rcx, r14
call fcn.18001a070
mov rdi, rax
test rax, rax
jne 0x18001dfd8
xor ecx, ecx
call fcn.18001919c
jmp 0x18001dfb4
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.18001de7c
test eax, eax
jne 0x18001e009
mov rcx, rdi
call fcn.18001919c
jmp 0x18001e013
xor ecx, ecx
call fcn.18001919c
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 0x18001fde0
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 0x18001fe12
call fcn.180019104
mov dword [rax], 0x16
call fcn.1800112b8
jmp 0x18001ff31
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18001ff31
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18001ff31
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18001fe41
lock or dword [rcx + 0x14], 0x10
jmp 0x18001ff31
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x18001fe55
call fcn.1800204dc
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.18001b610
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1800209f4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x18001ff1f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x18001feea
mov rcx, rsi
call fcn.18001b610
cmp eax, edi
je 0x18001fed5
mov rcx, rsi
call fcn.18001b610
cmp eax, 0xfffffffe
je 0x18001fed5
mov rcx, rsi
call fcn.18001b610
movsxd rbx, eax
lea r14, [0x180069310]
mov rcx, rsi
sar rbx, 6
call fcn.18001b610
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x18001fedc
lea rdx, [0x1800592e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18001feea
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x18001ff0e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x18001ff0e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x18001ff0e
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 0x18001ff34
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 0x18002025c
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.18002d6a0
sub rsp, rax
mov rax, qword [0x180059010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18001b610
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800202ab
mov rax, rbp
jmp 0x1800203b3
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x69310]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800211cc
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x69310]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800203af
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 0x1800203af
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800211cc
test rax, rax
js 0x1800203af
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800203af
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800203a1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800203a1
cmp byte [rcx], 0xd
jne 0x180020387
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180020396
cmp byte [rcx + 1], 0xa
jne 0x180020396
inc rcx
jmp 0x180020396
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x59870]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180020369
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800203b3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18002d2c0
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 0x180020548
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, [0x180069310]
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 0x1800205a6
cmp word [rdx], r12w
jne 0x1800205a6
or byte [rax + r8*8 + 0x38], cl
jmp 0x1800205ac
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x180020707
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1800206e2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1800205e5
mov rcx, r9
jmp 0x180020608
cmp r9, rdx
jae 0x18002061f
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 0x1800205c9
jmp 0x180020707
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 0x1800206dc
cmp dword [rsp + 0x80], edi
je 0x1800206dc
mov rdx, r14
lea r11, [0x180069310]
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 0x1800206b5
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x180020688
mov word [rbx], r12w
jmp 0x180020703
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 0x180020691
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x180020703
cmp word [rsp + 0x70], r12w
jne 0x1800206c2
cmp rbx, rsi
je 0x180020682
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1800211d4
cmp word [rsp + 0x70], r12w
je 0x180020707
mov word [rbx], r13w
jmp 0x180020703
lea r11, [0x180069310]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1800206ff
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x180020707
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 0x180028074
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.1800158a4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1800280fe
cmp byte [rbp - 0x21], r15b
je 0x1800280f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x180028134
call fcn.1800194f8
test eax, eax
jne 0x180028120
cmp byte [rbp - 0x21], r15b
je 0x180028118
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x180028134
cmp byte [rbp - 0x21], r15b
je 0x180028131
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.18001c2f0
test eax, eax
jne 0x1800281d4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1800158a4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x180028173
cmp byte [rbp - 0x21], r15b
je 0x1800281a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800281a8
call fcn.1800194f8
test eax, eax
jne 0x180028194
cmp byte [rbp - 0x21], r15b
je 0x18002818d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1800281a8
cmp byte [rbp - 0x21], r15b
je 0x1800281a5
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.18001c2f0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800281d4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800281d7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800281e5
mov rcx, rdi
call fcn.18001919c
cmp byte [rbp + 0x3f], r15b
je 0x1800281f4
mov rcx, qword [rbp + 0x27]
call fcn.18001919c
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 0x1800320fc
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.1800211d4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800211d4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18003224c
cmp rax, 0xffffffffffffffff
je 0x18003224c
xor edi, edi
test rbp, rbp
jle 0x1800321f7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180019124
mov rbx, rax
test rax, rax
jne 0x180032184
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800321ed
mov edx, 0x8000
mov ecx, r14d
call fcn.180031f84
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.18001f6cc
cmp eax, 0xffffffff
je 0x1800321cd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180032194
mov edx, r15d
mov ecx, r14d
call fcn.180031f84
jmp 0x1800321ed
cmp byte [rsi + 0x38], dil
je 0x1800321e4
cmp dword [rsi + 0x34], 5
jne 0x1800321e4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800321ed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18001919c
jmp 0x180032260
jns 0x180032260
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800211d4
cmp rax, 0xffffffffffffffff
jne 0x180032218
cmp byte [rsi + 0x30], dil
je 0x180032260
mov edi, dword [rsi + 0x2c]
jmp 0x180032260
mov ecx, r14d
call fcn.180024df0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180032260
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 0x180032260
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180032259
mov eax, dword [rsi + 0x2c]
jmp 0x18003225e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800211d4
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 0x180032a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea rax, [r11 + 0x18]
mov qword [r11 - 0x78], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0xa0]
call fcn.18000b154
mov r15, rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r14d, dword [r15 + 0x10]
mov esi, r12d
test r14d, r14d
je 0x180032c7a
lea rdi, [r15 + 0x20]
mov edx, 0x200
mov r8d, 0x400
mov r9d, 0x800
movabs r13, 0x555555555555555
lea r10, [0x18006a9d8]
mov rbp, qword [0x18006a9d8]
movzx ecx, word [rdi - 0xa]
mov eax, dword [rdi]
mov ebx, eax
test dx, cx
je 0x180032b75
shl rbx, 8
jmp 0x180032b8b
test r8w, cx
je 0x180032b81
shl rbx, 0x10
jmp 0x180032b8b
test r9w, cx
je 0x180032b8b
shl rbx, 0x20
mov rax, qword [rbp + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r12d
mov rcx, rbp
cmp byte [rax + 0x19], 0
jne 0x180032bda
mov rdx, qword [rdi - 8]
nop word [rax + rax]
mov qword [rsp + 0x40], rax
cmp qword [rax + 0x20], rdx
jae 0x180032bc6
mov dword [rsp + 0x48], r12d
mov rax, qword [rax + 0x10]
jmp 0x180032bd4
mov dword [rsp + 0x48], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180032bb0
cmp byte [rcx + 0x19], 0
jne 0x180032bea
mov rax, qword [rcx + 0x20]
cmp qword [rdi - 8], rax
jae 0x180032c66
cmp qword [0x18006a9e0], r13
je 0x180032caa
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x38], r12
mov ecx, 0x30
call fcn.18000b110
mov r8, rax
mov rax, qword [rdi - 8]
mov qword [r8 + 0x20], rax
mov qword [r8 + 0x28], rbx
mov qword [r8], rbp
mov qword [r8 + 8], rbp
mov qword [r8 + 0x10], rbp
mov word [r8 + 0x18], 0
mov qword [rsp + 0x38], r12
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [0x18006a9d8]
call fcn.18000a4d0
mov rbp, qword [0x18006a9d8]
mov r8d, 0x400
mov r9d, 0x800
lea r10, [0x18006a9d8]
add rdi, 0x14
inc esi
cmp esi, r14d
mov edx, 0x200
jb 0x180032b62
mov rcx, r15
call fcn.18000b108
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180004cb0
int3
Function at 0x140002690
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14004e264], 0
lea rdi, [0x14004e260]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002768
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400026c0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000279e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002780
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400027df
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400027c3
cmp byte [r8], r9b
jne 0x1400027c3
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 [rdi + rdx*4]
test r9b, r9b
jne 0x1400027b0
not eax
pop rdi
ret