joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180012670
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1802325c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x18001275f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x18001275f
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x18001273a
xorps xmm0, xmm0
test rdx, rdx
js 0x1800126e1
cvtsi2ss xmm0, rdx
jmp 0x1800126f9
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1801eee18]
test rdi, rdi
js 0x180012713
cvtsi2ss xmm0, rdi
jmp 0x18001272b
mov rax, rdi
mov rcx, rdi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
xor eax, eax
test rbx, rbx
je 0x180012751
cmp rdx, rdi
jbe 0x18001274b
mov qword [rbx], rax
jmp 0x180012751
sub rdi, rdx
mov qword [rbx], rdi
test rsi, rsi
je 0x180012828
jmp 0x180012825
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x28]
jae 0x180012802
test r14, r14
je 0x1800127f1
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x18001279b
cvtsi2ss xmm0, rcx
jmp 0x1800127b0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x1801eee18]
test rdx, rdx
js 0x1800127ca
cvtsi2ss xmm0, rdx
jmp 0x1800127e2
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
test rbx, rbx
je 0x1800127f9
mov qword [rbx], rdx
test rsi, rsi
je 0x180012828
xor eax, eax
jmp 0x180012825
test r14, r14
je 0x18001280e
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rbx, rbx
je 0x18001281b
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
test rsi, rsi
je 0x180012828
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180061220
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret
Function at 0x180012850
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1802325c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
test rcx, rcx
je 0x180012884
mov byte [rcx], 0
xor esi, esi
xor ebp, ebp
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x18001295f
cmp dword [rsp + 0x30], esi
je 0x18001295f
mov r9d, 0x90
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x100]
xor ecx, ecx
lea edx, [rbp + 9]
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x18001295f
mov eax, dword [rsp + 0x110]
mov rcx, 0xffffffffffffffff
bt eax, 9
mov rbx, rcx
mov rdx, rcx
cmovb rbx, qword [rsp + 0x178]
bt eax, 8
cmovb rdx, qword [rsp + 0x170]
test al, 1
cmovne rcx, qword [rsp + 0x120]
cmp rbx, 0xffffffffffffffff
jne 0x180012923
cmp rdx, rbx
jne 0x180012923
cmp rcx, rbx
je 0x18001295f
cmp rdx, rbx
mov dword [rsp + 0x40], 0x40
cmovb rbx, rdx
cmp rcx, rbx
cmovb rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x48], rbx
mov rbp, qword [rsp + 0x68]
cmovb rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
jne 0x180012961
xor ebx, ebx
test rbp, rbp
jne 0x18001298f
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x88]
test rbx, rbx
cmovne rsi, rbx
cmp rbp, rsi
jb 0x1800129ad
test rbx, rbx
je 0x1800129ad
test rdi, rdi
je 0x1800129a8
mov byte [rdi], 1
mov rax, rbx
jmp 0x1800129df
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0xc0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0xe8], rax
cmovb rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180061220
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180012a30
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1802325c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180061220
add rsp, 0x78
ret
Function at 0x180012c90
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x180238a60], eax
mov eax, dword [rsp + 0x24]
mov dword [0x180238a64], eax
mov eax, dword [rsp + 0x48]
mov dword [0x180238a68], eax
mov dword [rsp + 0x60], ebx
mov byte [0x180238a6d], bl
call fcn.180013ef0
test al, al
je 0x180012cfe
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x180012cfe
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180012cfe
inc eax
mov byte [0x180238a6d], 1
mov dword [0x180238af0], eax
mov byte [0x180238a6e], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x180012d3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180012d3b
movzx eax, word [rsp + 0x60]
jmp 0x180012d42
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.180013de0
test al, al
je 0x180012d6b
call fcn.180012a70
test al, al
je 0x180012d6b
cmp dword [0x180238af4], edi
seta al
mov byte [0x180238a6e], al
jmp 0x180012d72
movzx eax, byte [0x180238a6e]
test al, al
je 0x180012dc0
mov r9d, dword [0x180238af8]
test r9, r9
je 0x180012e43
lea r8, [0x180238a70]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x180012d90
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x180012e43
mov r9, qword [rsp + 0x60]
lea r8, [0x180238a70]
nop dword [rax]
test r9, rdi
je 0x180012e11
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x180012e36
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x180012df0
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x1800654f0
Capabilities:
Parse pe header

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

Function at 0x180079ea0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x38
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
call fcn.1800924e0
mov rbx, rax
lea rcx, [0x1801290e0]
add rcx, 0xc
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x28]
call fcn.180092520
mov rsi, rax
lea rcx, [0x18013ee10]
add rcx, 0xc
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x30], 0x20
lea rcx, [rsp + 0x28]
call fcn.180092520
mov rdx, rax
mov edi, dword [rbx + 8]
mov r8d, edi
mov rcx, rsi
call fcn.180079fc0
mov rsi, rax
mov edx, edi
lea rcx, [0x180165df0]
call fcn.1800048b0
mov rbp, rax
xor ecx, ecx
test edi, edi
jle 0x180079f82
test rsi, rsi
je 0x180079f5c
cmp dword [rsi + 8], edi
jl 0x180079f5c
cmp dword [rbp + 8], edi
jl 0x180079f5c
nop dword [rax]
mov edx, ecx
movzx eax, byte [rbx + rdx + 0x10]
movzx r8d, byte [rsi + rdx + 0x10]
xor eax, r8d
mov byte [rbp + rdx + 0x10], al
inc ecx
cmp edi, ecx
jg 0x180079f40
jmp 0x180079f82
mov eax, ecx
movzx eax, byte [rbx + rax + 0x10]
cmp ecx, dword [rsi + 8]
jae 0x180079fb6
mov edx, ecx
movzx edx, byte [rsi + rdx + 0x10]
xor eax, edx
cmp ecx, dword [rbp + 8]
jae 0x180079fb6
mov edx, ecx
mov byte [rbp + rdx + 0x10], al
inc ecx
cmp edi, ecx
jg 0x180079f5c
lea rcx, [0x180144048]
cmp qword [rcx - 8], 0
jne 0x180079faf
mov rcx, qword [0x1802315b8]
mov rcx, qword [rcx + 8]
mov rdx, rbp
cmp dword [rcx], ecx
call fcn.1800d13f0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.18000165b
jmp 0x180079f90
call fcn.18009a080
int3

Function at 0x18007e030
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.180006440
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.180006490
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18007e0f9
mov dword [rdi + 0x78], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rdi, rax
jmp 0x18007e0e3
Function at 0x18007e1f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.180006440
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.180006490
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18007e2b9
mov dword [rdi + 0x78], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rdi, rax
jmp 0x18007e2a3

Function at 0x180084d90
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.180006440
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.180006490
test ebx, ebx
jne 0x180084e04
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x180084e2c
lea rcx, [0x180148fb8]
call fcn.180004790
mov rbx, rax
mov rcx, rbx
call fcn.1800948a0
mov rcx, rbx
call fcn.180004d00
int3
lea rcx, [0x1801496b0]
call fcn.180004790
mov rbx, rax
mov rcx, rbx
call fcn.1800984e0
mov rcx, rbx
call fcn.180004d00
int3
Function at 0x1800852e0
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
jne 0x180085387
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.1800cee60
mov ecx, eax
test ecx, ecx
jne 0x18008538e
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.1800ced30
mov ecx, eax
lea rdx, [0x1801277d0]
xor r8d, r8d
call fcn.1800b80e0
mov rcx, rax
call fcn.180004d00
int3

Function at 0x180088370
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x180088382
add rsp, 0x28
jmp fcn.180088f20
lea rcx, [0x1801402b0]
call fcn.18007d9f0
int3

Function at 0x1800886a0
Capabilities:
Get session user name

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov rcx, qword gs:[0x58]
mov eax, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rcx + rax*8]
mov rsi, qword [rdx]
test rsi, rsi
je 0x1800887b3
mov qword [rbp - 0x78], rsi
jmp 0x1800886f5
sub edx, dword [rbx + 8]
mov rcx, rbx
call fcn.1800b18f0
mov qword [rbp + 0x10], rbx
mov rdi, qword [rbx + 0x10]
lea r14, [rbp - 0x3c]
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r8, r14
mov qword [rbp - 0x84], r8
mov rdx, rdi
mov qword [rbp - 0x8c], rdx
mov ecx, 2
mov dword [rbp - 0x7c], ecx
lea rcx, [rbp - 0x70]
call fcn.180006440
mov r8, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov ecx, dword [rbp - 0x7c]
call sub.Secur32.dll_GetUserNameExW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.180006490
movzx ebx, bl
call sub.KERNEL32.dll_GetLastError
xor edx, edx
mov qword [rbp - 0x48], rdx
mov rsi, qword [rbp - 0x78]
mov dword [rsi + 0x78], eax
test ebx, ebx
jne 0x180088798
cmp dword [rsi + 0x78], 0xea
je 0x18008877f
xor edx, edx
mov rbx, qword [rbp + 0x10]
mov dword [rbx + 8], edx
jmp 0x1800887a2
mov edx, dword [rbp - 0x3c]
test edx, edx
jl 0x1800887c7
mov rbx, qword [rbp + 0x10]
cmp edx, dword [rbx + 0x18]
jbe 0x1800886f5
jmp 0x1800886ea
mov ecx, dword [rbp - 0x3c]
mov rbx, qword [rbp + 0x10]
mov dword [rbx + 8], ecx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rsi, rax
jmp 0x1800886e4
call fcn.18009a200
int3
Function at 0x18009bfd0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x18009bffa
lea rcx, [0x1801660d0]
mov edx, 0x55
call fcn.1800048b0
mov rdx, rax
mov rcx, rbx
call fcn.180004a10
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x18009c068
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x18009c068
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x18009c068
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x18009c068
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x18009c068
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.18009a080
int3

Function at 0x1800cc700
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov rbx, r8
mov rsi, r9
mov rdi, qword [rbp + 0x30]
mov qword [rbp - 0x40], rdi
test rdx, rdx
jne 0x1800cc73d
xor r14d, r14d
jmp 0x1800cc741
lea r14, [rdx + 0xc]
mov qword [rbp - 0x48], r14
test rcx, rcx
jne 0x1800cc74f
xor r15d, r15d
jmp 0x1800cc753
lea r15, [rcx + 0xc]
mov qword [rbp - 0x50], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], rdi
mov edi, dword [rbp + 0x38]
mov dword [rsp + 0x28], edi
mov rcx, r15
mov qword [rbp - 0x80], rcx
mov rdx, r14
mov qword [rbp - 0x88], rdx
mov r8, rbx
mov qword [rbp - 0x90], r8
mov r9, rsi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.180006440
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.KERNEL32.dll_CopyFileExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.180006490
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1800cc815
mov dword [rdi + 0x78], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rdi, rax
jmp 0x1800cc7f6
Function at 0x1800ccde0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x1800cce07
xor ebx, ebx
jmp 0x1800cce0b
lea rbx, [rcx + 0xc]
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x68]
call fcn.180006440
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.180006490
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1800cce83
mov dword [rdi + 0x78], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rdi, rax
jmp 0x1800cce67

Function at 0x1800cd940
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1800c0740
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x7c], rcx
mov rdx, rbx
mov qword [rbp - 0x84], rdx
mov r8d, esi
mov dword [rbp - 0x74], r8d
mov r9, rdi
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0x70]
call fcn.180006440
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x8c]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.180006490
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x1800cda03
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1800c0780
mov rax, qword gs:[0x58]
mov ecx, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1800cda3c
mov dword [rdi + 0x78], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rdi, rax
jmp 0x1800cda23
Function at 0x1800cda90
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1800c0740
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x84], rcx
mov rdx, rsi
mov qword [rbp - 0x8c], rdx
mov r8d, edi
mov dword [rbp - 0x7c], r8d
mov r9, rbx
mov qword [rbp - 0x94], r9
lea rcx, [rbp - 0x78]
call fcn.180006440
mov rcx, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov r8d, dword [rbp - 0x7c]
mov r9, qword [rbp - 0x94]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.180006490
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1800cdb6f
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1800c0780
mov rax, qword gs:[0x58]
mov ecx, dword [0x18023e08c]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1800cdba8
mov dword [rdi + 0x78], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1800c95c0]
call rax
mov rdi, rax
jmp 0x1800cdb8f