joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140131d30
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x140181180]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x60], 0x1a
jbe 0x140131dfd
call fcn.1400e5ba0
mov dword [rax], reloc.WS2_32.dll_ntohs
xor eax, eax
test eax, eax
je 0x140131d6d
mov dword [rsp + 0x34], 1
jmp 0x140131d75
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140131dbe
lea rax, str.__Invalid_Drive_Index___0_
mov qword [rsp + 0x28], rax
lea rax, [0x140148850]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, Ordinal_33
lea rdx, str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
mov ecx, 2
call fcn.1400c9910
cmp eax, 1
jne 0x140131dbe
int3
cmp dword [rsp + 0x38], 0
jne 0x140131dfd
call fcn.1400e5bd0
mov dword [rax], reloc.WS2_32.dll_listen
mov qword [rsp + 0x20], 0
mov r9d, Ordinal_33
lea r8, str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
lea rdx, str.is_valid_drive
lea rcx, str.__Invalid_Drive_Index___0_
call fcn.1400ca770
xor eax, eax
jmp 0x140131e62
cmp dword [rsp + 0x60], 0
jne 0x140131e0b
mov eax, 1
jmp 0x140131e62
mov eax, dword [rsp + 0x60]
add eax, 0x40
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x40], ax
mov eax, Ordinal_60
mov word [rsp + 0x42], ax
mov eax, 0x5c
mov word [rsp + 0x44], ax
xor eax, eax
mov word [rsp + 0x46], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x140131e59
cmp dword [rsp + 0x3c], 1
jne 0x140131e5d
xor eax, eax
jmp 0x140131e62
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400bc780
add rsp, 0x58
ret

