joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026760
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov r9, qword [rcx + 0x18]
cmp rbx, 0x20
jb 0x14002683d
mov rdx, qword [rcx + 8]
mov r11, r9
mov r8, qword [rcx + 0x10]
mov rax, rdx
mov r10, qword [rcx + 0x20]
rol r11, 0xc
rol rax, 1
add r11, rax
mov qword [rsp + 0x30], rsi
movabs rsi, 0x9e3779b185ebca87
mov qword [rsp + 0x38], rdi
movabs rdi, 0xc2b2ae3d27d4eb4f
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r9, rdi
imul r8, rdi
imul r10, rdi
mov rdi, qword [rsp + 0x38]
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
imul rdx, rsi
movabs rax, 0x7a1435883d4d519d
rol r9, 0x1f
xor r11, rdx
rol r8, 0x1f
imul r11, rsi
imul r9, rsi
imul r8, rsi
sub r11, rax
rol r10, 0x1f
imul r10, rsi
xor r11, r8
imul r11, rsi
sub r11, rax
xor r11, r9
movabs r9, 0x85ebca77c2b2ae63
imul r11, rsi
sub r11, rax
xor r11, r10
imul r11, rsi
mov rsi, qword [rsp + 0x30]
add r9, r11
jmp 0x14002684a
movabs rdx, 0x27d4eb2f165667c5
add r9, rdx
add r9, rbx
lea rdx, [rcx + 0x28]
mov rcx, r9
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400264a0

Function at 0x14002d794
Capabilities:
Parse pe header

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

Function at 0x140033e04
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140067040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140050740]
mov rbp, rcx
call fcn.14003d094
xor edi, edi
test rax, rax
je 0x140033eea
mov ebx, edi
call fcn.1400335c8
mov r14d, dword [rax]
call fcn.1400335c8
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14003cfe0
mov rsi, rax
test rax, rax
je 0x140033e7b
call fcn.1400335c8
mov dword [rax], r14d
jmp 0x140033ea5
call fcn.1400335c8
cmp dword [rax], 0x22
jne 0x140033ee2
call fcn.1400335c8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14003cfe0
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140033ee2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140033ea9
cmp rax, 3
je 0x140033ec4
mov rcx, rsi
call fcn.140033d60
test al, al
je 0x140033ed5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140033ed5
mov dil, 1
mov rcx, rbx
call fcn.1400335e8
mov al, dil
jmp 0x140033eec
mov rcx, rbx
call fcn.1400335e8
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002d030
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140034430
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140034450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003353c
or eax, 0xffffffff
jmp 0x140034452
xor eax, eax
add rsp, 0x28
ret

Function at 0x140034614
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140034634
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003353c
or eax, 0xffffffff
jmp 0x140034636
xor eax, eax
add rsp, 0x28
ret

