joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001640
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x40]
mov dword [rdi], 4
mov qword [rsp + 0x30], rdi
lea r14, [rsp + 0x4c]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000002
mov r8, rsi
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [r14], 1
sete bl
test eax, eax
je 0x14000177f
mov dword [rsp + 0x4c], 8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000002
mov r8, rsi
mov r9d, 0x48
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp qword [rsp + 0x40], 1
sete bl
test eax, eax
je 0x14000177f
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000001
mov r8, rsi
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [rsp + 0x4c], 1
sete bl
test eax, eax
je 0x14000177f
mov dword [rsp + 0x4c], 8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000001
mov r8, rsi
mov r9d, 0x48
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
sete al
cmp qword [rsp + 0x40], 1
sete bl
and bl, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002ba50
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400068b0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [0x140062d34], 1
je 0x140006a33
cmp qword [rdi + 0x20], 0
je 0x1400069b3
cmp byte [rdi + 8], 0
je 0x14000693e
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140006db0
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x18], 8
jb 0x140006904
mov rax, qword [rax]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 8
mov rdx, rax
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140006a63
cmp byte [rdi + 8], 0
je 0x14000693e
mov byte [rdi + 8], 0
cmp byte [rdi + 0x18], 0
je 0x140006999
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
call fcn.1400065f0
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x18], 8
jb 0x14000695f
mov rax, qword [rax]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 8
mov rdx, rax
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140006a63
cmp byte [rdi + 0x18], 0
je 0x140006999
mov byte [rdi + 0x18], 0
mov byte [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002ba50
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMozillaFirefoxLauncher
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140006a8e
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
jne 0x140006ab4
mov qword [rdi + 0x20], rbx
mov eax, dword [rsp + 0x54]
dec eax
cmp eax, 1
jbe 0x1400068e4
mov eax, 0xb4
mov ecx, 0x80070507
jmp 0x140006aa1
cmp byte [rdi + 0x18], 0
je 0x140006a3d
mov byte [rdi + 0x18], 0
mov rax, qword [rdi + 0x10]
mov qword [rdi], rax
mov al, byte [rdi + 0x18]
mov byte [rdi + 8], al
mov eax, dword [rdi + 0x19]
mov dword [rdi + 9], eax
movzx eax, word [rdi + 0x1d]
mov word [rdi + 0xd], ax
mov al, byte [rdi + 0x1f]
mov byte [rdi + 0xf], al
jmp 0x140006999
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x79
mov dword [rsi + 0xc], ecx
jmp 0x14000699d
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0xa5
mov byte [rsi + 0x10], 1
lea rdx, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rdx
mov dword [rsi + 8], eax
jmp 0x140006a86
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140006a14
Function at 0x140006eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], 8
cmp qword [r8 + 0x18], 8
jb 0x140006ed9
mov r8, qword [r8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov rcx, rdx
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006f1e
cmp dword [rsp + 0x38], 0xb
jne 0x140006f41
mov rax, qword [rsp + 0x40]
mov byte [rsi + 0x10], 0
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x140006f2d
cmp eax, 2
jne 0x140006f5f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov byte [rsi + 0x10], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002ba50
nop
add rsp, 0x50
pop rsi
ret
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d00000043
mov qword [rsi + 8], rax
jmp 0x140006f2d
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3f
mov dword [rsi + 0xc], ecx
jmp 0x140006f2d
Function at 0x140007ec0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
cmp qword [rcx], rdx
je 0x140007f75
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 2
jae 0x140007f49
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140007f35
mov qword [rsi], rdi
call fcn.140008020
mov r15, rax
mov r14, qword [rsp + 0x58]
cmp qword [0x140064628], 0
je case.default.0x140007f42
mov rcx, qword [0x140064628]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8, rsi
mov r9, r14
call qword [0x140068010]
mov ecx, ebx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.140008020
mov r8, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rsi
mov r9, rax
call fcn.1400090e0
mov rcx, qword [rsi]
call fcn.1400092b0
mov qword [rsi], 0
jmp 0x140007eef
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007fb8
lea rcx, [sym.firefox.exe_GetHandleVerifier]
cmp rax, rcx
jne 0x140007fbc
xor ecx, ecx
mov dl, 1
call fcn.140008030
jmp 0x140007f13
xor ecx, ecx
jmp 0x140007fc5
call qword [0x140068010]
mov rcx, rax
xor edx, edx
jmp 0x140007fae
xchg edx, eax
and byte [rbp + 6], bl
invalid
invalid
fst dword [rbp - 0x7f]
movabs dword [0x77b7d63df9fd0079], eax
cmp eax, 0x3177b7d6
test esi, edx
adc dl, al
ret 0xec13
Function at 0x140008260
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x148
mov rsi, rcx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, 0xffffffff
mov qword [rcx], rax
mov ecx, dword [0x1400620d0]
cmp ecx, 0xffffffff
je 0x14000829b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400082a0
call fcn.140008440
mov eax, dword [0x140064618]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x1400082fa
lea rcx, [0x140064618]
call fcn.14002b1c8
cmp dword [0x140064618], 0xffffffff
jne 0x1400082fa
mov ecx, 8
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rax], 0
mov qword [0x140064610], rax
lea rcx, [0x140064618]
call fcn.14002b240
mov rdi, qword [0x140064610]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x140062e08]
inc rax
xor ecx, ecx
lea rdx, [0x140062e10]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14000839e
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], 0
mov qword [0x140062e08], r8
mov dword [rsi], r8d
mov eax, dword [rax + 0x10]
mov dword [rsi + 4], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rsi]
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x24], eax
cmp eax, 0xffffffff
je 0x1400083b0
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x24], eax
cmp eax, 0xff
jg 0x1400083f2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14002ba50
mov rax, rsi
add rsp, 0x148
pop rdi
pop rsi
ret
inc rcx
cmp rcx, 0x100
jne 0x14000831d
jmp 0x140008352
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.14003a910
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x196
mov r9, rax
call fcn.14003a3c0
mov rcx, rdi
call fcn.14003a460
mov eax, dword [rsi]
jmp 0x14000836e
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.14003a910
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x197
mov r9, rax
call fcn.14003a3c0
mov rcx, rdi
call fcn.14003a460
jmp 0x140008381
Function at 0x140009480
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400620d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400094be
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400094b7
call fcn.140008440
jmp 0x14000949e
Function at 0x14000b4d0
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 ebx, edx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13, qword [rcx + 0x10]
mov eax, edx
cmp r13, rax
ja 0x14000b68a
mov rsi, rcx
lea rdi, [rcx + 8]
cmp rax, 0x21
mov r14d, 0x20
cmovae r14, rax
mov rbx, r14
sub rbx, r13
jbe 0x14000b567
mov rcx, qword [rsi + 0x18]
sub rcx, r13
mov rax, r13
cmp rcx, rbx
jb 0x14000b6aa
test rbx, rbx
jle 0x14000b561
mov rdx, qword [rsi + 8]
lea rcx, [rdx + rax]
add r14, rcx
sub r14, r13
add rax, rdx
inc rax
cmp r14, rax
cmovbe r14, rax
sub r14, rcx
xor edx, edx
mov r8, r14
call sub.ntdll.dll_memset
mov rax, qword [rsi + 0x10]
add rax, rbx
mov r14, rax
mov qword [rsi + 0x10], r14
mov r12, qword [rsi]
cmp qword [r12], 0
mov qword [rsp + 0x38], rdi
je 0x14000b70f
mov r14, qword [rsi + 0x40]
add r14, r13
mov r15, qword [rsi + 8]
add r15, r13
mov eax, dword [0x140064ae4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b6c6
add rbx, r14
cmp rbx, r14
jbe 0x14000b70f
mov eax, dword [0x140064ae0]
mov qword [rsp + 0x28], rax
dec eax
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x40]
mov rbp, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x40], 0
mov r9, rbx
sub r9, r14
mov rcx, qword [r12]
mov qword [rsp + 0x20], rdi
mov rdx, r14
mov r8, r15
call rbp
test eax, eax
je 0x14000b716
mov rax, qword [rsp + 0x40]
lea rbx, [rax + r13]
add rax, r13
inc rax
mov rdi, qword [rsi + 0x10]
mov r14, rax
sub r14, rdi
jbe 0x14000b67e
mov rcx, qword [rsi + 0x18]
sub rcx, rdi
mov rax, rdi
cmp rcx, r14
jae 0x14000b646
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.14000b3b0
test al, al
je 0x14000b745
mov rax, qword [rsi + 0x10]
test r14, r14
jle 0x14000b67b
mov rdx, qword [rsi + 8]
lea rcx, [rdx + rax]
lea r8, [rbx + rax]
add r8, rdx
sub r8, rdi
inc r8
add rax, rdx
inc rax
cmp r8, rax
cmovbe r8, rax
sub r8, rcx
xor edx, edx
call sub.ntdll.dll_memset
mov rax, qword [rsi + 0x10]
add rax, r14
mov qword [rsi + 0x10], rax
mov rax, qword [rsi + 8]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002ba50
mov eax, ebx
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov rdx, rbx
call fcn.14000b3b0
test al, al
je 0x14000b750
mov rax, qword [rsi + 0x10]
jmp 0x14000b530
lea rcx, [0x140064ae4]
mov rbp, r12
call fcn.14002b1c8
cmp dword [0x140064ae4], 0xffffffff
jne 0x14000b5b1
lea r12, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r12 + 4]
mov dword [0x140064ae0], eax
lea rcx, [0x140064ae4]
call fcn.14002b240
mov r12, rbp
jmp 0x14000b5b1
xor eax, eax
jmp 0x14000b608
mov rdx, qword [rsp + 0x30]
mov rax, rdx
not rax
and rax, rbx
mov rcx, rbx
sub rcx, qword [rsp + 0x28]
test ebx, edx
cmovne rcx, rax
xor eax, eax
mov rbx, rcx
cmp rcx, r14
ja 0x14000b5db
jmp 0x14000b608
int3
int3
Function at 0x14000bfd0
Capabilities:
Access peb ldr_data
Execute shellcode via indirect call
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 r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rcx], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 2
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
mov eax, dword [0x140064ae4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c0fc
mov ebx, dword [0x140064ae0]
lea rax, [r15 + r14]
dec rax
xor edx, edx
div rbx
mov r14, rax
mov rax, r15
xor edx, edx
div rbx
inc r14
sub r14, rax
je 0x14000c0db
mov r15, rax
lea rax, [rsi + 8]
mov qword [rsp + 0x28], rax
imul r15, rbx
cmp r14, 1
adc r14, 0
lea r13, [rsp + 0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000c145
mov qword [rsp + 0x20], r13
mov rdx, r15
mov r8, rbx
mov r9d, 0x40
call rbp
test eax, eax
je 0x14000c13d
mov r12d, dword [rsp + 0x30]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x14000c14f
mov rcx, qword [rsi + 8]
shl rax, 4
mov dword [rcx + rax], r12d
mov qword [rcx + rax + 8], r15
inc qword [rsi + 0x10]
add r15, rbx
dec r14
jne 0x14000c084
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002ba50
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064ae4]
call fcn.14002b1c8
cmp dword [0x140064ae4], 0xffffffff
jne 0x14000c03b
lea rbx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140064ae0], eax
lea rcx, [0x140064ae4]
call fcn.14002b240
jmp 0x14000c03b
mov dword [rsp + 0x30], 0
mov rcx, rsi
call fcn.14000c170
jmp 0x14000c0db
mov rcx, qword [rsp + 0x28]
call fcn.140034700
test al, al
je 0x14000c145
mov rax, qword [rsi + 0x10]
jmp 0x14000c0be
Function at 0x14000c170
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140064ae4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c226
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x14000c200
mov r14, qword [rsi + 8]
mov edi, dword [0x140064ae0]
shl rbx, 4
xor r15d, r15d
lea r12, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsi]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000c1f7
mov rdx, qword [r14 + r15 + 8]
mov r9d, dword [r14 + r15]
mov qword [rsp + 0x20], r12
mov r8, rdi
call r13
add r15, 0x10
cmp rbx, r15
jne 0x14000c1d8
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002ba50
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064ae4]
call fcn.14002b1c8
cmp dword [0x140064ae4], 0xffffffff
jne 0x14000c1b2
lea rdi, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140064ae0], eax
lea rcx, [0x140064ae4]
call fcn.14002b240
jmp 0x14000c1b2
Function at 0x14000fed0
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 rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x50], rax
test r8, r8
je 0x140010031
mov ebp, r9d
test r9d, r9d
je 0x140010031
mov rbx, r8
mov edi, edx
mov eax, dword [0x140064af4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010041
mov r15d, ebp
cmp r15, rbx
ja 0x14001008e
xor eax, eax
mov rcx, rbx
sub rcx, r15
cmovae rax, rcx
cmp rax, 0x100001
mov r13d, 0x100000
cmovae r13, rax
mov r12d, dword [0x140064af0]
mov eax, dword [0x140064b00]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14000ffbb
lea rcx, [0x140064b00]
call fcn.14002b1c8
cmp dword [0x140064b00], 0xffffffff
jne 0x14000ffbb
lea r14, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [r14 + 0x10]
mov qword [0x140064af8], rax
lea rcx, [0x140064b00]
call fcn.14002b240
mov rax, qword [0x140064af8]
add r15, rbx
cmp rax, r15
cmovb r15, rax
mov ecx, edi
cmp r15, rcx
jb 0x140010031
mov rdx, r13
neg rdx
lea rax, [r12 - 1]
and rax, rdx
add rax, r13
xor edx, edx
sub r15, rcx
cmovae rdx, r15
neg r12
and r12, rdx
sub r12, rax
jbe 0x140010031
test rax, rax
je 0x140010083
cmp r12, 0xffffffffffffffff
je 0x140010083
mov qword [rsi], r12
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002ba50
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x140010012
lea rcx, [0x140064af4]
call fcn.14002b1c8
cmp dword [0x140064af4], 0xffffffff
jne 0x14000ff31
lea r14, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 0x28]
mov dword [0x140064af0], eax
lea rcx, [0x140064af4]
call fcn.14002b240
jmp 0x14000ff31
int3
mov r13d, 0x100000
jmp 0x14000ff59

Function at 0x1400100a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140064af4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400100f0
mov esi, dword [0x140064af0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002ba50
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140064af4]
call fcn.14002b1c8
cmp dword [0x140064af4], 0xffffffff
jne 0x1400100d5
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 0x28]
mov dword [0x140064af0], eax
lea rcx, [0x140064af4]
call fcn.14002b240
jmp 0x1400100d5
Function at 0x140010130
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140064ae4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010180
mov esi, dword [0x140064ae0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002ba50
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140064ae4]
call fcn.14002b1c8
cmp dword [0x140064ae4], 0xffffffff
jne 0x140010165
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 4]
mov dword [0x140064ae0], eax
lea rcx, [0x140064ae4]
call fcn.14002b240
jmp 0x140010165

Function at 0x1400101c0
Capabilities:
Execute shellcode via indirect call
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 rbx, r9
mov r14, r8
mov rsi, rcx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rcx], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 2
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
mov eax, dword [0x140064ae4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400102d5
mov edi, dword [0x140064ae0]
lea rax, [r14 + rbx]
dec rax
xor edx, edx
div rdi
mov rbx, rax
mov rax, r14
xor edx, edx
div rdi
inc rbx
sub rbx, rax
je 0x1400102b4
mov r14, rax
lea r15, [rsi + 8]
imul r14, rdi
cmp rbx, 1
adc rbx, 0
lea r12, [rsp + 0x20]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, r14
mov rdx, rdi
mov r8d, 0x40
mov r9, r12
call r13
test eax, eax
je 0x140010316
mov ebp, dword [rsp + 0x20]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x140010328
mov rcx, qword [rsi + 8]
shl rax, 4
mov dword [rcx + rax], ebp
mov qword [rcx + rax + 8], r14
inc qword [rsi + 0x10]
add r14, rdi
dec rbx
jne 0x14001026c
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002ba50
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064ae4]
call fcn.14002b1c8
cmp dword [0x140064ae4], 0xffffffff
jne 0x140010228
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140064ae0], eax
lea rcx, [0x140064ae4]
call fcn.14002b240
jmp 0x140010228
mov dword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14002eba0
jmp 0x1400102b4
mov rcx, r15
call fcn.140034700
test al, al
je 0x14001031e
mov rax, qword [rsi + 0x10]
jmp 0x140010298