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

Disassembly:
cld
pop r11
jmp 0x14007aa1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14007aa2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14007aa15
lea eax, [rcx + 1]
jmp 0x14007aa3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007aa4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14007aa34
sub eax, 3
jb 0x14007aa6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007aabd
sar eax, 1
movsxd rbp, eax
jb 0x14007aaa4
jmp 0x14007aa7c
add ebx, ebx
jne 0x14007aa7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007aaa4
inc ecx
add ebx, ebx
jne 0x14007aa8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007aaa4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14007aa9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14007aa8c
add ecx, 2
jmp 0x14007aaa9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14007a9d2
jmp 0x14007aa1d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3de00
mov dl, 0x16
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14007ab0d
cmp rsi, rcx
jae 0x14007ab15
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14007aaf4
cmp al, 0x8f
ja 0x14007aaf4
cmp byte [rsi - 2], 0xf
je 0x14007aafa
sub al, 0xe8
cmp al, 1
ja 0x14007aade
cmp rsi, rcx
jae 0x14007ab15
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14007aae4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14007ab15
lodsb al, byte [rsi]
jmp 0x14007aaf4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x77000]
mov eax, dword [rdi]
or eax, eax
je 0x14007ab72
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7a1f0]
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 0x14007ab22
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 0x14007ab6c
mov qword [rbx], rax
add rbx, 8
jmp 0x14007ab42
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 0x14007abac
cmp al, 0xef
ja 0x14007ab9e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14007ab7e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14007ab8d
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 + 0x1a7]
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 0x14007ac00
sub rsp, 0xffffffffffffff80
jmp 0x140016750
Function at 0x140001070
Capabilities:
Execute command

