joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005bb0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, qword [rdx + 8]
test rax, rax
je 0x140005dee
mov r14, r8
mov r12, rdx
mov r15, rcx
lea rbx, [rdx + 0x10]
mov rdi, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
jmp 0x140005bf0
mov rax, qword [rbx]
add rbx, 8
test rax, rax
je 0x140005dee
movzx ecx, word [rax]
or ecx, 2
cmp cx, 0x2f
jne 0x140005be0
lea rsi, [rax + 2]
lea rcx, [rax + 4]
xor edx, edx
cmp word [rax + 2], 0x2d
sete dl
cmove rsi, rcx
movzx ecx, word [rax + rdx*2 + 2]
test cx, cx
je 0x140005be0
call rdi
cmp ax, 0x6f
jne 0x140005be0
movzx ecx, word [rsi + 2]
test cx, cx
je 0x140005be0
call rdi
cmp ax, 0x73
jne 0x140005be0
movzx ecx, word [rsi + 4]
test cx, cx
je 0x140005be0
call rdi
cmp ax, 0x69
jne 0x140005be0
movzx ecx, word [rsi + 6]
test cx, cx
je 0x140005be0
call rdi
cmp ax, 0x6e
jne 0x140005be0
movzx ecx, word [rsi + 8]
test cx, cx
je 0x140005be0
call rdi
cmp ax, 0x74
jne 0x140005be0
cmp word [rsi + 0xa], 0
jne 0x140005be0
cmp dword [r15], 4
jne 0x140005dfc
mov rax, qword [r12 + 8]
movzx ecx, word [rax]
or ecx, 2
cmp cx, 0x2f
jne 0x140005dfc
lea rsi, [rax + 2]
lea rcx, [rax + 4]
xor edx, edx
cmp word [rax + 2], 0x2d
sete dl
cmove rsi, rcx
movzx ecx, word [rax + rdx*2 + 2]
test cx, cx
je 0x140005dfc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, 0x6f
jne 0x140005dfc
movzx ecx, word [rsi + 2]
test cx, cx
je 0x140005dfc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, 0x73
jne 0x140005dfc
movzx ecx, word [rsi + 4]
test cx, cx
je 0x140005dfc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, 0x69
jne 0x140005dfc
movzx ecx, word [rsi + 6]
test cx, cx
je 0x140005dfc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, 0x6e
jne 0x140005dfc
movzx ecx, word [rsi + 8]
test cx, cx
je 0x140005dfc
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmp ax, 0x74
jne 0x140005dfc
cmp word [rsi + 0xa], 0
jne 0x140005dfc
lea rax, [r12 + 0x10]
mov rcx, qword [rax]
mov qword [rax - 8], rcx
add rax, 8
test rcx, rcx
jne 0x140005d4e
add dword [r15], 0xffffffff
mov rax, qword [r12 + 8]
movzx ecx, word [rax]
or ecx, 2
cmp cx, 0x2f
jne 0x140005dfc
cmp word [rax + 2], 0x2d
lea r15, [rax + 2]
lea rax, [rax + 4]
cmove r15, rax
mov rbx, qword [r14]
test rbx, rbx
jne 0x140005da3
jmp 0x140005dfc
test al, al
je 0x140005ddd
mov rbx, qword [r14 + 8]
add r14, 8
test rbx, rbx
je 0x140005dfc
movzx ecx, word [r15]
test cx, cx
setne al
cmp word [rbx], 0
je 0x140005d92
mov esi, 2
test al, 1
je 0x140005d96
call rdi
cmp ax, word [rbx + rsi - 2]
jne 0x140005d96
movzx ecx, word [r15 + rsi]
test cx, cx
setne al
cmp word [rbx + rsi], 0
lea rsi, [rsi + 2]
jne 0x140005db8
jmp 0x140005d92
mov rax, qword [r12 + 0x10]
movzx eax, word [rax]
or eax, 2
cmp ax, 0x2f
je 0x140005dfc
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 0x7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
ud2
Function at 0x140005f80
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rdx + 8]
test rbx, rbx
je 0x140006161
mov rdi, rdx
add rdi, 0x10
mov r14, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
movzx eax, word [rbx]
or eax, 2
cmp ax, 0x2f
je 0x140005fe0
mov rbx, qword [rdi]
add rdi, 8
test rbx, rbx
jne 0x140005fb6
jmp 0x140006161
cmp word [rbx + 2], 0x2d
je 0x14000614e
add rbx, 2
movzx ecx, word [rbx]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x73
jne 0x140005fc2
movzx ecx, word [rbx + 2]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x61
jne 0x140005fc2
movzx ecx, word [rbx + 4]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x66
jne 0x140005fc2
movzx ecx, word [rbx + 6]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x65
jne 0x140005fc2
movzx ecx, word [rbx + 8]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x2d
jne 0x140005fc2
movzx ecx, word [rbx + 0xa]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x6d
jne 0x140005fc2
movzx ecx, word [rbx + 0xc]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x6f
jne 0x140005fc2
movzx ecx, word [rbx + 0xe]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x64
jne 0x140005fc2
movzx ecx, word [rbx + 0x10]
test cx, cx
je 0x140005fc2
call r14
cmp ax, 0x65
jne 0x140005fc2
cmp word [rbx + 0x12], 0
jne 0x140005fc2
mov dword [rsp + 0x3c], 4
lea rdi, [rsp + 0x3c]
mov qword [rsp + 0x30], rdi
lea rbx, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
lea r8, str.DisableSafeMode
mov rcx, 0xffffffff80000002
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140006157
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
lea r8, str.DisableSafeMode
mov rcx, 0xffffffff80000001
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140006157
mov dil, 1
jmp 0x140006163
add rbx, 4
jmp 0x140005fef
cmp dword [rsp + 0x38], 1
mov dil, 1
jne 0x140006163
xor edi, edi
lea rcx, str.MOZ_SAFE_MODE_RESTART
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x140006196
mov byte [rsi], dil
mov byte [rsi + 1], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp byte [rax], 0
movzx eax, dil
mov edi, 1
cmove edi, eax
jmp 0x140006175
Function at 0x1400070b0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], r9d
cmp qword [r8 + 0x18], 7
jbe 0x1400070d7
mov r8, qword [r8]
mov rcx, qword [rdx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor edi, edi
mov rdx, r8
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000711f
mov byte [rsi + 0x10], dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x4e
mov dword [rsi + 0xc], ecx
mov dil, 1
jmp 0x140007104
Function at 0x140007870
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 4
cmp qword [r8 + 0x18], 7
jbe 0x140007899
mov r8, qword [r8]
mov rcx, qword [rdx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400078f0
cmp dword [rsp + 0x3c], 4
jne 0x1400078ff
mov eax, dword [rsp + 0x44]
mov byte [rsi + 0x10], 0
mov dword [rsi], eax
mov byte [rsi + 4], 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x50
pop rsi
ret
cmp eax, 2
jne 0x14000791d
mov byte [rsi + 0x10], 0
mov byte [rsi + 4], 0
jmp 0x1400078da
mov byte [rsi + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d0000003f
mov qword [rsi + 8], rax
jmp 0x1400078da
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3b
mov dword [rsi + 0xc], ecx
jmp 0x1400078da

Function at 0x1400079c0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r9
cmp qword [r8 + 0x18], 7
jbe 0x1400079e7
mov r8, qword [r8]
mov rcx, qword [rdx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 8
xor edi, edi
mov rdx, r8
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140007a2f
mov byte [rsi + 0x10], dil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x4e
mov dword [rsi + 0xc], ecx
mov dil, 1
jmp 0x140007a14

Function at 0x140007a60
Capabilities:
Delete registry value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp qword [r8 + 0x18], 7
jbe 0x140007a72
mov r8, qword [r8]
mov rcx, qword [rdx]
mov rdx, r8
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, 2
jne 0x140007a93
mov byte [rsi + 0x10], 0
mov byte [rsi], 0
mov rax, rsi
add rsp, 0x20
pop rsi
ret
test eax, eax
jne 0x140007aa0
mov byte [rsi + 0x10], 0
mov byte [rsi], 1
jmp 0x140007a8a
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x5c
mov dword [rsi + 0xc], ecx
jmp 0x140007a8a
Function at 0x140007ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], 8
cmp qword [r8 + 0x18], 7
jbe 0x140007af9
mov r8, qword [r8]
mov rcx, qword [rdx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007b3e
cmp dword [rsp + 0x38], 0xb
jne 0x140007b61
mov rax, qword [rsp + 0x40]
mov byte [rsi + 0x10], 0
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x140007b4b
cmp eax, 2
jne 0x140007b7f
mov byte [rsi + 0x10], 0
mov byte [rsi + 8], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x50
pop rsi
ret
mov byte [rsi + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d0000003f
mov qword [rsi + 8], rax
jmp 0x140007b4b
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3b
mov dword [rsi + 0xc], ecx
jmp 0x140007b4b

Function at 0x140007bb0
Capabilities:
Get token membership
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x3c], 0x44
lea r8, [rsp + 0x40]
lea rdi, [rsp + 0x3c]
mov ecx, 0x1a
xor edx, edx
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x140007c8a
lea rbx, [rsp + 0x40]
lea r8, [rsp + 0x38]
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140007cd5
cmp dword [rsp + 0x38], 0
je 0x140007cf0
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
lea r8, str.EnableLUA
mov rcx, 0xffffffff80000002
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140007cf9
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_toolkit_xre_WinTokenUtils.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x26
jmp 0x140007cb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x14
mov byte [rsi + 0x10], 1
lea rdx, str.z:_task_1579288126_build_src_toolkit_xre_WinTokenUtils.cpp
mov qword [rsi], rdx
mov dword [rsi + 8], eax
mov dword [rsi + 0xc], ecx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x19
jmp 0x140007ca3
mov byte [rsi + 0x10], 0
mov byte [rsi], 0
jmp 0x140007cb7
cmp dword [rsp + 0x3c], 0
mov byte [rsi + 0x10], 0
sete byte [rsi]
jmp 0x140007cb7
Function at 0x14000bff0
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x848
mov qword [rsp + 0x868], rdx
mov qword [rsp + 0x870], r8
mov qword [rsp + 0x878], r9
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x840], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14000c080
lea rsi, [rsp + 0x868]
mov qword [rsp + 0x38], rsi
call fcn.140001a90
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
lea r9, str._n_nBROWSERBROWSERBROWSERBROWSER_n__debug_me____lu_n_n
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
mov byte [rsp + 0x83f], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__dup]
lea rdx, [0x14004b2de]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
test rax, rax
je 0x14000c0d8
mov rsi, rax
lea rdi, [rsp + 0x868]
mov qword [rsp + 0x40], rdi
call fcn.140001a90
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
lea r8, str._n_nBROWSERBROWSERBROWSERBROWSER_n__debug_me____lu_n_n
mov rdx, rsi
xor r9d, r9d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140045f60
nop
add rsp, 0x848
pop rdi
pop rsi
ret

Function at 0x14000c170
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov qword [rcx], rdx
movaps xmm0, xmmword [0x1400482d0]
movups xmmword [rcx + 0x10], xmm0
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
call fcn.14000c290
lea rcx, [rbx + rdi]
add rcx, 0xffffffffffffffff
mov r15d, eax
mov rax, rcx
xor edx, edx
div r15
mov r12, rax
mov rax, rbx
xor edx, edx
div r15
sub r12, rax
inc r12
je 0x14000c241
mov rbx, rax
imul rbx, r15
xor edi, edi
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r14]
test rcx, rcx
je 0x14000c26a
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov r8, r15
mov r9d, 0x40
call rbp
test eax, eax
je 0x14000c262
mov r13d, dword [rsp + 0x2c]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x14000c274
mov rcx, qword [rsi + 8]
shl rax, 4
mov dword [rcx + rax], r13d
mov qword [rcx + rax + 8], rbx
add qword [rsi + 0x10], 1
add rdi, 1
add rbx, r15
cmp rdi, r12
jb 0x14000c1ec
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x2c], 0
mov rcx, rsi
call fcn.14000c320
jmp 0x14000c241
lea rcx, [rsi + 8]
mov edx, 1
call fcn.14000c420
test al, al
je 0x14000c26a
mov rax, qword [rsi + 0x10]
jmp 0x14000c21f
Function at 0x14000c290
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140054af0]
mov ecx, dword [0x140054298]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000c2e0
mov esi, dword [0x140054aec]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140045f60
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140054af0]
call fcn.1400454c0
cmp dword [0x140054af0], 0xffffffff
jne 0x14000c2c5
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov dword [0x140054aec], eax
lea rcx, [0x140054af0]
call fcn.140045528
jmp 0x14000c2c5
Function at 0x14000c920
Capabilities:
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp byte [rcx + 0x34], 0
jne 0x14000c963
mov r15, qword [rsi + 0x38]
lea rcx, [0x14004c3fe]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [rsi + 0x34], 0
jne 0x14000c963
xor ecx, ecx
cmp r15, rax
sete cl
mov dword [rsi + 0x30], ecx
mov byte [rsi + 0x34], 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x14000c980
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rsi, r9
mov rbx, r8
mov r8, rdx
mov rdi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x68]
call fcn.14000cb80
mov r8d, dword [rdi + 0x30]
and r8d, 1
shl r8, 0x1e
lea rdx, [rsp + 0xb8]
mov rcx, rdi
mov r9d, r8d
call fcn.14000f660
cmp byte [rsp + 0xc0], 0
je 0x14000cb30
mov rcx, qword [rsp + 0xb8]
lea rdx, [rsp + 0x80]
call fcn.14000fe30
cmp byte [rsp + 0xb0], 0
je 0x14000cb34
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xa4]
mov qword [rsp + 0x5c], rax
mov al, byte [rsp + 0xac]
mov byte [rsp + 0x64], al
mov dword [rsp + 0x88], 0
mov byte [rsp + 0xac], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x68]
lea r8, [rsp + 0xb8]
lea r9, [rsp + 0x38]
mov rcx, rdi
call fcn.14000cf20
cmp qword [rsi], 0
setne sil
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000cab6
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x14000cab6
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [rsp + 0xb0], 0
je 0x14000cad8
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14000cad0
mov r8d, dword [rsp + 0x88]
test r8d, r8d
jne 0x14000cb42
mov byte [rsp + 0xb0], 0
cmp byte [rsp + 0xc0], 0
je 0x14000caea
mov byte [rsp + 0xc0], 0
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000cb13
lock sub dword [rdi + 8], 1
jne 0x14000cb13
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock sub dword [rdi + 0xc], 1
jne 0x14000cb13
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140045f60
mov eax, esi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14000caea
xor esi, esi
cmp byte [rsp + 0xc0], 0
jne 0x14000cae2
jmp 0x14000caea
lea rdi, [rsp + 0x88]
mov edx, dword [rsp + 0xa8]
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x88], 0
mov byte [rsp + 0xac], 0
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
jmp 0x14000cad0
Function at 0x14000c980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp byte [rcx + 0x34], 0
jne 0x14000c963
mov r15, qword [rsi + 0x38]
lea rcx, [0x14004c3fe]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [rsi + 0x34], 0
jne 0x14000c963
xor ecx, ecx
cmp r15, rax
sete cl
mov dword [rsi + 0x30], ecx
mov byte [rsi + 0x34], 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x14000c980
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rsi, r9
mov rbx, r8
mov r8, rdx
mov rdi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x68]
call fcn.14000cb80
mov r8d, dword [rdi + 0x30]
and r8d, 1
shl r8, 0x1e
lea rdx, [rsp + 0xb8]
mov rcx, rdi
mov r9d, r8d
call fcn.14000f660
cmp byte [rsp + 0xc0], 0
je 0x14000cb30
mov rcx, qword [rsp + 0xb8]
lea rdx, [rsp + 0x80]
call fcn.14000fe30
cmp byte [rsp + 0xb0], 0
je 0x14000cb34
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xa4]
mov qword [rsp + 0x5c], rax
mov al, byte [rsp + 0xac]
mov byte [rsp + 0x64], al
mov dword [rsp + 0x88], 0
mov byte [rsp + 0xac], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x68]
lea r8, [rsp + 0xb8]
lea r9, [rsp + 0x38]
mov rcx, rdi
call fcn.14000cf20
cmp qword [rsi], 0
setne sil
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000cab6
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x14000cab6
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [rsp + 0xb0], 0
je 0x14000cad8
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14000cad0
mov r8d, dword [rsp + 0x88]
test r8d, r8d
jne 0x14000cb42
mov byte [rsp + 0xb0], 0
cmp byte [rsp + 0xc0], 0
je 0x14000caea
mov byte [rsp + 0xc0], 0
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000cb13
lock sub dword [rdi + 8], 1
jne 0x14000cb13
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock sub dword [rdi + 0xc], 1
jne 0x14000cb13
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140045f60
mov eax, esi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14000caea
xor esi, esi
cmp byte [rsp + 0xc0], 0
jne 0x14000cae2
jmp 0x14000caea
lea rdi, [rsp + 0x88]
mov edx, dword [rsp + 0xa8]
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x88], 0
mov byte [rsp + 0xac], 0
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
jmp 0x14000cad0
Function at 0x14000f6f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140054af8]
mov ecx, dword [0x140054298]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000f740
mov esi, dword [0x140054af4]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140045f60
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140054af8]
call fcn.1400454c0
cmp dword [0x140054af8], 0xffffffff
jne 0x14000f725
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
mov dword [0x140054af4], eax
lea rcx, [0x140054af8]
call fcn.140045528
jmp 0x14000f725

Function at 0x14000f880
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140054b08]
mov ecx, dword [0x140054298]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14000f8ed
lea rcx, [0x140054b08]
call fcn.1400454c0
cmp dword [0x140054b08], 0xffffffff
jne 0x14000f8ed
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x38]
mov qword [0x140054b00], rax
lea rcx, [0x140054b08]
call fcn.140045528
mov rsi, qword [0x140054b00]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140045f60
mov rax, rsi
add rsp, 0x60
pop rsi
ret