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

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rdx, qword [rcx + 0x40]
lea rbp, [rcx + 0x38]
mov r14, rcx
test rdx, rdx
je 0x140073ccc
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140073ccc
xor r8d, r8d
xor edx, edx
call fcn.140043740
mov qword [rbp + 8], rax
mov ebx, dword [r14 + 0x48]
test ebx, ebx
je 0x140073e8c
mov r9d, 4
mov qword [rsp + 0x88], r15
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call fcn.140014640
test ebx, ebx
jle 0x140073d33
xor r8d, r8d
mov r9d, ebx
nop dword [rax]
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
neg rdx
movsxd rcx, eax
dec rdx
and rcx, r8
and rdx, rbp
inc r8
or rdx, qword [rbp + 8]
mov dword [rdx + rcx*4], 0xffffffff
sub r9, 1
jne 0x140073d00
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14004c000
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jge 0x140073e84
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r12
lea r12, [0x140358bf0]
nop dword [rax]
movsxd rax, r15d
imul rsi, rax, 0x130
mov rax, qword [rsp + 0x20]
add rsi, qword [rax]
cmp dword [rsi + 8], 0
je 0x140073d8d
mov rdi, qword [rsi]
jmp 0x140073d94
lea rdi, [0x14025d748]
movzx eax, word [rdi]
xor ebx, ebx
test ax, ax
je 0x140073de0
nop
movzx ecx, ax
lea rdi, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx r8d, ax
mov eax, ebx
xor rax, r8
shr ebx, 8
movzx ecx, al
shr r8, 8
mov edx, dword [r12 + rcx*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov ebx, dword [r12 + rax*4]
movzx eax, word [rdi]
xor ebx, edx
test ax, ax
jne 0x140073da0
mov r8d, dword [r14 + 0x48]
dec r8d
and r8d, ebx
mov dword [rsi + 0x12c], r8d
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r8d
and rcx, rax
and rdx, rbp
or rdx, qword [rbp + 8]
mov eax, dword [rdx + rcx*4]
mov dword [rsi + 0x128], eax
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r8d
and rcx, rax
and rdx, rbp
or rdx, qword [rbp + 8]
mov eax, dword [rsp + 0x2c]
not eax
and dword [rsp + 0x38], eax
mov dword [rdx + rcx*4], r15d
lea rcx, [rsp + 0x28]
call fcn.14000eb20
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jl 0x140073d70
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x14007a730
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x100
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov eax, dword [rcx + 0x28]
mov rbx, rcx
test eax, eax
je 0x14007a77e
dec eax
test eax, eax
jle 0x14007a77e
cmp dword [rcx + 0x28], 0
je 0x14007a767
mov rcx, qword [rcx + 0x20]
jmp 0x14007a76e
lea rcx, [0x14025d748]
lea rdx, [rbx + 0xc]
mov r8b, 1
call fcn.14007d080
test al, al
je 0x14007a7d8
mov r8d, dword [rbx + 8]
lea rax, [rsp + 0xa0]
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xe0], rax
xor eax, eax
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
mov dword [rsp + 0x30], 0xc3d2e1f0
call fcn.140087bd0
lea rcx, [rsp + 0x20]
call fcn.14007b3b0
cmp byte [rbx + 0x31], 0
je 0x14007a7e6
mov rcx, qword [rbx]
call fcn.14003e1e0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140236770
add rsp, 0x100
pop rbx
ret