Disassembly:
sub rsp, 0x38
mov ecx, 0xc8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x28], rax
mov ecx, 0xc8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.1400010d0
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call section..text
lea rcx, str.pause_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140001ad0
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x74541d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x74542d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x745415
lea eax, [rcx + 1]
jmp 0x74543b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x74544e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x745434
sub eax, 3
jb 0x74546e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x7454bd
sar eax, 1
movsxd rbp, eax
jb 0x7454a4
jmp 0x74547c
add ebx, ebx
jne 0x74547a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x7454a4
inc ecx
add ebx, ebx
jne 0x74548a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x7454a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x74549d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x74548c
add ecx, 2
jmp 0x7454a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.007453d2
jmp 0x74541d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xdc000
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x745509
cmp rsi, rcx
jae 0x745511
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x7454f0
cmp al, 0x8f
ja 0x7454f0
cmp byte [rsi - 2], 0xf
je 0x7454f6
sub al, 0xe8
cmp al, 1
ja 0x7454da
cmp rsi, rcx
jae 0x745511
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x7454e0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x745511
lodsb al, byte [rsi]
jmp 0x7454f0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x341000]
mov eax, dword [rdi]
or eax, eax
je 0x74556e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x345000]
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 0x74551e
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 0x745568
mov qword [rbx], rax
add rbx, 8
jmp 0x74553e
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 0x7455a8
cmp al, 0xef
ja 0x74559a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x74557a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x745589
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 0x7455fc
sub rsp, 0xffffffffffffff80
jmp 0x466340
Function at 0x140001ac0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a360
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a3a5
xor al, al
jmp 0x14000a3f2
cmp word [rbx], 0
je 0x14000a3bd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a3b0
cmp word [rsp + 0x30], 0
je 0x14000a3eb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a413
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a3d0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b580
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f690
int3
Function at 0x14000abb0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001ee60
sub rsp, rax
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002ed70]
lea rsi, [0x140031db0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac29
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a420
test al, al
je 0x14000ad0f
lea rcx, [rsp + 0x20]
call fcn.140013be8
movsxd r11, dword [0x14002ed70]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002ed70], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac64
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac54
add rax, 2
test ecx, ecx
jne 0x14000ac40
test edx, edx
je 0x14000ac87
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac34
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ac70
cmp rax, 2
jne 0x14000ac8b
cmp word [rdi + 2], 0x3a
jne 0x14000ac8b
mov al, 1
jmp 0x14000acee
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000acb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000acb8
mov bl, 1
jmp 0x14000acbc
test bl, bl
je 0x14000ace3
cmp dword [0x14002ed70], 0x400
jge 0x14000ace3
mov rcx, rdi
call fcn.140013be8
movsxd rdx, dword [0x14002ed70]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002ed70], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b580
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000aa50
int3
Function at 0x14000ae30
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002ed78]
test rcx, rcx
je 0x14000ae6b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae5e
mov rcx, qword [0x14002ed78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002ed78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140033dc8], 0
je 0x14000af5e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140028868]
mov qword [rsp + 0x80], rsi
lea rsi, [0x14002f5b0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af3f
test al, 0x10
je 0x14000af3f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aee5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000be88
Capabilities:
Parse pe header

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

Function at 0x14000f684
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f4e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f4e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f4e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f4e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f4e3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f4e3
cmp dword [rcx + 0xf8], 0
je 0x14000f4e3
mov ecx, ebx
call fcn.14000f5a0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f370
nop
cmp dword [rbp + 0x20], 0
je 0x14000f531
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f53c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f474
Function at 0x140018954
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 0x1400189db
mov rsi, rbx
cmp word [rax], bp
je 0x14001899a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018984
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018980
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016194
mov rdi, rax
test rax, rax
je 0x1400189c8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d450
mov rbp, rdi
xor ecx, ecx
call fcn.1400152c4
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 0x14001ed70
Capabilities:
Parse pe header

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

Function at 0x1400012b0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x1400012bb
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x1400012c6
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0xc7
syscall
ret

Function at 0x1400012d1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 4
syscall
ret
Function at 0x140002f44
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13d0
call fcn.1401dce70
sub rsp, rax
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140002f83
imul rax, rax, 0x64
jmp 0x140002fa1
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
or dword [rsp + 0x13b4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x34], eax
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, r8
jb 0x140002fb8
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40000
call fcn.14000c504
movsx ecx, ax
test ecx, ecx
je 0x140003032
sub ecx, 1
je 0x140003029
sub ecx, 1
je 0x140003020
sub ecx, 1
je 0x140003017
cmp ecx, 1
je 0x14000300e
xor eax, eax
jmp 0x140003039
lea rax, [0x14043b0a8]
jmp 0x140003039
lea rax, [0x14043b0c8]
jmp 0x140003039
lea rax, [0x14043b078]
jmp 0x140003039
lea rax, [0x14043b098]
jmp 0x140003039
lea rax, [0x14043b048]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1401dc200
add rsp, 0x13d0
pop rbx
ret
Function at 0x14000393c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, qword [rcx + 0x50]
movabs rax, 0x6666666666666667
mov rbx, qword [rcx + 0x48]
mov rdx, rbp
sub rdx, rbx
mov rdi, rcx
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1400039fe
xor al, al
jmp 0x140003a1f
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov rcx, qword [rbx]
mov r8d, 0x40
and dword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003a5d
mov ecx, dword [rbx + 8]
call fcn.140003388
mov rsi, rax
test rax, rax
je 0x1400039e0
mov r8d, dword [rbx + 8]
mov rdx, rax
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003a41
add rbx, 0x28
cmp rbx, rbp
jne 0x140003994
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
cmp rcx, rdx
je 0x140003a1d
call fcn.14000d344
mov rax, qword [rdi + 0x48]
mov qword [rdi + 0x50], rax
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dc200
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.140001534
lea rdx, [0x14045a9e8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
call fcn.14000161c
lea rdx, [0x14045a770]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140003a88
Capabilities:
Allocate or change rwx memory
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x12e8]
mov eax, 0x13e0
call fcn.1401dce70
sub rsp, rax
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rbp + 0x12d0], rax
xor esi, esi
mov rdi, rcx
mov dword [rsp + 0x3c], esi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140003ae4
imul rax, rax, 0x64
jmp 0x140003b02
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
or dword [rbp + 0x12c4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x44], eax
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, r8
jb 0x140003b18
mov rbx, qword [rdi + 0x10]
lea r9, [rsp + 0x3c]
mov dword [rsp + 0x40], r8d
mov rcx, rbx
mov r8d, 4
mov dword [rsp + 0x38], 0xffff0000
movsxd rdx, dword [rbx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003ca4
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 2], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 8], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 6], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x16], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x12], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x14], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x18], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0xc], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0xa], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x24], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x26], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x1a], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
lea rdx, [rsp + 0x40]
mov word [rbx + 0x10], ax
lea rcx, [rsp + 0x38]
call fcn.14000c5b0
movsxd r8, dword [rbx + 0x3c]
xor edx, edx
mov word [rbx + 0xe], ax
sub r8, 0x40
mov rcx, qword [rdi + 0x10]
add rcx, 0x40
call fcn.1401dd2b6
movsxd rdx, dword [rbx + 0x3c]
lea r9, [rsp + 0x3c]
mov rcx, qword [rdi + 0x10]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003ccc
mov al, 1
mov rcx, qword [rbp + 0x12d0]
xor rcx, rsp
call fcn.1401dc200
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140001534
lea rdx, [0x14045a9e8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400056cc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x3a0
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x40], 0x348
xor ebx, ebx
xor edx, edx
xor r9d, r9d
lea r8, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x14000576d
test byte [rsp + 0x184], 1
je 0x140005744
lea rdx, [rsp + 0x84]
lea rcx, [rsp + 0x20]
call fcn.14000b7b0
nop
cmp qword [rsp + 0x30], 0
je 0x14000573a
lea rcx, [rsp + 0x20]
call fcn.140005044
test al, al
jne 0x14000574a
lea rcx, [rsp + 0x20]
call fcn.14000c01c
inc ebx
mov edx, ebx
jmp 0x1400056f3
lea rcx, [rsp + 0x20]
call fcn.14000c01c
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1401dc200
add rsp, 0x3a0
pop rbx
ret
mov ecx, 0x66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3