joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d2b6c
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, [0x14029ad60]
call fcn.1400d0a1f
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400d2cdc
test eax, eax
je 0x1400d2c54
cmp eax, 0x90317
je 0x1400d2cd6
cmp eax, 0x90321
jne 0x1400d2cfa
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400d2b0d
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400d2d08
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.1400d0dc2
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call case.0x1400dc200.342
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400d2b0d
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x1400d2d08
mov byte [rsi + 1], 1
jmp 0x1400d2cf6
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400d2d08
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f1bda
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rbp - 0x38]
push 0xb
pop r8
mov rdx, rax
call fcn.1400f1a4d
mov dword [rbp - 4], 0x800
and dword [rbp - 8], 0
lea rcx, [rbp - 0x20]
mov edx, 0x800
call fcn.1400e566e
mov rdi, qword [rbp - 0x30]
lea r13, [rbp - 4]
lea r15, [rbp - 8]
lea r12, [rbp - 0x20]
mov r14, qword [rbp - 0x18]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400f1c6c
mov edx, dword [rbp - 4]
mov rcx, r12
call fcn.1401017b1
jmp 0x1400f1c39
test eax, eax
jne 0x1400f1c8b
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
jbe 0x1400f1cb2
movabs rax, 0xde00000002
jmp 0x1400f1c93
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rbp - 0x20]
mov rdx, r14
call fcn.1400ffa2f
jmp 0x1400f1cc4
mov rcx, qword [rbp - 0x10]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rbp - 0x38]
mov rdx, rdi
call fcn.140116846
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400fae90
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400faeb5
cmp rax, rcx
je 0x1400faebb
cmp rdx, 4
jae 0x1400faec2
xor eax, eax
xor r8d, r8d
jmp 0x1400faf60
pop rbp
jmp fcn.140055a90
xor eax, eax
jmp 0x1400faf77
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14025dbc0]
movdqa xmm3, xmmword [0x14025dbd0]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400faef0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400faf77
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400faf60
pop rbp
ret
Function at 0x1400ff073
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x30], 4
mov dword [rbp + 0x18], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x1400ff0d5
mov edx, dword [rcx + 0x28]
mov dword [rbp - 8], edx
mov rdx, qword [rcx + 0x20]
mov qword [rbp], rdx
cmp qword [rcx + 0x30], rax
je 0x1400ff10c
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400ff107
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1402cfb24]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400ff0f4
jmp 0x1400ff109
xor edx, edx
mov dword [rbp + 8], edx
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x1400ff15f
lea rsi, [r14*8]
mov rax, r14
shr rax, 0x3c
jne 0x1400ff210
mov rbx, qword [rcx + 8]
push 8
pop rdi
mov rcx, rdi
mov rdx, rsi
call fcn.140096c32
test rax, rax
je 0x1400ff212
mov r15, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [r15 + rax*8], rcx
inc rax
cmp r14, rax
jne 0x1400ff14a
mov eax, r14d
jmp 0x1400ff168
xor r14d, r14d
push 8
pop r15
xor eax, eax
lea rcx, [rbp - 0x30]
mov dword [rcx + 4], eax
mov qword [rcx + 8], r15
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
and qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rcx
lea rdx, [0x1402a0463]
push 2
pop r8
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x1400ff1b8
mov esi, eax
shl rsi, 0x20
or rsi, 2
push 1
pop rdi
jmp 0x1400ff1ef
movaps xmm0, xmmword [rbp + 0x40]
push 1
pop rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
movups xmmword [rbp + 0x30], xmm0
push 8
pop rcx
push 0x20
pop rdx
call fcn.140096c32
test rax, rax
je 0x1400ff21d
mov rsi, rax
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor edi, edi
mov rcx, r14
mov rdx, r15
call fcn.140129fae
mov rax, rdi
mov rdx, rsi
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor edi, edi
mov rcx, rdi
mov rdx, rsi
call fcn.1402564e0
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x50], r14
push 8
pop rcx
push 0x20
pop rdx
call fcn.140256500
ud2

Function at 0x1400ff916
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400ff940
mov rdx, qword [rsp + 0x20]
jmp 0x1400ff948
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140103fd9
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140104006
xor eax, eax
jmp 0x14010400b
call fcn.14008bfc8
nop
add rsp, 0x38
ret

Function at 0x140104e70
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1402a3d50]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140104ee1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
xchg ecx, eax
test dword [0x14055d9da], edx
cmp eax, 0x103
je 0x140104f0e
test eax, eax
js 0x140104eed
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140104f04
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
sbb al, 0
lea rax, [0x1402a3db0]
add eax, 0x19ee90
mov qword [rbp - 0x38], rax
enter 0xffffffffffffc748, 0x45
rol byte [rcx], 1
add byte [rax], al
add byte [rax - 0x73], cl
and byte [r8 - 0x77], r9b
and byte [rax - 0x77], cl
fmul dword [r15]
push rdi
ror byte [rdi], 0x11
movups xmmword [rbp - 0x20], xmm0
adc dword [rbp - 0x20], eax
loopne 0x140104f84
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call case.0x1400eff12.363
invalid
dec dword [rax - 0x77]
mov qword [rbp - 8], rax
clc
lea rcx, [rbp - 8]
lea ecx, [rbp - 8]
call fcn.140104670
invalid
invalid
mov ecx, 7
invalid
add byte [rax], al
add ch, cl
sub dword [rdi], ecx
invalid

Function at 0x140106e00
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 qword [sym.imp.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 0x1401090c0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push rsi
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
add byte [rax - 0x73], cl
lodsb al, byte [rsi]
and al, 0x80
add byte [rax], 0
add byte [rax], al
mov qword [rbp + 0x420], 0xfffffffffffffffe
and byte [rax + rax], al
add dh, bh
invalid
invalid
dec dword [rax - 0x77]
mov esi, ecx
lea rcx, [rbp - 0x60]
call fcn.1401094f0
inc byte [rbx]
add byte [rax], al
mov rax, qword [rbp - 0x60]
movabs al, byte [0xbf48]
movabs al, byte [0xbf48]
add byte [rax], al
invalid
invalid
cmp rax, rdi
jne 0x140109116
lea rcx, [rbp - 0x58]
call fcn.140104690
invalid
mov ch, 0xff
dec dword [rax - 0x77]
notrack jmp 0x140109358
jmp 0x140109358
mov qword [rbp + 0x3f8], rsi
mov qword [rbp + 0x3f0], rax
test eax, esi
add eax, dword [rax]
add byte [rax - 0x75], cl
mov eax, dword [rbp - 0x58]
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x408], 0
mov dword [rbp + 0x408], 0
mov qword [rbp + 0x410], 2
mov qword [rbp + 0x418], 0
sbb byte [rax + rax], al
add byte [rax], al
add byte [rax], al
add byte [rcx - 0x48], al
mov r8d, 0x200
add al, byte [rax]
invalid
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
push qword [rcx]
fild dword [rbp + 0x31]
test byte [rcx - 0x7f], 0xf8
add dword [rdx], eax
add byte [rax], al
jae 0x1401091a0
jmp 0x14010918f
Function at 0x14010b930
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
add byte [rax - 0x73], cl
lodsb al, byte [rsi]
and al, 0x80
add byte [rax], al
add byte [rax], al
mov rsi, rcx
invalid
movups xmm0, xmmword [0x1402a3d50]
add byte [rdi], cl
sub dword [rbp], eax

Function at 0x140110000
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 eax, dword [0x14033a228]
cmp eax, 4
jne 0x1401101f2
mov rbx, rdx
call fcn.14025aae0
test al, 0x14
add byte [rax - 0x77], cl
mov edx, ebx

Function at 0x140110a70
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 r14, rdx
mov rsi, rcx
movzx eax, byte [0x14033a2c8]
mov edx, 0x10
xor ecx, ecx
call fcn.140111500
test rax, rax
je 0x140110b50
invalid
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140110bf0]
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 0x140110b42
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
je 0x140110b07
mov rcx, qword [rbp - 0x18]
call rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x140110b1f
mov rdx, qword [rax + 0x10]
call fcn.140061d00
mov edx, 8
mov rcx, qword [rbp - 0x20]
call fcn.140061d00
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 qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140256500
ud2
Function at 0x140115250
Capabilities:
Check if file exists

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2e8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x260], 0xfffffffffffffffe
mov rsi, rcx
test r8, r8
je 0x1401153e1
js 0x140115589
mov rdi, r8
mov rbx, rdx
movzx eax, byte [0x14033a2c8]
xor ecx, ecx
mov rdx, r8
call fcn.140111500
test rax, rax
je 0x14011558e
mov qword [rbp + 0x250], rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [0x14033a2c8]
xor ecx, ecx
mov rdx, rdi
call fcn.140111500
test rax, rax
je 0x14011559b
mov r14, rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], rdi
mov byte [rbp - 0x40], 0
lea rdx, [0x1402a3d64]
lea rcx, [rbp - 0x58]
mov r8d, 1
call case.0x14010e840.204
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x240], rax
mov rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x48]
mov byte [rbp + 0x25e], 1
lea rcx, [rbp + 0x210]
mov qword [rbp + 0x248], rdx
call fcn.1401094f0
mov rax, qword [rbp + 0x210]
mov r15, qword [rbp + 0x218]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x140115395
mov rcx, qword [rbp + 0x220]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], rcx
mov byte [rbp + 0x25e], 1
lea rcx, [rbp + 0x1f8]
lea rdx, [rbp - 0x58]
call fcn.14010bba0
mov r12, qword [rbp + 0x1f8]
mov r15, qword [rbp + 0x200]
cmp r12, rbx
jne 0x140115409
mov rdi, qword [rbp + 0x250]
mov qword [rsi], r15
mov dword [rsi + 0x10], 2
cmp qword [rbp + 0x240], 0
je 0x1401153c1
mov edx, 1
mov rcx, qword [rbp + 0x248]
call fcn.140061d00
mov edx, 1
mov rcx, rdi
add rsp, 0x2e8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.140061d00
movabs rax, 0x300000002
lea rbx, [rbp - 0x58]
mov r8d, 0x250
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, r15
mov rdx, rbx
invalid
call qword [sym.imp.kernel32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov r14, qword [rbp + 0x250]
push rax
add al, byte [rax]
invalid
call fcn.140052680
mov ecx, 1
Function at 0x1401164a0
Capabilities:
Copy file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x38]
call fcn.1401094f0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x140116513
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
call fcn.14010bba0
mov rax, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
cmp rax, rbx
jne 0x140116526
mov eax, 1
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 8], rax
mov qword [rbp], rdx
lea rcx, [rbp - 0x38]
mov rdx, rdi
mov r8, rsi
call fcn.1401094f0
mov rax, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
cmp rax, rbx
je 0x140116574
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
call fcn.14010bba0
mov rdi, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x48]
cmp rdi, rbx
jne 0x1401165a3
mov rcx, qword [rbp]
mov r14, qword [rbp - 8]
mov rdx, rsi
mov eax, 1
test r14, r14
je 0x140116518
mov rsi, rdx
mov edx, 2
call fcn.140061d00
mov eax, 1
mov rdx, rsi
jmp 0x140116518
mov qword [rbp - 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x140116690]
lea r9, [rbp - 0x20]
mov rcx, qword [rbp]
mov rbx, rcx
mov rdx, rsi
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
mov r14, qword [rbp - 8]
je 0x14011661a
mov rdx, qword [rbp - 0x20]
test rdi, rdi
je 0x1401165fb
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.140061d00
mov rdx, rdi
test r14, r14
je 0x140116613
mov rsi, rdx
mov edx, 2
mov rcx, rbx
call fcn.140061d00
mov rdx, rsi
xor eax, eax
jmp 0x140116518
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rdi, rdi
je 0x140116642
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.140061d00
mov rdx, rdi
mov rcx, rbx
jmp 0x14011657f
Function at 0x14011ab28
Capabilities:
Accept command line arguments

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 qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x14011abcd
mov rdi, rax
lea rbx, [rbp - 0x20]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rbp - 4]
shl r12, 3
xor r13d, r13d
lea r14, [rbp - 0x38]
cmp r12, r13
je 0x14011abb3
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14011a543
mov rcx, rbx
mov rdx, r14
call fcn.14011ae85
add r13, 8
jmp 0x14011ab83
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
jmp 0x14011abde
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14011b66b
Capabilities:
Get disk information
Get disk size
Get storage device properties

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x5a8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x510], xmm6
mov qword [rbp + 0x508], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp + 0x478], rcx
mov r15, qword [rbp + 0x5a8]
mov r12d, dword [rbp + 0x5a0]
mov ebx, dword [rbp + 0x598]
mov rax, qword [rbp + 0x590]
mov qword [rbp + 0x3b8], rdx
lea rdi, [rbp + 0x210]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14011961f
test al, al
je 0x14011b7e5
shr rsi, 1
mov qword [rbp + 0x3b0], rsi
xor eax, eax
mov ecx, r12d
sub ecx, ebx
cmovb ecx, eax
cmp rsi, rcx
ja 0x14011c174
add esi, ebx
lea rax, [rbp + 0x3b8]
mov qword [rbp + 0x340], rax
lea rax, [rbp + 0x3b0]
mov qword [rbp + 0x348], rax
mov qword [rbp + 0x350], rdi
mov qword [rbp + 0x358], r15
mov dword [rbp + 0x360], esi
mov dword [rbp + 0x364], r12d
mov qword [rbp + 0x368], rax
mov qword [rbp + 0x370], rdi
mov qword [rbp + 0x378], r15
mov dword [rbp + 0x380], ebx
mov dword [rbp + 0x384], esi
call fcn.140095404
test rax, rax
je case.0x1400ddbd3.1539
lea rcx, [rbp + 0x480]
lea rdx, [rbp + 0x340]
mov r8, rax
and qword [rbp + 0x480], 0
mov qword [rbp + 0x488], 8
and qword [rbp + 0x490], 0
mov qword [rbp + 0x498], r15
lea rsi, [rbp + 0x4fc]
lea r13, [rbp - 0x40]
xorps xmm6, xmm6
lea rcx, [0x140295a4a]
lea r8, str.uZ__
push 0x2b
pop rdx
call fcn.140256b00
Function at 0x14011e875
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 0x14011e948
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 0x14011fb48
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 0x14011fbad
cmp qword [r15 + 0x78], 0
je 0x14011fb9d
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 0x14011fb9d
mov rax, qword [rsp + 0x28]
mov qword [rsi + r14 + 0x80], rax
add r15, 0x90
add r14, 0x90
jmp 0x14011fb68
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140120c0f
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
and qword [rbp - 0x18], 0
mov r15, rdx
mov rsi, rcx
cmp qword [rdx + 0x10], 0
je 0x140120cef
lea rcx, [0x1402a523a]
call sub.oleaut32.dll_SysAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
mov rcx, qword [r15 + 0x18]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
push 0x30
pop r9
mov rdx, rdi
mov r8, rbx
call qword [rax + 0xa0]
mov r14d, eax
mov rcx, rdi
call sub.oleaut32.dll_SysFreeString
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
test r14d, r14d
js 0x140120cef
mov rax, qword [rbp - 0x18]
mov qword [rbp - 8], rax
mov rcx, qword [r15 + 0x20]
mov qword [rbp - 0x10], r15
mov rdx, qword [r15 + 0x28]
call fcn.14011dfca
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x20], 1
mov rax, qword [rbp - 8]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x28], rax
jmp 0x140120cfe
mov qword [rsi], 2
mov rcx, r15
call fcn.14011dea9
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret