joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007940
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
cmp word [rdx], 0x5a4d
jne 0x180007a6c
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x180007a6c
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 word [rax + rax]
cmp rax, rbp
je 0x180007a83
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 0x1800079e0
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.18000a3b0
cmp dword [rsp + 0x50], 1
je 0x180007aa4
lea rax, [rsi + 1]
cmp dword [rsp + 0x54], ebx
jne 0x1800079c0
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rsi*2]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
jae 0x180007ad4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + rcx*4]
cmp byte [rax + rdi], 0x4c
mov rcx, qword [rsp + 0x28]
jne 0x180007a6c
add rax, rdi
cmp byte [rax + 1], 0x8b
jne 0x180007a6c
cmp byte [rax + 2], 0xd1
jne 0x180007a6c
cmp byte [rax + 3], 0xb8
jne 0x180007a6c
cmp byte [rax + 6], 0
jne 0x180007a6c
cmp byte [rax + 7], 0
je 0x180007a8a
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 0x180007a6f
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 0x180007a6f
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.180007260
lea r8, [rsp + 0x30]
mov ecx, 1
xor edx, edx
call fcn.1800ebdf0
ud2
lea r8, str.src_ssn_solving.rs
call fcn.1800eb9d0
mov rsi, rax
lea rcx, [rsp + 0x30]
call fcn.180007260
mov rcx, rsi
call fcn.180102970
call fcn.1800ebb20
int3
Function at 0x18000c2a0
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0x190
movaps xmmword [rsp + 0x180], xmm6
mov rsi, rcx
xor ecx, ecx
call fcn.18001ffe0
test rax, rax
je 0x18000c55b
lea rcx, [rsp + 0xf0]
movups xmm6, xmmword [rax]
inc qword [rax]
mov edx, 0x1f4
call fcn.18001cea0
movups xmmword [rsp + 0x110], xmm6
mov qword [rsp + 0xb0], 0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x120], xmm0
movdqu xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0xb8], 8
mov qword [rsp + 0xc0], 0
movabs rax, 0x8000000000000000
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xe0], 0
mov byte [rsp + 0xe8], 0
mov qword [rsp + 0x140], 0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
je 0x18000c38d
movdqu xmm0, xmmword [rsp + 0x38]
movdqu xmmword [rsp + 0x120], xmm0
jmp 0x18000c3ce
call fcn.1800560b0
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], edx
mov qword [rsp + 0x98], 1
movdqu xmm0, xmmword [rsp + 0x38]
movdqu xmmword [rsp + 0x120], xmm0
test rax, rax
je 0x18000c3ce
lea rcx, [rsp + 0xa0]
call fcn.180056c30
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0x30]
mov edx, 0x68
call sub.kernel32.dll_K32GetPerformanceInfo
test eax, eax
je 0x18000c46b
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x80]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x38]
sub rdx, r8
cmovb rdx, r9
mov qword [rsp + 0x130], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsp + 0x138], rax
lea rcx, [rsp + 0xb0]
mov dl, 1
mov r8b, 1
call fcn.180020250
mov byte [rsp + 0x30], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x31], rax
lea rcx, [rsp + 0xb0]
lea r9, [rsp + 0x30]
xor edx, edx
call fcn.180020b20
mov rax, qword [rsp + 0x108]
test rax, rax
je 0x18000c531
mov rcx, qword [rsp + 0xf0]
lea rdx, [rcx + 0x10]
movdqa xmm0, xmmword [rcx]
pmovmskb r8d, xmm0
not r8d
jmp 0x18000c4f4
lea r9d, [r8 - 1]
and r9d, r8d
tzcnt r8d, r8d
neg r8
imul r8, r8, 0x160
mov byte [rcx + r8 - 4], 0
mov r8d, r9d
dec rax
je 0x18000c531
test r8w, r8w
jne 0x18000c4d0
nop word [rax + rax]
movdqa xmm0, xmmword [rdx]
pmovmskb r8d, xmm0
add rcx, 0xffffffffffffea00
add rdx, 0x10
cmp r8d, 0xffff
je 0x18000c500
mov r10d, 0xfffffffe
sub r10d, r8d
not r8d
mov r9d, r8d
and r9d, r10d
jmp 0x18000c4d7
lea rdx, [rsp + 0xb0]
mov r8d, 0xd0
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x190
pop rsi
ret
lea rax, [0x180354478]
mov qword [rsp + 0x20], rax
lea rcx, [0x1803543e0]
lea r9, [0x1803543a8]
lea r8, [rsp + 0xb0]
mov edx, 0x46
call fcn.1800ebdf0
mov rsi, rax
lea rcx, [rsp + 0xb0]
call fcn.18000b480
mov rcx, rsi
call fcn.180102970
call fcn.1800ebb20
int3
Function at 0x18000e630
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x180104328]
jmp 0x180015940
Function at 0x180014350
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rcx, [0x180353c18]
lea r9, [0x180353c08]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1800143d6
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x180014416
cmp qword [rsi], 0
je 0x1800143bb
mov rcx, rsi
call fcn.18004dd30
mov qword [rsi], rbx
movups xmm0, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rsi]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
mov qword [rdi + 8], rax
jmp 0x180014422
lea rbx, [rsp + 0x38]
mov ecx, eax
call fcn.1800562c0
mov r14, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
cmp qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 1
jne 0x180014407
mov rcx, rbx
call fcn.18004dd30
test r14, r14
je 0x180014416
lea rcx, [rsp + 0x48]
call fcn.180056c30
mov byte [rdi + 0x18], 2
mov rcx, rsi
call fcn.180012dd0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x180014990
Capabilities:
Reference wmi statements

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 8], 0
je 0x180014b0f
lea rcx, [0x180353c3a]
call sub.oleaut32.dll_SysAllocString
mov r15, rax
mov qword [rsp + 0x38], rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov qword [rsp + 0x40], rax
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x48], 0
mov rdx, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov qword [rsp + 0x50], 1
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 1
lea r14, [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
lea r12, [rsp + 0x78]
mov qword [rsp + 0x78], 0
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, r15
mov r8, rax
mov r9d, 0x30
call r10
test eax, eax
js 0x180014a6d
mov r15, qword [rsp + 0x48]
xor r13d, r13d
test r15, r15
sete r13b
xor ebp, ebp
test byte [rsp + 0x70], 1
jne 0x180014a8e
jmp 0x180014a86
mov ecx, eax
call fcn.1800562c0
mov r15, rax
mov ebp, edx
mov r13d, 1
test byte [rsp + 0x70], 1
jne 0x180014a8e
mov rcx, r12
call fcn.18004dd30
test byte [rsp + 0x60], 1
jne 0x180014a9d
mov rcx, r14
call fcn.18004d610
test byte [rsp + 0x50], 1
jne 0x180014aac
mov rcx, rbx
call fcn.18004d610
mov rcx, qword [rsp + 0x38]
call fcn.18010200c
mov rcx, qword [rsp + 0x40]
call fcn.18010200c
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], r15
mov dword [rsp + 0x90], ebp
lea rcx, [rsp + 0x40]
call fcn.18004d610
lea rcx, [rsp + 0x38]
call fcn.18004d610
mov r14, qword [rsp + 0x88]
test byte [rsp + 0x80], 1
je 0x180014b1d
test r14, r14
je 0x180014b0f
lea rcx, [rsp + 0x88]
call fcn.180056c30
mov byte [rdi + 0x18], 2
mov rcx, rsi
call fcn.180012dd0
jmp 0x180014b4a
cmp qword [rsi + 0x10], 0
je 0x180014b30
lea rbx, [rsi + 0x10]
mov rcx, rbx
call fcn.18004dd30
mov qword [rsi + 0x10], r14
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rdi + 0x10], rax
mov rax, qword [rsi + 0x18]
mov qword [rdi + 0x18], rax
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180015790
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015837
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x18001582f
je 0x1800157d0
test rdi, rdi
je 0x1800157d4
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1800157d6
mov rbx, qword [rdi + 8]
jmp 0x1800157d6
xor eax, eax
jmp 0x18001582f
xor ebx, ebx
mov rax, qword [0x180380fe8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.18000a890
test rax, rax
je 0x180015851
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 0x18001582c
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.18000a8a0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1800ba2b0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1800157b4
jmp 0x18001582f
mov ecx, 8
mov edx, 0x10
call fcn.1800debf0
int3
mov rdx, rcx
mov rcx, qword [0x180104120]
jmp 0x180015790

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015913
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x18001590b
je 0x180015909
test rdi, rdi
je 0x1800158ac
test byte [rdi], 1
mov dword [rdi], 0
je 0x1800158ac
mov rdi, qword [rdi + 4]
jmp 0x1800158ae
xor edi, edi
mov rax, qword [0x180380fe8]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call fcn.18000a890
test rax, rax
je 0x18001592d
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 0x180015904
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call fcn.18000a8a0
mov rax, rsi
jmp 0x18001590b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1800ba2b0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x180015894
jmp 0x18001590b
mov ecx, 4
mov edx, 0xc
call fcn.1800debf0
int3
mov rdx, rcx
mov rcx, qword [0x180104118]
jmp 0x180015870
Function at 0x180015940
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 rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015a0e
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180015a01
je 0x1800159ff
test rdi, rdi
je 0x180015988
movups xmm6, xmmword [rdi + 8]
test byte [rdi], 1
mov qword [rdi], 0
jne 0x1800159a4
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 [0x180380fe8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.18000a890
test rax, rax
je 0x180015a28
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 0x1800159fa
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.18000a8a0
mov rax, rsi
jmp 0x180015a01
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1800ba2b0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x18001596d
jmp 0x180015a01
mov ecx, 8
mov edx, 0x18
call fcn.1800debf0
int3
mov rdx, rcx
mov rcx, qword [0x180104328]
jmp 0x180015940

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015b23
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180015b1b
je 0x180015b19
test rbx, rbx
je 0x180015a83
mov rdi, qword [rbx + 8]
test byte [rbx], 1
mov qword [rbx], 0
jne 0x180015a93
call fcn.1800631b0
mov rcx, rax
call fcn.180062f20
mov rdi, rax
mov rax, qword [0x180380fe8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.18000a890
test rax, rax
je 0x180015b3d
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 0x180015b14
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
xor rax, 1
or rax, qword [rcx + 0x818]
jne 0x180015b01
call fcn.1800643b0
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.18000a8a0
mov rax, rsi
jmp 0x180015b1b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1800ba2b0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x180015a68
jmp 0x180015b1b
mov ecx, 8
mov edx, 0x10
call fcn.1800debf0
ud2
mov rcx, qword [0x180104178]
xor edx, edx
jmp 0x180015a40
Function at 0x180018400
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015b23
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180015b1b
je 0x180015b19
test rbx, rbx
je 0x180015a83
mov rdi, qword [rbx + 8]
test byte [rbx], 1
mov qword [rbx], 0
jne 0x180015a93
call fcn.1800631b0
mov rcx, rax
call fcn.180062f20
mov rdi, rax
mov rax, qword [0x180380fe8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.18000a890
test rax, rax
je 0x180015b3d
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 0x180015b14
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
xor rax, 1
or rax, qword [rcx + 0x818]
jne 0x180015b01
call fcn.1800643b0
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.18000a8a0
mov rax, rsi
jmp 0x180015b1b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1800ba2b0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x180015a68
jmp 0x180015b1b
mov ecx, 8
mov edx, 0x10
call fcn.1800debf0
ud2
mov rcx, qword [0x180104178]
xor edx, edx
jmp 0x180015a40

Function at 0x18001f450
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 0x18001f538
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 0x18001f51d
shl r12, 3
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
mov r15, rdi
jmp 0x18001f4f1
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 0x18001f51d
mov rcx, r15
call fcn.180054ae0
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.18009bb10
mov r13, qword [rsp + 0x38]
cmp r13, qword [rsp + 0x28]
jne 0x18001f4c0
mov rcx, r14
call fcn.180028100
jmp 0x18001f4c0
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 0x18001f54f
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 0x18001ffe0
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 rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x180015a0e
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x180015a01
je 0x1800159ff
test rdi, rdi
je 0x180015988
movups xmm6, xmmword [rdi + 8]
test byte [rdi], 1
mov qword [rdi], 0
jne 0x1800159a4
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 [0x180380fe8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.18000a890
test rax, rax
je 0x180015a28
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 0x1800159fa
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.18000a8a0
mov rax, rsi
jmp 0x180015a01
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1800ba2b0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x18001596d
jmp 0x180015a01
mov ecx, 8
mov edx, 0x18
call fcn.1800debf0
int3
mov rdx, rcx
mov rcx, qword [0x180104328]
jmp 0x180015940

Function at 0x1800209f0
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x180020a76
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 0x180020a3b
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x180020a76
call fcn.1800560b0
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 0x180020a76
lea rcx, [rsp + 0x98]
call fcn.180056c30
test bl, bl
je 0x180020b0c
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 0x180020b0c
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 0x180021ed0
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 0x180021f66
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
je 0x180021f87
lea r14, [rdi + rdi]
mov edx, 2
mov rcx, r14
call fcn.18000a8c0
test rax, rax
je 0x18002209a
mov rbx, rax
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x180021fe1
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rbx + r8*2], 0
je 0x180021fac
inc r8
add r14, 0xfffffffffffffffe
jne 0x180021f50
mov r8, rdi
jmp 0x180021fac
call fcn.1800560b0
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 0x180021f09
mov ebx, 2
lea r8, [rsp + 0x24]
mov edx, 2
mov ecx, 5
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x180021fe1
mov ebx, 2
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1800e13d0
xor eax, eax
cmp rax, qword [rsp + 0x40]
jno 0x180022049
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rdi, rdi
jne 0x18002205f
jmp 0x180022073
call fcn.1800560b0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], 1
test rax, rax
je 0x180022007
lea rcx, [rsp + 0x48]
call fcn.180056c30
test rdi, rdi
je 0x180022020
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.18000a8a0
cmp qword [rsp + 0x28], 0
je 0x18002203a
cmp qword [rsp + 0x30], 0
je 0x18002203a
lea rcx, [rsp + 0x30]
call fcn.180056c30
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x18002208d
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x180022073
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.18000a8a0
cmp qword [rsp + 0x28], 0
je 0x18002208d
cmp qword [rsp + 0x30], 0
je 0x18002208d
lea rcx, [rsp + 0x30]
call fcn.180056c30
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, r14
call fcn.1800debd0
ud2