joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800679e0
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [0x1801f2f60]
xor eax, eax
mov dword [0x1801dc028], eax
movabs rdx, 0x740e14fad5842351
mov dword [0x1801dc038], eax
mov rax, qword [0x1801dc030]
mov dword [rax], ecx
inc dword [0x1801dc028]
jmp fcn.180047fb0
jmp 0x180060490

Function at 0x180067e50
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [0x1801f3060]
xor eax, eax
mov r9d, dword [0x1801dc010]
mov r8d, dword [0x1801f305c]
mov dword [0x1801dc028], eax
mov dword [0x1801dc038], eax
mov rax, qword [0x1801dc030]
movss dword [rax], xmm0
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
movss dword [rax + rcx*8], xmm1
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
movss dword [rax + rcx*8], xmm2
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], edx
movabs rdx, 0xf2a1b2771a01dbd4
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], r8d
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], r9d
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0x43e10000
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0x42c80000
inc dword [0x1801dc028]
jmp fcn.180047fb0

Function at 0x180067f60
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [0x1801dc030]
xor edx, edx
mov dword [0x1801dc028], edx
mov dword [0x1801dc038], edx
movss dword [rax], xmm0
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
movss dword [rax + rcx*8], xmm1
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0x42480000
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0x42c80000
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0xff
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0xff
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0xff
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0x64
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], edx
movabs rdx, 0x3a618a217e5154f0
inc dword [0x1801dc028]
jmp fcn.180047fb0
Function at 0x1800680e0
Capabilities:
Hash data using fnv

Disassembly:
xor eax, eax
movabs rdx, 0x919be13eed931959
mov dword [0x1801dc028], eax
mov dword [0x1801dc038], eax
mov rax, qword [0x1801dc030]
mov dword [rax], ecx
mov eax, dword [0x1801dc028]
inc eax
mov dword [0x1801dc028], eax
mov ecx, eax
mov rax, qword [0x1801dc030]
mov dword [rax + rcx*8], 0xffffffff
inc dword [0x1801dc028]
jmp fcn.180047fb0
Function at 0x1800691c0
Capabilities:
Hash data using fnv

Disassembly:
mov edx, 1
mov r8d, edx
mov ecx, edx
jmp fcn.1800471f0

Function at 0x1800691e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180069241
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180069200
mov ecx, dword [r9]
jmp 0x180069328
cmp ecx, 0x4e0
jb 0x180069328
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180069260
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1800692b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x18006a0d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1801da5d0]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rcx, [rsp + 0x20]
call fcn.180006ce0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180086520
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x2a0]
mov edx, dword [rsp + 0x298]
lea rcx, [rsp + 0x50]
call qword [rsp + 0x28]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
call fcn.1800910c0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.18008cc50
mov qword [rsp + 0x40], rax
mov r9, qword [rsp + 0x30]
mov r8d, 1
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test rax, rax
jbe 0x18006a19a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
lea rcx, [rsp + 0x50]
call fcn.1800870a0
nop
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18014f070
add rsp, 0x288
ret
Function at 0x18008b860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x88]
call fcn.18008fdd0
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x80]
call fcn.18008fdd0
mov dword [rsp + 0x48], eax
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x22]
call fcn.1800896d0
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x90]
call fcn.18008fdd0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
inc eax
cmp eax, dword [rsp + 0x28]
jge 0x18008b8f6
mov eax, 0xffffffff
jmp 0x18008ba68
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x38], eax
jle 0x18008b90a
mov eax, 1
jmp 0x18008ba68
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x88]
mov r8d, dword [rax + 0xa8]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0xa8]
lea rcx, [rsp + 0x21]
call fcn.180089ae0
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x21]
call fcn.180089ae0
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x18008b98e
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x24], eax
jl 0x18008ba4a
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.18008a1f0
mov eax, eax
mov qword [rsp + 0x60], rax
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x20]
call fcn.18008a1f0
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.18008a1f0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
add rax, qword [rsp + 0x30]
cmp qword [rsp + 0x58], rax
jbe 0x18008ba15
mov eax, 1
jmp 0x18008ba68
mov eax, dword [rsp + 0x3c]
add rax, qword [rsp + 0x30]
sub rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 1
jbe 0x18008ba37
mov eax, 0xffffffff
jmp 0x18008ba68
mov rax, qword [rsp + 0x30]
shl rax, 0x20
mov qword [rsp + 0x30], rax
jmp 0x18008b984
cmp qword [rsp + 0x30], 0
je 0x18008ba5c
mov dword [rsp + 0x40], 0xffffffff
jmp 0x18008ba64
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
add rsp, 0x70
pop rdi
ret
Function at 0x18008dfd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x28], rax
jae 0x18008e0d4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x20]
call fcn.180089220
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.18006aa60
lea rcx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x80]
call fcn.180076dc0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.18006e4a0
nop
lea rcx, [rsp + 0x80]
call fcn.1800073e0
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x180092b70
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1801da5d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x180092d69
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180092d5e
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x180092cf0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x44], eax
jne 0x180092cf0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x40], eax
je 0x180092cf0
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180092c59
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1801eb700]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180092c57
mov dword [rsp + 0x20], 0
jmp 0x180092d0f
jmp 0x180092cc7
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x180092cc7
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801eb700]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180092cba
mov dword [rsp + 0x20], 0
jmp 0x180092d0f
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180092bd4
cmp dword [rsp + 0x20], 0
je 0x180092d29
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180092d29
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x180092d5e
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x180092d5e
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801eb700]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x70]
mov qword [rax], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18014f070
add rsp, 0x68
ret
Function at 0x180092d90
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.180092b70
test eax, eax
jne 0x180092de9
mov dword [rsp + 0x24], 9
jmp 0x180092e6b
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180092e6b
mov dword [rsp + 0x20], 0
jmp 0x180092e08
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180092e6b
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180092e69
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800929c0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180092dfe
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x180092e80
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180092f0f
mov dword [rsp + 0x20], 0
jmp 0x180092ea8
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180092ef8
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180092ef6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180092e9e
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801eb700]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret
Function at 0x180092f20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x38
mov rcx, qword [0x1801f4040]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180092f8a
mov rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180092fb3
mov eax, 0xa
jmp 0x1800930e4
cmp dword [rsp + 0x68], 0
je 0x18009301e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
add rax, 5
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18009301c
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 0xf9
jmp 0x18009306a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18009304e
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18009306a
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800938f0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0x40000000
jbe 0x180093951
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x180093951
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
cmp qword [rsp + 0x28], rax
jbe 0x180093979
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0xfff
mov qword [rsp + 0x28], rax
mov rax, qword [0x1801f4038]
mov qword [rsp + 0x20], rax
jmp 0x1800939a4
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800939de
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x1800939c4
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x1800939c6
jmp 0x180093997
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x1800939dc
mov rax, qword [rsp + 0x20]
jmp 0x180093b50
jmp 0x180093997
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x180093a47
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1800936f0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180093a1a
jmp 0x180093a47
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180093a45
jmp 0x180093a47
jmp 0x1800939eb
cmp qword [rsp + 0x20], 0
jne 0x180093ab8
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x180093ab8
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1800937d0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180093a8b
jmp 0x180093ab8
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180093ab6
jmp 0x180093ab8
jmp 0x180093a5c
cmp qword [rsp + 0x20], 0
je 0x180093b4b
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x180093aeb
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x1801f4038]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x1801f4038], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1800942f0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180094349
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180094349
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180094349
xor eax, eax
jmp 0x180094390
mov dword [rsp], 1
jmp 0x18009435a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x18009438b
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180094389
xor eax, eax
jmp 0x180094390
jmp 0x180094352
mov eax, 1
add rsp, 0x18
ret