joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009b70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov ebp, 0
cmp edx, 0xffffffff
je 0x140009b99
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
mov r15, qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12, qword [sym.imp.USER32.dll_WaitForInputIdle]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x140009bca
nop word cs:[rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub ebx, ebp
cmp ebx, esi
setb r14b
jae 0x140009c09
xor ecx, ecx
call r15
mov edx, esi
sub edx, ebx
mov rcx, rdi
call r12
cmp eax, 0xffffffff
jne 0x140009c02
call r13
cmp eax, 0x5bf
jne 0x140009c06
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0xffffffff
jne 0x140009bc0
jmp 0x140009bca
test eax, eax
je 0x140009c09
xor r14d, r14d
mov eax, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000c9f0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r15, qword [0x1400f74a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx ecx, byte [rdx + 0x58]
mov eax, ecx
and al, 1
je 0x14000ca2b
mov rcx, qword [rdi + 0x60]
test rcx, rcx
jne 0x14000ca5e
jmp 0x14000ca33
shr rcx, 1
test rcx, rcx
jne 0x14000ca5e
lea r14, [rdi + 0x58]
lea rdx, [rdi + 0x28]
mov rcx, r14
call fcn.14007ef80
lea rdx, str.Browser
mov r8d, 8
mov rcx, r14
call fcn.14007dda0
movzx eax, byte [rdi + 0x58]
and al, 1
mov qword [rsp + 0x30], rbx
mov rcx, qword [rdi + 0x20]
test al, al
je 0x14000ca71
mov rdi, qword [rdi + 0x68]
jmp 0x14000ca75
add rdi, 0x5a
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000cac3
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x79
mov dword [rsi + 0xc], ecx
mov bl, 1
mov byte [rsi + 0x10], bl
mov rax, qword [rsp + 0x38]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x14000cae5
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400c8850
int3
Function at 0x14000d220
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400f74a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx ecx, byte [rdx + 0x40]
mov eax, ecx
and al, 1
je 0x14000d256
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x14000d289
jmp 0x14000d25e
shr rcx, 1
test rcx, rcx
jne 0x14000d289
lea rbx, [rdi + 0x40]
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007ef80
lea rdx, str.Image
mov r8d, 6
mov rcx, rbx
call fcn.14007dda0
movzx eax, byte [rdi + 0x40]
and al, 1
mov dword [rsp + 0x38], 4
mov rcx, qword [rdi + 0x20]
test al, al
je 0x14000d29f
mov rdi, qword [rdi + 0x50]
jmp 0x14000d2a3
add rdi, 0x42
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000d2e1
cmp eax, 2
jne 0x14000d2f8
mov byte [rsi + 0x10], 0
mov byte [rsi], 0
mov dword [rsi + 1], 0
jmp 0x14000d33c
cmp dword [rsp + 0x34], 4
jne 0x14000d320
mov eax, dword [rsp + 0x3c]
mov byte [rsi + 0x10], 0
mov dword [rsi], eax
mov byte [rsi + 4], 1
jmp 0x14000d33c
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3f
mov dword [rsi + 0xc], ecx
jmp 0x14000d33c
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d00000043
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14000d359
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400c8850
int3
Function at 0x14000d360
Capabilities:
Delete registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400f74a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
call fcn.14000c7b0
cmp byte [rsp + 0x38], 0
jne 0x14000d39d
cmp dword [rsp + 0x28], 2
je 0x14000d494
movzx ecx, byte [rdi + 0x70]
mov eax, ecx
and al, 1
je 0x14000d3b2
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x14000d3e5
jmp 0x14000d3ba
shr rcx, 1
test rcx, rcx
jne 0x14000d3e5
lea rbx, [rdi + 0x70]
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007ef80
lea rdx, str.Launcher
mov r8d, 9
mov rcx, rbx
call fcn.14007dda0
movzx eax, byte [rdi + 0x70]
and al, 1
mov rcx, qword [rdi + 0x20]
test al, al
je 0x14000d3f6
mov rdx, qword [rdi + 0x80]
jmp 0x14000d3fa
lea rdx, [rdi + 0x72]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000d49a
movzx ecx, byte [rdi + 0x58]
mov eax, ecx
and al, 1
je 0x14000d420
mov rcx, qword [rdi + 0x60]
test rcx, rcx
jne 0x14000d453
jmp 0x14000d428
shr rcx, 1
test rcx, rcx
jne 0x14000d453
lea rbx, [rdi + 0x58]
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007ef80
lea rdx, str.Browser
mov r8d, 8
mov rcx, rbx
call fcn.14007dda0
movzx eax, byte [rdi + 0x58]
and al, 1
mov rcx, qword [rdi + 0x20]
test al, al
je 0x14000d461
mov rdx, qword [rdi + 0x68]
jmp 0x14000d465
lea rdx, [rdi + 0x5a]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000d49a
lea rax, [rdi + 0x10]
cmp byte [rdi + 0x18], 0
je 0x14000d480
mov byte [rdi + 0x18], 0
movzx ecx, byte [rax + 8]
mov byte [rdi + 8], cl
mov rax, qword [rax]
mov qword [rdi], rax
mov byte [0x140134010], 1
mov byte [rsi + 0x10], 0
jmp 0x14000d4c0
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x87
mov dword [rsi + 0xc], ecx
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14000d4dd
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400c8850
int3
Function at 0x14000d5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400f74a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx ecx, byte [rdx + 0x70]
mov eax, ecx
and al, 1
je 0x14000d626
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x14000d659
jmp 0x14000d62e
shr rcx, 1
test rcx, rcx
jne 0x14000d659
lea rbx, [rdi + 0x70]
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007ef80
lea rdx, str.Launcher
mov r8d, 9
mov rcx, rbx
call fcn.14007dda0
movzx eax, byte [rdi + 0x70]
and al, 1
mov dword [rsp + 0x34], 8
mov rcx, qword [rdi + 0x20]
test al, al
je 0x14000d672
mov rdi, qword [rdi + 0x80]
jmp 0x14000d676
add rdi, 0x72
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000d6b5
cmp eax, 2
jne 0x14000d6ce
mov byte [rsi + 0x10], 0
mov qword [rsi], 0
mov byte [rsi + 8], 0
jmp 0x14000d712
cmp dword [rsp + 0x30], 0xb
jne 0x14000d6f6
mov rax, qword [rsp + 0x38]
mov byte [rsi + 0x10], 0
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x14000d712
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3f
mov dword [rsi + 0xc], ecx
jmp 0x14000d712
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d00000043
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14000d72f
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400c8850
int3
Function at 0x14000d740
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1400f74a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx ecx, byte [rdx + 0x58]
mov eax, ecx
and al, 1
je 0x14000d776
mov rcx, qword [rdi + 0x60]
test rcx, rcx
jne 0x14000d7a9
jmp 0x14000d77e
shr rcx, 1
test rcx, rcx
jne 0x14000d7a9
lea rbx, [rdi + 0x58]
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14007ef80
lea rdx, str.Browser
mov r8d, 8
mov rcx, rbx
call fcn.14007dda0
movzx eax, byte [rdi + 0x58]
and al, 1
mov dword [rsp + 0x34], 8
mov rcx, qword [rdi + 0x20]
test al, al
je 0x14000d7bf
mov rdi, qword [rdi + 0x68]
jmp 0x14000d7c3
add rdi, 0x5a
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000d802
cmp eax, 2
jne 0x14000d81b
mov byte [rsi + 0x10], 0
mov qword [rsi], 0
mov byte [rsi + 8], 0
jmp 0x14000d85f
cmp dword [rsp + 0x30], 0xb
jne 0x14000d843
mov rax, qword [rsp + 0x38]
mov byte [rsi + 0x10], 0
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x14000d85f
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3f
mov dword [rsi + 0xc], ecx
jmp 0x14000d85f
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_d8b47d80163d_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d00000043
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14000d87c
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400c8850
int3
Function at 0x14000fa60
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, 0x68
mov r15, qword [0x1400f74a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx], 0
je 0x14000fb1b
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
movzx eax, byte [0x140135360]
test al, al
je 0x14000fb51
add r14, rsi
cmp r14, rsi
jbe 0x14000fb1b
mov r13d, dword [0x140137868]
lea r12d, [r13 - 1]
mov rbp, r12
not rbp
mov r15, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop word [rax + rax]
mov qword [rsp + 0x30], 0
mov rcx, qword [rbx]
mov r9, r14
sub r9, rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov r8, rdi
call r15
test eax, eax
jne 0x14000fb3e
mov rax, r14
and rax, rbp
mov rcx, r14
sub rcx, r13
test r14d, r12d
cmovne rcx, rax
mov r14, rcx
cmp rcx, rsi
ja 0x14000fad0
mov r15, qword [0x1400f74a8]
xor eax, eax
mov rdx, qword [rsp + 0x60]
xor rdx, rsp
mov rcx, qword [r15]
cmp rcx, rdx
jne 0x14000fb4c
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x30]
mov r15, qword [0x1400f74a8]
jmp 0x14000fb1d
call fcn.1400c8850
lea rcx, [0x140135360]
call fcn.1400c6e84
test eax, eax
je 0x14000faa7
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov dword [0x140137868], eax
lea rcx, [0x140135360]
call fcn.1400c6f5f
jmp 0x14000faa7
Function at 0x140012920
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r15, qword [0x1400f74a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov sil, 1
test dl, dl
je 0x140012a13
mov rdi, rcx
mov r14, qword [rcx + 0x40]
movsx rbx, dl
movzx eax, byte [0x140135360]
test al, al
je 0x140012a36
add rbx, r14
mov r8d, dword [0x140137868]
mov rax, r14
shr rax, 0x20
je 0x140012982
mov rax, r14
xor edx, edx
div r8
mov rcx, rax
jmp 0x14001298c
mov eax, r14d
xor edx, edx
div r8d
mov ecx, eax
mov rax, rbx
shr rax, 0x20
je 0x1400129a4
mov rax, rbx
xor edx, edx
div r8
cmp rcx, rax
jne 0x1400129b0
jmp 0x140012a13
mov eax, ebx
xor edx, edx
div r8d
cmp rcx, rax
je 0x140012a13
mov rax, qword [rdi]
mov rcx, qword [rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x30]
mov rdx, rbx
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x140012a03
xor esi, esi
cmp qword [rsp + 0x60], 0
je 0x140012a13
cmp dword [rsp + 0x40], 0
je 0x140012a13
cmp dword [rsp + 0x50], 0x1000
jne 0x140012a13
cmp dword [rsp + 0x54], 1
setne sil
jmp 0x140012a13
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
mov rax, qword [rsp + 0x68]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x140012a31
mov eax, esi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400c8850
lea rcx, [0x140135360]
call fcn.1400c6e84
test eax, eax
je 0x140012962
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov dword [0x140137868], eax
lea rcx, [0x140135360]
call fcn.1400c6f5f
jmp 0x140012962
Function at 0x140012dd0
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, 0x58
mov rsi, rcx
mov r14, qword [0x1400f74a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x50], rax
test r9, r9
je 0x140012ec4
mov ebp, dword [rsp + 0xc0]
test ebp, ebp
je 0x140012ec4
mov rbx, r9
mov edi, r8d
movzx eax, byte [0x140135368]
test al, al
je 0x140012f0b
mov r13d, ebp
xor r12d, r12d
mov rax, rbx
sub rax, r13
cmovae r12, rax
cmp r12, 0x100001
mov eax, 0x100000
cmovb r12, rax
cmp r13, rbx
cmova r12, rax
mov r15d, dword [0x14013786c]
movzx eax, byte [0x140135370]
test al, al
je 0x140012f45
mov rcx, qword [0x140137870]
xor eax, eax
mov rdx, rbx
add rdx, r13
cmovae rax, rdx
cmp rcx, rax
cmovb rax, rcx
add rbx, r13
cmovb rax, rcx
mov edx, edi
cmp rax, rdx
jb 0x140012ec4
mov r8, r12
neg r8
lea rcx, [r15 - 1]
and rcx, r8
add rcx, r12
xor r8d, r8d
sub rax, rdx
cmovae r8, rax
neg r15
and r15, r8
sub r15, rcx
jbe 0x140012ec4
test rcx, rcx
je 0x140012ef6
cmp r15, 0xffffffffffffffff
je 0x140012ef6
mov qword [rsi], r15
mov qword [rsi + 8], rcx
mov byte [rsi + 0x10], 1
jmp 0x140012ed2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rax, qword [rsp + 0x50]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x140012f06
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [0], 0x336
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
call fcn.1400c8850
lea rcx, [0x140135368]
call fcn.1400c6e84
test eax, eax
je 0x140012e22
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov dword [0x14013786c], eax
lea rcx, [0x140135368]
call fcn.1400c6f5f
jmp 0x140012e22
lea rcx, [0x140135370]
call fcn.1400c6e84
test eax, eax
je 0x140012e5f
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x30]
mov qword [0x140137870], rax
lea rcx, [0x140135370]
call fcn.1400c6f5f
jmp 0x140012e5f
Function at 0x140012f90
Capabilities:
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, qword [0x1400f74a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebx, ebx
test edx, edx
je 0x140012fc5
mov rsi, rcx
cmp qword [rcx], 0
je 0x140012fc5
cmp qword [rsi + 0x18], 0
je 0x140012fe6
mov ebx, dword [rsi + 0x20]
mov rax, qword [rsp + 0x68]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x1400130c5
mov eax, ebx
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rdi, r8
mov ebp, edx
movzx eax, byte [0x140135368]
test al, al
je 0x1400130ca
mov ecx, dword [0x14013786c]
xor ebx, ebx
mov eax, ebp
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, ebp
mov dword [rsi + 0x20], ecx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x4000040
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsi + 8], rax
test rax, rax
je 0x1400130ad
mov qword [rsp + 0x20], 0
xor ebx, ebx
mov rcx, rax
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x1400130b8
mov rax, qword [rsi + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov rdx, qword [rsi]
mov r8d, dword [rsi + 0x20]
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov rcx, rsi
call fcn.140013110
mov qword [rsi + 0x18], rax
test rax, rax
jne 0x140012fc2
jmp 0x140012fc5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140012fc5
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp 0x140012fc5
call fcn.1400c8850
lea rcx, [0x140135368]
call fcn.1400c6e84
test eax, eax
je 0x140012ffa
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x60]
mov dword [0x14013786c], eax
lea rcx, [0x140135368]
call fcn.1400c6f5f
jmp 0x140012ffa
Function at 0x140013370
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, 0x88
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r13, qword [0x1400f74a8]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x140135368]
test al, al
je 0x1400135d0
xor eax, eax
test rsi, rsi
je 0x1400135a8
mov rbp, qword [rsp + 0xf0]
cmp rbp, rbx
jbe 0x1400135a8
mov r15d, dword [0x14013786c]
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x44]
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand_s
mov rax, rbp
sub rax, rbx
sub rax, rsi
mov rcx, rax
shr rcx, 0x20
je 0x140013402
xor edx, edx
div r15
mov rcx, rax
jmp 0x140013409
xor edx, edx
div r15d
mov ecx, eax
mov r14d, dword [rsp + 0x44]
inc rcx
cmp r14, rcx
jb 0x140013420
mov eax, r14d
xor edx, edx
div ecx
mov r14d, edx
mov qword [rsp + 0x38], r15
imul r14, r15
add r14, rbx
sub rbp, rsi
cmp r14, rbp
jbe 0x1400134e3
cmp r14, rbx
mov r13, qword [0x1400f74a8]
jbe 0x1400135a0
dec qword [rsp + 0x38]
lea r12, [rsp + 0x78]
lea r15, [rsp + 0x48]
jmp 0x14001346c
add rbx, rcx
cmp rbx, r14
jae 0x1400135a0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0x30
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x140013592
cmp qword [rsp + 0x78], 0x30
jne 0x1400135a0
cmp dword [rsp + 0x68], 0x10000
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
jne 0x140013460
mov rdx, rcx
neg rdx
and rdx, qword [rsp + 0x38]
lea r8, [rdx + rcx]
mov rax, rbx
sub rax, rdx
cmp rax, rsi
mov eax, 0
cmovae rax, r8
cmp rbx, rdx
jb 0x140013460
test rax, rax
je 0x140013460
jmp 0x1400135a8
mov rax, qword [rsp + 0x38]
lea r12, [rax - 1]
lea r13, [rsp + 0x78]
lea r15, [rsp + 0x48]
mov rdx, r14
jmp 0x14001350c
add rdx, rcx
cmp rdx, rbp
ja 0x140013438
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0x30
mov rcx, rdi
xor r8d, r8d
mov r9, r15
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x140013573
cmp qword [rsp + 0x78], 0x30
jne 0x140013581
cmp dword [rsp + 0x68], 0x10000
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
jne 0x140013500
mov r8, rcx
neg r8
and r8, r12
lea r9, [r8 + rcx]
mov rax, rdx
sub rax, r8
cmp rax, rsi
mov eax, 0
cmovae rax, r9
cmp rdx, r8
jb 0x140013500
test rax, rax
je 0x140013500
jmp 0x140013589
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov r13, qword [0x1400f74a8]
jmp 0x1400135a8
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
mov rdx, qword [r13]
cmp rdx, rcx
jne 0x14001360a
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140135368]
call fcn.1400c6e84
test eax, eax
je 0x1400133b1
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x70]
mov dword [0x14013786c], eax
lea rcx, [0x140135368]
call fcn.1400c6f5f
jmp 0x1400133b1
call fcn.1400c8850
int3
Function at 0x1400137b0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov r15, qword [0x1400f74a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x58], rax
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [rcx + 0x10]
pxor xmm2, xmm2
movdqa xmm3, xmm0
pcmpeqd xmm3, xmm2
pshufd xmm4, xmm3, 0xb1
pand xmm4, xmm3
pcmpeqd xmm1, xmm2
pshufd xmm2, xmm1, 0xb1
pand xmm2, xmm1
packssdw xmm2, xmm4
movmskps eax, xmm2
test eax, eax
je 0x140013827
xor edi, edi
mov rax, qword [rsp + 0x58]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x1400138d7
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rsi, rcx
lea ecx, [rdx + r8]
dec ecx
mov eax, dword [rsi + 0x24]
mov dil, 1
cmp ecx, eax
jb 0x140013805
cmp eax, dword [rsi + 0x20]
jae 0x140013803
movq rbx, xmm0
add rbx, rax
movzx eax, byte [0x140135360]
test al, al
je 0x1400138dc
mov edx, dword [0x140137868]
mov rcx, rbx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140013803
mov rbx, qword [rsi]
mov r14d, dword [rsi + 0x24]
add r14, qword [rsi + 0x18]
movzx eax, byte [0x140135360]
test al, al
je 0x140013916
mov r8d, dword [0x140137868]
mov dword [rsp + 0x20], 0x20
mov rcx, rbx
mov rdx, r14
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x140013803
movzx eax, byte [0x140135360]
test al, al
je 0x140013950
mov eax, dword [0x140137868]
add dword [rsi + 0x24], eax
jmp 0x140013805
call fcn.1400c8850
lea rcx, [0x140135360]
call fcn.1400c6e84
test eax, eax
je 0x140013856
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov dword [0x140137868], eax
lea rcx, [0x140135360]
call fcn.1400c6f5f
jmp 0x140013856
lea rcx, [0x140135360]
call fcn.1400c6e84
test eax, eax
je 0x140013890
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov dword [0x140137868], eax
lea rcx, [0x140135360]
call fcn.1400c6f5f
jmp 0x140013890
lea rcx, [0x140135360]
call fcn.1400c6e84
test eax, eax
je 0x1400138c9
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov dword [0x140137868], eax
lea rcx, [0x140135360]
call fcn.1400c6f5f
jmp 0x1400138c9