Function at 0x14007fff0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
lea r9d, [rcx + 3]
mov ebx, edx
and r9d, 0xfffffffc
lea rsi, [0x140356bf0]
sub r9d, ecx
mov r11, rcx
not r8d
cmp edx, r9d
jle 0x140080107
sub ebx, r9d
mov qword [rsp + 0x10], rdi
test r9d, r9d
je 0x140080051
nop word [rax + rax]
movzx eax, byte [r11]
inc r11
movzx ecx, r8b
xor rcx, rax
mov eax, r8d
shr eax, 8
mov r8d, dword [rsi + rcx*4]
xor r8d, eax
sub r9d, 1
jne 0x140080030
mov eax, ebx
cdq
and edx, 7
add eax, edx
mov edi, eax
and eax, 7
sub eax, edx
sar edi, 3
mov ebx, eax
test edi, edi
je 0x140080102
nop dword [rax]
mov r10d, dword [r11 + 4]
mov ecx, dword [r11]
add r11, 8
xor ecx, r8d
mov r9d, ecx
mov eax, ecx
shr rax, 0x10
movzx edx, al
mov eax, ecx
shr rax, 8
movzx ecx, al
mov eax, r10d
mov r8d, dword [rsi + rdx*4 + 0x1400]
shr rax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1800]
movzx ecx, al
mov eax, r10d
shr rax, 8
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4 + 0x1000]
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0x1c00]
movzx eax, r10b
xor r8d, dword [rsi + rax*4 + 0xc00]
add edi, 0xffffffff
jne 0x140080070
mov rdi, qword [rsp + 0x10]
test ebx, ebx
je 0x140080131
nop dword [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx ecx, r8b
xor rcx, rax
mov eax, r8d
shr eax, 8
mov r8d, dword [rsi + rcx*4]
xor r8d, eax
sub ebx, 1
jne 0x140080110
mov rbx, qword [rsp + 0x18]
not r8d
mov eax, r8d
pop rsi
ret
Function at 0x140080140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov ebx, edx
lea rsi, [0x140358ff0]
mov r9d, r8d
lea edx, [rcx + 3]
and r9d, 0xff00
mov eax, r8d
shl eax, 0x10
and edx, 0xfffffffc
add r9d, eax
sub edx, ecx
shl r9d, 8
mov eax, r8d
shr eax, 8
mov r11, rcx
and eax, 0xff00
shr r8d, 0x18
add r9d, eax
add r9d, r8d
not r9d
cmp ebx, edx
jle 0x140080277
sub ebx, edx
mov qword [rsp + 0x10], rdi
test edx, edx
je 0x1400801c0
nop dword [rax]
movzx eax, byte [r11]
inc r11
movzx ecx, r9b
xor rcx, rax
mov eax, r9d
shr eax, 8
mov r9d, dword [rsi + rcx*4]
xor r9d, eax
sub edx, 1
jne 0x1400801a0
mov eax, ebx
cdq
and edx, 7
add eax, edx
mov edi, eax
and eax, 7
sub eax, edx
sar edi, 3
mov ebx, eax
test edi, edi
je 0x140080272
nop dword [rax]
mov r10d, dword [r11 + 4]
mov ecx, dword [r11]
add r11, 8
xor ecx, r9d
mov r8d, ecx
mov eax, ecx
shr rax, 0x10
movzx edx, al
mov eax, ecx
shr rax, 8
movzx ecx, al
mov eax, r10d
mov r9d, dword [rsi + rdx*4 + 0x1400]
shr rax, 0x10
xor r9d, dword [rsi + rcx*4 + 0x1800]
movzx ecx, al
mov eax, r10d
shr rax, 8
xor r9d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r8d
shr rax, 0x18
xor r9d, dword [rsi + rcx*4 + 0x800]
xor r9d, dword [rsi + rax*4 + 0x1000]
mov eax, r10d
shr rax, 0x18
xor r9d, dword [rsi + rax*4]
movzx eax, r8b
xor r9d, dword [rsi + rax*4 + 0x1c00]
movzx eax, r10b
xor r9d, dword [rsi + rax*4 + 0xc00]
add edi, 0xffffffff
jne 0x1400801e0
mov rdi, qword [rsp + 0x10]
test ebx, ebx
je 0x1400802a1
nop dword [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx ecx, r9b
xor rcx, rax
mov eax, r9d
shr eax, 8
mov r9d, dword [rsi + rcx*4]
xor r9d, eax
sub ebx, 1
jne 0x140080280
mov rbx, qword [rsp + 0x18]
not r9d
mov eax, r9d
mov ecx, r9d
shl ecx, 0x10
and eax, 0xff00
add eax, ecx
mov ecx, r9d
shr ecx, 8
and ecx, 0xff00
shl eax, 8
add eax, ecx
shr r9d, 0x18
add eax, r9d
pop rsi
ret
Function at 0x1400842f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rdx, qword [rcx + 0x40]
lea rbp, [rcx + 0x38]
mov r14, rcx
test rdx, rdx
je 0x14008432c
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14008432c
xor r8d, r8d
xor edx, edx
call fcn.140043740
mov qword [rbp + 8], rax
mov ebx, dword [r14 + 0x48]
test ebx, ebx
je 0x1400844ec
mov r9d, 4
mov qword [rsp + 0x88], r15
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call fcn.140014640
test ebx, ebx
jle 0x140084393
xor r8d, r8d
mov r9d, ebx
nop dword [rax]
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
neg rdx
movsxd rcx, eax
dec rdx
and rcx, r8
and rdx, rbp
inc r8
or rdx, qword [rbp + 8]
mov dword [rdx + rcx*4], 0xffffffff
sub r9, 1
jne 0x140084360
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14004c000
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jge 0x1400844e4
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r12
lea r12, [0x140358bf0]
nop dword [rax]
movsxd rax, r15d
imul rsi, rax, 0x848
mov rax, qword [rsp + 0x20]
add rsi, qword [rax]
cmp dword [rsi + 8], 0
je 0x1400843ed
mov rdi, qword [rsi]
jmp 0x1400843f4
lea rdi, [0x14025d748]
movzx eax, word [rdi]
xor ebx, ebx
test ax, ax
je 0x140084440
nop
movzx ecx, ax
lea rdi, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx r8d, ax
mov eax, ebx
xor rax, r8
shr ebx, 8
movzx ecx, al
shr r8, 8
mov edx, dword [r12 + rcx*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov ebx, dword [r12 + rax*4]
movzx eax, word [rdi]
xor ebx, edx
test ax, ax
jne 0x140084400
mov r8d, dword [r14 + 0x48]
dec r8d
and r8d, ebx
mov dword [rsi + 0x844], r8d
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r8d
and rcx, rax
and rdx, rbp
or rdx, qword [rbp + 8]
mov eax, dword [rdx + rcx*4]
mov dword [rsi + 0x840], eax
mov rax, qword [rbp + 8]
neg rax
mov eax, dword [r14 + 0x48]
sbb rdx, rdx
dec eax
movsxd rcx, eax
neg rdx
dec rdx
movsxd rax, r8d
and rcx, rax
and rdx, rbp
or rdx, qword [rbp + 8]
mov eax, dword [rsp + 0x2c]
not eax
and dword [rsp + 0x38], eax
mov dword [rdx + rcx*4], r15d
lea rcx, [rsp + 0x28]
call fcn.14000eb20
mov rax, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
cmp r15d, dword [rax + 0x18]
jl 0x1400843d0
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x14008ec60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r14d, r9d
mov ebp, r8d
mov rdi, rdx
mov r15, rcx
test r8d, r8d
jne 0x14008ed4a
cmp byte [rsp + 0x4a0], 1
jne 0x14008ed4a
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14008ecb0
test eax, eax
jle 0x14008ed4a
dec eax
movsxd rdx, eax
add rdx, rdi
mov rbx, rdx
movzx ecx, byte [rdx]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14008ed4a
cmp cl, 0x39
jg 0x14008ecec
cmp rbx, rdi
jbe 0x14008ecec
movzx ecx, byte [rbx - 1]
dec rbx
cmp cl, 0x30
jge 0x14008ecd6
cmp byte [rbx], 0x5f
jne 0x14008ed4a
cmp byte [rbx + 1], 0x30
lea rcx, [rbx + 1]
jne 0x14008ed04
sub rdx, rbx
cmp rdx, 1
jne 0x14008ed4a
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoi64]
mov rsi, rax
cmp rax, 0x7fffffff
ja 0x14008ed4a
sub ebx, edi
mov ecx, 0x400
inc ebx
mov rdx, rdi
cmp ebx, ecx
cmovle ecx, ebx
movsxd rbx, ecx
lea rcx, [rsp + 0x40]
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rsp + rbx + 0x3f], 0
lea rdi, [rsp + 0x40]
lea ebp, [rsi + 1]
movzx eax, byte [rdi]
xor ebx, ebx
mov rsi, rdi
test al, al
je 0x14008eda0
mov qword [rsp + 0x490], r12
lea r12, [0x140358bf0]
nop word [rax + rax]
movsx ecx, al
lea rsi, [rsi + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
movzx ecx, al
mov eax, ebx
xor rcx, rax
shr eax, 8
movzx edx, cl
mov ebx, dword [r12 + rdx*4]
xor ebx, eax
movzx eax, byte [rsi]
test al, al
jne 0x14008ed70
mov r12, qword [rsp + 0x490]
xor edx, edx
mov rcx, rdi
call fcn.14008efd0
mov word [rsp + 0x30], ax
mov r9d, r14d
mov eax, dword [rsp + 0x4a8]
mov r8d, ebp
mov word [rsp + 0x28], bx
mov rdx, rdi
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.14008de60
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140236770
mov rbx, qword [rsp + 0x498]
add rsp, 0x450
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14008efd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
movzx eax, byte [rcx]
lea r9, [rcx + 1]
not edx
test al, al
je 0x14008f042
lea r10, [0x140356bf0]
nop dword [rax]
nop dword [rax + rax]
movsx r8d, al
lea r9, [r9 + 1]
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov r8d, dword [r10 + rax*4]
xor r8d, edx
movzx ecx, r8b
shr r8d, 8
mov edx, dword [r10 + rcx*4]
xor edx, r8d
movzx ecx, dl
shr edx, 8
mov r8d, dword [r10 + rcx*4]
xor r8d, edx
movzx ecx, r8b
mov eax, r8d
movzx eax, byte [r9 - 1]
shr r8d, 8
mov edx, dword [r10 + rcx*4]
xor edx, r8d
test al, al
jne 0x14008eff0
not edx
mov eax, edx
ret
Function at 0x14008f050
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rax, rdx
lea rcx, [0x1402aba10]
mov qword [rbx], rcx
xor ecx, ecx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rcx
mov dword [rbx + 0x3c], ecx
mov dword [rbx + 0x48], ecx
mov word [rbx + 0x70], cx
mov rcx, rax
mov qword [rbx + 8], rdx
lea rdx, [rsp + 0x30]
mov dword [rbx + 0x38], r8d
mov qword [rbx + 0x40], 1
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x30]
xor edx, edx
movsxd rcx, dword [rbx + 0x38]
mov qword [rbx + 0x10], rax
call fcn.140042ef0
mov qword [rbx + 0x28], rax
xor edx, edx
movsxd rcx, dword [rbx + 0x38]
call fcn.140042ef0
mov qword [rbx + 0x30], rax
mov rcx, rbx
xor eax, eax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rax
mov edx, dword [rbx + 0x3c]
call fcn.140094fc0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14008f220
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov qword [rsp + 0x28], rcx
mov qword [rcx + 8], rax
lea r8, [0x14008fbc0]
mov dword [rcx + 0x10], eax
mov rbx, rcx
mov qword [rcx + 0x18], rax
mov r9, rcx
mov qword [rcx + 0x20], rax
xor edx, edx
mov qword [rcx + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
je 0x14008f29c
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rbx + 0x18], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x28], rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008f2b0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
lea rax, [0x1402aba50]
mov qword [rcx + 8], rdx
mov qword [rcx], rax
mov r8, rdx
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14008f2f5
lea rdx, [rsp + 0x30]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x38], rax
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140090820
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0xa8
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp qword [0x14035ceb0], 0
jne 0x1400908ef
xor eax, eax
lea rcx, [r11 - 0x58]
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x50], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
mov qword [0x14035ceb8], rax
mov eax, dword [rsp + 0x48]
mov qword [0x14035ced0], rax
mov qword [0x14035cec8], rax
mov eax, dword [rsp + 0x24]
mov qword [0x14035cec0], rax
lea rax, [rcx + 0x3fffffff]
shr rax, 0x1e
mov dword [0x14035cee8], eax
mov qword [0x14035ceb0], rcx
lea rax, [0x14035ceb0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140236770
add rsp, 0xa8
ret

Function at 0x1400914b0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
call fcn.140019cb0
xor eax, eax
mov qword [rbx + 0x70], 0
mov qword [rbp + 7], rax
lea rcx, [rbp + 7]
mov dword [rbp + 7], 0x40
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rbp - 0x49]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
mov rcx, qword [rbp + 0x17]
mov rax, rbx
mov qword [rbx + 0x40], rcx
mov rcx, qword [rbp + 0x37]
mov qword [rbx + 0x48], rcx
mov rcx, qword [rbp - 0x39]
mov qword [rbx + 0x50], rcx
mov rcx, qword [rbp - 0x41]
mov qword [rbx + 0x58], rcx
mov rcx, qword [rbp - 0x11]
mov qword [rbx + 0x60], rcx
mov rcx, qword [rbp - 9]
mov qword [rbx + 0x68], rcx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140236770
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
Function at 0x140091c30
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x2b8
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rax, qword [rcx]
mov rdi, r8
mov r8, rdx
lea rdx, [rsp + 0x38]
call qword [rax + 0x178]
mov rdx, rax
mov eax, dword [rax + 8]
neg eax
sbb ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x20], r8
add ecx, 5
mov rax, qword [rdx]
mov qword [rsp + 0x20], rax
mov qword [rdx], r8
mov eax, dword [rdx + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0xc]
mov dword [rsp + 0x2c], eax
mov qword [rdx + 8], r8
mov edx, dword [rsp + 0x28]
add edx, ecx
cmp edx, dword [rsp + 0x2c]
jle 0x140091ca8
lea rcx, [rsp + 0x20]
call fcn.140014b10
mov r8d, 3
lea rdx, [0x1402abc20]
lea rcx, [rsp + 0x20]
call fcn.1400285e0
cmp dword [rsp + 0x28], 0
lea rcx, [0x14025d748]
lea rdx, [rsp + 0x50]
cmovne rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, qword [rsp + 0x20]
mov rsi, rax
test rcx, rcx
je 0x140091cee
call fcn.14003e1e0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140091cfd
call fcn.14003e1e0
cmp rsi, 0xffffffffffffffff
je 0x140091d8a
mov qword [rsp + 0x2b0], rbx
mov bl, 1
movzx ecx, word [rsp + 0x7c]
cmp cx, word [0x1402ab9b4]
movzx eax, word [rsp + 0x7e]
jne 0x140091d2d
cmp ax, word [0x1402ab9b6]
je 0x140091d5e
cmp cx, word [0x1402abc28]
jne 0x140091d50
cmp ax, word [0x1402abc2a]
jne 0x140091d50
movzx eax, word [rsp + 0x80]
cmp ax, word [0x1402abc2c]
je 0x140091d5e
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x50]
call qword [rdi]
movzx ebx, al
test bl, bl
je 0x140091d74
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140091d11
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, bl
mov rbx, qword [rsp + 0x2b0]
jmp 0x140091d8c
xor al, al
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140236770
add rsp, 0x2b8
pop rdi
pop rsi
ret

Function at 0x140093210
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14049c0e0]
test eax, eax
jne 0x1400932dc
call fcn.14006d810
mov rcx, rax
lea rdx, str.usehyperthreading
call fcn.140080720
test al, al
je 0x140093264
mov eax, dword [0x14049c0e4]
test eax, eax
jne 0x140093259
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov dword [0x14049c0e4], eax
mov dword [0x14049c0e0], eax
add rsp, 0x58
ret
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov dword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetLogicalProcessorInformation]
mov ecx, dword [rsp + 0x60]
xor edx, edx
call fcn.140042ef0
lea rdx, [rsp + 0x60]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLogicalProcessorInformation]
mov r8d, dword [rsp + 0x60]
shr r8, 5
test r8, r8
je 0x1400932c9
mov edx, dword [0x14049c0e0]
lea rcx, [rbx + 8]
cmp dword [rcx], 0
jne 0x1400932b9
inc edx
add rcx, 0x20
sub r8, 1
jne 0x1400932b2
mov dword [0x14049c0e0], edx
mov rcx, rbx
call fcn.14003e1e0
mov eax, dword [0x14049c0e0]
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x1400932f0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14049c0e4]
test eax, eax
jne 0x140093313
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov dword [0x14049c0e4], eax
add rsp, 0x58
ret

Function at 0x140094b10
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cl
lea rcx, [0x14035bbe0]
call fcn.14000ca60
test bl, bl
je 0x140094b74
call fcn.14007d1d0
test rax, rax
je 0x140094b4f
call fcn.14007d1d0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x60]
call fcn.14007d1d0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x20]
movzx eax, byte [0x14039a9f3]
neg al
sbb ebx, ebx
and ebx, 3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [0x14039a9fb], 1
add rsp, 0x20
pop rbx
ret

Function at 0x140094fc0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x70], 0
mov rbx, rcx
jne 0x140095046
mov r8d, dword [rcx + 0x38]
lea rax, [rcx + 0x50]
mov dword [rcx + 0x48], edx
lea r9, [rsp + 0x40]
mov byte [rcx + 0x71], 1
movsxd rdx, edx
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], rax
mov rdx, qword [rcx + rdx*8 + 0x28]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14009501f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140095046
mov word [rbx + 0x70], 1
add rsp, 0x30
pop rbx
ret
mov eax, dword [rsp + 0x40]
add qword [rbx + 0x20], rax
mov rax, qword [rbx + 0x20]
mov rcx, rax
mov byte [rbx + 0x71], 0
shr rcx, 0x20
mov dword [rbx + 0x60], eax
mov dword [rbx + 0x64], ecx
cmp rax, qword [rbx + 0x10]
jb 0x140095046
mov byte [rbx + 0x70], 1
add rsp, 0x30
pop rbx
ret