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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rax, [0x14003abdc]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 0x21], rax
lea rcx, [0x140439ea8]
lea rax, [rbp - 0x39]
mov qword [rbp - 0x29], 3
mov r15, rdx
mov qword [rbp - 0x19], rax
lea rdx, [0x140453fb0]
mov r14, r9
mov rbx, r8
call fcn.1400f3d28
lea rdx, [0x140454658]
mov qword [rbp - 9], r15
lea rcx, [0x1404312b8]
call fcn.1400f50fc
lea rdx, [0x140458ba8]
mov qword [rbp - 1], rbx
lea rcx, [0x140434c08]
call fcn.1400f4a68
xor r9d, r9d
lea rax, [rbp + 0x27]
lea rdx, [rbp - 0x29]
mov qword [rbp + 7], rax
lea r8d, [r9 + 0x50]
lea ecx, [r8 + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x39]
xor edi, edi
test esi, esi
jns 0x14008678b
mov ecx, esi
call fcn.14007ac40
jmp 0x1400868d5
lea rax, [0x14003b25c]
mov qword [rbp - 0x29], 3
mov qword [rbp - 0x21], rax
lea rdx, [0x140454b18]
lea rax, [rbp - 0x35]
mov qword [rbp - 0x11], r15
lea rcx, [0x14043aa60]
mov qword [rbp - 0x19], rax
call fcn.1400f43c8
lea rax, [rbp + 0x27]
mov qword [rbp - 9], rdi
lea rdx, [0x140456450]
mov qword [rbp + 7], rax
lea rcx, [0x140432b30]
mov qword [rbp - 1], rbx
call fcn.1400f4710
lea rax, [rbp - 0x31]
mov dword [rbp + 0xf], edi
mov r15d, 1
mov qword [rbp + 0x1f], rax
lea rdx, [0x140458048]
mov dword [rbp + 0x13], r15d
lea rcx, [0x14043d974]
mov qword [rbp + 0x17], rdi
call fcn.1400f4a68
lea r8d, [r15 + 0x4f]
xor r9d, r9d
lea rdx, [rbp - 0x29]
lea ecx, [r8 + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x35]
cmp ebx, 0xc004d304
je 0x1400868d2
lea rdx, [0x140456a20]
lea rcx, [0x14043c658]
call fcn.1400f4dac
mov esi, ebx
test ebx, ebx
jns 0x140086862
lea rdx, [0x140455468]
lea rcx, [0x140431fa0]
call fcn.1400f3670
mov ecx, ebx
jmp 0x140086781
mov ebx, dword [rbp - 0x31]
mov eax, ebx
and eax, 0xf000
cmp eax, 0xc000
jne 0x1400868bf
and ebx, 0xfff
lea eax, [rbx - 0x401]
cmp eax, 0x95
jbe 0x1400868a7
lea rdx, [0x140456828]
add ebx, 0xfffffb69
lea rcx, [0x140428fcc]
call fcn.1400f3318
cmp ebx, 0x169
ja 0x1400868bf
lea rdx, [0x14045bd00]
mov edi, r15d
lea rcx, [0x140430ea8]
call fcn.1400f39cc
jmp 0x1400868d2
lea rdx, [0x1404599f8]
lea rcx, [0x14042c3f0]
call fcn.1400f4080
mov dword [r14], edi
mov ecx, esi
call fcn.14007ace8
mov eax, esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140388a50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14008935c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov dword [rsp + 0x40], 0x370035
mov r14d, r8d
mov dword [rsp + 0x44], 0x390042
xor r8d, r8d
mov dword [rsp + 0x48], 0x320044
mov dword [rsp + 0x4c], 0x370035
mov esi, r9d
mov dword [rsp + 0x50], 0x34002d
mov dword [rsp + 0x54], 0x360035
mov dword [rsp + 0x58], 0x2d0030
mov dword [rbp - 0x7d], 0x460034
mov dword [rbp - 0x79], 0x420044
mov dword [rbp - 0x75], 0x39002d
mov dword [rbp - 0x71], 0x430030
mov dword [rbp - 0x6d], 0x2d0036
mov dword [rbp - 0x69], 0x410042
mov dword [rbp - 0x65], 0x330034
mov dword [rbp - 0x61], 0x360046
mov dword [rbp - 0x5d], 0x440043
mov dword [rbp - 0x59], 0x440046
mov dword [rbp - 0x55], 0x450045
mov word [rbp - 0x51], r8w
mov dword [rbp - 0x49], 0x340038
mov dword [rbp - 0x45], 0x300039
mov dword [rbp - 0x41], 0x350045
mov dword [rbp - 0x3d], 0x350041
mov dword [rbp - 0x39], 0x34002d
mov dword [rbp - 0x35], 0x360044
mov dword [rbp - 0x31], 0x2d0030
mov dword [rbp - 0x2d], 0x390034
mov dword [rbp - 0x29], 0x410043
mov dword [rbp - 0x25], 0x42002d
mov dword [rbp - 0x21], 0x310042
mov dword [rbp - 0x1d], 0x2d0030
mov dword [rbp - 0x19], 0x440046
mov dword [rbp - 0x15], CloseThreadpoolTimer
mov dword [rbp - 0x11], 0x450041
mov dword [rbp - 0xd], 0x380044
mov dword [rbp - 9], 0x390044
mov dword [rbp - 5], 0x320030
mov word [rbp - 1], r13w
test rcx, rcx
jne 0x1400894ad
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x140089540
mov rdi, qword [0x14045c9a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov r15d, 1
lea r8, [rsp + 0x40]
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rax
mov ebx, eax
test eax, eax
js 0x14008953e
mov rdi, qword [0x14045c9a0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, esi
mov dword [rsp + 0x20], r12d
lea r8, [rbp - 0x49]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call rax
mov ebx, eax
test eax, eax
jns 0x140089545
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140388a50
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140091f9c
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x270
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov qword [rsp + 0x20], rax
lea rcx, str.systemroot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [0x140458a84]
mov ebx, eax
lea rcx, [0x14043e228]
call fcn.1400f3318
test ebx, ebx
jne 0x140092042
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140458554]
mov ebx, eax
lea rcx, [0x14042af18]
call fcn.1400f39cc
lea rdx, [0x140454e48]
lea rcx, [0x14044381c]
call fcn.1400f4710
test ebx, ebx
jne 0x14009202f
mov esi, 0x80004005
jmp 0x140092166
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
jmp 0x140092166
lea rdx, [rsp + 0x50]
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [0x140453470]
mov ebx, eax
lea rcx, [0x14043023c]
call fcn.1400f50fc
test ebx, ebx
jne 0x14009208a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140092025
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x140092166
lea rcx, [rsp + 0x20]
call fcn.1400925b8
mov esi, eax
test eax, eax
jns 0x1400920a1
mov ecx, eax
jmp 0x140092168
lea rax, str.SPPSvc
xor esi, esi
and qword [rsp + 0x38], rsi
lea rdx, [0x1404593f0]
mov qword [rsp + 0x28], rax
lea rcx, [0x140435310]
lea rax, [0x140092790]
mov qword [rsp + 0x30], rax
call fcn.1400f4710
and qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140092148
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x14045b598]
mov ebx, eax
lea rcx, [0x140437120]
call fcn.1400f43c8
test ebx, ebx
jne 0x140092120
lea rdx, [0x140455918]
mov esi, 0x80004005
lea rcx, [0x1404322e8]
call fcn.1400f4dac
jmp 0x14009212e
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
mov ecx, esi
call fcn.14007ac40
lea rdx, [0x140459af8]
lea rcx, [0x14042c43c]
call fcn.1400f4080
mov ecx, esi
call fcn.14007ace8
test esi, esi
jns 0x14009216d
lea rdx, [0x140457ac0]
lea rcx, [0x140433d54]
call fcn.1400f4a68
mov ecx, esi
call fcn.14007ac40
mov ecx, esi
call fcn.14007ace8
cmp dword [rsp + 0x20], 0
je 0x1400921c8
cmp qword [0x14045d840], 0
je 0x1400921c8
mov rbx, qword [0x14045dae0]
test rbx, rbx
je 0x1400921c8
mov rax, qword [0x1403d25b8]
mov rcx, qword [0x14045d848]
call rax
mov rax, qword [0x14045d848]
mov rcx, rbx
call rax
lea rdx, [0x14045b924]
lea rcx, [0x14042ee3c]
call fcn.1400f3670
and qword [0x14045dae0], 0
lea rdx, [0x140454938]
lea rcx, [0x14043a868]
call fcn.1400f3d28
cmp dword [rsp + 0x24], 0
je 0x1400921e8
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140388a50
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rsi
ret
Function at 0x1400b02ac
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x40], 0
lea rax, [0x14004241c]
and dword [rbp - 0x3c], 0
lea rdx, [rbp - 0x30]
and qword [rbp - 0x38], 0
mov rsi, r9
and qword [rbp - 0x18], 0
xor r9d, r9d
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x40]
lea r8d, [r9 + 0x30]
mov qword [rbp - 0x10], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x28]
test ebx, ebx
jns 0x1400b031c
mov ecx, ebx
jmp 0x1400b0399
xor edi, edi
cmp dword [rbp - 0x3c], edi
jle 0x1400b0385
movsxd rbx, edi
shl rbx, 7
add rbx, qword [rbp - 0x38]
mov rcx, rbx
lea rdx, [rbx + 0x68]
call fcn.1400b1cdc
lea rax, [0x1400420dc]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], rax
xor r9d, r9d
lea rax, [rbx + 0x60]
mov ecx, 0xb9
mov qword [rbp - 0x10], rax
lea rax, [rbx + 0x58]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x30]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rbp - 0x3c]
jl 0x1400b0323
lea r8, [rbp - 0x40]
mov rdx, rsi
call fcn.1400b8ef8
mov ebx, eax
test eax, eax
jns 0x1400b039e
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400c4d6c
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x1400b03cd
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c0bec
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, r8
mov r12d, edx
xor edi, edi
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x48], rdi
mov ebx, edi
mov r13, r9
call fcn.1400c65d4
mov r14, qword [rbp - 0x48]
mov esi, eax
test eax, eax
jns 0x1400c0c3f
mov ecx, eax
call fcn.14007ac40
jmp 0x1400c0cd8
mov esi, 0x20
mov edx, esi
lea ecx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x1400c0c5c
mov rbx, rdi
jmp 0x1400c0c61
test rbx, rbx
jne 0x1400c0c6a
mov esi, 0x8007000e
mov ecx, esi
jmp 0x1400c0c35
mov edi, dword [rbp - 0x50]
lea rcx, [0x140045e9c]
mov qword [rbp - 0x38], rcx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x4c]
mov qword [rbp - 0x18], r14
xor r9d, r9d
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x1c], edi
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x28], r12d
lea r8d, [r9 + 0x3c]
mov qword [rbp - 0x24], r15
lea ecx, [r8 + 0x7d]
mov dword [rbp - 0x10], esi
mov qword [rbp - 0xc], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x4c]
test esi, esi
js 0x1400c0c66
mov ecx, edi
mov dword [r13], 0x20
xor eax, eax
mov rdi, r14
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x50]
mov rcx, rbx
xor edi, edi
mov ebx, edi
mov qword [rax], rcx
mov ecx, esi
call fcn.14007ace8
test rbx, rbx
je 0x1400c0ced
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x1400c0cfb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x70]
mov eax, esi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400c4d6c
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
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x1400c4eab
mov r15d, dword [rcx + 4]
cmp ebp, r15d
cmovl r15d, ebp
test edx, edx
jle 0x1400c4e2a
mov r14, rbp
mov edi, r12d
shl r14, 7
mov rax, r14
shr rax, 7
cmp rax, rbp
je 0x1400c4dd0
mov edi, 0x80070216
mov ecx, edi
call fcn.14007ac40
mov r14, qword [rsp + 0x70]
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x1400c4de7
mov ecx, edi
call fcn.14007ac40
jmp 0x1400c4eae
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400c4e0e
mov rcx, rax
mov rbx, rax
test rax, rax
jne 0x1400c4e15
mov edi, 0x8007000e
jmp 0x1400c4ddb
test r15d, r15d
je 0x1400c4e2a
mov rdx, qword [rsi + 8]
movsxd r8, r15d
shl r8, 7
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x1400c4e7a
mov edi, ebp
movsxd rdx, edi
shl rdx, 7
add rdx, qword [rsi + 8]
je 0x1400c4e73
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x14004415c]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x30], r12
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x1400c4e31
mov rdi, qword [rsi + 8]
mov r14, rbx
mov rbx, r12
test rdi, rdi
je 0x1400c4ea1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r14
mov dword [rsi + 4], r15d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x1400c4ece
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 0x1400c7108
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x48
xor r9d, r9d
mov qword [r11 - 0x10], rcx
lea rax, [0x140047f1c]
mov qword [r11 - 0x28], 3
mov qword [r11 - 0x20], rax
lea rdx, [r11 - 0x28]
lea rax, [r11 + 8]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [r11 - 0x18], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x1400c75a4
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, 0x60
xor esi, esi
xor ebx, ebx
and dword [rbp - 0x24], esi
mov r15, r8
and dword [rbp - 0x28], esi
mov r14, rdx
and qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], rbx
test ecx, ecx
je 0x1400c7625
cmp ecx, 1
je 0x1400c75e8
mov ecx, 0x80070057
mov edi, ecx
jmp 0x1400c76e5
lea rax, [0x140048f5c]
mov qword [rbp - 0x20], 3
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
xor r9d, r9d
lea rax, [rbp + 0x30]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x30]
jmp 0x1400c7660
lea rax, [0x14004929c]
mov qword [rbp - 0x20], 3
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
xor r9d, r9d
lea rax, [rbp + 0x48]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x48]
mov edi, ecx
test ecx, ecx
js 0x1400c76e5
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.14004df1c
mov edi, eax
test eax, eax
jns 0x1400c7685
mov ecx, eax
call fcn.14007ac40
mov rbx, qword [rbp - 0x38]
jmp 0x1400c76ea
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14006abd8
mov edi, eax
test eax, eax
jns 0x1400c76a5
mov ecx, eax
call fcn.14007ac40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c767f
mov rbx, qword [rbp - 0x38]
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.14006ab64
mov edi, eax
test eax, eax
jns 0x1400c76c8
mov ecx, eax
call fcn.14007ac40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c76ea
mov rsi, qword [rbp - 0x30]
mov r8d, 0x7fffffff
mov rcx, rsi
mov rdx, r15
call fcn.14006b1f0
mov edi, eax
test eax, eax
jns 0x1400c76ea
mov ecx, eax
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x1400c76ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400c7713
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x40], 0
test rsi, rsi
je 0x1400c772c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x98]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e95a0
Capabilities:
Get process image filename

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
lea rcx, [0x14042de68]
xor r12d, r12d
lea rdx, [0x14045b494]
mov ebx, r12d
call fcn.1400f43c8
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r15d, 0x80004005
test rdi, rdi
jne 0x1400e9617
mov r14d, 0xc004e001
mov ecx, r14d
jmp 0x1400e9628
mov rcx, rdi
call fcn.140051f0c
mov r14d, eax
test eax, eax
jns 0x1400e962d
mov ecx, eax
call fcn.14007ac40
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqLocalClientPID]
lea rdx, [0x14045a648]
mov edi, eax
lea rcx, [0x14042cf48]
call fcn.1400f3318
test edi, edi
jne 0x1400e9707
lea rdx, [0x140453efc]
lea rcx, [0x140430af8]
call fcn.1400f4a68
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcImpersonateClient]
lea rdx, [0x140458b2c]
mov edi, eax
lea rcx, [0x14042b474]
call fcn.1400f4080
test edi, edi
jne 0x1400e9707
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [0x14045a9c4]
mov rdi, rax
lea rcx, [0x14042d178]
call fcn.1400f4710
test rdi, rdi
je 0x1400e96fd
mov rcx, rdi
lea rdx, [rsp + 0x60]
mov r8d, 0x104
mov rbx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x1400e96fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r15d, ax
lea rdx, [0x14045ba40]
or r15d, 0x80070000
lea rcx, [0x14044175c]
test eax, eax
cmovle r15d, eax
call fcn.1400f4dac
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcRevertToSelfEx]
jmp 0x1400e9719
js 0x1400e9716
movzx r15d, di
or r15d, 0x80010000
jmp 0x1400e9719
mov r15d, edi
cmp dword [0x140451890], 5
jbe 0x1400e97d5
movabs rax, 0x400000000000
test qword [0x1404518a0], rax
je 0x1400e97d5
mov rdi, qword [0x1404518a8]
lea rdx, [0x140455f44]
lea rcx, [0x1404327f8]
and rdi, rax
call fcn.1400f3d28
cmp rdi, qword [0x1404518a8]
jne 0x1400e97d5
lea rdx, [0x140456764]
lea rcx, [0x1404379a0]
call fcn.1400f39cc
lea rdx, [0x14045aa08]
mov dword [rsp + 0x44], r14d
lea rcx, [0x14043fdb8]
mov dword [rsp + 0x48], r15d
call fcn.1400f3670
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rdx, [0x140446092]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140001758
mov ecx, r14d
call fcn.14007ace8
lea rdx, [0x140459cd4]
lea rcx, [0x14042c5e8]
call fcn.1400f50fc
test rbx, rbx
je 0x1400e9811
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x140456e48]
lea rcx, [0x140429688]
call fcn.1400f3670
mov eax, r14d
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140388a50
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140106a90
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rsi, rcx
mov dword [rcx + 8], edx
xor ecx, ecx
call fcn.14007ace8
lea rcx, [rsi + 0x20]
call fcn.140070748
xor ecx, ecx
call fcn.14007ace8
xor ebx, ebx
test byte [rsi + 8], 1
je 0x140106be3
lea r9, [rbp + 0x38]
xor edx, edx
lea r8, [0x1403e4df0]
mov rcx, rsi
call fcn.140109770
mov ebx, eax
test eax, eax
jns 0x140106af9
mov ecx, eax
call fcn.14007ac40
mov edi, dword [rbp + 0x30]
jmp 0x140106afd
movzx edi, byte [rbp + 0x38]
mov ecx, ebx
call fcn.14007ace8
lea eax, [rbx + 0x3ffb2cff]
cmp eax, 1
ja 0x140106b16
xor ebx, ebx
jmp 0x140106be3
test ebx, ebx
js 0x140106bdc
test edi, edi
je 0x140106be3
mov rcx, rsi
call fcn.140108260
mov ebx, eax
test eax, eax
jns 0x140106b3b
mov ecx, eax
jmp 0x140106bde
and qword [rbp + 0x20], 0
cmp dword [0x14045d4e0], 0
mov byte [rbp + 0x38], 0
jne 0x140106b54
mov ecx, 0xc004d101
jmp 0x140106baa
mov rax, qword [0x14045d6c8]
lea rdx, [rbp - 0x40]
and qword [rbp - 0x20], 0
xor r9d, r9d
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
lea rax, [0x14001d15c]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x30], rax
lea r8d, [r9 + 0x34]
lea rax, [rbp + 0x38]
mov dword [rbp - 0x18], 0xa0014
mov qword [rbp - 0x14], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x30]
test ecx, ecx
jns 0x140106baf
call fcn.14007ac40
call fcn.14016f318
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp + 0x20]
call fcn.14006a9cc
test ebx, ebx
jns 0x140106bd1
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
jns 0x140106be3
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14011723c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x3c], 0
mov r14, r8
and qword [rbp - 0x38], 0
lea r8, [rbp + 0x20]
mov rcx, rdx
mov dword [rbp - 0x40], 1
lea rdx, [rbp - 0x38]
call fcn.1401b11a8
mov rsi, qword [rbp - 0x38]
mov edi, eax
test eax, eax
jns 0x14011728f
mov ecx, eax
call fcn.14007ac40
jmp 0x140117333
cmp dword [0x14045d4e0], 0
jne 0x14011729f
mov ebx, 0xc004d101
jmp 0x1401172f0
test rsi, rsi
je 0x1401172eb
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x1401172eb
lea rcx, [0x1400461dc]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rcx
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rbp - 0x18], rsi
lea rcx, [rbp + 0x38]
mov dword [rbp - 0x10], eax
mov qword [rbp - 0x20], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x38]
test ebx, ebx
jns 0x1401172f7
jmp 0x1401172f0
mov ebx, 0xc004d104
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov ecx, ebx
sub ecx, 0x4004d601
je 0x140117323
cmp ecx, 1
je 0x14011731a
mov edi, ebx
test ebx, ebx
jns 0x140117327
mov ecx, ebx
jmp 0x140117285
mov dword [rbp - 0x3c], 1
jmp 0x140117327
and dword [rbp - 0x40], 0
test r14, r14
je 0x140117333
mov rax, qword [rbp - 0x40]
mov qword [r14], rax
mov ecx, edi
call fcn.14007ace8
test rsi, rsi
je 0x140117348
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x60]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret