joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d2a60
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.1400ea770
mov rdi, rdx
test rax, rax
je 0x1400d2ae7
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rdi
call fcn.1400cce80
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.1400ea9c0
cmp dword [rbp + 8], 2
jne 0x1400d2b0b
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 2
jmp 0x1400d2b3a
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 0x1400d2b63
lea rcx, [rbp - 0x38]
call fcn.1400cce80
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.14012856c
mov r12, qword [rbp - 8]
test rdi, rdi
je 0x1400d2bb1
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 0x1400d2c2d
mov rbx, qword [rbp - 0x40]
jmp 0x1400d2bb3
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 0x1400d2c1c
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.14012856c
test r15, r15
je 0x1400d2c1c
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400d2c56
mov qword [rsi], 0
mov rcx, rbx
call fcn.14012856c
jmp 0x1400d2c56
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.1400cce80
mov qword [rsi], 0
mov rcx, rdi
call fcn.14012856c
jmp 0x1400d2ad5
Function at 0x1400ec330
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 0x1400ed4b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
sub esp, 0xa8

Function at 0x1400ed990
Capabilities:
Write file on windows

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

Function at 0x1400eeb70
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
lea ebp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rbp - 0x10]
call fcn.1400eaac0
mov edi, 0x8b48ffff
invalid
invalid
mov rsi, qword [rbp - 8]
cmp rax, rdi
je case.0x1400edffd.61
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x28], eax
mov qword [rbp - 0x20], rsi

Function at 0x1400f00f0
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 [0x14021f140]
test ecx, ecx
je 0x1400f01c1
dec ecx
call fcn.140128954
cmp rax, 1
jbe 0x1400f0121
add rax, 8
jmp 0x1400f01b8
je 0x1400f01b6
movzx eax, byte [0x1402ec188]
mov edx, 0x10
xor ecx, ecx
call fcn.1400fc8d0
test rax, rax
je 0x1400f01f4
mov rbx, rax
mov rsi, rax
lea rax, [0x14021f128]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14021f140]
test ecx, ecx
je 0x1400f01d4
dec ecx
call fcn.140128954
mov rdi, rax
mov ecx, dword [0x14021f140]
test ecx, ecx
je 0x1400f01e4
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.14012895c
test rdi, rdi
je 0x1400f01b1
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400f01a4
lock dec qword [rax]
jne 0x1400f01a4
mov rcx, qword [rdi + 8]
call fcn.1400f0210
mov edx, 8
mov rcx, rdi
call fcn.14002f3f0
mov rax, rbx
jmp 0x1400f01b8
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14021f128]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400f010d
lea rcx, [0x14021f128]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400f0167
lea rcx, [0x14021f128]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400f017b
mov ecx, 8
mov edx, 0x10
call fcn.140031210
int3
Function at 0x1400f0740
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 [0x1402ec120]
cmp rax, 3
jne 0x1400f0930
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x1400f0940
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 0x1400f07d8
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400f0894
inc rdx
cmp rax, rdx
jne 0x1400f07c0
jmp 0x1400f08fb
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x1400f080e
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400f0894
inc rdx
cmp rcx, rdx
jne 0x1400f07f0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x1400f0812
jmp 0x1400f085e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x140227eb0]
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 0x1400f085e
add rcx, 0x10
cmp rcx, rdx
jbe 0x1400f0830
sub rax, rcx
je 0x1400f08fb
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x1400f0891
inc rdx
cmp rax, rdx
jne 0x1400f0880
jmp 0x1400f08fb
add rdx, rcx
cmp rdx, rdi
jne 0x1400f08fb
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 0x1400f090f
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400f0927
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400f0952
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 0x1400f0952
mov rbx, rdx
call fcn.1400f0e00
mov rdx, rbx
jmp 0x1400f077c
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.1400f0e60
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f0e60
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.1400313c0
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400f0ee7
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 0x1400f0f19
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400f0f2d
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400f0f49
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14002f3f0
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 0x1400f0f49
mov edx, 1
mov rcx, rdi
call fcn.14002f3f0
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400f7290
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.1400eaac0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
cmp rcx, rbx
jne 0x1400f72ce
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
jmp 0x1400f72f4
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.1400f71b0
mov r14, qword [rbp - 0x10]
cmp r14, rbx
jne 0x1400f730d
lea rcx, [rbp - 8]
call fcn.1400cce80
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 0x1400f732f
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x1400f7300
mov qword [rsi], rbx
test r14, r14
je 0x1400f7300
mov edx, 2
mov rcx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.14002f3f0
Function at 0x1400f9bc0
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 [0x1402ec188]
mov edx, 0x10
xor ecx, ecx
call fcn.1400fc8d0
test rax, rax
je 0x1400f9c83
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400f9ce0]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x1400f9c75
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, qword [r14]
test rax, rax
je 0x1400f9c41
mov rcx, rbx
call rax
cmp qword [r14 + 8], 0
je 0x1400f9c54
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.14002f3f0
mov edx, 8
mov rcx, rsi
call fcn.14002f3f0
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.140031210
ud2
Function at 0x1400fc060
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 0x1400fc1c6
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x1400fc09d
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400fc1b0
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1400fc193
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 0x1400fc0fb
mov eax, dword [rbp + 4]
mov ecx, 2
test rax, rax
je 0x1400fc13d
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x1400fc141
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 0x1400fc145
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x1400fc16f
lea rax, [rbp - 8]
jmp 0x1400fc151
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1400fc175
mov qword [rbp - 8], 1
lea rax, [rbp - 0x10]
mov qword [rax], 0
lea rcx, [rbp - 0x40]
call fcn.1400cce80
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
cmp rcx, 2
jne 0x1400fc180
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 0x1400fc0e4
mov ecx, 1
jmp 0x1400fc0ee
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400d2730
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400fc0aa
mov r8d, 0x10
mov rcx, rbx
call fcn.1400d2730
mov rax, qword [rbx]
jmp 0x1400fc09d
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400fc1e0
int3
Function at 0x140101800
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.1400eaac0
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
cmp rax, rdi
je 0x140101860
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.1400eac60
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rbx, rdi
jne 0x14010186c
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 0x14010188e
test rbx, rbx
je 0x1401018b2
mov edx, 2
mov rcx, rsi
call fcn.14002f3f0
xor eax, eax
jmp 0x140101863
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rbx, rbx
je 0x140101863
mov edx, 2
mov rcx, rsi
mov rsi, rax
call fcn.14002f3f0
jmp 0x140101860
xor eax, eax
jmp 0x140101863

Function at 0x140102280
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.1400eaac0
mov rax, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
cmp rax, r15
je 0x1401022ea
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.1400eac60
mov r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp r14, r15
jne 0x1401022ff
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.1400eaac0
mov rax, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
cmp rax, r15
je 0x140102348
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.1400eac60
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
cmp rbx, r15
jne 0x14010236f
mov rdx, rdi
mov eax, 1
test r14, r14
je 0x1401022f2
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.14002f3f0
mov eax, 1
mov rdx, rdi
jmp 0x1401022f2
mov qword [rbp - 0x10], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x140102430]
lea r9, [rbp - 0x10]
mov rcx, rsi
mov rdx, rdi
call sub.kernel32.dll_CopyFileExW
test eax, eax
je 0x1401023dd
mov rdx, qword [rbp - 0x10]
test rbx, rbx
je 0x1401023be
mov rbx, rdx
mov edx, 2
mov rcx, rdi
call fcn.14002f3f0
mov rdx, rbx
test r14, r14
je 0x1401023d6
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.14002f3f0
mov rdx, rdi
xor eax, eax
jmp 0x1401022f2
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rbx, rbx
je 0x14010234b
mov rbx, rdx
mov edx, 2
mov rcx, rdi
call fcn.14002f3f0
mov rdx, rbx
jmp 0x14010234b
Function at 0x140103baf
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 0x140103c4b
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 0x140103c30
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14010360d
mov rcx, rbx
mov rdx, r14
call fcn.140103e9b
add r13, 8
jmp 0x140103c00
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 0x140103c5c
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 0x14010aa3b
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 0x14010ab0e
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 0x14010ba5e
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 0x14010bac3
cmp qword [r15 + 0x78], 0
je 0x14010bab3
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 0x14010bab3
mov rax, qword [rsp + 0x28]
mov qword [rsi + r14 + 0x80], rax
add r15, 0x90
add r14, 0x90
jmp 0x14010ba7e
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010c8d6
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 0x14010c99d
lea rcx, [0x14026ffca]
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 0x14010c99d
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.1401094c0
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 0x14010c9ac
mov qword [rdi], 2
mov rcx, rsi
call fcn.140109402
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x14010d0e7
Capabilities:
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
call fcn.1400418fa
cmp rax, 1
jbe 0x14004184a
mov rsi, rax
add rsi, 8
jmp 0x1400418cd
je 0x1400418cb
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.1400c7864
test rax, rax
je 0x1400418ea
mov rsi, rax
mov rbx, rax
lea rax, [0x14021f1c0]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
call fcn.1400418fa
mov rdi, rax
mov ecx, dword [0x14021f1d8]
test ecx, ecx
je 0x1400418da
dec ecx
add rsi, 8
mov rdx, rbx
call fcn.14012895c
test rdi, rdi
je 0x1400418cd
mov edx, 8
mov rcx, rdi
call fcn.14002f3f0
jmp 0x1400418cd
xor esi, esi
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14021f1c0]
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1400418ab
mov ecx, 8
mov edx, 0x18
call fcn.140031210
int3
jmp 0x14004182a
Function at 0x14010d2b1
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rdi, rcx
lea rdx, [0x1402705ff]
lea rcx, [rsp + 0x70]
mov r8d, 0x2c
call fcn.14010d54f
lea rdx, [0x14027062b]
lea rcx, [rsp + 0x40]
mov r8d, 0x12
call fcn.14010d54f
lea rax, [rsp + 0x88]
and qword [rax], 0
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x14010d33e
movabs rax, 0x8000000000000000
mov qword [rdi], rax
mov rbx, qword [rsp + 0x48]
jmp 0x14010d4cf
mov dword [rsp + 0x38], 0x800
and dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x58]
mov edx, 0x800
call fcn.14010bb24
mov rbx, qword [rsp + 0x48]
lea r13, [rsp + 0x38]
lea r15, [rsp + 0x3c]
lea r12, [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14010d3a8
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.14012775f
jmp 0x14010d36e
test eax, eax
jne 0x14010d49c
mov r8d, dword [rsp + 0x38]
shr r8d, 1
lea rcx, [rsp + 0x90]
mov rdx, r14
call fcn.14010360d
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14010d3e8
cmp byte [rax + rcx - 1], 0
sete r8b
jmp 0x14010d3eb
xor r8d, r8d
test r8b, r8b
je 0x14010d4ab
test rcx, rcx
je 0x14010d495
movzx r9d, byte [rax + rcx - 1]
mov rdx, 0xffffffffffffffff
test r9b, r9b
jns 0x14010d48d
movzx r10d, byte [rax + rcx - 2]
cmp r10b, 0xbf
jg 0x14010d43b
movzx r11d, byte [rax + rcx - 3]
cmp r11b, 0xbf
jg 0x14010d441
movzx ebp, byte [rax + rcx - 4]
and ebp, 7
shl ebp, 6
and r11d, 0x3f
or r11d, ebp
jmp 0x14010d445
and r10d, 0x1f
jmp 0x14010d450
and r11d, 0xf
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r9d, 0x110000
je 0x14010d3eb
cmp r9d, 0x80
jb 0x14010d48d
mov rdx, 0xfffffffffffffffe
cmp r9d, 0x800
jb 0x14010d48d
xor edx, edx
cmp r9d, 0x10000
setb dl
or rdx, 0xfffffffffffffffc
add rcx, rdx
jmp 0x14010d3d8
xor ecx, ecx
jmp 0x14010d3d8
movabs rax, 0x8000000000000000
mov qword [rdi], rax
jmp 0x14010d4c2
mov qword [rsp + 0xa0], rcx
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x58]
mov rdx, r14
call fcn.1400cc39a
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.140102f4a
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
call fcn.140102f4a
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1401101bb
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1401101d4
dec ecx
add rsp, 0x28
jmp fcn.140128954
mov rcx, rax
call fcn.1400ccbe0
mov ecx, eax
jmp 0x1401101cb