joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035fd6
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsi + 0x20]
add rsp, 0x50
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, qword [rcx + 0x50]
test rsi, rsi
je 0x140035ff1
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildErrorkind
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.140040240
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140033f3c
cmp qword [rdi + 8], 0
je 0x14003605b
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi + 8]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.14002e940
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.1400041c4
test bl, bl
je 0x1400360c5
lea rdx, [0x140083171]
lea rsi, [rsp + 0x40]
mov r8d, 0x11
mov rcx, rsi
call fcn.140040240
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140033f3c
cmp qword [rdi + 8], 0
je 0x1400360ce
mov r8, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rdi], xmm0
mov rdx, qword [rdi + 8]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.14002e940
mov bl, byte [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rdi
call fcn.1400041c4
test bl, bl
jne 0x1400360ce
test rsi, rsi
jne 0x140035fe6
add rsp, 0x70
pop rbx
pop rdi
pop rsi
jmp 0x140031c40
Function at 0x14003ace0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14003ad3b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14003ad3b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14003ad56
cmp eax, 0x42
jne 0x14003ad3b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14003ae06
cmp byte [r9 + r11], 0x5f
jne 0x14003ae06
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14003ae6e
mov rcx, rsi
xor edx, edx
call fcn.140039940
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140039940
test al, al
jne 0x14003af01
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14003ad92
lea rdx, [0x14008360b]
mov r8d, 1
call fcn.14002b970
test al, al
jne 0x14003af01
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14003ad4a
xor r14d, r14d
lea rbx, [0x140083a36]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14003adc4
cmp byte [rax + rcx], 0x45
je 0x14003af23
sub r14, 1
jb 0x14003ade9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14003ade9
mov r8d, 2
mov rdx, rbx
call fcn.14002b970
test al, al
jne 0x14003af01
mov rcx, rsi
call fcn.14003a0f0
test al, al
jne 0x14003af01
mov rax, qword [rsi]
test rax, rax
jne 0x14003adb0
jmp 0x14003ad4a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14003aec8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14003ae62
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14003ae4c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14003ae3b
add dl, 0xa9
jmp 0x14003ae4a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14003aec8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14003aec8
movzx edx, bl
add rax, rdx
jae 0x14003ae10
jmp 0x14003aec8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14003aec8
cmp rax, rcx
jae 0x14003aec5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14003af1b
cmp qword [rsi + 0x20], 0
je 0x14003af2f
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14003ace0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14003ad4c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14003af09
lea rax, [0x140083a01]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.14002b970
test al, al
je 0x14003af09
mov dil, 2
jmp 0x14003ad4a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14003ad4a
mov dil, 1
xor r8d, r8d
jmp 0x14003aeca
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14003ad4a
xor edi, edi
jmp 0x14003ad4a
Function at 0x14003ffd0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r14d, r14d
cmp r8, 0x201
jae 0x140040070
jmp 0x14004005f
jae 0x14004012f
cmp r8, 0x201
jae 0x140040070
lea r15, [rbp - 0x58]
mov r12d, 0x200
mov r13, r8
jmp 0x1400400c8
sub r8, r14
sub rbx, r14
cmp rbx, r8
jae 0x14004009f
lea rcx, [rbp + 0x3c8]
mov rdx, r14
call fcn.140072c30
mov rdi, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rdi, rax
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rbp + 0x3d8], r14
mov rbx, rdi
mov r15, qword [rbp + 0x3e8]
mov r12, r14
mov r13, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r13d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400400f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140040195
mov r8d, esi
cmp r13, r8
jne 0x140040050
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400401b8
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jb 0x14004005f
jmp 0x140040070
cmp r12, r8
jb 0x1400401d2
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140045590
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x14004017e
mov rcx, qword [0x1400a7c58]
xor edx, edx
mov r8, qword [rbp + 0x3e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140040168
jmp 0x14004017e
lea rcx, [0x14008427b]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140071a80
jmp 0x1400401e7
lea rax, str.md_b_
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.140071e50
ud2
Function at 0x140041600
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x140041610
mov rcx, rdx
mov rdx, r8
jmp fcn.140041620
mov rcx, rdx
mov rdx, r8
jmp fcn.14004cb80

Function at 0x140045f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140045fa0
test ecx, ecx
jne 0x140045ff0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140045fac
test ecx, ecx
jne 0x140045ff0
mov rcx, rdi
call fcn.140045e50
movzx eax, al
test bpl, bpl
jne 0x140045ff7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140045fe3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140046168]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140045fe3.2
xor eax, eax
test bpl, bpl
je 0x140045fbc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140046149
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14004602a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400460a9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140046070
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14004608b
inc rax
dec rdi
cmp rax, 1
jne 0x140046050
jmp 0x1400460a9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14004608b
cmp ebx, 0x5c
je 0x14004608b
inc rax
dec rdi
cmp rax, 1
jne 0x140046070
jmp 0x1400460a9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140046157
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400460d3
mov al, 9
cmp rdx, 2
je 0x1400460d7
cmp rdx, 1
jne 0x1400460e7
cmp byte [r8], 0x2e
jne 0x1400460e7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400460e7
mov al, 0xa
jmp 0x1400460e7
cmp byte [r8], 0x2e
jne 0x1400460e7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140045fe3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140045fe3.2
mov ecx, 2
jmp case.0x140045fe3.2
lea r8, str.library_std_srcpath.rs
call fcn.140071e40
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140071e40
ud2
Function at 0x14004cb80
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140050050
mov rsi, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14004cc37
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.14004e5b0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14004cc37
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14004cc09
test rsi, rsi
je 0x14004cc35
mov rcx, qword [0x1400a7c58]
xor esi, esi
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14004cc37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x14004cc30
mov rcx, qword [0x1400a7c58]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, rbx
jmp 0x14004cc37
xor esi, esi
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x14004cc50
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140050050
mov rsi, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14004cd05
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.14004e5b0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14004cd05
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14004ccd7
test rsi, rsi
je 0x14004cd03
mov rcx, qword [0x1400a7c58]
xor esi, esi
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14004cd05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x14004ccfe
mov rcx, qword [0x1400a7c58]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, rbx
jmp 0x14004cd05
xor esi, esi
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004d2f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x58], 0x103
mov qword [rsp + 0x60], 0
mov edx, 0xffffffff
cmp r9, rdx
cmovb rdx, r9
mov qword [rsp + 0x78], rcx
lea r9, [rsp + 0x80]
mov qword [rsp + 0x80], rax
test rcx, rcx
cmove r9, rcx
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14004d39b
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x58]
cmp eax, 0x103
je 0x14004d3d2
test eax, eax
js 0x14004d3ac
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14004d3c5
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xd8
pop rdi
pop rsi
ret
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
lea rax, str.z__b_
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x78], 0
lea rax, str.attempt_to_divide_by_zero_rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_strpattern.rs___b_
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
lea rax, [0x14002b380]
mov qword [rsp + 0x70], rax
lea rax, [0x140084420]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 1
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0xa8]
call fcn.140044f40
mov rcx, rax
call fcn.14003d8e0
mov ecx, 7
int 0x29
ud2

