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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1400570a0]
test ecx, ecx
je 0x140028caa
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140028cc3
add rax, 8
jmp 0x140028d58
lea rcx, [0x140057088]
call fcn.140027e30
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140028ca1
je 0x140028d56
xor edi, edi
test rsi, rsi
je 0x140028cdf
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, edi
mov edi, eax
movzx eax, byte [0x142a5c108]
mov edx, 0x10
xor ecx, ecx
call fcn.140025a60
test rax, rax
je 0x140028d80
mov rbx, rax
mov rsi, rax
lea rax, [0x140057088]
mov qword [rsi], rax
mov byte [rsi + 8], dil
mov ecx, dword [0x1400570a0]
test ecx, ecx
je 0x140028d60
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1400570a0]
test ecx, ecx
je 0x140028d70
dec ecx
add rbx, 8
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x140028d51
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rax, rbx
jmp 0x140028d58
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140057088]
call fcn.140027e30
mov ecx, eax
jmp 0x140028d1b
lea rcx, [0x140057088]
call fcn.140027e30
mov ecx, eax
jmp 0x140028d2f
ud2

Function at 0x140029d60
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x142a5c108]
mov edx, 0x10
xor ecx, ecx
call fcn.140025a60
test rax, rax
je 0x140029e30
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140029e40]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.KERNEL32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x140029e23
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, qword [rbx]
test rax, rax
je 0x140029ddb
mov rcx, rdi
call rax
cmp qword [rbx + 8], 0
je 0x140029dfe
cmp qword [rbx + 0x10], 0x11
jb 0x140029ded
mov rdi, qword [rdi - 8]
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2

Function at 0x14002a690
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, [0x142a55be0]
cmovne rdx, rcx
add rsp, 0x58
ret
Function at 0x14002a6d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rsi, rcx
mov ecx, dword [0x1400570c0]
test ecx, ecx
je 0x14002a6ff
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002a718
add rax, 8
jmp 0x14002a7c9
lea rcx, [0x1400570a8]
call fcn.140027e30
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002a6f6
je 0x14002a7c7
test rsi, rsi
je 0x14002a734
movups xmm6, xmmword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
jne 0x14002a750
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
movzx eax, byte [0x142a5c108]
mov edx, 0x18
xor ecx, ecx
call fcn.140025a60
test rax, rax
je case.0x140028139.97
mov rbx, rax
mov rsi, rax
lea rax, [0x1400570a8]
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
mov ecx, dword [0x1400570c0]
test ecx, ecx
je 0x14002a7d6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1400570c0]
test ecx, ecx
je 0x14002a7e6
dec ecx
add rbx, 8
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14002a7c2
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rax, rbx
jmp 0x14002a7c9
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1400570a8]
call fcn.140027e30
mov ecx, eax
jmp 0x14002a78c
lea rcx, [0x1400570a8]
call fcn.140027e30
mov ecx, eax
jmp 0x14002a7a0
Function at 0x14002c050
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rsp + 0x28]
call fcn.140025ac0
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rax, rdi
je 0x14002c0b5
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.140029780
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rbx, rdi
jne 0x14002c0c0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x14002c0e8
test rbx, rbx
je 0x14002c110
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
xor eax, eax
jmp 0x14002c0b8
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rbx, rbx
je 0x14002c0b8
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rsi
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
jmp 0x14002c0b5
xor eax, eax
jmp 0x14002c0b8
Function at 0x140030ae0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, r9
mov rdx, rax
call fcn.140033180
cmp byte [rbx], 0
jne 0x140030b22
lea rdx, [0x142a55ef8]
mov r8d, 3
mov rcx, rsi
call case.0x1400336cb.43
movabs rbx, 0x8000000000000000
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400273b0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
cmp r15, rbx
jne 0x140030b5d
mov rcx, rbx
mov rdx, r14
call fcn.140030bd0
mov qword [rdi], rbx
jmp 0x140030b95
mov r12, qword [rsp + 0x30]
mov rcx, r14
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x140030b7c
mov qword [rdi], r15
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r12
jmp 0x140030b95
mov qword [rdi], rbx
test r15, r15
je 0x140030b95
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapFree
cmp qword [rsi], 0
je 0x140030bba
mov r8, qword [rsi + 8]
mov rcx, qword [0x142a5c058]
xor edx, edx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.KERNEL32.dll_HeapFree
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140032bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
movzx r9d, byte [rdx + 0x38]
movzx r8d, byte [rdx + 0x3a]
test r8b, r8b
Function at 0x14003d100
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x20
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x14003d151
mov ebx, eax
lea rcx, [rsp + 0x20]
mov edx, 0x20
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14003d1a1
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [0x142a5c100]
test rax, rax
je 0x14003d1d6
lea rbx, [rsp + 0x70]
test eax, 0x4000
jne 0x14003d1e7
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
jmp 0x14003d1fb
and ebx, 0x7fffffff
je 0x14003d151
movzx eax, byte [0x142a5c108]
mov edx, 4
xor ecx, ecx
call fcn.140025a60
test rax, rax
je 0x14003d23f
mov dword [rax], ebx
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rax
call sub.KERNEL32.dll_HeapFree
jmp 0x14003d211
call fcn.1400357f0
lea rbx, [rsp + 0x70]
test eax, 0x4000
je 0x14003d17d
lea r8, [0x142a56438]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001e7e0
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
call fcn.14001c540
nop
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
ud2

