joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c4a0
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 [0x140085360], eax
mov eax, dword [rsp + 0x24]
mov dword [0x140085364], eax
mov eax, dword [rsp + 0x48]
mov dword [0x140085368], eax
mov dword [rsp + 0x60], ebx
mov byte [0x14008536d], bl
call fcn.14000d190
test al, al
je 0x14000c50e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x14000c50e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000c50e
inc eax
mov byte [0x14008536d], 1
mov dword [0x1400853f0], eax
mov byte [0x14008536e], 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 0x14000c54b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000c54b
movzx eax, word [rsp + 0x60]
jmp 0x14000c552
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.14000d1a0
test al, al
je 0x14000c57b
call fcn.14000cf20
test al, al
je 0x14000c57b
cmp dword [0x1400853f4], edi
seta al
mov byte [0x14008536e], al
jmp 0x14000c582
movzx eax, byte [0x14008536e]
test al, al
je 0x14000c5d0
mov r9d, dword [0x1400853f8]
test r9, r9
je 0x14000c653
lea r8, [0x140085370]
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 0x14000c5a0
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 0x14000c653
mov r9, qword [rsp + 0x60]
lea r8, [0x140085370]
nop dword [rax]
test r9, rdi
je 0x14000c621
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 0x14000c646
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 0x14000c600
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret

Function at 0x14000cad0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x50]
add rsp, 0x68
ret
Function at 0x14000cb00
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rdi, rcx
test rcx, rcx
je 0x14000cb26
mov byte [rcx], 0
xor ebx, ebx
mov rbp, 0xffffffffffffffff
mov r15d, ebx
mov dword [rsp + 0x1a0], ebx
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x1a0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x14000cc07
cmp dword [rsp + 0x1a0], ebx
je 0x14000cc07
mov r9d, 0x90
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0xf0]
xor ecx, ecx
lea edx, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x14000cc07
mov eax, dword [rsp + 0x100]
mov rdx, rbp
bt eax, 9
mov rcx, rbp
mov rsi, rbp
cmovb rdx, qword [rsp + 0x168]
bt eax, 8
cmovb rcx, qword [rsp + 0x160]
test al, 1
cmovne rsi, qword [rsp + 0x110]
cmp rdx, rbp
jne 0x14000cbd0
cmp rcx, rbp
jne 0x14000cbd0
cmp rsi, rbp
je 0x14000cc07
cmp rdx, rcx
mov dword [rsp + 0x30], 0x40
cmovb rcx, rdx
cmp rcx, rsi
cmovb rsi, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0x38]
mov r15, qword [rsp + 0x58]
cmp rsi, rbp
mov r14, qword [rsp + 0x40]
cmovb rbp, rsi
cmp rbp, 0xffffffffffffffff
mov rsi, rbx
cmovne rsi, rbp
test r15, r15
jne 0x14000cc37
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r15, qword [rsp + 0x98]
mov r14, qword [rsp + 0x78]
test rsi, rsi
cmovne r14, rsi
cmp r15, r14
cmovae rbx, rsi
test rbx, rbx
je 0x14000cc57
test rdi, rdi
je 0x14000cc52
mov byte [rdi], 1
mov rax, rbx
jmp 0x14000cc89
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0xb0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0xd8], rax
cmovb rax, qword [rsp + 0xd8]
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000ccb0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0xb0
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000cd95
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 0x14000cd95
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x14000cd70
xorps xmm0, xmm0
test rdx, rdx
js 0x14000cd17
cvtsi2ss xmm0, rdx
jmp 0x14000cd2f
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 [0x1400670a0]
test rbx, rbx
js 0x14000cd49
cvtsi2ss xmm0, rbx
jmp 0x14000cd61
mov rax, rbx
mov rcx, rbx
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 rdi, rdi
je 0x14000cd87
cmp rdx, rbx
jbe 0x14000cd81
mov qword [rdi], rax
jmp 0x14000cd87
sub rbx, rdx
mov qword [rdi], rbx
test rsi, rsi
je 0x14000ce5e
jmp 0x14000ce5b
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 0x14000ce38
test r14, r14
je 0x14000ce27
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x14000cdd1
cvtsi2ss xmm0, rcx
jmp 0x14000cde6
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 [0x1400670a0]
test rdx, rdx
js 0x14000ce00
cvtsi2ss xmm0, rdx
jmp 0x14000ce18
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 rdi, rdi
je 0x14000ce2f
mov qword [rdi], rdx
test rsi, rsi
je 0x14000ce5e
xor eax, eax
jmp 0x14000ce5b
test r14, r14
je 0x14000ce44
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rdi, rdi
je 0x14000ce51
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
test rsi, rsi
je 0x14000ce5e
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140095b60
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, edx
mov qword [rbp - 0x40], r8
mov rsi, r8
lea rdi, [rcx + 0x10]
xor eax, eax
test rcx, rcx
cmove rdi, rax
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
mov r8, rsi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.140009cf0
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140009d40
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.1400017ad
mov dword [rax + 8], esi
movzx eax, bl
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14009a190
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 - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.140009cf0
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140009d40
test ebx, ebx
jne 0x14009a204
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x14009a22b
lea rcx, [0x1401071e0]
call fcn.140004b90
mov rbx, rax
mov rcx, rbx
call fcn.1400a8a30
mov rcx, rbx
call fcn.140008660
lea rcx, [0x140106b60]
call fcn.140004b90
mov rbx, rax
mov rcx, rbx
call fcn.1400a4ee0
mov rcx, rbx
call fcn.140008660
int3