Function at 0x14004eca0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14004ecd5
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14004ecda
call fcn.14004ece0
nop
add rsp, 0x38
ret

Function at 0x14004ece0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14004ed23
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x1400423f0]
mov qword [rbp - 0x28], rax
lea rax, str._b__b_
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.0__b_
lea rcx, [rbp - 0x60]
call fcn.1400719e0
ud2
Function at 0x14004f370
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov ecx, 0x10
mov edx, 8
call fcn.14004aca0
test rax, rax
je 0x14004f447
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14004f4d0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14004f439
mov rcx, qword [r14]
mov qword [rbp - 0x10], r14
mov rax, qword [r14 + 8]
call qword [rax]
mov rsi, qword [rbp - 0x10]
mov rax, qword [rsi + 8]
cmp qword [rax + 8], 0
je 0x14004f412
mov r8, qword [rax + 0x10]
mov rcx, qword [rsi]
call fcn.14004ad30
mov rcx, qword [0x1400a7c58]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 0x10
mov edx, 8
call fcn.140071740
ud2

Function at 0x140054766
Capabilities:
Get system information on windows

Disassembly:
mov edx, 0x10101
jmp fcn.1400618dc
Function at 0x14005482b
Capabilities:
Delete service
Stop service

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x5c], xmm0
movaps xmmword [rsp + 0x50], xmm0
xor ecx, ecx
xor edx, edx
mov r8d, 2
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x1400548d9
mov rdi, rax
mov rdx, qword [rsi + 0x20]
mov rcx, rax
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
test rax, rax
je 0x1400548f7
mov rbx, rax
lea r8, [rsp + 0x50]
mov rcx, rax
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14005491e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebp, eax
mov r14, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call r14
mov rcx, rbx
call r14
test ebp, ebp
je 0x14005494d
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
call fcn.14004cc50
test rax, rax
jne 0x1400549b9
xor eax, eax
jmp 0x1400549aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x24]
mov dword [rcx], eax
lea rax, [rsp + 0x28]
mov qword [rax], rcx
lea rcx, str.___OpenSCManagerA_failed
jmp 0x140054969
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x24]
mov dword [rcx], eax
lea rax, [rsp + 0x28]
mov qword [rax], rcx
lea rcx, str.___OpenServiceA_failed
jmp 0x140054969
mov rsi, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call rsi
mov rcx, rbx
call rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x24]
mov dword [rcx], eax
lea rax, [rsp + 0x28]
mov qword [rax], rcx
lea rcx, str.___ControlService_failed
jmp 0x140054969
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x24]
mov dword [rcx], eax
lea rax, [rsp + 0x28]
mov qword [rax], rcx
lea rcx, str.___DeleteService_failed
lea rdx, [rsp + 0x70]
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], 2
and qword [rdx], 0
lea rcx, [0x14002f440]
mov qword [rax + 8], rcx
mov qword [rdx + 0x20], rax
mov qword [rdx + 0x28], 1
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140054015
mov rcx, rsi
call fcn.1400717de
nop
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rax
call fcn.1400737cd
jmp 0x1400549aa
Function at 0x14005dc16
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x10], 0
je 0x14005dcd6
lea rcx, [0x1400970ba]
call sub.OLEAUT32.dll_SysReAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysReAllocString
mov r14, rax
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysStringLen
mov rcx, r14
call sub.OLEAUT32.dll_SysStringLen
test ebp, ebp
js 0x14005dcd6
mov rbx, qword [rsp + 0x38]
lea rcx, [rdi + 0x20]
call fcn.1400598da
mov qword [rdi + 0x20], 1
mov qword [rdi + 0x28], rbx
mov rax, qword [rdi + 0x30]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rdi + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rdi + 0x28]
mov qword [rsi + 0x28], rax
jmp 0x14005dce5
mov qword [rsi], 2
mov rcx, rdi
call fcn.140059825
mov rax, rsi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14005e869
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x30], 0
je 0x14005e8a0
mov rsi, rcx
lea r9, [rsp + 0x28]
and qword [r9], 0
mov rcx, qword [rcx + 0x60]
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14005e8a0
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x38], rax
mov al, 1
jmp 0x14005e8a2
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x14005fb9c
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14005fc38
mov rdi, rax
lea rbx, [rsp + 0x30]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rsp + 0x2c]
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14005fc1d
mov r15, qword [rdi + r13]
mov rcx, r15
call fcn.140066d4c
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14005a2a8
mov rcx, rbx
mov rdx, r14
call fcn.140059fa1
add r13, 8
jmp 0x14005fbed
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
jmp 0x14005fc49
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140060f01
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
lea rdi, [rsp + 0x90]
movaps xmmword [rdi], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
mov dword [rdi], 0x40
mov rcx, rdi
call sub.KERNEL32.dll_GlobalMemoryStatusEx
mov rax, qword [rdi + 8]
mov qword [rsi + 0x130], rax
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x138], rax
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x50], xmm6
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
and qword [rcx + 0x60], 0
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x140060fd4
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub r8, r9
cmovb r8, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul r8
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdi, qword [rsp + 0x28]
sub rdi, r9
cmovb rdi, r10
mov rax, rcx
mul rdi
cmovo rax, r11
mov qword [rsi + 0x140], r8
mov qword [rsi + 0x148], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140062252
Capabilities:
Get disk information

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x24], eax
test eax, eax
je 0x14006228e
movabs rax, 0x2000000000
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
lea rax, [rsp + 0x24]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x28]
call fcn.14005ad41
jmp 0x1400622a3
and qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
and qword [rsp + 0x38], 0
lea rcx, [rsi + 0x170]
call fcn.140059898
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x180], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x170], xmm0
add rsp, 0x50
pop rsi
ret
Function at 0x140063770
Capabilities:
Parse pe header

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

Function at 0x140067b94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140067984