joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b4460
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
or eax, 0xffffffff
test r8d, r8d
mov qword [0x1401430a8], r9
cmovne eax, r8d
cmp qword [0x14013d710], 0
mov dword [0x1401430b0], eax
je 0x1400b44a1
mov rcx, qword [0x1401430a0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [0x14013d710]
add rsp, 0x20
pop rbx
ret
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [0x1401430a0], rax
test rax, rax
je 0x1400b4503
mov edx, 8
lea ecx, [rdx - 7]
call fcn.140022b68
test rax, rax
je 0x1400b4503
lea rcx, [0x1400b4510]
mov r8, rax
xor edx, edx
mov qword [rax], rbx
call fcn.1400400fc
xor ecx, ecx
mov qword [0x14013d710], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x14013d710]
test rax, rax
jne 0x1400b4505
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400b45a0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.140020944
mov qword [0x14013d728], rax
test rax, rax
jne 0x1400b4644
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREFLEXlm_License_Manager
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400b465d
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x28], rax
lea rdi, [0x14013d730]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x48], 0x400
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x1400b464a
mov qword [0x14013d728], rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x14013d728]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400b4670
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xca0
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0xc90], rax
mov rbx, rcx
mov edi, edx
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor edx, edx
mov r8d, 0x401
call fcn.14002a5a0
xor r9d, r9d
lea rcx, [rsp + 0x40]
lea r8d, [r9 + 0x20]
xor edx, edx
call fcn.14002a5a0
lea rcx, [rsp + 0x470]
xor r9d, r9d
xor edx, edx
mov r8d, 0x401
call fcn.14002a5a0
lea rcx, [rsp + 0x880]
xor r9d, r9d
xor edx, edx
mov r8d, 0x401
call fcn.14002a5a0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0xa
lea r8, [rsp + 0x60]
mov r9d, 0x401
mov edx, edi
mov rcx, rbx
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x1400b4755
lea rcx, [0x140143520]
xor ebx, ebx
mov r9d, 0x400
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], rcx
mov ecx, 0x12ff
mov r8d, eax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xor eax, eax
jmp 0x1400b47c3
lea rcx, [rsp + 0x40]
call fcn.14000f14c
mov ecx, 0x20
mov edi, eax
call fcn.140010258
mov rbx, rax
test rax, rax
je 0x1400b47c0
xor r9d, r9d
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 0x20]
call fcn.14002a5a0
lea rcx, [rsp + 0x60]
xor edx, edx
mov dword [rbx], edi
call fcn.14002a9d0
test rax, rax
je 0x1400b47c0
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.14002a9d0
lea rcx, [rax + 1]
call fcn.140010258
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, rax
mov qword [rbx + 0x18], rax
call fcn.14002a840
mov rax, rbx
mov rcx, qword [rsp + 0xc90]
xor rcx, rsp
call fcn.14000c9f0
mov rbx, qword [rsp + 0xcc0]
add rsp, 0xca0
pop rdi
ret

