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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
mov qword [rax - 0x68], rcx
xor r9d, r9d
mov qword [rsp + 0x40], r9
cmp r9, 8
jae 0x140016b18
movzx eax, byte [r9 + r8]
xor rcx, rax
mov qword [rsp + 0x20], rcx
movabs rax, 0x100000001b3
imul rcx, rax
mov qword [rsp + 0x20], rcx
inc r9
jmp 0x140016ae8
mov r8, qword [rsi + 0x30]
and r8, rcx
mov qword [rsp + 0x58], r8
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x30], rax
cmp qword [rcx + r8*8], rax
jne 0x140016b40
mov rbx, qword [rsi + 8]
jmp 0x140016b51
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + r8*8 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
mov rax, qword [rsi + 0x18]
cmp rbx, qword [rax + r8*8]
je 0x140016baf
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x48], rbx
mov rax, qword [rbx + 0x10]
cmp qword [r10], rax
jne 0x140016bad
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
dec qword [rsi + 0x10]
mov qword [rsp + 0x60], 0x20
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140016cd5
jmp 0x140016b56
mov rax, qword [rdi]
cmp rbx, rax
je 0x140016be4
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140016c01
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140016c30
cmp rax, rbx
jne 0x140016c0c
mov qword [rdx + r8*8], rdi
jmp 0x140016c30
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140016c30
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140072780]
test rax, rax
jns 0x140016c51
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140016c62
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140016cca
mov qword [rsp + 0x28], rdx
cmp rdx, 0x200
jae 0x140016c84
shl rdx, 3
mov qword [rsp + 0x28], rdx
jmp 0x140016cb9
movabs rax, 0x1fffffffffffffff
mov qword [rsp + 0x38], rax
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140016cb9
add rdx, rdx
mov qword [rsp + 0x28], rdx
mov rcx, rsi
call fcn.140003a58
mov rcx, rsi
call fcn.140016704
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x140016da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x140016dbd
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140016e15
cmp qword [rcx + rdx*8], r8
jne 0x140016e0a
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140016e0e
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140016e22
cmp qword [rcx + rdx*8], r8
jne 0x140016e22
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400180d4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r14, r8
mov r15, rdx
mov r12, rcx
lea rsi, [r9*2 - 2]
lea eax, [rsi + 0xc]
movsxd rbp, eax
mov rax, qword gs:[0x60]
mov r8, rbp
mov edx, 8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
mov rbx, rax
mov qword [rsp + 0x88], rax
xor r13d, r13d
test rax, rax
jne 0x14001814e
mov rax, qword [rsp + 0x90]
mov dword [rax], 0xc000009a
jmp 0x1400181ad
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x20], rdi
mov r9, rbp
mov r8, rbx
mov rdx, r15
mov rcx, r12
call fcn.14000c098
nop
cmp dword [rdi], r13d
jl 0x1400181ad
cmp dword [rbx + 4], 1
je 0x140018180
mov dword [rdi], 0xd0001808
jmp 0x1400181ad
mov eax, dword [rbx + 8]
cmp rsi, rax
cmovae rsi, rax
lea rdx, [rbx + 0xc]
mov r8, rsi
mov rcx, r14
call fcn.14005fdc0
nop
mov word [rsi + r14], r13w
mov r8, rbp
xor edx, edx
mov rcx, rbx
call fcn.140060230
nop
test rbx, rbx
je 0x1400181d8
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
mov qword [rsp + 0x88], r13
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400285dc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r9, rcx
test rcx, rcx
je 0x140028623
test rdx, rdx
je 0x140028623
mov r8d, 0x811c9dc5
movzx eax, word [r9]
movzx ecx, word [r9]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [r9]
lea r9, [r9 + 2]
movzx eax, cx
xor eax, r8d
imul r8d, eax, 0x1000193
sub rdx, 1
jne 0x1400285ef
mov eax, r8d
ret
xor eax, eax
ret
Function at 0x140028628
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
test rcx, rcx
je 0x140028653
test rdx, rdx
je 0x140028653
mov r8d, 0x811c9dc5
movzx eax, word [rcx]
lea rcx, [rcx + 2]
xor eax, r8d
imul r8d, eax, 0x1000193
sub rdx, 1
jne 0x140028638
mov eax, r8d
ret
xor eax, eax
ret

Function at 0x14002d398
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rbx, rcx
test rcx, rcx
je 0x14002d428
test rdx, rdx
je 0x14002d428
mov qword [rcx + 0x20], rdx
lea rax, [r11 + 8]
mov qword [rcx + 0x28], r8
mov r9, rcx
mov dword [rcx + 0x30], 0x103
lea r8, [0x14002d024]
mov qword [r11 - 0x10], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
je 0x14002d41c
mov esi, ebp
xor eax, eax
lock cmpxchg dword [rbx + 0x30], ebp
mov edi, eax
cmp eax, 0x103
jne 0x14002d424
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xbb8
jb 0x14002d3f5
jmp 0x14002d424
mov edi, dword gs:[0x68]
mov eax, edi
jmp 0x14002d42d
mov eax, 0x57
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14002d444
Capabilities:
Terminate thread

Disassembly:
test rcx, rcx
je 0x14002d4c8
push rbx
sub rsp, 0x20
or dword [rcx + 0x34], 4
mov rbx, rcx
test byte [rcx + 0x34], 1
je 0x14002d468
call fcn.14002cfc8
and dword [rbx + 0x34], 0xfffffffe
and qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002d4a1
xor r8d, r8d
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x14002d492
mov rcx, qword [rbx + 8]
mov edx, 0x5b4
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 8], 0
lea rcx, [rbx + 0x10]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
add rsp, 0x20
pop rbx
ret
Function at 0x14002d78c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, qword [rsp + 0x60]
mov rbx, rdx
mov rdx, r14
mov r15, r9
mov rdi, r8
mov rsi, rcx
cmp r8, 0x10
jb 0x14002d812
mov rbp, r8
shr rbp, 4
imul rax, rbp, 0xfffffffffffffff0
add rdi, rax
sub rdx, rsi
mov r8, rbx
sub r8, rsi
mov rcx, rsi
mov r9d, 2
mov rax, qword [rdx + rcx]
xor rax, qword [rcx]
mov qword [r8 + rcx], rax
lea rcx, [rcx + 8]
sub r9, 1
jne 0x14002d7de
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.14002da94
mov rdx, rbx
add rsi, 0x10
add rbx, 0x10
sub rbp, 1
jne 0x14002d7cc
test rdi, rdi
je 0x14002d88f
mov r9, rdx
xor ecx, ecx
sub r9, rsi
mov r10, rbx
sub r10, rsi
mov r8, rsi
cmp rcx, rdi
jae 0x14002d844
mov al, byte [r9 + r8]
inc rcx
xor al, byte [r8]
mov byte [r10 + r8], al
inc r8
cmp rcx, 0x10
jb 0x14002d828
cmp rcx, 0x10
jae 0x14002d86a
sub rdx, rbx
lea r8, [rcx + rbx]
mov r9d, 0x10
sub r9, rcx
mov al, byte [rdx + r8]
mov byte [r8], al
inc r8
sub r9, 1
jne 0x14002d85a
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.14002da94
mov rdx, rbx
cmp rdi, 0x10
jbe 0x14002d88f
add rbx, 0x10
add rsi, 0x10
sub rdi, 0x10
jne 0x14002d817
movups xmm0, xmmword [rdx]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movdqu xmmword [r14], xmm0
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14002d8b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov rdx, rcx
test r11, r11
jne 0x14002d8c8
or eax, 0xffffffff
jmp 0x14002da8c
mov dword [r11 + 0xf0], 0xa
lea rbx, [0x140000000]
movzx eax, byte [rcx + 1]
lea r10, [r11 + 4]
movzx r9d, byte [rcx]
shl r9d, 8
xor r9d, eax
movzx eax, byte [rcx + 2]
shl r9d, 8
xor r9d, eax
movzx eax, byte [rcx + 3]
shl r9d, 8
xor r9d, eax
mov dword [r11], r9d
movzx ecx, byte [rcx + 4]
movzx eax, byte [rdx + 5]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 6]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 7]
shl ecx, 8
xor ecx, eax
mov dword [r10], ecx
movzx eax, byte [rdx + 9]
movzx ecx, byte [rdx + 8]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xa]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xb]
shl ecx, 8
xor ecx, eax
mov dword [r11 + 8], ecx
movzx eax, byte [rdx + 0xd]
movzx ecx, byte [rdx + 0xc]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xe]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xf]
shl ecx, 8
xor ecx, eax
mov dword [r11 + 0xc], ecx
mov edx, ecx
mov eax, ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [rbx + rcx*4 + 0x6f2b0]
movzx ecx, al
btc r8d, 0x18
and r8d, 0xff000000
mov eax, dword [rbx + rcx*4 + 0x6f6b0]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rbx + rax*4 + 0x6fab0]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rbx + rax*4 + 0x6ee80]
mov eax, dword [r11 + 0xc]
and ecx, 0xff00
xor r8d, ecx
mov ecx, dword [r11 + 8]
xor r8d, r9d
lea r9, [0x14006f284]
mov dword [r11 + 0x10], r8d
xor r8d, dword [r10]
xor ecx, r8d
mov dword [r11 + 0x14], r8d
xor eax, ecx
mov dword [r11 + 0x18], ecx
mov dword [r11 + 0x1c], eax
lea r10, [r10 + 0x10]
mov edx, dword [r10 + 8]
mov eax, edx
shr rax, 8
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov r8d, dword [rbx + rcx*4 + 0x6f6b0]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4 + 0x6f2b0]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rbx + rax*4 + 0x6fab0]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rbx + rax*4 + 0x6ee80]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r10 - 4]
xor r8d, dword [r9]
add r9, 4
mov dword [r10 + 0xc], r8d
xor r8d, dword [r10]
mov dword [r10 + 0x10], r8d
mov ecx, dword [r10 + 4]
xor ecx, r8d
mov dword [r10 + 0x14], ecx
mov eax, dword [r10 + 8]
xor eax, ecx
mov dword [r10 + 0x18], eax
lea rax, [0x14006f2a8]
cmp r9, rax
jne 0x14002d9f3
xor eax, eax
mov rbx, qword [rsp + 8]
ret
Function at 0x14002e0e8
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov r8, rcx
xor r9d, r9d
test rcx, rcx
je 0x14002e197
cmp rdx, 0x40
jb 0x14002e15b
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002e15b
movsxd rcx, dword [rcx + 0x3c]
cmp dword [r8 + 0x3c], r9d
jl 0x14002e20f
cmp rcx, rdx
jae 0x14002e20f
cmp rcx, 0x7fffffe7
jae 0x14002e20f
lea rax, [rcx + 0x18]
cmp rax, rdx
jae 0x14002e20f
lea rax, [rcx + r8]
cmp dword [rax], 0x4550
jne 0x14002e1d3
add rsp, 0x50
pop rbp
ret
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000012f
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008ec40]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc00000ef
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008ec40]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008ec40]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008ec40]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14002e3b0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x30], 0xfffffffffffffffe
lea r8, [rbp + 0x80]
mov rdx, rcx
lea rcx, [rbp + 0x88]
call fcn.14000d3b8
cmp dword [rbp + 0x80], 0
jge 0x14002e3ef
xor al, al
jmp 0x14002e538
mov rbx, qword [rbp + 0x88]
mov qword [rbp + 0x80], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
or edi, 0xffffffff
cmp eax, edi
je 0x14002e51c
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x78]
mov r8d, 0x40
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002e51c
cmp dword [rbp + 0x78], 0x40
jne 0x14002e51c
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14002e51c
mov edx, dword [rsp + 0x7c]
test edx, edx
je 0x14002e51c
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, edi
je 0x14002e51c
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x78]
mov edi, 0x108
mov r8d, edi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002e51c
cmp dword [rbp + 0x78], edi
jne 0x14002e51c
cmp dword [rsp + 0x40], 0x4550
jne 0x14002e51c
mov eax, 0x8664
cmp word [rsp + 0x44], ax
jne 0x14002e51c
movzx eax, word [rsp + 0x56]
mov ecx, 0x2022
and ax, cx
cmp ax, 0x22
jne 0x14002e51c
mov eax, 0x20b
cmp word [rsp + 0x58], ax
jne 0x14002e51c
movzx eax, word [rbp - 0x64]
sub ax, 2
mov di, 1
cmp ax, di
ja 0x14002e51c
cmp dword [rsp + 0x68], 0
je 0x14002e51c
cmp dword [rbp - 0x3c], 0x10
jb 0x14002e51c
cmp dword [rbp + 0x38], 0
jne 0x14002e51c
cmp dword [rbp + 0x3c], 0
jne 0x14002e51c
cmp dword [rbp - 0x20], 0
je 0x14002e51c
cmp dword [rbp - 0x1c], 0
je 0x14002e51c
cmp dword [rbp + 0x10], 0
jne 0x14002e51c
cmp dword [rbp + 0x14], 0
je 0x14002e51f
xor dil, dil
test rbx, rbx
je 0x14002e535
mov rcx, rbx
call qword [0x140068658]
and qword [rbp + 0x80], 0
mov al, dil
add rsp, 0x150
pop rdi
pop rbx
pop rbp
ret
Function at 0x14002f16c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
call fcn.140002874
mov qword [rsp + 0x68], rax
xor r8d, r8d
test rax, rax
je 0x14002f1c3
mov word [rsp + 0x58], r8w
mov ecx, dword [0x1400921e0]
mov dword [rsp + 0x60], ecx
mov dword gs:[0x68], ecx
lea rdx, [rax + 0x70]
mov qword [rsp + 0x20], r8
lea r9d, [r8 + 2]
lea r8, [rsp + 0x58]
mov rcx, qword [rbx]
call fcn.14005f720
nop
add rsp, 0x40
pop rbx
ret

Function at 0x14002f1cc
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r9
mov rbx, r8
mov rsi, rdx
mov r13, rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14002f3a4
movsxd rdi, dword [rdx + 0x3c]
add rdi, rdx
cmp dword [rdi], 0x4550
jne 0x14002f3a4
mov eax, dword [rdi + 0x54]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rbx
mov eax, 1
mov dword [rbp + 0x6f], eax
mov eax, dword [0x1400921e8]
mov dword gs:[0x68], eax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x21]
mov rcx, qword [rcx]
call fcn.14005f720
nop
mov dword [r15], eax
movzx r14d, word [rdi + 0x14]
add r14, 0x20
xor r8d, r8d
movzx r12d, r8w
cmp r8w, word [rdi + 6]
jae 0x14002f3ab
add r14, rdi
mov eax, dword [r14 + 4]
lea rcx, [rax + rbx]
mov qword [rbp - 0x31], rcx
lea r10, [rax + rsi]
mov edx, dword [r14 + 0x1c]
bt edx, 0x19
jae 0x14002f2ea
mov ebx, dword [r14]
mov r8d, ebx
xor edx, edx
mov rcx, r10
call fcn.140060230
nop
mov qword [rbp - 0x19], rbx
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x11], rax
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x11]
mov eax, dword [0x140092130]
mov r9d, 0x4000
mov dword gs:[0x68], eax
mov rcx, qword [r13]
call fcn.14005f720
nop
mov rbx, qword [rbp + 0x77]
jmp 0x14002f38c
mov eax, edx
and eax, 0x40000000
bt edx, 0x1d
jae 0x14002f30b
neg eax
sbb r9d, r9d
and r9d, 0x10
add r9d, 0x10
mov eax, 0x40
jmp 0x14002f31b
neg eax
sbb r9d, r9d
neg r9d
inc r9d
mov eax, 4
test edx, edx
cmovs r9d, eax
mov edx, 1
cmp r9d, edx
jne 0x14002f355
mov ebx, dword [r14]
mov r8d, ebx
xor edx, edx
mov rcx, r10
call fcn.140060230
nop
mov qword [rbp - 9], rbx
mov rax, qword [rbp - 0x31]
mov qword [rbp - 1], rax
lea r8, [rbp - 9]
lea rdx, [rbp - 1]
jmp 0x14002f2c3
mov eax, dword [r14]
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rcx
mov dword [rbp - 0x39], edx
mov eax, dword [0x1400921e8]
mov dword gs:[0x68], eax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 7]
lea rdx, [rbp + 0xf]
mov rcx, qword [r13]
call fcn.14005f720
nop
mov dword [r15], eax
inc r12w
add r14, 0x28
cmp r12w, word [rdi + 6]
jb 0x14002f284
jmp 0x14002f3ab
mov dword [r9], 0xc000007b
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002fb04
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor r12d, r12d
call fcn.14002ed18
mov r15, rax
mov qword [rbp + 0x28], rax
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14002e544
mov rax, qword [rbp + 0x40]
mov qword [rbp], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x30]
call fcn.140031214
nop
lea rcx, [rbp]
call fcn.14002f16c
mov rdx, r14
lea rcx, [rbp]
call fcn.14002f3c8
mov rdi, rax
mov ebx, dword [r14 + 0x14]
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rcx]
mov rcx, qword [rdx + 0x30]
mov qword [rbp + 0x10], r12
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x10]
mov edx, 0x4199473d
call fcn.14000468c
mov r8, qword [rbp + 0x10]
test eax, eax
cmovs r8, r12
mov rdx, qword [0x140097b18]
mov eax, dword [0x140092084]
mov dword gs:[0x68], eax
lea r9, [rdi + rbx]
mov qword [rsp + 0x20], r12
mov rbx, qword [rbp + 8]
mov rcx, rbx
call fcn.14005f720
test eax, eax
js 0x14002fcdd
lea rcx, [rbp + 8]
call fcn.140003910
mov byte [rbp + 0x38], 1
mov eax, dword [0x1400920e4]
mov dword gs:[0x68], eax
xor edx, edx
or rcx, 0xffffffffffffffff
call fcn.14005f720
nop
cmp byte [rbp + 0x38], r12b
jne 0x14002fc79
mov rcx, qword [rbp + 0x30]
mov eax, dword [0x1400920e4]
mov dword gs:[0x68], eax
xor edx, edx
mov rcx, qword [rcx]
call fcn.14005f720
nop
cmp rbx, 0xfffffffffffffffe
cmove rbx, r12
mov qword [rbp + 8], rbx
test rbx, rbx
je 0x14002fc97
mov rcx, rbx
call qword [0x140068658]
mov qword [rbp + 8], r12
mov rcx, qword [rbp]
test rcx, rcx
je 0x14002fcaa
call qword [0x140068658]
mov qword [rbp], r12
test r15, r15
je 0x14002fcbc
mov rcx, r15
call qword [0x140068658]
mov qword [rbp + 0x28], r12
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, vtable.std::exception.0
mov qword [rbp + 0x60], rcx
xor ecx, ecx
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rcx
lea rcx, method.std::bad_alloc.virtual_0
mov qword [rbp + 0x60], rcx
mov dword [rbp + 0x78], 0xd000160c
mov dword [rbp + 0x7c], eax
lea rdx, [0x14008ec40]
lea rcx, [rbp + 0x60]
call sub.msvcrt.dll__CxxThrowException
int3