Function at 0x14003d6d0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
movzx eax, byte [0x142a5c108]
mov edx, 4
xor ecx, ecx
call fcn.140025a60
test rax, rax
je 0x14003d7ad
mov rsi, rax
mov eax, dword [r14]
mov dword [rsi], eax
mov r14, qword [r15]
add rdi, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x48], 0
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.14003c3b0
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 4
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call sub.ADVAPI32.dll_RegSetValueExW
mov edi, eax
cmp qword [rsp + 0x58], 0
je 0x14003d77a
mov rcx, qword [0x142a5c058]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x142a5c058]
xor ebx, ebx
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov rax, rdi
shl rax, 0x20
or rax, 2
test edi, edi
cmovne rbx, rax
mov rax, rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
ud2
Function at 0x140041df0
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 0x140041f46
mov rdi, rax
mov qword [rsp + 0x40], rsi
movsxd r13, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test r13, r13
je 0x140041f1c
shl r13, 3
mov esi, 8
xor ebp, ebp
lea rbx, [rsp + 0x48]
lea r14, [rsp + 0x80]
xor r15d, r15d
jmp 0x140041e99
mov rax, qword [rsp + 0x70]
mov qword [rsi + rbp + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + rbp], xmm0
inc r15
mov qword [rsp + 0x38], r15
add rbp, 0x18
add r13, 0xfffffffffffffff8
je 0x140041f1c
mov r12, qword [rdi + r15*8]
mov rcx, r12
call sub.msvcrt.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rsp + 0x80], r12
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.140046070
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x60], xmm0
cmp r15, qword [rsp + 0x28]
jne 0x140041e70
lea rcx, [rsp + 0x28]
call fcn.140042a40
mov rsi, qword [rsp + 0x30]
jmp 0x140041e70
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
test rax, rax
jne 0x140041f2e
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 0x140041f5d
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 0x140043970
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 0x1400439b2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400439ba
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400439cb
jmp 0x1400439e2
xor r10d, r10d
jmp 0x140043a6d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400439e2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400439f9
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 0x140043a19
add r11, r8
jmp 0x140043b4b
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 0x140043ae2
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 0x140043a90
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140043b00
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140043b12
jmp 0x140043b2d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140043b2d
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 0x140043b47
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 0x140043cf0
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.14002a6d0
test rax, rax
je 0x140043faa
movups xmm6, xmmword [rax]
inc qword [rax]
movzx eax, byte [0x142a5c108]
mov edx, 0x56410
xor ecx, ecx
call fcn.140025a60
test rax, rax
je 0x140043faa
mov rdi, rax
add rdi, 0x56000
mov r8d, 0x410
mov rcx, rdi
mov dl, 0xff
call sub.msvcrt.dll_memset
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], 0x3ff
mov qword [rsp + 0x130], 0x380
mov qword [rsp + 0x138], 0
movzx eax, byte [0x142a5c108]
mov edx, 9
xor ecx, ecx
call fcn.140025a60
test rax, rax
je 0x140043faa
movabs rcx, 0x5043206c61746f54
mov qword [rax], rcx
mov byte [rax + 8], 0x55
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
xorps xmm7, xmm7
movups xmmword [rsp + 0xb8], xmm7
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
movups xmmword [rsp + 0x140], xmm6
movups xmmword [rsp + 0x150], xmm7
movups xmmword [rsp + 0x160], xmm7
mov qword [rsp + 0x170], 0
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x30], xmm7
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x140043eb4
call sub.KERNEL32.dll_GetLastError
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm7
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x140043f4e
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.140048dd0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400491e0
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 0x140043fb0
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 0x140043ff5
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 0x14004408c
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.140048dd0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400491e0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
ret

Function at 0x140045120
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 0x14004516d
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 0x14004519f
test ax, ax
jne 0x140045150
nop dword [rax + rax]
movdqa xmm0, xmmword [r14]
pmovmskb eax, xmm0
add rdi, 0xfffffffffffffe00
add r14, 0x10
cmp eax, 0xffff
je 0x140045180
not eax
jmp 0x140045150
mov rcx, qword [rsi + 0x38]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400451b6
call sub.KERNEL32.dll_CloseHandle
test eax, eax
je 0x1400451cf
mov rcx, qword [rsi + 0x30]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x1400451e2
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 0x1400451c4
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp 0x14005563c
jmp qword [sym.imp.pdh.dll_PdhCloseQuery]
Function at 0x14004e450
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
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, [0x142a5683c]
lea r9, [0x142a56820]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x14004e55f
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14004e576
mov rcx, r15
mov rdx, r14
call fcn.14004ab80
mov r14, 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, r14
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x14004e598
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14004e5b0
test r14, r14
je 0x14004e51a
mov rcx, r14
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, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x14004e5f7
mov qword [rsi + 8], rbx
mov byte [rsi], 0x12
jmp 0x14004e5de
mov ecx, eax
call fcn.14004a750
mov ebx, edx
test rax, rax
je 0x14004e576
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x14004e5e7
mov ecx, eax
call fcn.14004a750
mov r15d, edx
test rax, rax
je 0x14004e5b0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
test r14, r14
je 0x14004e5bd
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, eax
call fcn.14004a750
mov ebp, edx
test rax, rax
je 0x14004e60e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov byte [rsi], 0
movzx eax, word [rsp + 0x50]
mov word [rsi + 1], ax
movzx eax, byte [rsp + 0x52]
mov byte [rsi + 3], al
mov dword [rsi + 4], ebp
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x14004e5de