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

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x40]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platformnul_byte_found_in_provided_data
cmovne rdx, rcx
add rsp, 0x58
ret

Function at 0x1400e34f0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x38], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov edi, 0xffffffff
xor esi, esi
xor r15d, r15d
cmp r8, 0x201
jae 0x1400e3590
jmp 0x1400e356f
jae 0x1400e363a
cmp r8, 0x201
jae 0x1400e3590
mov ebx, 0x200
lea r12, [rsp + 0x98]
mov r13, r8
jmp 0x1400e35bb
sub r8, r15
sub rsi, r15
cmp rsi, r8
jb 0x1400e3619
cmp r14, rdi
mov r15d, 0xffffffff
cmovb r15, r14
mov qword [rsp + 0x38], r15
mov rsi, r14
mov rbx, r15
mov r12, qword [rsp + 0x48]
mov r13, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r12
mov edx, r13d
call sub.KERNEL32.dll_GetWindowsDirectoryW
mov ebp, eax
test eax, eax
jne 0x1400e35e0
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1400e3707
mov r8d, ebp
cmp r13, r8
jne 0x1400e3560
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400e3734
add r13, r13
cmp r13, rdi
cmovae r13, rdi
mov r8, r13
cmp r8, 0x201
jb 0x1400e356f
jmp 0x1400e3590
lea rcx, [rsp + 0x28]
mov rdx, r15
call fcn.1400e6fe0
mov r14, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1400e359b
cmp rbx, r8
jb 0x1400e3734
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, r12
call fcn.1400e74f0
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rcx, r14
call fcn.1400e5210
mov rax, qword [rsp + 0x58]
cmp byte [rax], 0
jne 0x1400e3688
lea rdx, str.exemain
lea rcx, [rsp + 0x60]
mov r8d, 3
call fcn.1400e6500
mov rdi, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.1400de7f0
cmp qword [rsp + 0x60], 0
je 0x1400e36bb
mov rcx, qword [0x14017a0c0]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rcx], xmm0
cmp qword [rsp + 0x28], 0
je 0x1400e36f2
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x14017a0c0]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
nop
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000001
mov qword [rcx], rax
cmp qword [rsp + 0x28], 0
jne 0x1400e36df
jmp 0x1400e36f2
ud2
Function at 0x1400e3740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x14010a0a0]
test ecx, ecx
je 0x1400e382c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400e376f
cmp qword [rax + 8], 0
jne 0x1400e3826
mov ecx, dword [0x14010a0a0]
test ecx, ecx
je 0x1400e384e
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400e386b
test rax, rax
jne 0x1400e37df
movzx eax, byte [0x14017a148]
mov edx, 0x20
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400e388d
lea rcx, [0x14010a088]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x14010a0a0]
test ecx, ecx
je 0x1400e3874
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.140107c40
mov rax, rdi
test rsi, rsi
je 0x1400e37f8
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 8]
mov qword [rsi], 0
cmp rcx, 1
je 0x1400e381a
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov rsi, rax
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, rsi
movaps xmm0, xmmword [rsp + 0x20]
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm0
add rax, 0x10
jmp 0x1400e386d
lea rcx, [0x14010a088]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400e3764
jmp 0x1400e376f
lea rcx, [0x14010a088]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400e378e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x14010a088]
mov rdi, rax
call fcn.1400dcb90
mov ecx, eax
mov rax, rdi
jmp 0x1400e37d1
ud2
Function at 0x1400e4840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
movzx r9d, byte [rdx + 0x38]
cmp r9b, 1
ja 0x1400e48ba
movzx eax, byte [rdx + 0x3a]
test al, al
jne 0x1400e4892
movzx esi, byte [rdx + 0x10]
lea r8d, [rsi - 5]
cmp r8b, 1
ja 0x1400e4892
mov r10, qword [rdx]
mov r8, qword [rdx + 8]
xor r11d, r11d
test r9b, r9b
jne 0x1400e4889
cmp sil, 6
je 0x1400e4889
invalid
mov r11d, 2
xor eax, eax
xor r8d, r8d

Function at 0x1400e7120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14010a0e0]
test ecx, ecx
je 0x1400e71be
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400e7146
cmp byte [rax + 8], 0
jne 0x1400e71b4
mov ecx, dword [0x14010a0e0]
test ecx, ecx
je 0x1400e71e0
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400e71fd
test rax, rax
jne 0x1400e71ae
movzx eax, byte [0x14017a148]
mov edx, 0x10
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400e721b
lea rcx, [0x14010a0c8]
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x14010a0e0]
test ecx, ecx
je 0x1400e7205
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.140107c40
mov rax, rsi
mov word [rax + 8], 1
add rax, 9
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14010a0c8]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400e7140
jmp 0x1400e7146
lea rcx, [0x14010a0c8]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400e7165
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14010a0c8]
mov rsi, rax
call fcn.1400dcb90
mov ecx, eax
mov rax, rsi
jmp 0x1400e71a0
ud2
Function at 0x1400f2fd0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x1400f313e
mov rdi, rax
mov qword [rsp + 0x40], rsi
movsxd rbp, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test rbp, rbp
je 0x1400f3114
shl rbp, 3
mov r15d, 8
xor esi, esi
lea rbx, [rsp + 0x48]
lea r14, [rsp + 0x80]
xor r12d, r12d
jmp 0x1400f3082
lea rax, [r12 + r12*2]
mov rcx, qword [rsp + 0x70]
mov qword [r15 + rax*8 + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r15 + rax*8], xmm0
mov r12, qword [rsp + 0x38]
inc r12
mov qword [rsp + 0x38], r12
add rsi, 8
cmp rbp, rsi
je 0x1400f3114
mov r13, qword [rdi + rsi]
mov rcx, r13
call sub.msvcrt.dll_wcslen
lea rax, [rax*2]
add rax, r13
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], rax
mov word [rsp + 0x90], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
mov rcx, rbx
mov rdx, r14
call fcn.1400f7610
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x60], xmm0
cmp r12, qword [rsp + 0x28]
jne 0x1400f3050
lea rcx, [rsp + 0x28]
mov rdx, r12
call fcn.140021960
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
jmp 0x1400f3050
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
test rax, rax
jne 0x1400f3126
call sub.KERNEL32.dll_GetLastError
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
jmp 0x1400f3155
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400f5b70
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [rcx]
mov rbx, qword [rcx + 0x18]
movdqa xmm0, xmmword [rdi]
pmovmskb eax, xmm0
not eax
lea r14, [rdi + 0x10]
jmp 0x1400f5bbd
tzcnt ecx, eax
shl ecx, 5
mov rdx, rdi
sub rdx, rcx
lea ebp, [rax - 1]
and ebp, eax
mov rcx, qword [rdx - 8]
call sub.pdh.dll_PdhRemoveCounter
mov eax, ebp
sub rbx, 1
jb 0x1400f5bef
test ax, ax
jne 0x1400f5ba0
nop dword [rax + rax]
movdqa xmm0, xmmword [r14]
pmovmskb eax, xmm0
add rdi, 0xfffffffffffffe00
add r14, 0x10
cmp eax, 0xffff
je 0x1400f5bd0
not eax
jmp 0x1400f5ba0
mov rcx, qword [rsi + 0x38]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400f5c06
call sub.KERNEL32.dll_CloseHandle
test eax, eax
je 0x1400f5c1f
mov rcx, qword [rsi + 0x30]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x1400f5c32
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rsi + 0x30]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400f5c14
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp 0x140107ea8
jmp qword [sym.imp.pdh.dll_PdhCloseQuery]
Function at 0x1400f7330
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x14010a140]
test ecx, ecx
je 0x1400f7360
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400f7379
cmp qword [rax + 8], 0
je 0x1400f7379
add rax, 0x10
jmp 0x1400f7435
lea rcx, [0x14010a128]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400f7350
mov ecx, dword [0x14010a140]
test ecx, ecx
je 0x1400f7416
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400f7433
test rax, rax
jne 0x1400f73e5
movzx eax, byte [0x14017a148]
mov edx, 0x18
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f7452
lea rcx, [0x14010a128]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x14010a140]
test ecx, ecx
je 0x1400f743c
dec ecx
mov rdx, rax
mov rdi, rax
call fcn.140107c40
mov rax, rdi
test rsi, rsi
je 0x1400f73ff
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400f7401
mov rcx, qword [rsi + 8]
jmp 0x1400f7401
xor ecx, ecx
lea rdx, [rax + 0x10]
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
mov rax, rdx
jmp 0x1400f7435
lea rcx, [0x14010a128]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400f7398
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14010a128]
mov rdi, rax
call fcn.1400dcb90
mov ecx, eax
mov rax, rdi
jmp 0x1400f73d7
ud2
Function at 0x1400f8620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14010a038]
test ecx, ecx
je 0x1400f867e
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400f8659
cmp dword [rax + 8], 0
jne 0x1400f870b
mov ecx, dword [0x14010a038]
test ecx, ecx
je 0x1400f8699
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400f86b1
cmp rax, 1
jne 0x1400f86fc
jmp 0x1400f888e
lea rcx, [0x14010a020]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400f864f
jmp 0x1400f8659
lea rcx, [0x14010a020]
call fcn.1400dcb90
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x1400f866f
movzx eax, byte [0x14017a148]
mov edx, 0x18
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f888e
lea rcx, [0x14010a020]
mov qword [rax], rcx
mov dword [rax + 8], 0
mov ecx, dword [0x14010a038]
test ecx, ecx
je 0x1400f8872
dec ecx
mov rdx, rax
mov r14, rax
call fcn.140107c40
mov rax, r14
mov dword [rax + 8], 1
mov qword [rax + 0xc], 0
add rax, 0xc
mov rcx, qword [rbx + 0x50]
mov qword [rsp + 0x98], rcx
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsp + 0x88], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rsp + 0x78], xmm3
movups xmmword [rsp + 0x68], xmm2
movups xmmword [rsp + 0x58], xmm1
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xa0], 0
lea rdx, [0x1400f5130]
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140049810
mov rbx, qword [rsp + 0x40]
lea rdi, [rbx + 4]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rbx + 4], cl
jne 0x1400f87f7
cmp byte [rbx + 5], 0
je 0x1400f8805
mov byte [rbx + 5], 0
xor eax, eax
xchg byte [rbx + 4], al
cmp al, 2
jne 0x1400f879e
mov rcx, rdi
call fcn.140107f78
mov rax, qword [rsp + 0xa0]
cmp rax, 1
jne 0x1400f888b
movups xmm0, xmmword [rsp + 0xa8]
movups xmm1, xmmword [rsp + 0xb8]
movups xmm2, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x30], xmm2
movaps xmmword [rsp + 0x20], xmm1
movups xmmword [rsi], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rdi
call fcn.1400e7c70
cmp byte [rbx + 5], 0
jne 0x1400f8789
lea r14, [rsp + 0x20]
mov bpl, 1
jmp 0x1400f8823
xor eax, eax
lock cmpxchg byte [rdi], bpl
jne 0x1400f885f
cmp byte [rbx + 5], 0
jne 0x1400f8789
mov r15d, dword [rbx]
xor eax, eax
xchg byte [rbx + 4], al
cmp al, 2
jne 0x1400f8837
mov rcx, rdi
call fcn.140107f78
mov dword [rsp + 0x20], r15d
mov r8d, 4
mov rcx, rbx
mov rdx, r14
mov r9d, 0xffffffff
call sub.api_ms_win_core_synch_l1_2_0.dll_WaitOnAddress
cmp eax, 1
je 0x1400f8810
call sub.KERNEL32.dll_GetLastError
jmp 0x1400f8810
mov rcx, rdi
call fcn.1400e7c70
cmp byte [rbx + 5], 0
je 0x1400f8823
jmp 0x1400f8789
lea rcx, [0x14010a020]
mov r14, rax
call fcn.1400dcb90
mov ecx, eax
mov rax, r14
jmp 0x1400f86ee
test rax, rax
ud2
Function at 0x1400f8e30
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0x1d8
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm6
mov rsi, rcx
xor ecx, ecx
call fcn.1400e3740
test rax, rax
je 0x1400f90ea
movups xmm7, xmmword [rax]
inc qword [rax]
movzx eax, byte [0x14017a148]
mov edx, 0x56410
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f90ea
mov rdi, rax
add rdi, 0x56000
mov r8d, 0x410
mov rcx, rdi
mov dl, 0xff
call sub.msvcrt.dll_memset
movzx eax, byte [0x14017a148]
mov edx, 9
xor ecx, ecx
call fcn.1400dbb10
test rax, rax
je 0x1400f90ea
movabs rcx, 0x5043206c61746f54
mov qword [rax], rcx
mov byte [rax + 8], 0x55
xorps xmm6, xmm6
movups xmmword [rsp + 0xb8], xmm6
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], 0x3ff
mov qword [rsp + 0x130], 0x380
mov qword [rsp + 0x138], 0
movups xmmword [rsp + 0x140], xmm7
movups xmmword [rsp + 0x150], xmm6
movups xmmword [rsp + 0x160], xmm6
mov qword [rsp + 0x90], 9
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 9
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 1
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], 0
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 8
mov qword [rsp + 0x110], 0
mov byte [rsp + 0x118], 0
mov qword [rsp + 0x170], 0
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x1400f8ff4
call sub.KERNEL32.dll_GetLastError
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x1400f908e
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsp + 0x160], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsp + 0x168], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.1400fa070
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400fa480
mov r8d, 0x120
mov rcx, rsi
mov rdx, rdi
call sub.msvcrt.dll_memcpy
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rdi
pop rsi
ret
ud2
Function at 0x1400f90f0
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x1400f9135
call sub.KERNEL32.dll_GetLastError
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0xc0], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x1400f91cc
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0xd0], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0xd8], rax
mov rcx, rsi
call fcn.1400fa070
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400fa480
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
ret
Function at 0x1400f9cf0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400f9d32
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400f9d3a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400f9d4b
jmp 0x1400f9d62
xor r10d, r10d
jmp 0x1400f9ded
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400f9d62
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400f9d79
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400f9d99
add r11, r8
jmp 0x1400f9ecb
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400f9e62
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400f9e10
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400f9e80
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400f9e92
jmp 0x1400f9ead
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400f9ead
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400f9ec7
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400feff0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea rcx, [0x14016f638]
lea r9, [0x14016f61c]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1400ff0f6
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400ff10d
mov rcx, r15
mov rdx, r14
call fcn.1400fb630
mov rbx, rax
mov qword [rsp + 0x50], 0
mov rax, qword [rdi]
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x20], 0
xor r15d, r15d
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x1400ff115
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1400ff12d
test rbx, rbx
je 0x1400ff0b5
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, r14
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x1400ff159
mov qword [rsi + 8], r14
mov byte [rsi], 0x12
jmp 0x1400ff141
mov ecx, eax
call fcn.1400fba40
mov ebx, edx
test rax, rax
je 0x1400ff10d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov byte [rsi], 0
mov dword [rsi + 4], ebx
jmp 0x1400ff14a
mov ecx, eax
call fcn.1400fba40
mov r15d, edx
test rax, rax
je 0x1400ff12d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
test rbx, rbx
je 0x1400ff13a
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
mov byte [rsi], 0
mov dword [rsi + 4], r15d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, eax
call fcn.1400fba40
mov ebx, edx
test rax, rax
je 0x1400ff170
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov byte [rsi], 0
mov dword [rsi + 4], ebx
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
jmp 0x1400ff141

Function at 0x140108980
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140109740
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140109740
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]