joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c7340
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r12, rdx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400c5f10
mov rax, qword [rsi]
test rax, rax
je 0x1400c73bb
mov rbx, qword [rax + 0x50]
mov rdi, qword [rax + 0x58]
xor esi, esi
cmp rbx, rdi
jne 0x1400c73c2
lea rcx, [rsp + 0x20]
call fcn.1400c6a90
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400c7392
lea r14, [r12 + 0x18]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x1400c73df
add rbx, 0x70
cmp rbx, rdi
je 0x1400c7392
jmp 0x1400c73ce
cmp byte [rbx + 0x27], 0
jns 0x1400c73eb
mov rcx, qword [rbx + 0x10]
jmp 0x1400c73ef
lea rcx, [rbx + 0x10]
call r13
test al, 0x10
jne 0x1400c73d4
mov r15, qword [r12 + 8]
cmp r15, qword [r12 + 0x10]
je 0x1400c741b
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.1400c7de0
add r15, 0x68
mov qword [r12 + 8], r15
jmp 0x1400c73d4
mov rcx, r12
mov rdx, rbx
call fcn.140283840
jmp 0x1400c73d4

Function at 0x1400c7430
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r12, rdx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400c5f10
mov rax, qword [rsi]
test rax, rax
je 0x1400c74ab
mov rbx, qword [rax + 0x50]
mov rdi, qword [rax + 0x58]
xor esi, esi
cmp rbx, rdi
jne 0x1400c74b2
lea rcx, [rsp + 0x20]
call fcn.1400c6a90
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 3
jmp 0x1400c7482
lea r14, [r12 + 0x18]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 2
jne 0x1400c74fe
cmp byte [rbx + 0x27], 0
jns 0x1400c74d0
mov rcx, qword [rbx + 0x10]
jmp 0x1400c74d4
lea rcx, [rbx + 0x10]
call r13
test al, 0x10
jne 0x1400c74fe
mov r15, qword [r12 + 8]
cmp r15, qword [r12 + 0x10]
je 0x1400c750d
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.1400c7de0
add r15, 0x68
mov qword [r12 + 8], r15
add rbx, 0x70
cmp rbx, rdi
je 0x1400c7482
jmp 0x1400c74be
mov rcx, r12
mov rdx, rbx
call fcn.140283840
jmp 0x1400c74fe
Function at 0x1400c84d0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403ba998]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c850b
movzx eax, word [0x1403ba968]
cmp eax, 9
jne 0x1400c8553
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1403ba998]
call fcn.1401b9e00
cmp dword [0x1403ba998], 0xffffffff
jne 0x1400c84f5
xorps xmm0, xmm0
movups xmmword [0x1403ba988], xmm0
movups xmmword [0x1403ba978], xmm0
movups xmmword [0x1403ba968], xmm0
lea rcx, [0x1403ba968]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403ba998]
call fcn.1401b9e98
jmp 0x1400c84f5
test eax, eax
je 0x1400c8506
cmp eax, 6
jne 0x1400c8563
mov eax, 2
jmp 0x1400c8506
cmp eax, 0xc
jne 0x1400c856f
mov eax, 3
jmp 0x1400c8506
mov eax, 4
jmp 0x1400c8506
Function at 0x1400c8ec0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x80
mov r12, r9
mov r15d, r8d
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x70]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1402fe158]
lea r9, [0x140376f30]
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400c9051
xor ebp, ebp
lea rdi, [rsp + 0x68]
mov qword [rdi], rbp
mov rbx, qword [rsp + 0x70]
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.1400f5720
mov rdx, qword [rsi]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [0x1403de008]
mov ebx, eax
mov rcx, rsi
call fcn.1400f5770
test ebx, ebx
js 0x1400c905f
test r15b, r15b
je 0x1400c8fe6
mov rcx, qword [rsp + 0x68]
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400c906d
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
mov rcx, qword [r12]
mov qword [r12], rax
test rcx, rcx
jne 0x1400c907b
mov byte [r14], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x1400c908d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400c902f
mov qword [rsp + 0x70], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403de008]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401bb0d0
mov rax, r14
add rsp, 0x80
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov byte [r14], 1
mov dword [r14 + 4], 0
jmp 0x1400c900f
mov byte [r14], 1
mov dword [r14 + 4], 1
jmp 0x1400c9005
mov byte [r14], 1
mov dword [r14 + 4], 2
jmp 0x1400c9005
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403de008]
jmp 0x1400c9001
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403de008]
jmp 0x1400c900f
Function at 0x1400cd4b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400cd59c
cmp qword [rsi], 0
jne 0x1400cd59c
cmp dword [rsi + 0x14], 0
jne 0x1400cd59c
cmp qword [rsi + 8], 0
jne 0x1400cd59c
xor eax, eax
mov rbx, qword [rdi]
cmp rax, rbx
je 0x1400cd51f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400cd56e
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400cd517
mov qword [rsi], rbx
call fcn.140160650
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rdi + 8]
cmp qword [rsi + 8], rbp
je 0x1400cd559
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400cd584
lea rax, [rbp + 1]
cmp rax, 2
jb 0x1400cd551
mov qword [rsi + 8], rbp
call fcn.140160650
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140160650
mov rcx, qword [rsi]
call fcn.14016ddf0
mov qword [rsi], 0
jmp 0x1400cd505
call fcn.140160650
mov rcx, qword [rsi + 8]
call fcn.14016ddf0
mov qword [rsi + 8], 0
jmp 0x1400cd53e
mov rcx, rsi
call fcn.1402877a0
mov rax, qword [rsi]
jmp 0x1400cd4e9
Function at 0x1400d1490
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1403b1580]
cmp ecx, 0xffffffff
je 0x1400d14b5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x1400d14b0

Function at 0x1400d14c0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov ecx, dword [0x1403b1580]
cmp ecx, 0xffffffff
je 0x1400d1590
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400d1590
mov eax, dword [0x1403bc2e8]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d159a
mov rbx, qword [0x1403bc2e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400d15e0
mov rax, qword [0x1403baad8]
inc rax
xor ecx, ecx
lea rdx, [0x1403baae0]
lea edi, [rax + rcx]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rdx + rsi*8], 0
jne 0x1400d15ed
lea rax, [rdx + rsi*8]
mov dword [rax], 1
mov qword [rax + 8], r14
mov qword [0x1403baad8], rdi
mov qword [r15], rdi
mov eax, dword [rax + 0x10]
mov dword [r15 + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [r15], 0x100
jae 0x1400d1602
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400d1610
jmp 0x1400d14ee
lea rcx, [0x1403bc2e8]
call fcn.1401b9e00
cmp dword [0x1403bc2e8], 0xffffffff
jne 0x1400d1513
mov ecx, 8
call fcn.1401b9cac
mov rbx, rax
mov rcx, rax
call fcn.14016dd40
mov qword [0x1403bc2e0], rbx
lea rcx, [0x1403bc2e8]
call fcn.1401b9e98
jmp 0x1400d1513
mov rcx, rbx
call fcn.14016dd50
jmp 0x1400d152b
inc rcx
cmp rcx, 0x100
jne 0x1400d153e
jmp 0x1400d1572
int3
Function at 0x1400d1610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1401bb070
sub rsp, rax
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1403b1580]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400d16c4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400d1702
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401bd200
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1401b9d1c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1401bcb50
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401bb0d0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400fe0b0
test al, al
je 0x1400d1705
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400d1708
mov eax, 0xffffffff
lock cmpxchg dword [0x1403b1580], ecx
je 0x1400d1648
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1403b1580]
mov dword [rsp + 0x2c], ecx
jmp 0x1400d1648
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1400fe0b0
test al, al
je 0x1400d172d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400d172d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400d16db
int3

Function at 0x1400d4e30
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x88]
call qword [0x1403de008]
mov byte [rsi + 0x429], 1
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
call qword [0x1403de008]
test rax, rax
je 0x1400d4ea2
mov eax, dword [0x1403bc330]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d4ea9
lea rcx, [0x1403bc320]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140180560
nop
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1403bc330]
call fcn.1401b9e00
cmp dword [0x1403bc330], 0xffffffff
jne 0x1400d4e8e
xorps xmm0, xmm0
movups xmmword [0x1403bc320], xmm0
lea rcx, [0x1403bc320]
xor edx, edx
call fcn.1400d1820
lea rcx, [0x1403bc330]
call fcn.1401b9e98
jmp 0x1400d4e8e
Function at 0x1400d6750
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x1403bc378]
cmp rdi, 1
jbe 0x1400d6779
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140180560
lea rcx, [0x1403bc378]
call fcn.140075b10
test al, al
je 0x1400d67be
xorps xmm0, xmm0
movups xmmword [0x1403bc380], xmm0
lea rbx, [0x1403bc378]
lea rdi, [0x1403bc380]
mov rcx, rdi
xor edx, edx
call fcn.1400d1820
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140075bb0
jmp 0x1400d6767
mov rdi, qword [0x1403bc378]
jmp 0x1400d6767

Function at 0x1400d6e10
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [rcx], 0
je 0x1400d6e1d
mov ecx, dword [rcx + 4]
jmp fcn.1400d8270
ret

Function at 0x1400d7210
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
test r8b, r8b
jne 0x1400d72d9
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400d7347
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400d72d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400d72d5
call fcn.140160650
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
cmp rbx, 0xffffffffffffffff
je 0x1400d7296
test rbx, rbx
je 0x1400d72b9
call fcn.140160650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400d72b1
mov qword [rsi + 8], rbx
call fcn.140160650
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401bb0d0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x1400d727b
xor ebx, ebx
jmp 0x1400d7273
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400d7347
lea rdi, [rsp + 0x30]
mov rdx, qword [rdi]
lea rbx, [rsp + 0x28]
mov qword [rbx], 0
mov rcx, rbx
call fcn.140156330
mov rcx, qword [rbx]
mov edx, 1
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x1400d734f
mov rax, qword [rsp + 0x28]
inc rax
cmp rax, 2
jb 0x1400d7256
call fcn.140160650
mov rcx, qword [rsp + 0x28]
call fcn.14016ddf0
jmp 0x1400d7256
mov byte [rsi], 0
jmp 0x1400d72b9
mov byte [rsi], 0
mov rax, qword [rsp + 0x28]
inc rax
cmp rax, 2
jb 0x1400d72b9
call fcn.140160650
mov rcx, qword [rsp + 0x28]
call fcn.14016ddf0
jmp 0x1400d72b9
Function at 0x1400d8270
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.1400db5b0
test al, al
jne 0x1400d82f8
call fcn.1400db580
movzx edx, al
mov ecx, esi
call fcn.140085760
mov eax, dword [0x1403bc3e0]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d82c7
movsxd rdx, esi
inc rdx
lea rcx, [0x1403bc3d0]
add rsp, 0x20
pop rsi
jmp fcn.140180560
lea rcx, [0x1403bc3e0]
call fcn.1401b9e00
cmp dword [0x1403bc3e0], 0xffffffff
jne 0x1400d82b0
lea rcx, [0x1403bc3d0]
xor edx, edx
call fcn.1400d1820
lea rcx, [0x1403bc3e0]
call fcn.1401b9e98
jmp 0x1400d82b0
mov edx, 3
jmp 0x1400d8288

Function at 0x1400d8300
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.140085760
mov eax, dword [0x1403bc3e0]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d8344
movsxd rdx, esi
inc rdx
lea rcx, [0x1403bc3d0]
add rsp, 0x20
pop rsi
jmp fcn.140180560
lea rcx, [0x1403bc3e0]
call fcn.1401b9e00
cmp dword [0x1403bc3e0], 0xffffffff
jne 0x1400d832d
lea rcx, [0x1403bc3d0]
xor edx, edx
call fcn.1400d1820
lea rcx, [0x1403bc3e0]
call fcn.1401b9e98
jmp 0x1400d832d
Function at 0x1400dc9a0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400dc9d4
mov rax, qword [r12 + 8]
test rax, rax
je 0x1400dcacc
mov eax, ebx
not eax
test eax, 0x300
je 0x1400dcacc
cmp edi, 2
lea rax, [0x1403be810]
lea rcx, [0x1403bea10]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400dcacc
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x1400dcacc
cmp byte [0x1403be800], 0
setne al
bt ebx, 8
jb 0x1400dcacc
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400dcacc
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
movzx r13d, byte [r12 + 0x17]
test r13b, r13b
jns 0x1400dcb25
mov rbx, qword [r12]
mov r13, qword [r12 + 8]
mov r14d, 1
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov rdi, qword [rsi + 8]
mov rbp, r13
sub rbp, rdi
jb 0x1400dcab9
mov rdx, qword [rsi]
mov rcx, rbx
mov r8, rdi
call fcn.1401d7884
test eax, eax
je 0x1400dcaeb
add rsi, 0x28
inc r15
cmp r15, r14
jb 0x1400dca9b
cmp dword [rsp + 0x2c], 0
jne 0x1400dcb2d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401bb0d0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, word [rbx + rdi*2]
cmp ecx, 0x5c
je 0x1400dcaf8
test ecx, ecx
jne 0x1400dcab9
lea rax, [rbx + rdi*2]
mov edx, dword [rsi + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400dcb59
cmp dword [rsp + 0x2c], 2
jne 0x1400dcb6a
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400dcb6a
mov rbx, r12
jmp 0x1400dca7c
cmp byte [r12 + 0x17], 0
mov rax, r12
jns 0x1400dcb3c
mov rax, qword [r12]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, r12
mov r8, qword [rsp + 0x38]
call fcn.14005d0d0
jmp 0x1400dcacc
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbx
cmp cx, 0x5c
jne 0x1400dcb83
lea rbx, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, rbx
je 0x1400dcb70
jmp 0x1400dcb86
mov rbx, rax
mov r14, qword [rsi + 0x20]
mov rsi, qword [rsi + 0x18]
xor r15d, r15d
mov r13, rbp
jmp 0x1400dcac0
Function at 0x1400dd3b0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r8]
cmovns rax, r8
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
cmovs rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.140169fc0
cmp byte [rsi + 0x17], 0
jns 0x1400dd410
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.140169fc0
cmp byte [rdi + 0x17], 0
jns 0x1400dd435
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x1400dd454
mov rcx, qword [rsp + 0x48]
call fcn.1401b9ce8
cmp byte [rsp + 0x87], 0
jns 0x1400dd468
mov rcx, qword [rsp + 0x70]
call fcn.1401b9ce8
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400dd510
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140169fc0
cmp byte [rdi + 0x17], 0
jns 0x1400dd551
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x1400dd572
mov rcx, qword [rsp + 0x58]
call fcn.1401b9ce8
test r14, r14
je 0x1400dd619
test edi, edi
je 0x1400dd619
mov ecx, edi
add rcx, rcx
call fcn.1401b9d1c
mov rbx, rax
movups xmm0, xmmword [rsi]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.140169fc0
cmp byte [rsi + 0x17], 0
jns 0x1400dd5b3
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x1400dd5d3
mov rcx, qword [rsp + 0x58]
call fcn.1401b9ce8
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1400dd637
mov rcx, rbx
call fcn.1401e2874
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.14016a3b0
cmp byte [r14 + 0x17], 0
js 0x1400dd63a
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14], xmm0
mov rcx, rbx
call fcn.1401b9d24
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
mov rcx, qword [r14]
call fcn.1401b9ce8
jmp 0x1400dd5ff
Function at 0x1400e2a20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rdi, r8
mov r14, rdx
mov ebx, ecx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400e29f0]
lea r8, [rsp + 0x20]
mov qword [r8], rax
lea rcx, [0x1403bef48]
lea rdx, [0x1400e2840]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400e2b21
cmp dword [0x1403bef50], 0
jne 0x1400e2b2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1403bef54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
jne 0x1400e2ad7
mov ecx, 0x28
call fcn.14018af30
test rax, rax
je 0x1400e2b2e
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x20], 0
mov ecx, dword [0x1403bef54]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400e2b26
lea rbp, [0x1403bef58]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1403bef60]
mov qword [rax + rbx*8], rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsi + rbx*8], r14
mov esi, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, esi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.1401d3c50
mov rcx, rsi
call fcn.14018af70
mov rcx, r14
mov rax, rdi
call qword [0x1403de008]
xor esi, esi
jmp 0x1400e2b07

Function at 0x1400e3050
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400e308c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400e3096
add rdi, rbx
sub rsi, rbx
jne 0x1400e306a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401d3c50
int3