Function at 0x1400b95a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov edi, 0xebe86632
mov eax, 0x1bec6235
cmp dword [rdx], ebx
mov rsi, r8
mov r14, rdx
cmove edi, eax
mov r8, rcx
mov r10d, ebx
cmp byte [rcx], bl
je 0x1400b9604
nop dword [rax + rax]
movsx eax, byte [r8]
lea ecx, [r10*8]
inc r10d
shl eax, cl
lea r8, [r8 + 1]
xor edi, eax
cmp r10d, 4
cmovge r10d, ebx
cmp byte [r8], bl
jne 0x1400b95e0
movsxd rbp, r9d
test r9d, r9d
jle 0x1400b9648
nop dword [rax]
test rbx, rbx
je 0x1400b962c
mov ecx, dword [r14 + rbx*4]
call fcn.1400b9410
xor eax, dword [r14 + rbx*4 - 4]
xor eax, dword [rsi + rbx*4 - 4]
mov dword [rsi + rbx*4], eax
jmp 0x1400b9640
mov ecx, dword [r14]
test ecx, ecx
je 0x1400b963e
call fcn.1400b9410
xor eax, edi
mov dword [rsi], eax
jmp 0x1400b9640
mov dword [rsi], edi
inc rbx
cmp rbx, rbp
jl 0x1400b9610
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400c1ad0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x180
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x48]
mov rsi, rcx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400c1c95
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x1a0], rbp
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x104
mov edi, ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1400c1c76
mov qword [rsp + 0x198], rbx
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
inc edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400c1c28
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.ServiceName
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.140010258
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov rbx, rax
lea rax, [rsp + 0x40]
lea rdx, str.ServiceName
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test rbx, rbx
je 0x1400c1c20
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.14002a840
mov rcx, rbx
call fcn.140064760
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, edi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1400c1b80
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x1a0]
xor eax, eax
jmp 0x1400c1c9a
mov eax, 0xffffff01
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x180
pop rsi
ret
Function at 0x1400c26f0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.14000cbf0
xor edi, edi
cmp dword [0x14013deb0], edi
jne 0x1400c27de
call sub.KERNEL32.dll_GetCurrentProcessId
lea r8, str.IPHelperMutex
lea rdx, str._s__d
lea rcx, [rsp + 0x20]
mov r9d, eax
call fcn.14000ca3c
lea r8, [rsp + 0x20]
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x1400c27e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c2785
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x14013deb0], edi
jne 0x1400c27cc
lea rcx, str.iphlpapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14013deb8], rax
test rax, rax
jne 0x1400c27ab
lea edi, [rax - 2]
jmp 0x1400c27c2
lea rdx, str.GetAdaptersAddresses
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14013dea8], rax
mov dword [0x14013deb0], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000c9f0
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x1400cb5b0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14000cbf0
mov rax, qword [rsp + 0x30]
mov dword [rax], 0x67452301
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0x10325476
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x10], 0xc3d2e1f0
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001001
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400043c0]
mov rcx, qword [0x140004340]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x1400043d0]
cmp word [rcx], 0x5a4d
mov dword [rax], 1
mov rax, qword [0x1400043e0]
mov dword [rax], 1
jne 0x140001083
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001083
mov ecx, dword [rax + 0x18]
cmp cx, 0x10b
je 0x14000105e
cmp cx, 0x20b
je 0x14000106d
jmp 0x140001083
cmp dword [rax + 0x74], 0xe
jbe 0x140001083
cmp dword [rax + 0xe8], 0
jmp 0x14000107d
cmp dword [rax + 0x84], 0xe
jbe 0x140001083
cmp dword [rax + 0xf8], 0
setne dl
movzx edx, dl
mov rax, qword [0x1400043b0]
mov dword [0x14000700c], edx
mov ecx, 2
cmp dword [rax], 0
jne 0x14000109f
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140004480]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140004460]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004320]
cmp dword [rax], 1
jne 0x1400010e1
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001b40
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140007100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001b8c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001b86
test eax, eax
jne 0x140001b86
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001b5e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140001d40
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001d63
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001d63
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140001d64
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140001d9e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140001d95
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140001da0
inc r8d
add rax, 0x28
jmp 0x140001d7c
xor eax, eax
ret

