joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dee10
Capabilities:
Get file attributes
Map section object

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
sub rsp, 0x98
xor ebp, ebp
mov rsi, r9
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0xb0], rbp
test rcx, rcx
jne 0x1400dee44
mov eax, 0xc0000030
add rsp, 0x98
pop rsi
pop rbp
ret
mov qword [rsp + 0x38], rbp
mov rdx, rcx
mov dword [rsp + 0x30], 0x60
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov r8d, 0x1000a1
mov dword [rsp + 0x20], 1
call sym.ProcessHacker.exe_PhCreateFileWin32Ex
test eax, eax
js 0x1400defb1
mov qword [rsp + 0xc0], rbx
lea r8, [rsp + 0x78]
mov qword [rsp + 0x90], rdi
lea rdx, [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
mov r9d, 0x18
mov rcx, rdi
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ecx, eax
mov ebx, eax
test eax, eax
js 0x1400deecd
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
test ecx, ecx
js 0x1400def83
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0xb0]
xor r8d, r8d
mov dword [rsp + 0x20], 0x20
mov edx, 0xf001f
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
test eax, eax
js 0x1400def83
mov rax, qword [rsp + 0xb8]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
xor r9d, r9d
mov dword [rsp + 0x48], 0x20
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
test eax, eax
js 0x1400def83
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xd0]
mov qword [rsi], rax
mov rax, qword [rsp + 0xb8]
mov qword [rdx], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400def96
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov rdi, qword [rsp + 0x90]
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0x98
pop rsi
pop rbp
ret
Function at 0x1400df070
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x170
mov rdi, r8
mov qword [r8], rdx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r9d, 0x40
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x1400df1c6
mov eax, 0x5a4d
cmp word [rsp + 0x30], ax
je 0x1400df0c6
mov eax, 0xc000012f
jmp 0x1400df1c6
mov ecx, dword [rsp + 0x6c]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x1400df1f3
lea rdx, [rcx + rsi]
mov qword [rsp + 0x188], r14
mov r14d, ecx
mov qword [rsp + 0x20], 0
mov rcx, rbp
lea r8, [rsp + 0x70]
mov r9d, 0xf8
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x1400df1be
cmp dword [rsp + 0x70], 0x4550
jne 0x1400df155
movzx eax, word [rsp + 0x88]
mov ecx, 0x10b
mov word [rdi + 0x20], ax
sub ax, cx
mov ecx, 0xfeff
test cx, ax
jne 0x1400df155
movzx eax, word [rsp + 0x76]
mov dword [rdi + 0x10], eax
lea edx, [rax + rax*4]
movzx eax, word [rsp + 0x84]
lea edx, [rdx + 3]
lea edx, [rax + rdx*8]
cmp edx, 0x100000
jbe 0x1400df15c
mov eax, 0xc000007b
jmp 0x1400df1be
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8d, edx
mov qword [rsp + 0x180], rbx
mov ebx, edx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea rdx, [r14 + rsi]
mov qword [rsp + 0x20], 0
mov r8, rax
mov qword [rdi + 8], rax
mov r9d, ebx
mov rcx, rbp
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
jns 0x1400df1db
mov r8, qword [rdi + 8]
xor edx, edx
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x180]
mov r14, qword [rsp + 0x188]
lea r11, [rsp + 0x170]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
movzx ecx, word [rsp + 0x84]
add rcx, 0x18
add rcx, qword [rdi + 8]
mov qword [rdi + 0x18], rcx
xor eax, eax
jmp 0x1400df1b6
mov eax, 0xc000007b
jmp 0x1400df1c6
Function at 0x14001b28c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b2a2
mov al, 1
jmp 0x14001b302
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b2b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b300
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400193e0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b300
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b300
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b300
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b302
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f520
Capabilities:
Parse pe header

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

Function at 0x13ada1c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x13ada26
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x13ada4f
pop rbp
sub rbp, 0x33
sub rbp, 0xfada1c
sub rsp, 0x20
jmp 0x13ada6e
mov rax, 0xfada1c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x7f63345e
xor byte [rax], dl
inc rax
dec rcx
jne 0x13ada8d
jmp 0x13adaa4
invalid
Function at 0x1400071b0
Capabilities:
Encrypt data using rc4 via systemfunction032
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov edi, ecx
call sub.kernel32.dll_CreateTimerQueue
test rax, rax
je 0x1400071f8
mov rsi, rax
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateEventW
test rax, rax
je 0x1400071f8
xor ecx, ecx
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400071f8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
jne 0x140007209
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, str.ntdll
mov rcx, r14
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.RtlCaptureContext
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov rbx, rax
mov rcx, r14
call sub.kernel32.dll_GetModuleHandleA
lea rdx, str.NtContinue
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r14, rax
lea rcx, str.Advapi32
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.SystemFunction032
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r15, rax
lea r13, str.kernel32.dll
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.VirtualProtect
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov rbp, rax
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.WaitForSingleObject
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
mov r12, rax
mov rcx, r13
call sub.kernel32.dll_LoadLibraryA
lea rdx, str.SetEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
movq xmm0, r15
movq xmm1, rbp
punpcklqdq xmm0, xmm1
movq xmm1, rbx
movq xmm2, r14
punpcklqdq xmm2, xmm1
pxor xmm1, xmm1
pcmpeqd xmm2, xmm1
pcmpeqd xmm0, xmm1
movdqa xmm1, xmm2
shufps xmm1, xmm0, 0xdd
shufps xmm2, xmm0, 0x88
andps xmm2, xmm1
movmskps ecx, xmm2
test ecx, ecx
jne 0x1400071f8
test r12, r12
je 0x1400071f8
test rax, rax
je 0x1400071f8
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateEventW
test rax, rax
je 0x1400071f8
mov rbx, rax
mov rcx, rax
mov edx, edi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x1400071f8
mov rcx, rbx
call sub.kernel32.dll_SetEvent
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1400fea04
jmp qword [sym.imp.kernel32.dll_DeleteTimerQueue]
Function at 0x140008310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rbx, qword [rax + 0x18]
add rbx, 0x10
lea rsi, [rsp + 0x50]
lea rdi, [rsp + 0x30]
nop word cs:[rax + rax]
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
je 0x1400083eb
mov rax, qword [rbx + 0x60]
movzx ecx, word [rbx + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.140006680
cmp dword [rsp + 0x50], 0
jne 0x1400083f4
cmp dword [rsp + 0x54], 0xaddfe535
jne 0x140008340
mov rsi, qword [rbx + 0x30]
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xa2b1807f
call fcn.140008440
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xced7e31f
call fcn.140008440
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0x91c3ed4a
call fcn.140008440
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xb2036547
call fcn.140008440
lea rcx, [rsp + 0x30]
mov rdx, rsi
mov r8d, 0xa596d8ce
call fcn.140008440
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, str.src_ssn_solving.rs
mov qword [rsp + 0x20], rax
lea r9, fcn.1400076a0
lea r8, [rsp + 0x48]
mov ecx, 1
xor edx, edx
call fcn.1400e95a0
ud2
Function at 0x140008440
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x14000856c
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000856c
mov ebx, r8d
mov qword [rsp + 0x28], rcx
mov eax, dword [rdi + rax + 0x88]
mov r14d, dword [rax + rdi + 0x20]
add r14, rdi
mov ecx, dword [rax + rdi + 0x14]
mov qword [rsp + 0x48], rcx
mov ebp, dword [rax + rdi + 0x18]
mov ecx, dword [rax + rdi + 0x1c]
add rcx, rdi
mov qword [rsp + 0x38], rcx
mov eax, dword [rax + rdi + 0x24]
add rax, rdi
mov qword [rsp + 0x40], rax
xor r13d, r13d
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x60]
xor eax, eax
nop dword [rax]
cmp rax, rbp
je 0x140008583
mov rsi, rax
mov eax, dword [r14 + rax*4]
add rax, rdi
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400084e0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140006680
cmp dword [rsp + 0x50], 0
jne 0x1400085a4
lea rax, [rsi + 1]
cmp dword [rsp + 0x54], ebx
jne 0x1400084c0
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rsi*2]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jae 0x1400085d4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + rcx*4]
cmp byte [rax + rdi], 0x4c
mov rcx, qword [rsp + 0x28]
jne 0x14000856c
add rax, rdi
cmp byte [rax + 1], 0x8b
jne 0x14000856c
cmp byte [rax + 2], 0xd1
jne 0x14000856c
cmp byte [rax + 3], 0xb8
jne 0x14000856c
cmp byte [rax + 6], 0
jne 0x14000856c
cmp byte [rax + 7], 0
je 0x14000858a
xor r13d, r13d
mov qword [rcx], r13
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x28]
jmp 0x14000856f
movzx edx, byte [rax + 4]
or dl, byte [rax + 5]
movzx edx, dl
mov qword [rcx + 8], rax
mov word [rcx + 0x10], dx
mov r13d, 1
jmp 0x14000856f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, str.src_ssn_solving.rs
mov qword [rsp + 0x20], rax
lea r9, fcn.1400076a0
lea r8, [rsp + 0x30]
mov ecx, 1
xor edx, edx
call fcn.1400e95a0
ud2
lea r8, str.xB_
call fcn.1400e9180
mov rsi, rax
lea rcx, [rsp + 0x30]
call fcn.1400076a0
mov rcx, rsi
call fcn.1400ff1f0
call fcn.1400e92d0
int3
Function at 0x140008710
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x20
call fcn.14000c7e0
test rax, rax
je 0x140008772
mov rbx, rax
mov r14, rdx
mov rax, qword [rdx]
test rax, rax
je 0x14000875b
mov rcx, rbx
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x1400087ca
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140008a40
jmp 0x1400087ca
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x70]
lea r8, [0x140427c70]
lea rdx, [rsp + 0x40]
mov r9d, 8
call fcn.14000c120
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400098f0
Function at 0x14000ccb0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x14000cd16
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
jmp 0x14000ccd8
add rdi, rbx
sub rsi, rbx
je 0x14000cd16
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xbfffffff
jbe 0x14000ccd0
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x14000ccd0
and ebp, 0x7fffffff
jmp 0x14000cd18
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x14000cd30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101348]
jmp 0x14002b800
Function at 0x14000feb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101158]
jmp 0x14002b900
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b9a7
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b99f
je 0x14002b940
test rdi, rdi
je 0x14002b944
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14002b946
mov rbx, qword [rdi + 8]
jmp 0x14002b946
xor eax, eax
jmp 0x14002b99f
xor ebx, ebx
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x14002b9c1
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b99c
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b924
jmp 0x14002b99f
mov ecx, 8
mov edx, 0x10
call fcn.1400dc220
int3

Function at 0x14000fec0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101148]
jmp 0x14002b5c0
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b663
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b65b
je 0x14002b659
test rdi, rdi
je 0x14002b5fc
cmp dword [rdi], 0
mov dword [rdi], 0
je 0x14002b5fc
mov rdi, qword [rdi + 4]
jmp 0x14002b5fe
xor edi, edi
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call fcn.140008a30
test rax, rax
je 0x14002b67d
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b654
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
jmp 0x14002b65b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b5e4
jmp 0x14002b65b
mov ecx, 4
mov edx, 0xc
call fcn.1400dc220
int3

Function at 0x140015670
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101348]
jmp 0x14002b800
Function at 0x14001dcf0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x14001ddd8
mov rdi, rax
movsxd r12, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test r12, r12
je 0x14001ddbd
shl r12, 3
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
mov r15, rdi
jmp 0x14001dd91
add r15, 8
mov rax, qword [rsp + 0x30]
mov rcx, r13
shl rcx, 5
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r13
mov qword [rsp + 0x38], r13
add r12, 0xfffffffffffffff8
je 0x14001ddbd
mov rcx, r15
call fcn.14004e770
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140099070
mov r13, qword [rsp + 0x38]
cmp r13, qword [rsp + 0x28]
jne 0x14001dd60
mov rcx, r14
call fcn.140026620
jmp 0x14001dd60
mov rcx, rdi
call sub.kernel32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
jmp 0x14001ddef
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140020650
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rcx, qword [0x140101158]
xor edx, edx
jmp 0x14002b900

Function at 0x140022a20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101348]
jmp 0x14002b800
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b8cf
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b8c2
je 0x14002b8c0
test rdi, rdi
je 0x14002b849
movups xmm6, xmmword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
jne 0x14002b865
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]
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x14002b8e9
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b8bb
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
jmp 0x14002b8c2
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b82d
jmp 0x14002b8c2
mov ecx, 8
mov edx, 0x18
call fcn.1400dc220
int3
Function at 0x140023410
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x140023496
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 sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
je 0x14002345b
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x140023496
call fcn.1400570d0
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
test rax, rax
je 0x140023496
lea rcx, [rsp + 0x98]
call fcn.140057db0
test bl, bl
je 0x14002352c
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 sub.kernel32.dll_K32GetPerformanceInfo
test eax, eax
je 0x14002352c
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 + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x140024740
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 sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x1400247d6
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
je 0x1400247f7
lea r14, [rdi + rdi]
mov edx, 2
mov rcx, r14
call fcn.140008a60
test rax, rax
je 0x140024904
mov rbx, rax
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x14002484b
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rbx + r8*2], 0
je 0x14002481c
inc r8
add r14, 0xfffffffffffffffe
jne 0x1400247c0
mov r8, rdi
jmp 0x14002481c
call fcn.1400570d0
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 0x140024779
mov ebx, 2
lea r8, [rsp + 0x24]
mov edx, 2
mov ecx, 5
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x14002484b
mov ebx, 2
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1400dea00
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x40], rax
jne 0x1400248b3
mov qword [rsi], rax
test rdi, rdi
jne 0x1400248c9
jmp 0x1400248dd
call fcn.1400570d0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], 1
test rax, rax
je 0x140024871
lea rcx, [rsp + 0x48]
call fcn.140057db0
test rdi, rdi
je 0x14002488a
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.140008a40
cmp qword [rsp + 0x28], 0
je 0x1400248a4
cmp qword [rsp + 0x30], 0
je 0x1400248a4
lea rcx, [rsp + 0x30]
call fcn.140057db0
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x1400248f7
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x1400248dd
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.140008a40
cmp qword [rsp + 0x28], 0
je 0x1400248f7
cmp qword [rsp + 0x30], 0
je 0x1400248f7
lea rcx, [rsp + 0x30]
call fcn.140057db0
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, r14
call fcn.1400dc200
ud2