joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017f8a8
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x140440190], ebx
jne 0x14017f8e4
lea rcx, [0x14043f7d0]
call fcn.14006f8bc
mov ebx, eax
test eax, eax
jns 0x14017f8d3
mov ecx, eax
call fcn.140079c40
jmp 0x14017f8e4
xor edx, edx
call fcn.1401804e8
mov dword [0x140440190], 1
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x14017f8f3
mov ecx, ebx
jmp 0x14017f956
mov rbx, qword [0x140440188]
test rbx, rbx
je 0x14017f949
and qword [rsp + 0x30], 0
lea rax, [0x140031798]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x38], rbx
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.140183658
mov ebx, eax
test eax, eax
jns 0x14017f95b
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x14017f974
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x140440190], 1
jne 0x14017fa01
lea rcx, [0x14043f7d0]
call fcn.14006f734
or dword [0x140440190], 0xffffffff
xor edx, edx
call fcn.1401804e8
lea rcx, [0x14043f7d0]
call fcn.14007240c
cmp dword [0x14043f7d0], 0
je 0x14017f9c6
lea rcx, [0x14043f7d8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x14043f7d0], 0
mov rcx, qword [0x14043f808]
test rcx, rcx
je 0x14017f9e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14043f808], 0
mov rcx, qword [0x14043f800]
test rcx, rcx
je 0x14017f9fa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14043f800], 0
and dword [0x140440190], 0
mov rbx, qword [0x140440188]
test rbx, rbx
je 0x14017fa57
and qword [rsp + 0x30], 0
lea rax, [0x140031798]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x38], rbx
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [0x140440188], 0
add rsp, 0x40
pop rbx
ret
Function at 0x1401832a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
movsxd rbp, edx
xor ebx, ebx
mov rsi, rcx
cmp dword [rcx], ebp
je 0x140183404
mov r15d, dword [rcx + 4]
cmp ebp, r15d
cmovl r15d, ebp
test edx, edx
jle 0x140183370
xor edi, edi
test edx, edx
je 0x140183317
lea r14, [rbp*2]
movabs rax, 0xaaaaaaaaaaaaaaab
add r14, rbp
shl r14, 3
mul r14
shr rdx, 4
cmp rdx, rbp
je 0x14018331a
mov edi, 0x80070216
mov ecx, edi
call fcn.140079c40
mov r14, qword [rsp + 0x70]
jmp 0x14018331a
xor r14d, r14d
mov ecx, edi
call fcn.140079c60
test edi, edi
jns 0x140183331
mov ecx, edi
call fcn.140079c40
jmp 0x140183406
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140183354
mov edi, 0x8007000e
jmp 0x140183325
test r15d, r15d
je 0x140183370
mov rdx, qword [rsi + 8]
mov rcx, rbx
movsxd rax, r15d
lea r8, [rax + rax*2]
shl r8, 3
call sub.msvcrt.dll_memcpy
mov r12, rbx
cmp ebp, dword [rsi + 4]
jge 0x1401833cf
mov edi, ebp
mov rdx, qword [rsi + 8]
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rax, [rdx + rcx*8]
test rax, rax
je 0x1401833c8
and qword [rsp + 0x30], 0
lea rcx, [0x14002ccd8]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
add rax, 8
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14018337a
mov rdi, qword [rsi + 8]
mov r14, rbx
xor ebx, ebx
test rdi, rdi
je 0x1401833f1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test r14, r14
cmovne rax, r12
mov qword [rsi + 8], rax
mov dword [rsi + 4], r15d
mov dword [rsi], ebp
xor edi, edi
mov ecx, edi
call fcn.140079c60
test rbx, rbx
je 0x140183426
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140184870
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x20], 0x114
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1401848c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x1401848ec
cmp dword [rsp + 0x24], 5
jb 0x1401848dc
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x1401848ab
xor eax, eax
jmp 0x1401848ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1401848d8
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14037a9a0
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x140188ab8
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [rbp + 0x30]
movaps xmm0, xmmword [r9]
movaps xmm1, xmmword [rdx]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
test rax, rax
jne 0x140188af5
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140079c40
call fcn.140079c60
jmp 0x140188b4a
mov qword [rbp - 0x28], rcx
lea rdx, [0x14003f158]
mov qword [rbp - 0x38], rdx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x1c], rcx
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x14], r8d
xor r9d, r9d
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x30], rdx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x20], 0x80
lea r8d, [r9 + 0x40]
mov qword [rbp - 8], rax
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x140188b64
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [rbp + 0x30]
movaps xmm0, xmmword [r9]
movaps xmm1, xmmword [rdx]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
test rax, rax
jne 0x140188ba1
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140079c40
call fcn.140079c60
jmp 0x140188bf6
mov qword [rbp - 0x28], rcx
lea rdx, [0x14003f158]
mov qword [rbp - 0x38], rdx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x1c], rcx
lea rdx, [rbp + 0x30]
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x50]
mov edx, 0x40
mov dword [rbp - 0x14], r8d
mov r8d, edx
mov dword [rbp - 0x20], edx
mov qword [rbp - 0x10], rcx
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x40], 3
mov qword [rbp - 8], rax
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x14018d14c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
cmp qword [r8], 0
mov esi, r9d
mov r14, r8
mov r15b, dl
mov rdi, rcx
je 0x14018d2bd
test r9d, r9d
je 0x14018d2bd
mov rbx, qword [rcx + 0x10]
test rbx, rbx
jne 0x14018d215
cmp dword [rcx + 8], 2
jne 0x14018d239
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14018d1f9
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call sub.msvcrt.dll_memset
and qword [rbx + 0x90], 0
xor eax, eax
and qword [rbx + 0x98], 0
mov qword [rbx + 0xb0], rax
and qword [rbx + 0xb8], rax
and dword [rbx + 0x58], eax
and dword [rbx + 0x38], eax
mov qword [rbx], rdi
mov dword [rbx + 8], 1
jmp 0x14018d1fb
xor ebx, ebx
mov qword [rdi + 0x10], rbx
test rbx, rbx
jne 0x14018d215
mov ebx, 0x8007000e
mov ecx, ebx
call fcn.140079c40
jmp 0x14018d2cd
mov rcx, rbx
call fcn.140199fe4
mov ebx, eax
test eax, eax
jns 0x14018d22a
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
js 0x14018d2c2
mov ecx, dword [rdi + 4]
sub ecx, 1
je 0x14018d269
cmp ecx, 1
je 0x14018d24d
mov ebx, 0xc004d203
jmp 0x14018d2c2
movaps xmm0, xmmword [r14]
lea rdx, [rbp - 0x20]
mov r8d, esi
movdqa xmmword [rbp - 0x20], xmm0
mov rcx, rdi
call fcn.140195f38
mov ebx, eax
jmp 0x14018d2b4
movaps xmm0, xmmword [r14]
lea rax, [0x140034858]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x58]
xor r9d, r9d
movdqa xmmword [rbp - 0x10], xmm0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x58], 3
mov qword [rbp - 0x48], rax
mov ecx, 0xb9
lea rax, [rbp - 0x10]
mov qword [rbp - 0x40], rdi
lea r8d, [r9 + 0x2c]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], esi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x60]
test ebx, ebx
js 0x14018d2c2
mov byte [rdi], 1
jmp 0x14018d2c9
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140079c40
test ebx, ebx
jns 0x14018d2d0
mov byte [rdi], 0
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14018d2f8
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [rbp + 0x77]
mov r10d, r9d
movaps xmm1, xmmword [r8]
mov r9, rcx
mov rcx, qword [rcx + 0x10]
movaps xmm0, xmmword [rax]
test rcx, rcx
je 0x14018d390
mov rax, qword [rbp + 0x7f]
test dl, dl
je 0x14018d35c
lea r9, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, r10d
movdqa xmmword [rbp - 9], xmm1
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rax
call fcn.14019a0ec
mov ebx, eax
test eax, eax
jns 0x14018d402
mov ecx, eax
jmp 0x14018d3fd
movdqa xmmword [rbp - 9], xmm0
movdqa xmmword [rbp - 0x19], xmm1
test rax, rax
jne 0x14018d375
mov ebx, 0x80070057
jmp 0x14018d3fb
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r8d, r10d
lea rdx, [rbp - 0x19]
call fcn.14019a7f8
mov ebx, eax
test eax, eax
jmp 0x14018d3f9
lea rax, [0x1400327d8]
mov qword [rbp + 0x1f], r9
mov qword [rbp + 0xf], rax
xor r9d, r9d
lea rax, [rbp + 0x57]
movdqa xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x17], rax
movzx eax, dl
lea rdx, [rbp + 7]
inc eax
movdqa xmmword [rbp - 9], xmm1
shl eax, 6
lea r8d, [r9 + 0x40]
mov dword [rbp + 0x27], eax
lea ecx, [r8 + 0x79]
lea rax, [rbp - 9]
mov qword [rbp + 7], 3
mov qword [rbp + 0x2b], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x37], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x33], r10d
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x57]
test ebx, ebx
jns 0x14018d402
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
Function at 0x14018ebb8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.14018eb68
test eax, eax
js 0x14018ec46
movzx eax, word [rdi + 6]
mov word [rbx], ax
mov qword [rbx + 0x10], rsi
lea rcx, [rbx + 0x18]
mov r9d, esi
mov r8, rdi
xor edx, edx
call fcn.14018eefc
test eax, eax
js 0x14018ec46
mov qword [rsp + 0x20], 3
lea rax, [0x14001f318]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
xor r9d, r9d
lea r8d, [r9 + 0x28]
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rsp + 0x78]
jmp 0x14018ec46
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1401b39d0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
and qword [rax + 8], 0
mov rbp, rcx
mov rax, qword gs:[0x58]
mov r15, r9
mov ecx, 4
mov r12, r8
mov r14, rdx
mov r10, qword [rax]
mov eax, dword [rcx + r10]
cmp dword [0x140440b28], eax
jg 0x1401b3b2a
mov rsi, qword [rbp + 0x18]
xor edi, edi
cmp dword [0x140440d60], 1
cmove rdi, qword [0x140440260]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rsp + 0x90]
mov rdx, rdi
mov rcx, rsi
call rax
mov ebx, eax
test eax, eax
js 0x1401b3ac2
mov rax, qword [rsp + 0x90]
lea r9, [0x140440b30]
and qword [rsp + 0x30], 0
mov r8, r15
mov qword [rsp + 0x28], rax
mov rdx, r12
mov rcx, rbp
mov dword [rsp + 0x20], 1
call fcn.1401b519c
mov ebx, eax
test eax, eax
js 0x1401b3ac2
mov rax, qword [r14]
mov rbx, qword [rax + 0xa8]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rdx, qword [rsp + 0x90]
mov rax, rbx
xor r8d, r8d
mov rcx, r14
call rax
mov ebx, eax
test eax, eax
jns 0x1401b3ac9
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
and qword [rsp + 0x50], 0
lea rax, [0x14001ab98]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], 3
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x140440b28]
call fcn.14037adcc
cmp dword [0x140440b28], 0xffffffff
jne 0x1401b3a19
and qword [0x140440b38], 0
lea rax, str.metaInfoType
and dword [0x140440b40], 0
lea rcx, [0x140440b28]
or dword [0x140440b44], 0xffffffff
mov qword [0x140440b30], rax
call fcn.14037ad5c
jmp 0x1401b3a19
Function at 0x1401b3b80
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
and qword [rax + 8], 0
mov rbp, rcx
mov rax, qword gs:[0x58]
mov r15, r9
mov ecx, 4
mov r12, r8
mov r14, rdx
mov r10, qword [rax]
mov eax, dword [rcx + r10]
cmp dword [0x140440b48], eax
jg 0x1401b3cda
mov rsi, qword [rbp + 0x18]
xor edi, edi
cmp dword [0x140440d60], 1
cmove rdi, qword [0x140440248]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x178]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rsp + 0x90]
mov rdx, rdi
mov rcx, rsi
call rax
mov ebx, eax
test eax, eax
js 0x1401b3c72
mov rax, qword [rsp + 0x90]
lea r9, [0x140440b50]
and qword [rsp + 0x30], 0
mov r8, r15
mov qword [rsp + 0x28], rax
mov rdx, r12
mov rcx, rbp
mov dword [rsp + 0x20], 2
call fcn.1401b519c
mov ebx, eax
test eax, eax
js 0x1401b3c72
mov rax, qword [r14]
mov rbx, qword [rax + 0xa8]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rdx, qword [rsp + 0x90]
mov rax, rbx
xor r8d, r8d
mov rcx, r14
call rax
mov ebx, eax
test eax, eax
jns 0x1401b3c79
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
and qword [rsp + 0x50], 0
lea rax, [0x14001ab98]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], 3
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x140440b48]
call fcn.14037adcc
cmp dword [0x140440b48], 0xffffffff
jne 0x1401b3bc9
and qword [0x140440b58], 0
lea rax, str.metaInfoType
and dword [0x140440b60], 0
lea rcx, [0x140440b48]
or dword [0x140440b64], 0xffffffff
xorps xmm0, xmm0
mov qword [0x140440b50], rax
xor eax, eax
mov qword [0x140440b78], rax
lea rax, str.windowsComponentLicenseFileName
and dword [0x140440b78], 0
movups xmmword [0x140440b68], xmm0
mov qword [0x140440b68], rax
lea rax, str.path
mov qword [0x140440b70], rax
mov dword [0x140440b7c], 1
call fcn.14037ad5c
jmp 0x1401b3bc9
Function at 0x1402fb9a4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov r14, qword [rbp + 0x77]
mov r12, r9
and qword [rbp - 0x21], 0
mov r15d, r8d
and dword [rbp + 0x67], 0
mov rdi, rdx
and dword [rbp - 0x39], 0
mov rsi, rcx
cmp dword [r14], r8d
jae 0x1402fb9ee
mov edi, 0x80049e19
jmp 0x1402fbb64
mov rax, qword [rdx]
and qword [rbp - 0x31], 0
and qword [rbp - 0x29], 0
and qword [rbp - 0x19], 0
mov rbx, qword [rax]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x29]
lea rdx, [0x140412068]
mov rcx, rdi
call rax
test eax, eax
je 0x1402fba30
mov edi, 0x80049e2f
jmp 0x1402fbabe
mov rdi, qword [rbp - 0x29]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x30]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea rdx, [rbp - 0x31]
mov rcx, rdi
call rax
mov edi, eax
test eax, eax
js 0x1402fbabe
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x19]
mov rcx, rsi
call fcn.1402fb0d8
mov edi, eax
test eax, eax
js 0x1402fbabe
lea rax, [0x140050258]
mov qword [rbp - 0x11], 3
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x11]
lea rax, [rbp + 0x77]
mov qword [rbp + 7], rsi
mov qword [rbp - 1], rax
xor r9d, r9d
mov rax, qword [rbp - 0x29]
mov ecx, 0xb9
mov qword [rbp + 0xf], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x17], rax
lea r8d, [r9 + 0x38]
lea rax, [rbp - 0x21]
mov qword [rbp + 0x1f], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x77]
mov rsi, qword [rbp - 0x31]
test rsi, rsi
je 0x1402fbae7
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
and qword [rbp - 0x31], 0
mov rsi, qword [rbp - 0x29]
test rsi, rsi
je 0x1402fbb0b
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
test edi, edi
js 0x1402fbb64
mov eax, dword [r14]
mov r8d, r15d
mov r9, qword [rbp + 0x7f]
mov rdx, r12
mov rcx, qword [rbp - 0x21]
mov dword [rbp + 0x67], eax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
call fcn.1401661ac
mov edi, eax
test eax, eax
js 0x1402fbb64
mov eax, dword [r14]
lea r9, [rbp - 0x39]
mov r8d, dword [rbp + 0x67]
sub eax, r8d
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x21]
mov dword [rbp - 0x39], eax
call fcn.140166514
mov edi, eax
test eax, eax
js 0x1402fbb64
mov ecx, dword [rbp + 0x67]
add ecx, dword [rbp - 0x39]
mov dword [r14], ecx
mov rcx, qword [rbp - 0x21]
call fcn.140165518
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x4155e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41576b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432b60
xorps xmm15, xmm15
mov r14, qword [0x005f46f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415645
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415654
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415673
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415683
cmp rbx, 0x1000
jae 0x41564b
jmp 0x4156ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415695
xor edx, edx
jmp 0x4156e4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432b60
xorps xmm15, xmm15
mov r14, qword [0x005f46f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415679
jmp 0x415668
call fcn.00462ae0
xorps xmm15, xmm15
mov r14, qword [0x005f46f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436f60
lea rax, [0x004d3aaa]
mov ebx, 0x18
nop dword [rax]
call fcn.004377e0
mov rax, qword [rsp + 0x38]
call fcn.00437520
lea rax, [0x004d3f61]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.004377e0
mov rax, qword [rsp + 0x30]
call fcn.00437520
call fcn.004371a0
call fcn.00436fc0
lea rax, [0x004d65c2]
mov ebx, 0x21
call fcn.004355c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f420
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004155e0
Function at 0x4157a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4159c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432be0
xorps xmm15, xmm15
mov r14, qword [0x005f46f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415813
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415822
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415845
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415855
cmp rbx, 0x1000
jae 0x415819
nop
jmp 0x4158d8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41586d
xor esi, esi
jmp 0x4158ca
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432be0
xorps xmm15, xmm15
mov r14, qword [0x005f46f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41584b
jmp 0x415836
call fcn.00462ae0
xorps xmm15, xmm15
mov r14, qword [0x005f46f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415960
nop dword [rax + rax]
call fcn.00436f60
lea rax, [0x004d3f7a]
mov ebx, 0x19
call fcn.004377e0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00437520
lea rax, [0x004d3f61]
mov ebx, 0x19
call fcn.004377e0
mov eax, dword [rsp + 0x34]
call fcn.00437520
nop
call fcn.004371a0
call fcn.00436fc0
lea rax, [0x004d05d5]
mov ebx, 0xd
call fcn.004355c0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x415900
call fcn.00436f60
lea rax, [0x004d3f7a]
mov ebx, 0x19
call fcn.004377e0
mov rax, qword [rsp + 0x38]
call fcn.00437520
lea rax, [0x004d3f61]
mov ebx, 0x19
call fcn.004377e0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00437520
call fcn.004371a0
call fcn.00436fc0
lea rax, [0x004d5dc7]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.004355c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f420
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004157a0