Function at 0x140132b90
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400e8f80
lea rcx, [rsp + 0x48]
call fcn.1400e8f80
call fcn.1400e9250
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400e8290
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140132bff
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400e9000
lea rcx, [rsp + 0x78]
call fcn.1400e9000
mov eax, dword [rsp + 0x24]
jmp 0x140132c90
call fcn.1400e9250
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400e8290
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140132c46
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400e9000
lea rcx, [rsp + 0x78]
call fcn.1400e9000
mov eax, dword [rsp + 0x2c]
jmp 0x140132c90
lea rcx, [rsp + 0x48]
call fcn.1400e96c0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400e96c0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400e9000
lea rcx, [rsp + 0x78]
call fcn.1400e9000
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x18000454c
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18000457a
xor eax, eax
jmp 0x180004660
cmp qword [rcx + 0x68], 0
je 0x18000458b
call fcn.18000467c
jmp 0x180004660
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800045a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800045a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800045d6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180006ac0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18000465a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18000460d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x180004636
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.18000d0d8
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18000465a
cmp rsi, rbx
ja 0x180004614
test rsi, rsi
je 0x18000465a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18000d0d8
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800176ac
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.180006100
sub rsp, rax
mov rax, qword [0x180036068]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180016018
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800176fb
mov rax, rbp
jmp 0x180017803
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 + 0x382f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800187cc
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x382f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800177ff
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 0x1800177ff
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800187cc
test rax, rax
js 0x1800177ff
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800177ff
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800177f1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800177f1
cmp byte [rcx], 0xd
jne 0x1800177d7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800177e6
cmp byte [rcx + 1], 0xa
jne 0x1800177e6
inc rcx
jmp 0x1800177e6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x36470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800177b9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180017803
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800060d0
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 0x180017a24
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180017a3a
mov al, 1
jmp 0x180017a9a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180017a4b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180017a98
mov ecx, dword [rcx + 0x18]
nop
call fcn.18001fb84
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180017a98
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180017a98
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180017a98
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180017a9a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180017b6c
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, [0x1800382f0]
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 0x180017bc3
cmp word [rdx], r13w
jne 0x180017bc3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180017bc8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180017ced
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180017d0e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180017c01
mov rdx, r9
mov word [rbx], cx
jmp 0x180017c28
cmp r9, r8
jae 0x180017c38
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 0x180017be2
jmp 0x180017ced
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 0x180017ce2
cmp dword [rsp + 0x80], esi
je 0x180017ce2
lea r8, [0x1800382f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180017cba
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180017c8a
mov word [rbx], r13w
jmp 0x180017cea
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 0x180017c97
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180017cea
cmp word [rsp + 0x70], r13w
jne 0x180017cc7
cmp rbx, r14
je 0x180017c84
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800187d4
cmp word [rsp + 0x70], r13w
je 0x180017ced
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, [0x1800382f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180017ce7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180017ced
Function at 0x18001c84c
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 0x18001c87c
xor eax, eax
jmp 0x18001c93f
mov rbp, rbx
cmp word [rax], si
je 0x18001c8a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001c888
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001c884
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.18001af34
movsxd r14, eax
test eax, eax
jne 0x18001c8df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001c875
mov rcx, r14
call fcn.180018a38
mov rdi, rax
test rax, rax
jne 0x18001c8f8
xor ecx, ecx
call fcn.180015310
jmp 0x18001c8d4
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.18001af34
test eax, eax
jne 0x18001c929
mov rcx, rdi
call fcn.180015310
jmp 0x18001c933
xor ecx, ecx
call fcn.180015310
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 0x18001f190
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.1800136b8
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 0x18001f231
cmp ebx, dword [rsp + 0x30]
je 0x18001f22a
test esi, esi
je 0x18001f22a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18001f205
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18001f212
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18001f1ef
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18001f216
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18001f233
mov eax, 1
jmp 0x18001f233
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180022574
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.1800187d4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800187d4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800226c4
cmp rax, 0xffffffffffffffff
je 0x1800226c4
xor edi, edi
test rbp, rbp
jle 0x18002266f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180015298
mov rbx, rax
test rax, rax
jne 0x1800225fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180022665
mov edx, 0x8000
mov ecx, r14d
call fcn.1800223f8
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.180016f24
cmp eax, 0xffffffff
je 0x180022645
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18002260c
mov edx, r15d
mov ecx, r14d
call fcn.1800223f8
jmp 0x180022665
cmp byte [rsi + 0x38], dil
je 0x18002265c
cmp dword [rsi + 0x34], 5
jne 0x18002265c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180022665
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180015310
jmp 0x1800226d8
jns 0x1800226d8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800187d4
cmp rax, 0xffffffffffffffff
jne 0x180022690
cmp byte [rsi + 0x30], dil
je 0x1800226d8
mov edi, dword [rsi + 0x2c]
jmp 0x1800226d8
mov ecx, r14d
call fcn.18001fb84
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800226d8
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 0x1800226d8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800226d1
mov eax, dword [rsi + 0x2c]
jmp 0x1800226d6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800187d4
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 0x14000119c
Capabilities:
Create directory

Disassembly:
add byte [rax], al
add byte [rax], al
sub rsp, 0x58
mov eax, 0x3bf255f0
mov rcx, qword [rsp + 0x48]
and al, 0x48
mov dword [rsp + 0x3c], 0x2fe6135
mov edx, dword [rsp + 0x3c]
cmp eax, edx
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x30], rcx
xor byte [rdx + 0x45], dh
mov rax, qword [sym.imp.USER32.dll_GetDoubleClickTime]

Function at 0x1400011b4
Capabilities:
Create directory

Disassembly:
xor byte [rdx + 0x45], dh
jmp 0x14000120b
mov eax, 0x4963226b
mov ecx, eax
mov eax, dword [rsp + 0x38]
and al, 0x38

Function at 0x1400011c4
Capabilities:
Create directory

Disassembly:
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x65
add bh, bh
ror byte [rax - 0x73], 1
or eax, 0x24103
mov rax, qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
call rax
mov rcx, qword [sym.imp.KERNEL32.dll_GetLastError]
js 0x14000122c
add byte [rax], al
invalid
invalid
invalid
push rsp

Function at 0x140001238
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x48], rdx
mov rdx, qword [rsp + 0x40]
and al, 0x40

Function at 0x14000123c
Capabilities:
Create directory

Disassembly:
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x65
add bh, bh
ror byte [rax - 0x73], 1
or eax, 0x24103
mov rax, qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
call rax
mov rcx, qword [sym.imp.KERNEL32.dll_GetLastError]
js 0x14000122c
add byte [rax], al
invalid
invalid
invalid
push rsp

Function at 0x140001240
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x48], rdx
mov rdx, qword [rsp + 0x40]
and al, 0x40

Function at 0x140001250
Capabilities:
Create directory

Disassembly:
imul eax, dword [rcx - 0x77], 0x4c542444
mov eax, dword [rsp + 0x20]
and al, 0x20
cmp r8, rdx
ja 0x1400011b9

Function at 0x140001274
Capabilities:
Terminate process

Disassembly:
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
rol byte [rbx + 0x107304f8], 1

Function at 0x1400012a0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x2a8
xor eax, eax
mov ecx, eax
invalid
invalid
xchg esp, eax
and al, 0x80
add byte [rax], al

Function at 0x1400012c8
Capabilities:
Terminate process

Disassembly:
and al, 0x88
add al, byte [rax]
add byte [rdi], dl
retf 0x943
invalid

Function at 0x1400012d0
Capabilities:
Terminate process

Disassembly:
and al, 0x88
add al, byte [rax]
add byte [rdi], dl
retf 0x943
invalid

Function at 0x1400012d4
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x7c], 0xffffffff
mov r10, qword [rsp + 0x298]
cwde
add al, byte [rax]
invalid

Function at 0x1400012e4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x298], 0x2921e42d

Function at 0x1400012f4
Capabilities:
Terminate process

Disassembly:
add byte [r8], r8b
xor eax, eax
mov esi, eax
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x70], ecx
Function at 0x140001324
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
call r11
call rbx
mov edi, 0x200
mov rcx, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x200
mov qword [rsp + 0x48], rcx
mov rcx, rax
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
and al, 0x48
mov dword [rsp + 0x44], edi
call rax
lea rcx, [rsp + 0x7c]
mov rdx, qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
lea r9, [rsp + 0x7c]
mov r10, qword [rsp + 0x60]
and al, 0x60
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], rdx
push rsp
and al, 0x30
mov rdx, r9
mov r9, qword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
and al, 0x2c
call r9
cmp eax, 0
je 0x1400013d7
jmp 0x1400013ae
invalid
test ch, dl

Function at 0x140001358
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
call r11
call rbx
mov edi, 0x200
mov rcx, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x200
mov qword [rsp + 0x48], rcx
mov rcx, rax
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x48]
and al, 0x48
mov dword [rsp + 0x44], edi
call rax
lea rcx, [rsp + 0x7c]
mov rdx, qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
lea r9, [rsp + 0x7c]
mov r10, qword [rsp + 0x60]
and al, 0x60
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], rdx
push rsp
and al, 0x30
mov rdx, r9
mov r9, qword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
and al, 0x2c
call r9
cmp eax, 0
je 0x1400013d7
jmp 0x1400013ae
invalid
test ch, dl
Function at 0x1400037f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x80
xor eax, eax
mov dword [rsp + 0x6c], 0x6669cab2
mov r9d, dword [rsp + 0x6c]
xor r9d, 0x6669cab2
mov r10d, r8d
xor r10d, 0xffffffff
mov dword [rsp + 0x7c], r10d
cmp r8d, r9d
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x5c], r8d
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x4c], eax
je 0x1400038a4
mov eax, dword [rsp + 0x4c]
lea rcx, [0x1400252c0]
mov edx, eax
and edx, 0xf
mov edx, edx
mov r8d, edx
mov edx, dword [rsp + 0x6c]
xor edx, 0x6669cab3
mov r9, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov rcx, r9
mov r10, qword [rsp + 0x60]
mov dword [rsp + 0x3c], edx
mov rdx, r10
mov qword [rsp + 0x30], r8
mov r8d, eax
mov r11, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
movzx r9d, byte [r11 + rsi]
mov dword [rsp + 0x2c], eax
call sym.TAPI32.dll_lineRedirect
mov eax, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x3c]
add eax, r8d
mov r8d, dword [rsp + 0x5c]
cmp eax, r8d
mov dword [rsp + 0x4c], eax
jne 0x140003832
add rsp, 0x80
pop rsi
ret

Function at 0x140003980
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
mov eax, 0x173a69d7
mov edx, 0x4223d576
mov dword [rsp + 0x3c], 0x25b1be8b
sub edx, dword [rsp + 0x3c]
mov dword [rsp + 0x38], edx
mov edx, dword [rsp + 0x38]
add edx, 0x496e9615
mov r8d, dword [rcx + 0x3c]
mov qword [rsp + 0x40], 0x3a880ee1
movsxd r9, r8d
mov r10, rcx
add r10, r9
mov r8d, dword [rcx + r9]
cmp eax, edx
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x2c], r8d
jae 0x1400039f3
xor eax, eax
mov ecx, dword [rsp + 0x2c]
sub ecx, 0x4550
mov edx, eax
mov r8, qword [rsp + 0x30]
cmove rdx, r8
mov rax, rdx
mov dword [rsp + 0x28], ecx
add rsp, 0x48
ret
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x3a59ad19
call rax
xor ecx, ecx
mov eax, ecx
add rsp, 0x48
ret
Function at 0x14000ae70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14011f0a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x14000b020
mov rax, qword [0x14011f0a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000aebc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14000af47
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x14000aea0
mov rcx, r12
call fcn.14000b920
mov rbp, rax
test rax, rax
je 0x14000b07d
mov rax, qword [0x14011f0a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.14000ba50
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14011f0a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b062
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000af40
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000afd0
add dword [0x14011f0a4], 1
cmp ebx, 8
jae 0x14000af78
test bl, 4
jne 0x14000b030
test ebx, ebx
je 0x14000af69
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x14000b050
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x14000af69
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14000afaa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14011f0a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000af40
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000ae00
xor edi, edi
jmp 0x14000aec7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x14000af69
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x14000af69
mov rax, qword [0x14011f0a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.14000ae00
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.14000ae00
nop
nop dword [rax]