Function at 0x140034d98
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.14004bb00
sub rsp, rax
mov rax, qword [0x140067040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140038ad0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140034de7
mov rax, rbp
jmp 0x140034eef
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 + 0x68bc0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14003f2b8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x68bc0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140034eeb
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 0x140034eeb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14003f2b8
test rax, rax
js 0x140034eeb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140034eeb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140034edd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140034edd
cmp byte [rcx], 0xd
jne 0x140034ec3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140034ed2
cmp byte [rcx + 1], 0xa
jne 0x140034ed2
inc rcx
jmp 0x140034ed2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x67390]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140034ea5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140034eef
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002d030
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 0x140036088
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 0x140035ef3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140035ef3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140035ef3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140035ef3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140035ef3
cmp dword [rcx + 0x84], 0xe
jbe 0x140035ef3
cmp dword [rcx + 0xf8], 0
je 0x140035ef3
mov ecx, ebx
call fcn.140035fa4
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.140035d80
nop
cmp dword [rbp + 0x20], 0
je 0x140035f41
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140035f4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140035e84
Function at 0x14003ef08
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003ef1e
mov al, 1
jmp 0x14003ef7e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003ef2f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003ef7c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003d7c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003ef7c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003ef7c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003ef7c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003ef7e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14003f364
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, [0x140068bc0]
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 0x14003f3bb
cmp word [rdx], r13w
jne 0x14003f3bb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14003f3c0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14003f4e5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14003f506
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14003f3f9
mov rdx, r9
mov word [rbx], cx
jmp 0x14003f420
cmp r9, r8
jae 0x14003f430
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 0x14003f3da
jmp 0x14003f4e5
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 0x14003f4da
cmp dword [rsp + 0x80], esi
je 0x14003f4da
lea r8, [0x140068bc0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14003f4b2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14003f482
mov word [rbx], r13w
jmp 0x14003f4e2
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 0x14003f48f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14003f4e2
cmp word [rsp + 0x70], r13w
jne 0x14003f4bf
cmp rbx, r14
je 0x14003f47c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14003f2c0
cmp word [rsp + 0x70], r13w
je 0x14003f4e5
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, [0x140068bc0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14003f4df
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14003f4e5
Function at 0x1400418a0
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 0x140041927
mov rsi, rbx
cmp word [rax], bp
je 0x1400418e6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400418d0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400418cc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003aa14
mov rdi, rax
test rax, rax
je 0x140041914
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14004c350
mov rbp, rdi
xor ecx, ecx
call fcn.140039c20
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 0x140044a94
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.14003c494
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 0x140044b35
cmp ebx, dword [rsp + 0x30]
je 0x140044b2e
test esi, esi
je 0x140044b2e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140044b09
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140044b16
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140044af3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140044b1a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140044b37
mov eax, 1
jmp 0x140044b37
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140047560
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140067040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400475aa
call fcn.1400335a8
mov dword [rax], 0xf
call fcn.1400335c8
mov dword [rax], 0xd
call fcn.140039b40
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14002d030
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400475b5
lea eax, [rbx + 1]
jmp 0x140047597
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140047595
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140047597
Function at 0x14004ab24
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.14003f2c0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14003f2c0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14004ac74
cmp rax, 0xffffffffffffffff
je 0x14004ac74
xor edi, edi
test rbp, rbp
jle 0x14004ac1f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140039ba8
mov rbx, rax
test rax, rax
jne 0x14004abac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14004ac15
mov edx, 0x8000
mov ecx, r14d
call fcn.140036adc
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.14003e668
cmp eax, 0xffffffff
je 0x14004abf5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14004abbc
mov edx, r15d
mov ecx, r14d
call fcn.140036adc
jmp 0x14004ac15
cmp byte [rsi + 0x38], dil
je 0x14004ac0c
cmp dword [rsi + 0x34], 5
jne 0x14004ac0c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14004ac15
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140039c20
jmp 0x14004ac88
jns 0x14004ac88
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14003f2c0
cmp rax, 0xffffffffffffffff
jne 0x14004ac40
cmp byte [rsi + 0x30], dil
je 0x14004ac88
mov edi, dword [rsi + 0x2c]
jmp 0x14004ac88
mov ecx, r14d
call fcn.14003d7c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004ac88
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 0x14004ac88
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14004ac81
mov eax, dword [rsi + 0x2c]
jmp 0x14004ac86
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14003f2c0
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 0x14004ba10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14004ba38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14004ba38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800026b0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800026e2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800026e2
nop word cs:[rax + rax]
jmp 0x1800026e0
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r11, [rcx - 1]
xor eax, eax
mov r14, r10
mov r14, qword [r14]
cmp r14, r10
je 0x1800027db
mov rsi, r11
test r8b, r8b
je 0x1800027c0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002750
sub rsi, rcx
je 0x1800027d2
test r9b, r9b
je 0x1800027d0
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800027b0
test ebp, ebp
jne 0x1800027b0
add rbx, 1
cmp rsi, rbx
jne 0x180002770
jmp 0x1800027d7
test ebp, ebp
jne 0x18000273c
jmp 0x1800027d7
jmp 0x1800027c0
jmp 0x1800027d0
test r9b, r9b
je 0x1800027f0
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800027f0

Function at 0x180001000
Capabilities:
Get process image filename

Disassembly:
sub rsp, 0x148
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp edx, 1
jne 0x180001072
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathStripPathA]
xor r9d, r9d
lea r8, str.Attached_to_process
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800010a0
add rsp, 0x148
ret
Function at 0x180002ae0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x180002b12
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002b12
nop word cs:[rax + rax]
jmp 0x180002b10
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
mov edx, dword [0x180020a94]
lea edi, [rdx - 1]
imul edi, edx
test dil, 1
sete dl
cmp dword [0x180020a98], 0xa
setl r9b
mov r14, qword [rbx + 0x10]
lea r10, [rbx + 0x10]
cmp r14, r10
je 0x180002c08
or r8b, al
or r9b, dl
lea r11, [rcx - 1]
xor eax, eax
mov rsi, r11
test r8b, r8b
je 0x180002bf0
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002b80
test r9b, r9b
je 0x180002c00
sub rsi, rcx
je 0x180002c02
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx edx, word [r15 + rbx*2]
movsx r13d, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
lea r12d, [r13 - 0x41]
lea edi, [r13 + 0x20]
cmp r12b, 0x1a
cmovae edi, r13d
cmp ebp, edi
jne 0x180002bdd
test dx, dx
je 0x180002c02
add rbx, 1
cmp rsi, rbx
jne 0x180002ba0
jmp 0x180002c02
mov r14, qword [r14]
cmp r14, r10
jne 0x180002b77
jmp 0x180002c0a
jmp 0x180002bf0
jmp 0x180002c00
mov rax, qword [r14 + 0x30]
jmp 0x180002c0a
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400041a0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
lea rdi, [rcx + 0x10]
mov qword [rsp + 0x40], rdi
mov rcx, qword [rdi]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 7
jb 0x140004388
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400041f7
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, str.mkdir__
lea rcx, [rsp + 0x48]
call fcn.14000a530
nop
mov r8d, 1
lea rdx, [0x14000e718]
lea rcx, [rsp + 0x48]
call fcn.140008f10
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x80], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400042ae
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bf54
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0xf
cmova rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x14000430c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004306
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004306
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bf54
nop
jmp 0x140004318
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000434e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004349
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004381
mov rcx, r8
call fcn.14000bf54
mov qword [rdi], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14000b940
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400011d0
nop
int3
Function at 0x140004740
Capabilities:
Execute command

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 0x11
jb 0x1400048a5
cmp qword [rcx + 0x18], 0xf
jbe 0x14000477e
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x11
lea r9, str.taskkill__F__IM__
lea rcx, [rsp + 0x48]
call fcn.14000a530
nop
mov r8d, 5
lea rdx, str.___T
lea rcx, [rsp + 0x48]
call fcn.140008f10
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000482f
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000482a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000482a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bf54
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x14000488d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004887
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004887
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bf54
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14000b940
add rsp, 0x98
ret
call fcn.1400011d0
nop
int3
Function at 0x14000b1fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000b236
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000b23b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000b284
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000e410]
cmp byte [rcx + rax], 0
je 0x14000b284
dec r8
sub rdx, 1
jne 0x14000b26a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000c6f4
Capabilities:
Parse pe header

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