joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ddf80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x14022f140]
test ecx, ecx
je 0x1400de02e
dec ecx
call fcn.1401381a4
cmp rax, 1
jbe 0x1400ddfae
add rax, 8
jmp 0x1400de025
je 0x1400de023
movzx eax, byte [0x140320188]
mov edx, 0x10
xor ecx, ecx
call fcn.14010b930
test rax, rax
je 0x1400de061
mov rbx, rax
mov rsi, rax
lea rax, [0x14022f128]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14022f140]
test ecx, ecx
je 0x1400de041
dec ecx
call fcn.1401381a4
mov rdi, rax
mov ecx, dword [0x14022f140]
test ecx, ecx
je 0x1400de051
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1401381ac
test rdi, rdi
je 0x1400de01e
mov edx, 8
mov rcx, rdi
call fcn.1400436f0
mov rax, rbx
jmp 0x1400de025
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14022f128]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400ddf9d
lea rcx, [0x14022f128]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400ddfec
lea rcx, [0x14022f128]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400de000
mov ecx, 8
mov edx, 0x10
call fcn.140032df0
int3

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x14022f120]
test ecx, ecx
je 0x1400de5c6
dec ecx
call fcn.1401381a4
cmp rax, 1
jbe 0x1400de53e
add rax, 8
jmp 0x1400de5bd
je 0x1400de5bb
movzx eax, byte [0x140320188]
mov edx, 0x18
xor ecx, ecx
call fcn.14010b930
test rax, rax
je 0x1400de5f9
mov rbx, rax
mov rsi, rax
lea rax, [0x14022f108]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov ecx, dword [0x14022f120]
test ecx, ecx
je 0x1400de5d9
dec ecx
call fcn.1401381a4
mov rdi, rax
mov ecx, dword [0x14022f120]
test ecx, ecx
je 0x1400de5e9
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1401381ac
test rdi, rdi
je 0x1400de5b6
mov edx, 8
mov rcx, rdi
call fcn.1400436f0
mov rax, rbx
jmp 0x1400de5bd
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14022f108]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400de52d
lea rcx, [0x14022f108]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400de584
lea rcx, [0x14022f108]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400de598
mov ecx, 8
mov edx, 0x18
call fcn.140032df0
int3

Function at 0x1400df6d0
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret
Function at 0x1400e18c0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
lea rbp, [rsp + 0x80]
mov rax, r8
mov rsi, rcx
mov dword [rbp + 8], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 7
mov qword [rbp + 0x24], 0
mov word [rbp + 0x2c], 0
mov byte [rbp + 0x28], 1
lea r8, [rbp + 8]
mov rcx, rdx
mov rdx, rax
call fcn.1400f95d0
mov rdi, rdx
test rax, rax
je 0x1400e1947
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rdi
call fcn.1400dbce0
mov qword [rsi], 0
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 8]
mov rdx, rdi
call fcn.1400f9820
cmp dword [rbp + 8], 2
jne 0x1400e196b
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x1400e199a
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmm2, xmmword [rbp + 0x28]
movups xmm3, xmmword [rbp + 0x38]
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rbp + 0x48]
mov qword [rbp], rax
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
cmp qword [rbp - 0x40], 2
jne 0x1400e19c3
lea rcx, [rbp - 0x38]
call fcn.1400dbce0
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.140137dbc
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x1400e1a11
mov qword [rbp - 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400e1a8d
mov rbx, qword [rbp - 0x40]
jmp 0x1400e1a13
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x1400e1a7c
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call fcn.140137dbc
test r15, r15
je 0x1400e1a7c
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400e1ab6
mov qword [rsi], 0
mov rcx, rbx
call fcn.140137dbc
jmp 0x1400e1ab6
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 8], 1
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rax
call fcn.1400dbce0
mov qword [rsi], 0
mov rcx, rdi
call fcn.140137dbc
jmp 0x1400e1935
Function at 0x1400fb190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, r9
mov rdi, r8
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
add rsi, r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x30], 0x81
Function at 0x1400fc9f0
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp fcn.1400dc300

Function at 0x1400fdbd0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
sub esp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
invalid
lea rcx, [rbp - 0x10]
call fcn.1400f9920
mov rax, qword [rbp - 0x10]
invalid
mov rsi, qword [rbp - 8]
cmp rax, rdi
je case.0x1400fd05d.61
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x28], eax
mov qword [rbp - 0x20], rsi

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x14022f160]
test ecx, ecx
je 0x1400ff221
dec ecx
call fcn.1401381a4
cmp rax, 1
jbe 0x1400ff181
add rax, 8
jmp 0x1400ff218
je 0x1400ff216
movzx eax, byte [0x140320188]
mov edx, 0x10
xor ecx, ecx
call fcn.14010b930
test rax, rax
je 0x1400ff254
mov rbx, rax
mov rsi, rax
lea rax, [0x14022f148]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14022f160]
test ecx, ecx
je 0x1400ff234
dec ecx
call fcn.1401381a4
mov rdi, rax
mov ecx, dword [0x14022f160]
test ecx, ecx
je 0x1400ff244
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1401381ac
test rdi, rdi
je 0x1400ff211
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400ff204
lock dec qword [rax]
jne 0x1400ff204
mov rcx, qword [rdi + 8]
call fcn.1400ff270
mov edx, 8
mov rcx, rdi
call fcn.1400436f0
mov rax, rbx
jmp 0x1400ff218
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14022f148]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400ff16d
lea rcx, [0x14022f148]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400ff1c7
lea rcx, [0x14022f148]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400ff1db
mov ecx, 8
mov edx, 0x10
call fcn.140032df0
int3
Function at 0x1400ff7a0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x140320120]
cmp rax, 3
jne 0x1400ff990
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x1400ff9a0
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x1400ff838
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400ff8f4
inc rdx
cmp rax, rdx
jne 0x1400ff820
jmp 0x1400ff95b
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x1400ff86e
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400ff8f4
inc rdx
cmp rcx, rdx
jne 0x1400ff850
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x1400ff872
jmp 0x1400ff8be
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x140238200]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x1400ff8be
add rcx, 0x10
cmp rcx, rdx
jbe 0x1400ff890
sub rax, rcx
je 0x1400ff95b
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x1400ff8f1
inc rdx
cmp rax, rdx
jne 0x1400ff8e0
jmp 0x1400ff95b
add rdx, rcx
cmp rdx, rdi
jne 0x1400ff95b
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400ff96f
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400ff987
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400ff9b2
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x1400ff9b2
mov rbx, rdx
call fcn.1400ffe60
mov rdx, rbx
jmp 0x1400ff7dc
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.1400ffec0
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ffec0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140032fa0
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400fff47
mov rdi, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400fff79
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400fff8d
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400fffa9
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.1400436f0
mov rcx, qword [rbx]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x1400fffa9
mov edx, 1
mov rcx, rdi
call fcn.1400436f0
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1401062f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
movabs rbx, 0x8000000000000000
lea rcx, [rbp - 0x28]
call fcn.1400f9920
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
cmp rcx, rbx
jne 0x14010632e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
jmp 0x140106354
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.140106210
mov r14, qword [rbp - 0x10]
cmp r14, rbx
jne 0x14010636d
lea rcx, [rbp - 8]
call fcn.1400dbce0
mov qword [rsi], rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rdi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x14010638f
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x140106360
mov qword [rsi], rbx
test r14, r14
je 0x140106360
mov edx, 2
mov rcx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.1400436f0
Function at 0x140108c20
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x140320188]
mov edx, 0x10
xor ecx, ecx
call fcn.14010b930
test rax, rax
je 0x140108ce3
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140108d40]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x140108cd5
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, qword [r14]
test rax, rax
je 0x140108ca1
mov rcx, rbx
call rax
cmp qword [r14 + 8], 0
je 0x140108cb4
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.1400436f0
mov edx, 8
mov rcx, rsi
call fcn.1400436f0
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 8
mov edx, 0x10
call fcn.140032df0
ud2
Function at 0x14010b0c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14010b226
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x14010b0fd
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14010b210
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14010b1f3
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rbp + 4], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rbp + 4]
mov r8d, eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x14010b15b
mov eax, dword [rbp + 4]
mov ecx, 2
test rax, rax
je 0x14010b19d
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14010b1a1
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x40], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x14010b1a5
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x14010b1cf
lea rax, [rbp - 8]
jmp 0x14010b1b1
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x14010b1d5
mov qword [rbp - 8], 1
lea rax, [rbp - 0x10]
mov qword [rax], 0
lea rcx, [rbp - 0x40]
call fcn.1400dbce0
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
cmp rcx, 2
jne 0x14010b1e0
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x14010b144
mov ecx, 1
jmp 0x14010b14e
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400e1590
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14010b10a
mov r8d, 0x10
mov rcx, rbx
call fcn.1400e1590
mov rax, qword [rbx]
jmp 0x14010b0fd
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14010b240
int3
Function at 0x140110860
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rbp - 0x10]
call fcn.1400f9920
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
cmp rax, rdi
je 0x1401108c0
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.1400f9ac0
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rbx, rdi
jne 0x1401108cc
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call sub.kernel32.dll_DeleteFileW
test eax, eax
je 0x1401108ee
test rbx, rbx
je 0x140110912
mov edx, 2
mov rcx, rsi
call fcn.1400436f0
xor eax, eax
jmp 0x1401108c3
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rbx, rbx
je 0x1401108c3
mov edx, 2
mov rcx, rsi
mov rsi, rax
call fcn.1400436f0
jmp 0x1401108c0
xor eax, eax
jmp 0x1401108c3

Function at 0x1401112e0
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, r9
mov rbx, r8
mov r8, rdx
mov rdx, rcx
movabs r15, 0x8000000000000000
lea rcx, [rbp - 0x28]
call fcn.1400f9920
mov rax, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
cmp rax, r15
je 0x14011134a
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
mov qword [rbp], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x10]
mov r8b, 1
call fcn.1400f9ac0
mov r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp r14, r15
jne 0x14011135f
mov eax, 1
mov rdx, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp - 0x28]
mov rdx, rbx
mov r8, rdi
call fcn.1400f9920
mov rax, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
cmp rax, r15
je 0x1401113a8
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdi
mov qword [rbp], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x10]
mov r8b, 1
call fcn.1400f9ac0
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
cmp rbx, r15
jne 0x1401113cf
mov rdx, rdi
mov eax, 1
test r14, r14
je 0x140111352
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.1400436f0
mov eax, 1
mov rdx, rdi
jmp 0x140111352
mov qword [rbp - 0x10], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x140111490]
lea r9, [rbp - 0x10]
mov rcx, rsi
mov rdx, rdi
call sub.kernel32.dll_CopyFileExW
test eax, eax
je 0x14011143d
mov rdx, qword [rbp - 0x10]
test rbx, rbx
je 0x14011141e
mov rbx, rdx
mov edx, 2
mov rcx, rdi
call fcn.1400436f0
mov rdx, rbx
test r14, r14
je 0x140111436
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.1400436f0
mov rdx, rdi
xor eax, eax
jmp 0x140111352
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rbx, rbx
je 0x1401113ab
mov rbx, rdx
mov edx, 2
mov rcx, rdi
call fcn.1400436f0
mov rdx, rbx
jmp 0x1401113ab
Function at 0x140112c0f
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 0x140112cab
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 0x140112c90
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14011266d
mov rcx, rbx
mov rdx, r14
call fcn.140112efb
add r13, 8
jmp 0x140112c60
mov rcx, rdi
call sub.kernel32.dll_LocalFree
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jmp 0x140112cbc
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140119a06
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 + 0x138], rax
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x140], 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 0x140119ad9
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0x148], r8
mov qword [rsi + 0x150], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x14011aa29
Capabilities:
Get disk size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
imul rbx, rdx, 0x90
xor r14d, r14d
lea rdi, [rsp + 0x28]
mov r15, rcx
cmp rbx, r14
je 0x14011aa8e
cmp qword [r15 + 0x78], 0
je 0x14011aa7e
and qword [rsp + 0x28], 0
mov rcx, qword [rsi + r14 + 0x50]
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14011aa7e
mov rax, qword [rsp + 0x28]
mov qword [rsi + r14 + 0x80], rax
add r15, 0x90
add r14, 0x90
jmp 0x14011aa49
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14011b8a1
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 0x10], 0
je 0x14011b968
lea rcx, [0x1402a2692]
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call rax
mov ebp, eax
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
test ebp, ebp
js 0x14011b968
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.14011844d
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x14011b977
mov qword [rdi], 2
mov rcx, rsi
call fcn.14011838f
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x14011c0b2
Capabilities:
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
call fcn.14004353a
cmp rax, 1
jbe 0x14004348a
mov rsi, rax
add rsi, 8
jmp 0x14004350d
je 0x14004350b
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi], xmm0
mov edx, 0x10
mov rcx, rsi
call sub.bcryptprimitives.dll_ProcessPrng
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov ecx, 8
mov edx, 0x18
call fcn.1400d676b
test rax, rax
je 0x14004352a
mov rsi, rax
mov rbx, rax
lea rax, [0x14022f1e0]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
call fcn.14004353a
mov rdi, rax
mov ecx, dword [0x14022f1f8]
test ecx, ecx
je 0x14004351a
dec ecx
add rsi, 8
mov rdx, rbx
call fcn.1401381ac
test rdi, rdi
je 0x14004350d
mov edx, 8
mov rcx, rdi
call fcn.1400436f0
jmp 0x14004350d
xor esi, esi
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14022f1e0]
call fcn.1400dba40
mov ecx, eax
jmp 0x1400434eb
mov ecx, 8
mov edx, 0x18
call fcn.140032df0
int3
jmp 0x14004346a