Function at 0x140001e11
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140004340]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x140001e3d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400154e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140015560
cmp r11, r10
ja 0x1400155d7
cmp r10, rdx
ja 0x1400155e9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140015562
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140015540
jmp 0x1400155c4
ja 0x14001556a
mov r11, r10
cmp rax, r8
jne 0x14001550e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400155a0
mov rdi, r8
sub ecx, edx
jns 0x1400155bb
jmp 0x1400155c6
cmp r8, rsi
je 0x1400155f8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400155c6
xor al, 1
cmp rdi, rsi
jne 0x140015580
jmp 0x1400155c6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140049830
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140049680
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140049930
int3
Function at 0x140019040
Capabilities:
Encode data using xor

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 rbx, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rdx + 0x28]
movzx ecx, byte [rdx + 0x30]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x30], rax
mov byte [rbp - 1], cl
mov byte [rbp - 0x28], cl
movzx eax, byte [0x14006a320]
mov edx, 0x5f0
xor ecx, ecx
call fcn.140030bd0
test rax, rax
mov qword [rbp - 0x10], rbx
je 0x1400192cc
mov rdi, rax
lea r14, [rbx + 0x38]
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 0x60]
mov qword [rbp - 0x20], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
nop word cs:[rax + rax]
mov eax, 1
lock xadd qword [0x14006a1b8], rax
mov r13, rax
xor r13, rcx
lea r15, [rdx + r13]
mov rbx, r13
rol rbx, 0x10
xor rbx, r15
lea r12, [rbx + r8]
rol rbx, 0x15
add r13, r9
mov r15, r13
xor r15, r10
rol r13, 0x20
xor rax, r12
add rax, r15
rol r15, 0xd
xor r12, r11
xor r15, rax
rol rax, 0x20
xor r12, rbx
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r12, rax
xor r15, r13
rol r13, 0x20
xor rax, r11
add rax, r15
rol r15, 0xd
xor r15, rax
rol rax, 0x20
xor r13, 0xff
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r15, r13
rol r13, 0x20
xor r12, rax
add rax, r15
rol r15, 0xd
xor r15, rax
rol rax, 0x20
add r13, r12
rol r12, 0x10
xor r12, r13
add rax, r12
rol r12, 0x15
add r13, r15
rol r15, 0x11
xor r15, r13
rol r13, 0x20
xor r12, rax
add rax, r15
rol r15, 0xd
add r13, r12
rol r12, 0x10
xor r12, r13
rol r12, 0x15
xor r15, rax
add r13, r15
rol r15, 0x11
mov rax, r13
rol rax, 0x20
xor rax, r15
xor rax, r12
xor rax, r13
je 0x140019110
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rdx + 0x58]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov r8, qword [rbp - 0x18]
mov qword [rsi + 0x138], r8
movzx r8d, byte [rbp - 1]
mov byte [rsi + 0x140], r8b
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov r8, qword [rbp - 0x20]
mov qword [rsi + 0x100], r8
mov qword [rsi + 0x108], rax
mov qword [rsi + 0x110], rcx
mov rax, qword [rdx + 0x10]
shl rax, 1
test rax, rax
jne 0x1400192a8
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r8, qword [rdx + 0x18]
mov rcx, qword [0x14006a2b8]
xor edx, edx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, 8
mov edx, 0x5f0
call fcn.140049500
ud2
Function at 0x1400240a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400240c5
cmp rax, rcx
je 0x1400240cb
cmp rdx, 4
jae 0x1400240cf
xor eax, eax
xor r8d, r8d
jmp 0x140024160
pop rbp
jmp fcn.140012c70
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400505f0]
movdqa xmm3, xmmword [0x140050600]
pxor xmm1, xmm1
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 0x1400240f0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140024177
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140024160
pop rbp
ret
Function at 0x140034ea0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 0x20], 0
cmp qword [rdx + 0x10], 0
je 0x140034f9b
mov qword [rbp - 0x10], rdx
lea rcx, [0x14005a3ca]
call sub.OLEAUT32.dll_SysReAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysReAllocString
mov rbx, rax
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8, rbx
mov r9d, 0x30
call rax
mov r14d, eax
mov rcx, rdi
call sub.OLEAUT32.dll_SysStringLen
mov rcx, rbx
call sub.OLEAUT32.dll_SysStringLen
test r14d, r14d
mov rdx, qword [rbp - 0x10]
js 0x140034f9b
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rdx + 0x20], 0
je 0x140034f5f
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140034f5f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x20], 1
mov rax, qword [rbp - 0x18]
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 0x140034faa
mov qword [rsi], 2
mov rcx, rdx
call fcn.140034c50
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400358f0
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 0x140035932
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14003593a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14003594b
jmp 0x140035962
xor r10d, r10d
jmp 0x1400359ed
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140035962
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140035979
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 0x140035999
add r11, r8
jmp 0x140035acb
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 0x140035a62
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 0x140035a10
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140035a80
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140035a92
jmp 0x140035aad
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140035aad
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 0x140035ac7
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 0x140047090
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
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 0x140047194
mov qword [rbp - 0x28], rsi
movsxd rcx, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rax + rcx*8]
mov esi, 8
xor r15d, r15d
lea rbx, [rbp - 0x48]
lea r14, [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov rdi, rax
jmp 0x140047130
add rdi, 8
lea rax, [r15 + r15*2]
mov rcx, qword [rbp - 0x38]
mov qword [rsi + rax*8 + 0x10], rcx
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsi + rax*8], xmm0
inc r15
mov qword [rbp - 0x10], r15
cmp rdi, r13
je 0x140047176
mov r12, qword [rdi]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rax
mov word [rbp - 0x50], 0
mov rcx, rbx
mov rdx, r14
call fcn.140040c70
cmp r15, qword [rbp - 0x20]
jne 0x140047110
lea rcx, [rbp - 0x20]
call fcn.1400473f0
mov rsi, qword [rbp - 0x18]
mov r15, qword [rbp - 0x10]
jmp 0x140047110
mov rcx, qword [rbp - 0x30]
call sub.KERNEL32.dll_LocalFree
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x28]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx], xmm0
jmp 0x1400471ab
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400490c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004910a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004910a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004910a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004910a
cmp dword [rcx + 0x84], 0xe
jbe 0x14004910a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004910c
xor al, al
add rsp, 0x28
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f10
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret