joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b8d8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000b943
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x14000b963
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret

Function at 0x14000ba6c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x140022888], rdi
je 0x14000baba
cmp rax, rdi
jne 0x14000baad
mov edi, 1
mov r12d, edi
jmp 0x14000babf
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ba91
mov edi, 1
mov eax, dword [0x140022880]
cmp eax, edi
jne 0x14000bad5
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000bb32
mov eax, dword [0x140022880]
test eax, eax
jne 0x14000bb2c
mov dword [0x140022880], edi
lea r13, [0x140011870]
lea rsi, [0x140011858]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x14000bb1e
test eax, eax
jne 0x14000bb1e
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000bb13
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x14000bafc
test eax, eax
je 0x14000bb32
mov eax, 0xff
jmp 0x14000bc04
mov dword [0x1400222cc], edi
mov eax, dword [0x140022880]
cmp eax, edi
jne 0x14000bb59
lea rdx, [0x140011850]
lea rcx, [0x1400113c0]
call sub.msvcrt.dll__initterm
mov dword [0x140022880], 2
test r12d, r12d
jne 0x14000bb67
xor eax, eax
xchg qword [0x140022888], rax
cmp qword [0x140022890], 0
je 0x14000bb90
lea rcx, [0x140022890]
call fcn.14000ccf8
test eax, eax
je 0x14000bb90
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x140022890]
mov r8, qword [0x1400222b0]
mov rdx, qword [0x1400222b8]
mov ecx, dword [0x1400222a8]
call fcn.140005dc0
mov dword [0x1400222c8], eax
cmp dword [0x1400222ac], 0
jne 0x14000bbc0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400222cc], 0
jne 0x14000bbd5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400222c8]
jmp 0x14000bc04
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.1400b3000
add rsp, 0x28
jmp 0x14000ba6c
Function at 0x14000bdcf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001d138]
jne 0x14000b71a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000b716
repz ret
ror rcx, 0x10
jmp 0x14000bd28
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140022370]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140022468]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000bdad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140022370]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000bdcf
mov rax, qword [rsp + 0x88]
mov qword [0x140022468], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140022408], rax
mov rax, qword [0x140022468]
mov qword [0x1400222e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400223f0], rax
mov dword [0x1400222d0], 0xc0000409
mov dword [0x1400222d4], 1
mov rax, qword [0x14001d138]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001d140]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001aae0]
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, 0x88
ret

Function at 0x14000cd7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x14000cdc6
cmp rcx, 0xffffffffffffffff
je 0x14000cdc6
cmp word [rcx], 0x5a4d
jne 0x14000cdbe
cmp dword [rcx + 0x3c], edx
jl 0x14000cdbe
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000cdbe
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000cdc6
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000d4f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
xor bl, bl
test rcx, rcx
mov rsi, r8
je 0x14000d56e
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x58], rdi
xor edi, edi
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d544
mov edi, dword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
mov bl, 1
jmp 0x14000d546
mov eax, edi
test rsi, rsi
je 0x14000d54d
mov dword [rsi], eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000d55c
mov ecx, edi
mov qword [rax], rcx
mov al, bl
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov al, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edx, 1
lea rcx, str.calc.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x14000106d
nop dword [rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140001040
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400010a0
add rsp, 0x68
ret

Function at 0x140001a9c
Capabilities:
Parse pe header

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

Function at 0x140003e04
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003c30

Function at 0x14000cd30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000cd58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000cd58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400052f0
Capabilities:
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x30]
mov rdx, r9
call fcn.140005440
mov r14, qword [rbx]
add rsi, rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x60], 0
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x50]
call fcn.140004c10
movzx r9d, byte [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x38]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov edi, eax
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140005389
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.1400053e0
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400053a1
mov r8d, 1
mov rcx, rsi
call fcn.1400053e0
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
xor eax, eax
test edi, edi
cmovne rax, rcx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400094f0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x140009562
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x140009528
add rdi, rbx
sub rsi, rbx
je 0x140009562
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x140009520
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x140009520
and ebp, 0x7fffffff
jmp 0x140009564
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14000ca20
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, r9
mov rdi, rcx
add r8, rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r8
mov word [rsp + 0x40], 0
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x30]
call fcn.140004c10
mov rax, qword [rsp + 0xe0]
add rax, rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
mov word [rsp + 0x40], 0
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x30]
call fcn.140004c10
mov rsi, qword [rsp + 0x80]
call fcn.140009190
mov qword [rsp + 0x50], rax
lea r14, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000cb39
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000cafa
lea rcx, [rsp + 0x38]
call fcn.140015b00
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14000cb17
mov rcx, qword [rsp + 0x68]
add rdx, rdx
mov r8d, 2
call fcn.1400053e0
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14000cb32
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.1400053e0
xor ebp, ebp
jmp 0x14000cc42
mov rbx, qword [rsp + 0x50]
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x50], 0
mov rdi, qword [rsp + 0x68]
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x14000cbc3
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov byte [rsp + 0x30], 1
test rax, rax
je 0x14000cbb2
lea rcx, [rsp + 0x38]
call fcn.140015b00
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
jne 0x14000cbd8
jmp 0x14000cc0c
mov bpl, 1
mov r14d, dword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.advapi32.dll_RegCloseKey]
test eax, eax
je 0x14000cc0c
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140015fa0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x30], 1
test rax, rax
je 0x14000cc0c
lea rcx, [rsp + 0x38]
call fcn.140015b00
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14000cc27
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.1400053e0
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14000cc42
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.1400053e0
shl r14, 8
movzx eax, bpl
or rax, r14
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14000ccb0
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0x1c8
mov rsi, rcx
lea rcx, [rsp + 0xa8]
call fcn.140013a10
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14000cd06
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x168], xmm0
jmp 0x14000cd45
call fcn.140015d40
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x168], xmm0
test rax, rax
je 0x14000cd45
lea rcx, [rsp + 0x98]
call fcn.140015b00
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.kernel32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14000cdd6
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 + 0x178], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsp + 0x180], rax
lea rdi, [rsp + 0xa8]
mov rcx, rdi
mov dl, 1
mov r8b, 1
call fcn.140013ba0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea r9, [rsp + 0x20]
mov rcx, rdi
xor edx, edx
call fcn.140014140
mov r8d, 0x120
mov rcx, rsi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rsi
add rsp, 0x1c8
pop rdi
pop rsi
ret
Function at 0x140011270
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 0x1400112b2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400112ba
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400112cb
jmp 0x1400112e2
xor r10d, r10d
jmp 0x14001136d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400112e2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400112f9
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 0x140011319
add r11, r8
jmp 0x14001144b
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 0x1400113e2
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 0x140011390
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140011400
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140011412
jmp 0x14001142d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14001142d
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 0x140011447
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 0x140012ba0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x140012cb4
mov rdi, rax
movsxd r13, dword [rsp + 0x44]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test r13, r13
je 0x140012c93
shl r13, 3
lea rbx, [rsp + 0x60]
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x28]
mov r12, rdi
jmp 0x140012c55
add r12, 8
mov rax, qword [rsp + 0x30]
lea rcx, [rbp*2]
add rcx, rbp
mov rdx, qword [rsp + 0x70]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + rcx*8], xmm0
inc rbp
mov qword [rsp + 0x38], rbp
add r13, 0xfffffffffffffff8
je 0x140012c93
mov rcx, r12
call fcn.140015ae0
lea rcx, [rax + rdx*2]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
mov word [rsp + 0x58], 0
mov rcx, rbx
mov rdx, r14
call fcn.14000f800
mov rbp, qword [rsp + 0x38]
cmp rbp, qword [rsp + 0x28]
jne 0x140012c20
mov rcx, r15
call fcn.1400107b0
jmp 0x140012c20
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
test rax, rax
je 0x140012ccd
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
jmp 0x140012d04
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
jmp 0x140012d04
call fcn.140015d40
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x38]
mov qword [rsi + 0x10], rcx
test rax, rax
je 0x140012d04
lea rcx, [rsp + 0x50]
call fcn.140015b00
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400145a0
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov dword [rsp + 0x24], 0
xor edi, edi
lea r8, [rsp + 0x24]
mov ecx, 5
xor edx, edx
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x140014636
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
je 0x140014657
lea r14, [rdi + rdi]
mov edx, 2
mov rcx, r14
call fcn.140005400
test rax, rax
je 0x140014762
mov rbx, rax
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x1400146ab
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rbx + r8*2], 0
je 0x14001467d
inc r8
add r14, 0xfffffffffffffffe
jne 0x140014620
mov r8, rdi
jmp 0x14001467d
call fcn.140015d40
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
mov edi, 1
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
jne 0x1400145da
mov ebx, 2
lea r8, [rsp + 0x24]
mov edx, 2
mov ecx, 5
call qword [sym.imp.kernel32.dll_GetComputerNameExW]
test eax, eax
je 0x1400146ab
mov ebx, 2
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140034930
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x40], rax
jne 0x140014712
mov qword [rsi], rax
test edi, edi
jne 0x140014727
jmp 0x14001473b
call fcn.140015d40
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], 1
test rax, rax
je 0x1400146d1
lea rcx, [rsp + 0x48]
call fcn.140015b00
test edi, edi
je 0x1400146e9
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.1400053e0
cmp qword [rsp + 0x28], 0
je 0x140014703
cmp qword [rsp + 0x30], 0
je 0x140014703
lea rcx, [rsp + 0x30]
call fcn.140015b00
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x140014755
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
test edi, edi
je 0x14001473b
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.1400053e0
cmp qword [rsp + 0x28], 0
je 0x140014755
cmp qword [rsp + 0x30], 0
je 0x140014755
lea rcx, [rsp + 0x30]
call fcn.140015b00
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, r14
call fcn.140044d80
int3
Function at 0x140018f40
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x30], rax
movzx eax, byte [rdx + 0x30]
mov byte [rsp + 0x27], al
movzx eax, byte [0x140118141]
mov ecx, 0x5f0
mov edx, 8
call fcn.1400053d0
test rax, rax
je 0x1400191a3
mov rbx, rax
lea r15, [rdi + 0x38]
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rdi + 0x60]
mov qword [rsp + 0x28], 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 ebp, 1
lock xadd qword [0x140118148], rbp
mov r14, rbp
xor r14, rcx
lea r12, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r12
lea r13, [rax + r8]
rol rax, 0x15
add r14, r9
mov r12, r14
xor r12, r10
rol r14, 0x20
xor rbp, r13
add rbp, r12
rol r12, 0xd
xor r13, r11
xor r12, rbp
rol rbp, 0x20
xor r13, rax
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r13, rbp
xor r12, r14
rol r14, 0x20
xor rbp, r11
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
xor r14, 0xff
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
add r14, r13
rol r13, 0x10
xor r13, r14
rol r13, 0x15
xor r12, rbp
add r14, r12
rol r12, 0x11
mov rbp, r14
rol rbp, 0x20
xor rbp, r12
xor rbp, r13
xor rbp, r14
je 0x140018ff0
mov rax, qword [rdi + 0x58]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rsi + 0x140], cl
mov qword [rsi], 0
mov qword [rsi + 8], rbx
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rsi + 0x100], rcx
mov qword [rsi + 0x108], rbp
mov qword [rsi + 0x110], rax
mov rdx, qword [rdi + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14001918f
test rdx, rdx
je 0x14001918f
mov rcx, qword [rdi + 0x18]
mov r8d, 1
call fcn.1400053e0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.140044da0
int3

Function at 0x14001e6f0
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