joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00408614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x402068
mov rax, qword [0x00408618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401f0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401f97
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401ef0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x4020a2
mov rax, qword [0x00408618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00408618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4020b1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401f90
sub eax, 4
and eax, 0xfffffffb
jne 0x402020
add dword [0x00408614], 1
cmp ebx, 8
jae 0x401fc8
test bl, 4
jne 0x402070
test ebx, ebx
je 0x401fb9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x402090
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401fb9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x401ffa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00408618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401f90
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor edi, edi
jmp 0x401f17
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401fb9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401fb9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
mov rax, qword [0x00408618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
nop
nop dword [rax]
Function at 0x402890
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x4028e4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4028db
test r12, r12
je 0x4028db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4028c0
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402b10
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x402b20
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x402b30
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402b75
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x402b6c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402b77
add rax, 0x28
cmp rax, r9
jne 0x402b58
xor eax, eax
ret

Function at 0x402c20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x004054b0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402c99
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402c99
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402c96
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x402c8d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402c99
add r8, 0x28
cmp r8, r9
jne 0x402c78
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x402d80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x004054b0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x402def
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402def
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x402ded
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402de4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402df8
add rax, 0x28
cmp rax, r9
jne 0x402dd0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402e10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004054b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x402e88
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402e88
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x402e88
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402e88
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x402e7c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x402e90
add rdx, 0x28
cmp rdx, r10
jne 0x402e68
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x402ea0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x402eae
mov edx, dword [rax + 0xc]
test edx, edx
je 0x402e85
test r8d, r8d
jg 0x402e98
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140005440
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
sub rsp, 0x68
movups xmm1, xmmword [rdx + 0x30]
mov rcx, qword [0x14037b6a8]
mov r9d, 4
movups xmm2, xmmword [rdx + 0x20]
mov dword [rax - 0x40], r9d
movsd xmm0, qword [rdx + 0x40]
movq r8, xmm1
movsd qword [rax - 0x18], xmm0
movq rdx, xmm2
movups xmmword [rax - 0x38], xmm2
movups xmmword [rax - 0x28], xmm1
lea rax, [rax - 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140131094
add rsp, 0x68
ret
mov rcx, qword [rsp + 0x68]
lea r8, str.pcshell_shellexplorerhelpersusagetracking.cpp
mov r9d, eax
mov edx, reloc.SHELL32.dll_SHRestricted
call fcn.140188f6c
nop
jmp 0x140005499

Function at 0x140005538
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x60
cmp byte [0x14037b6a1], 0
je 0x14000556e
movzx eax, word [0x14037b6a0]
shr ax, 8
test al, al
je 0x140131106
mov al, byte [0x14037b6a0]
add rsp, 0x60
pop rbp
ret
xor edx, edx
lea rcx, [0x14037b6a8]
call fcn.14006ee3c
lea r8, [0x14037b6a8]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsage
call qword [0x14039e218]
nop dword [rax + rax]
test eax, eax
jne 0x1400055f1
and qword [rsp + 0x30], 0
lea r9d, [rax + 0x40]
and qword [rsp + 0x28], 0
lea r8, str.KeyCreationTime
mov rcx, qword [0x14037b6a8]
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1401310b4
mov word [rbp + 0x10], 0x101
movzx eax, word [rbp + 0x10]
mov word [0x14037b6a0], ax
jmp 0x140005555
mov word [rbp + 0x10], 0x100
jmp 0x1400055e1
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rcx, qword [0x14037b6a8]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 8
lea r8, str.KeyCreationTime
mov r9d, SafeArrayDestroy
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
mov byte [rbp + 0x11], 1
sete byte [rbp + 0x10]
jmp 0x1400055e1
xorps xmm0, xmm0
lea rax, method.vvv.virtual_0
lea rdx, [0x14036b720]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x18], xmm0
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
Function at 0x140005600
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rcx, qword [0x14037b6a8]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov rdi, r9
mov rbx, r8
mov dword [rbp + 0x6f], 4
xor r14d, r14d
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov rsi, rdx
lea rax, [rbp - 0x19]
mov dword [rbp - 0x19], r14d
mov r8, rdi
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 0x10]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, dword [rbp + 0x67]
lea rdx, [rbp - 1]
test eax, eax
mov r8, rbx
cmovne ecx, r14d
mov dword [rbp + 0x67], ecx
call fcn.1400056e8
mov r8, rdi
lea rdx, [rbp + 0xf]
mov rbx, rax
call fcn.1400056e8
movups xmm0, xmmword [rbx]
lea r9, [rbp + 0x1f]
lea rdx, [rbp - 0x11]
movups xmm1, xmmword [rax]
mov eax, dword [rbp + 0x67]
mov dword [rbp + 0x3f], eax
mov al, byte [rbp + 0x67]
mov byte [rsp + 0x20], al
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm1
call fcn.140005ae4
mov rax, qword [rbp - 0x11]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov qword [rsi], rax
mov rax, rsi
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400057e4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov rsi, rdx
mov r15, rcx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x20], xmm0
movabs rcx, 0xcbf29ce484222325
psrldq xmm0, 8
movq rax, xmm0
lea r8, [rax + rax]
xor edx, edx
test r8, r8
je 0x14000584e
mov r9, qword [rsp + 0x20]
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r8
jb 0x140005830
mov r14, qword [r15 + 0x30]
and r14, rcx
mov r12, r14
add r12, r12
mov r11, qword [r15 + 0x18]
mov rdi, qword [r15 + 8]
cmp rdi, qword [r11 + r12*8]
jne 0x14013113c
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.14000597c
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
cmp rdi, rax
je 0x1400058b7
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rax, qword [r15 + 0x18]
mov rdx, qword [rax + r12*8]
mov rcx, r14
add rcx, rcx
cmp rdx, qword [r15 + 8]
jne 0x140131170
mov qword [rax + rcx*8], rbx
mov rax, qword [r15 + 0x18]
mov qword [rax + r12*8 + 8], rbx
mov rcx, r15
call fcn.140005908
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rdi, qword [r11 + r12*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r11 + r12*8]
je 0x14000586d
mov rdi, qword [rdi + 8]
lea r8, [rdi + 0x10]
mov rdx, rbx
call fcn.1401fbb24
test al, al
jne 0x140131144
mov qword [rsi], rdi
mov byte [rsi + 8], al
mov rax, rsi
jmp 0x1400058ef
shl r14, 4
add r14, rax
cmp rdx, rdi
jne 0x140131184
mov qword [r14], rbx
jmp 0x1400058dc
mov rax, qword [r14 + 8]
mov rcx, qword [rax]
mov qword [r14 + 8], rcx
cmp rcx, rbx
je 0x1400058dc
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r12*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12*8 + 8], rcx
jmp 0x1400058dc
Function at 0x140005a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
movups xmm0, xmmword [r8]
xor r9d, r9d
mov rdi, rdx
mov rbp, r8
mov rbx, rcx
movaps xmmword [rax - 0x18], xmm0
movabs rdx, 0xcbf29ce484222325
psrldq xmm0, 8
movq rax, xmm0
lea r10, [rax + rax]
test r10, r10
je 0x140005a8d
mov rcx, qword [rsp + 0x20]
movzx eax, byte [r9 + rcx]
movabs r8, 0x100000001b3
xor rdx, rax
inc r9
imul rdx, r8
cmp r9, r10
jb 0x140005a6f
mov rsi, qword [rbx + 0x30]
mov r14, qword [rbx + 0x18]
and rsi, rdx
mov rbx, qword [rbx + 8]
add rsi, rsi
mov r11, qword [r14 + rsi*8]
cmp qword [r14 + rsi*8], rbx
jne 0x1401311de
mov rax, rbx
cmp r11, rax
jne 0x1401311eb
mov rbp, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x50]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rax, qword [r14 + rsi*8 + 8]
mov rax, qword [rax]
jmp 0x140005ab0
lea rdx, [r11 + 0x10]
mov r8, rbp
call fcn.1401fbb24
test al, al
je 0x140131203
mov r11, qword [r11]
jmp 0x140005aa3
lea r8, [r11 + 0x10]
mov rdx, rbp
call fcn.1401fbb24
test al, al
cmove rbx, r11
jmp 0x140005ab9

Function at 0x140006f80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov r10, qword [rcx]
xor r11d, r11d
mov eax, r8d
mov rbx, rdx
test r10, r10
jne 0x140131a7a
mov r10d, 0x12b9b0a5
mov r8d, eax
test eax, eax
je 0x140006fc9
movzx edx, byte [r11 + rbx]
mov ecx, r10d
imul eax, r10d, 0x820
inc r11
shr ecx, 2
add edx, eax
add edx, ecx
xor r10d, edx
cmp r11, r8
jb 0x140006fa8
btr r10d, 0x1f
xor edx, edx
mov eax, r10d
div r9d
mov eax, edx
add rsp, 0x20
pop rbx
ret
mov edx, eax
mov r8d, r9d
mov rax, r10
mov rcx, rbx
call qword [case.0x14006c37f.0]
mov edx, eax
jmp 0x140006fd6

Function at 0x14000eef4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
lea rax, [r11 + 0x18]
mov byte [r8], 0
mov qword [r11 - 0x18], rax
mov rbx, r8
lea rax, [r11 + 0x20]
mov dword [rsp + 0x60], 4
mov r8, rdx
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
mov rdx, rcx
mov r9d, 0x20000010
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x14000ef4d
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x140134bde
xor eax, eax
add rsp, 0x40
pop rbx
ret
cmp dword [rsp + 0x68], 0
setne al
mov byte [rbx], al
jmp 0x14000ef53
Function at 0x14000f244
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, str.Local__DDrawCheckExclMode__
xor edx, edx
mov ecx, 0x100000
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenMutexW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140134cac
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1e
mov rcx, rdi
call sub.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject
test eax, eax
je 0x140134cc4
cmp eax, 0x80
jne 0x140134cd3
call fcn.14029d384
mov rcx, rdi
mov ebx, eax
call sub.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex
mov rcx, rdi
call sub.api_ms_win_core_handle_l1_1_0.dll_CloseHandle
nop
jmp 0x14000f276

Function at 0x14000f668
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x40
lea rax, [r11 + 0x10]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x18], rax
lea r8, [0x140301ee0]
lea rax, [r11 + 0x18]
mov rdi, rcx
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRetailDemoOobeWrite
xor ebx, ebx
mov r9d, 0x20010010
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x28], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rsp + 0x60], ebx
jne 0x140134d1a
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x58]
movabs rax, 0x861c46800
mov edx, dword [rsp + 0x5c]
shl rdx, 0x20
or rdx, rcx
mov rcx, qword [rdi + 0x30]
add rcx, rax
cmp rdx, rcx
setb bl
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dl, 1
lea rcx, [0x14037d510]
call fcn.1401bae2c
xor eax, eax
jmp 0x14000f6ff
Function at 0x14001325c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
test rcx, rcx
je 0x1400132dd
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx + 0x18]
mov rbx, rcx
test r8, r8
jne 0x140135544
mov r8, qword [rbx + 0x40]
test r8, r8
jne 0x140135569
mov r8, qword [rbx + 0x48]
test r8, r8
jne 0x14013558e
mov r8, qword [rbx + 0x20]
test r8, r8
jne 0x14013562c
mov r8, qword [rbx + 0x28]
test r8, r8
jne 0x140135651
mov r8, qword [rbx + 0x30]
test r8, r8
jne 0x140135676
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x14013569b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x18], 0
jmp 0x140013280
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x40], 0
jmp 0x14001328d
xor esi, esi
cmp dword [r8], esi
jbe 0x140135602
lea rcx, [rsi + rsi*2]
shl rcx, 4
lea rdi, [r8 + 8]
add rdi, rcx
je 0x1401355f7
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1401355b9
call fcn.1402a5f34
and qword [rdi + 0x10], 0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1401355cc
call fcn.1402a5f34
and qword [rdi + 0x18], 0
mov r8, qword [rdi + 0x28]
test r8, r8
je 0x1401355f7
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rdi + 0x20], xmm0
mov r8, qword [rbx + 0x48]
inc esi
cmp esi, dword [r8]
jb 0x140135595
test r8, r8
je 0x140135622
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x48], 0
jmp 0x14001329a
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x20], 0
jmp 0x1400132a7
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x28], 0
jmp 0x1400132b4
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x30], 0
jmp 0x1400132c1
call fcn.14023ceb0
and qword [rbx + 0x58], 0
jmp 0x1400132ce
Function at 0x140013704
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov rdi, rdx
mov qword [r11 - 0x38], rax
mov rsi, rcx
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x48], eax
test rcx, rcx
je 0x14001376c
xor r9d, r9d
lea r8d, [rax + 0xc]
lea rdx, [r11 - 0x38]
lea ecx, [rax + 1]
call qword [sym.imp.ntdll.dll_RtlGetNativeSystemInformation]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140135a64
movzx eax, word [rsp + 0x30]
mov word [rsi], ax
test rdi, rdi
jne 0x140135a9b
xor ebx, ebx
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea r9, str.RtlGetNativeSystemInformation_failed___x_
mov r8d, 0x700
jmp 0x140135a80
lea r9, str.ZwQuerySystemInformation_failed___x_
mov r8d, 0x722
lea rdx, str.AslEnvGetProcessWowInfo
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.140013f14
nop
jmp 0x140013777
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea r8d, [r9 + 0xc]
lea ecx, [r9 + 1]
call qword [sym.imp.ntdll.dll_ZwQuerySystemInformation]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140135a73
movzx eax, word [rsp + 0x40]
mov word [rdi], ax
jmp 0x140013775

Function at 0x140015a78
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
xor ebx, ebx
cmp qword [rcx + 0x10], rbx
je 0x140137af9
cmp qword [rcx + 0x20], rbx
je 0x140137af9
lea edi, [rbx + 3]
cmp qword [rcx + 0x10], 0x40
jb 0x140137ac8
mov rdx, qword [rcx + 0x18]
mov dword [rsp + 0x30], edi
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140137acc
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140015b10
lea edi, [rbx + 4]
mov dword [rsp + 0x30], edi
mov eax, dword [rdx + 0x3c]
mov dword [rsp + 0x70], eax
mov r8d, eax
add rax, rdi
cmp qword [rcx + 0x10], rax
jb 0x140015b10
lea rax, [r8 + rdx]
mov qword [r11 + 0x18], rax
cmp dword [rax], 0x4550
jne 0x140015afc
lea edi, [rbx + 6]
jmp 0x140015b0c
mov edx, 5
mov ecx, 0x454e
cmp word [rax], cx
cmove edi, edx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], ebx
jmp 0x140015b47
mov dword [rsi], edi
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov dword [rdx], edi
jmp 0x140137aff
mov ebx, 0xc000000d
mov dword [rsp + 0x20], ebx
lea r9, str.File_mapping_invalid___x_
mov r8d, 0x4e8
lea rdx, str.AslpFileMappingGetFileKind
mov ecx, 1
call fcn.140013f14
nop
jmp 0x140015b47
mov dword [rdx], 1
xor eax, eax
jmp 0x140015b4b