Function at 0x14009a680
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
je 0x14009a69d
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.1400cfed0
mov ecx, eax
test ecx, ecx
jne 0x14009a72a
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
call fcn.1400cfe70
mov ecx, eax
lea rdx, [0x1400f6008]
call fcn.1400c3400
mov rcx, rax
call fcn.140008660
int3
Function at 0x14009f720
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x20]
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm4, xmm4
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm4
mov rax, qword [0x14007f888]
mov qword [rbp], rax
mov rbx, rcx
mov esi, dword [rbx + 8]
xor edi, edi
cmp esi, 0x40
jae 0x14009f773
test dword [rsp], esp
sub rsp, 0x80
lea r14, [rsp + 0x20]
mov r15d, 0x40
jmp 0x14009f7b2
lea rcx, [0x1401031c8]
cmp qword [rcx - 8], 0
jne 0x14009f8b1
mov rcx, qword [0x14007f5d8]
mov rcx, qword [rcx + 8]
lea edx, [rsi + 1]
cmp dword [rcx], ecx
call fcn.1400dae40
mov rdi, rax
test rdi, rdi
jne 0x14009f7aa
xor r14d, r14d
xor r15d, r15d
jmp 0x14009f7b2
lea r14, [rdi + 0x10]
mov r15d, dword [rdi + 8]
lea rcx, [rbx + 0xc]
mov edx, dword [rbx + 8]
mov edx, esi
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], edx
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], r15d
lea rcx, [rbp + 0x18]
lea rdx, [rbp + 8]
call fcn.1400af5c0
cmp esi, r15d
jae 0x14009f8c2
mov ecx, esi
mov word [r14 + rcx*2], 0
mov ebx, 0x15051505
mov r13d, 0x15051505
xor ecx, ecx
test r15d, r15d
cmovne rcx, r14
mov qword [rbp + 0x28], rcx
cmp esi, 2
jle 0x14009f838
add esi, 0xfffffffc
mov edx, ebx
rol edx, 5
add ebx, edx
mov edx, dword [rcx]
or edx, 0x200020
xor ebx, edx
mov edx, r13d
rol edx, 5
add r13d, edx
mov edx, dword [rcx + 4]
or edx, 0x200020
xor r13d, edx
add rcx, 8
cmp esi, 2
jg 0x14009f806
test esi, esi
jle 0x14009f852
mov edx, r13d
rol edx, 5
add edx, r13d
mov r13d, dword [rcx]
or r13d, 0x200020
xor r13d, edx
xor ecx, ecx
mov qword [rbp + 0x28], rcx
test rdi, rdi
je 0x14009f883
lea rcx, [0x1401031c8]
cmp qword [rcx - 8], 0
jne 0x14009f8bb
mov rcx, qword [0x14007f5d8]
mov rcx, qword [rcx + 8]
mov rdx, rdi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.1400db080
imul eax, r13d, 0x5d588b65
add eax, ebx
lea rcx, [0x14007f888]
mov rcx, qword [rcx]
cmp qword [rbp], rcx
je 0x14009f8a1
call fcn.1400046f0
nop
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140001647
jmp 0x14009f785
call fcn.140001647
jmp 0x14009f86b
call fcn.1400cde00
int3

Function at 0x1400a2460
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.1400cc070
xor ecx, ecx
xor edx, edx
mov r8d, eax
sar r8d, 0x1f
and r8d, 3
add eax, r8d
sar eax, 2
test eax, eax
jle 0x1400a249b
lea r8d, [rdx*4]
movsxd r8, r8d
xor ecx, dword [rbx + r8]
inc edx
cmp eax, edx
jg 0x1400a2486
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x1400a3a40
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x1400a3c64
lea r14, [0x14004bab8]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x1400a3a87
lea r15d, [rbx - 4]
jmp 0x1400a3a9e
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x1400a3b44
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
je 0x1400a3adc
mov r9d, 0xffffffff
jmp 0x1400a3b11
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
movsxd r9, r13d
movsx r13, byte [r14 + r9]
movsxd r9, r12d
movsx r12, byte [r14 + r9]
cdqe
movsx rax, byte [r14 + rax]
shl edx, 0x12
or eax, edx
shl r13d, 0xc
or eax, r13d
shl r12d, 6
mov r9d, eax
or r9d, r12d
test r9d, r9d
jl 0x1400a3c81
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add edi, 4
cmp edi, r15d
jl 0x1400a3aa7
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x1400a3c81
cmp edi, ebx
je 0x1400a3c81
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x1400a3c81
cdqe
movsx rax, byte [r14 + rax]
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl eax, 0x12
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
je 0x1400a3c09
movsxd r9, r9d
movsx r9, byte [r14 + r9]
movsxd r10, r10d
movsx r10, byte [r14 + r10]
or r10d, eax
shl r9d, 6
mov eax, r10d
or eax, r9d
jl 0x1400a3c81
add esi, 0xfffffffd
cmp ebp, esi
jg 0x1400a3c81
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x1400a3c5d
cmp r9d, 0x3d
je 0x1400a3c46
movsxd r9, r9d
movsx r9, byte [r14 + r9]
mov edx, r9d
shl edx, 6
or eax, edx
jl 0x1400a3c81
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x1400a3c81
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x1400a3c5d
test eax, eax
jl 0x1400a3c81
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x1400a3c81
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x1400a3c81
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a6ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x30
xor eax, eax
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov ebx, edx
mov rsi, r8
mov ecx, 1
test ebx, ebx
cmovle ebx, ecx
mov rcx, rdi
neg rcx
lea rdx, [0x140045a98]
mov rax, rcx
or rax, 1
bsr r8, rax
lzcnt rax, rax
xor eax, 0x3f
test dword [0x140085218], 0x1000
cmovne r8d, eax
movsxd rax, r8d
movzx edx, byte [rdx + rax]
mov eax, edx
shl rax, 3
lea r8, [0x140045cf8]
add rax, r8
cmp rcx, qword [rax]
setb cl
movzx ecx, cl
sub edx, ecx
cmp ebx, edx
mov ebp, edx
cmovge ebp, ebx
mov r14d, dword [rsi + 8]
add ebp, r14d
lea rcx, [0x140105210]
mov edx, ebp
call fcn.140004c50
mov r15, rax
test r15, r15
jne 0x1400a6d3f
xor eax, eax
jmp 0x1400a6d4d
lea rax, [r15 + 0xc]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rdx, ebp
lea rbp, [rax + rdx*2]
neg rdi
cmp rdi, 0x64
jb 0x1400a6e26
lea rax, [0x140102f40]
cmp qword [rax - 8], 0
jne 0x1400a6e5b
mov rcx, qword [0x14007f380]
add rbp, 0xfffffffffffffffc
add ebx, 0xfffffffe
movabs rdx, 0x28f5c28f5c28f5c3
mov rax, rdi
shr rax, 2
mul rdx
shr rdx, 2
imul rax, rdx, 0x64
sub rdi, rax
mov r13, rdx
mov rax, qword [rcx + 0x38]
cmp byte [rax], al
shl edi, 2
mov edx, edi
mov eax, dword [rax + rdx + 0x10]
mov dword [rbp], eax
cmp r13, 0x64
jae 0x1400a6e1e
test r13, r13
je 0x1400a6df6
dec ebx
movabs rdx, 0xcccccccccccccccd
mov rax, r13
mul rdx
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
mov rcx, r13
sub rcx, rax
mov r13, rdx
add rbp, 0xfffffffffffffffe
add ecx, 0x30
mov word [rbp], cx
test r13, r13
jne 0x1400a6dc0
test ebx, ebx
jg 0x1400a6dc0
mov rax, rbp
lea ecx, [r14 - 1]
test ecx, ecx
jl 0x1400a6e42
cmp r14d, ecx
jle 0x1400a6e2b
add rax, 0xfffffffffffffffe
mov edx, ecx
movzx edx, word [rsi + rdx*2 + 0xc]
mov word [rax], dx
dec ecx
jns 0x1400a6e0a
jmp 0x1400a6e42
mov rdi, r13
jmp 0x1400a6d7a
mov r13, rdi
jmp 0x1400a6dbb
add rax, 0xfffffffffffffffe
cmp ecx, r14d
jae 0x1400a6e65
mov edx, ecx
movzx edx, word [rsi + rdx*2 + 0xc]
mov word [rax], dx
dec ecx
jns 0x1400a6e2b
xor eax, eax
mov qword [rsp + 0x28], rax
mov rax, r15
add rsp, 0x30
pop rbx
pop rbp
pop rsi
pop rdi
pop r13
pop r14
pop r15
ret
call fcn.1400012c7
jmp 0x1400a6d73
call fcn.1400cde00
int3
Function at 0x1400b4ca0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movsd xmm6, qword [0x14004c4c0]
movaps xmm7, xmm6
call fcn.1400b4ef0
call fcn.1400b3320
test eax, eax
jge 0x1400b4cf2
mov dword [0x14008027c], 0xffff
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
lea rbx, [0x140103080]
cmp qword [rbx - 8], 0
jne 0x1400b4eb2
movabs rdx, 0x431bde82d7b634db
mov rax, rdx
imul qword [rbx]
mov rcx, rdx
shr rcx, 0x3f
sar rdx, 0x12
lea rsi, [rdx + rcx + 1]
xor edi, edi
mov ebx, 8
add ebx, ebx
lea rcx, [rsp + 0x38]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x38]
xor r14d, r14d
cmp dword [0x140085300], 0
jne 0x1400b4ebc
test ebx, ebx
jle 0x1400b4d5d
call fcn.1400b3320
inc r14d
cmp r14d, ebx
jl 0x1400b4d50
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rsp + 0x30]
sub rcx, rbp
mov rbp, rcx
cmp dword [0x140085300], 0
jne 0x1400b4ec6
cmp rbp, rsi
jl 0x1400b4d2b
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
divsd xmm0, xmm1
ucomisd xmm7, xmm0
jp 0x1400b4d9f
je 0x1400b4dad
ucomisd xmm7, xmm7
jp 0x1400b4db7
ucomisd xmm0, xmm7
ja 0x1400b4db7
jmp 0x1400b4dba
movq rcx, xmm7
test rcx, rcx
jge 0x1400b4dab
movaps xmm0, xmm7
movaps xmm7, xmm0
mov ecx, ebx
sar ecx, 0x1f
and ecx, 3
add ecx, ebx
mov ebx, ecx
sar ebx, 2
add ebx, ebx
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x28]
xor r15d, r15d
cmp dword [0x140085300], 0
jne 0x1400b4ed0
test ebx, ebx
jle 0x1400b4dfe
call fcn.1400b4ef0
inc r15d
cmp r15d, ebx
jl 0x1400b4df1
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x20]
sub rax, rbp
mov rbp, rax
cmp dword [0x140085300], 0
jne 0x1400b4eda
cmp rbp, rsi
jl 0x1400b4dcc
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
divsd xmm0, xmm1
ucomisd xmm6, xmm0
jp 0x1400b4e40
je 0x1400b4e4e
ucomisd xmm6, xmm6
jp 0x1400b4e58
ucomisd xmm0, xmm6
ja 0x1400b4e58
jmp 0x1400b4e5b
movq rax, xmm6
test rax, rax
jge 0x1400b4e4c
movaps xmm0, xmm6
movaps xmm6, xmm0
inc edi
cmp edi, 0xa
jl 0x1400b4d26
movaps xmm0, xmm7
mulsd xmm0, qword [0x14004c4c8]
divsd xmm0, xmm6
cvttsd2si eax, xmm0
mov ecx, 0x1388
cmp eax, 0x1388
cmovg eax, ecx
mov dword [0x14008027c], eax
xor eax, eax
cmp dword [0x14008027c], 5
setle al
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
call fcn.140001122
jmp 0x1400b4d04
call fcn.140008e50
jmp 0x1400b4d4c
call fcn.140008e50
jmp 0x1400b4d7f
call fcn.140008e50
jmp 0x1400b4ded
call fcn.140008e50
jmp 0x1400b4e20
Function at 0x1400ce410
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
je 0x1400ce43c
add rcx, 0xc
mov rbx, rcx
jmp 0x1400ce43e
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.140009cf0
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140009d40
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.1400017ad
mov dword [rax + 8], esi
movzx eax, bl
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400ce610
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
je 0x1400ce64a
add rcx, 0xc
mov rdi, rcx
jmp 0x1400ce64c
xor edi, edi
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rsi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.140009cf0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_ExpandEnvironmentStringsW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.140009d40
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call fcn.1400017ad
mov dword [rax + 8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400cecf0
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.1400ca820
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 - 0x54], rcx
mov rdx, rbx
mov qword [rbp - 0x5c], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
mov r9, rdi
mov qword [rbp - 0x64], r9
lea rcx, [rbp - 0x90]
call fcn.140009cf0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x64]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140009d40
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x1400cedad
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400ca860
call fcn.1400017ad
mov dword [rax + 8], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret