joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b73c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
mov rbp, r9
xor ecx, ecx
mov r12, r8
mov r13, rdx
test rdi, rdi
je 0x14000b86c
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14000b86c
movsxd r10, dword [rdi + 0x3c]
add r10, rdi
cmp dword [r10], 0x4550
jne 0x14000b86c
movzx eax, word [r10 + 0x14]
lea rbx, [r10 + 0x18]
movzx r14d, word [r10 + 6]
add rbx, rax
movzx esi, cx
cmp cx, r14w
jae 0x14000b86c
lea eax, [rcx + 1]
mov r11d, 8
mov r15, rbx
cmp rbp, rbx
je 0x14000b837
test rbp, rbp
je 0x14000b85b
test rbx, rbx
je 0x14000b85b
mov r9, rbp
lea r13d, [r11 - 7]
sub r9, rbx
movzx edx, byte [r9 + r15]
lea ecx, [rdx - 0x41]
cmp cl, 0x19
lea eax, [rdx + 0x20]
movzx r8d, al
cmova r8d, edx
movzx edx, byte [r15]
lea ecx, [rdx - 0x41]
cmp cl, 0x19
lea eax, [rdx + 0x20]
movzx r10d, al
cmova r10d, edx
add r15, r13
sub r11, r13
test r8b, r8b
je 0x14000b81e
cmp r8b, r10b
jne 0x14000b81e
test r11, r11
jne 0x14000b7de
mov r12, qword [rsp + 0x80]
mov r13, qword [rsp + 0x78]
movsx eax, r10b
movsx ecx, r8b
sub ecx, eax
jne 0x14000b854
mov ecx, dword [rbx + 0xc]
mov r9, r12
mov edx, dword [rbx + 8]
add rcx, rdi
mov r8, r13
call fcn.14000b5ac
xor ecx, ecx
test rax, rax
jne 0x14000b86e
jmp 0x14000b856
xor ecx, ecx
mov eax, 1
add si, ax
add rbx, 0x28
cmp si, r14w
jb 0x14000b7b4
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000b884
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x14], ebx
mov dword [rbp - 0x10], ecx
mov dword [rbp - 0xc], edx
mov dword [rbp - 0x58], ebx
mov dword [rbp - 0x54], edx
mov dword [rbp - 0x50], ecx
mov dword [rbp - 0x48], 0x756e6547
mov dword [rbp - 0x44], 0x49656e69
mov dword [rbp - 0x40], 0x6c65746e
xor eax, eax
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x48]
mov rcx, qword [rbp - 0x58]
sub rcx, qword [rbp - 0x48]
jne 0x14000b8ea
mov ecx, dword [rbp - 0x50]
mov eax, dword [rbp - 0x40]
sub rcx, rax
test rcx, rcx
sete dl
lea rdi, [rbp - 0x48]
xor eax, eax
lea ebx, [rax + 0x10]
mov ecx, ebx
rep stosb byte [rdi], al
test dl, dl
jne 0x14000b928
mov dword [rbp - 0x38], 0x68747541
mov dword [rbp - 0x34], 0x69746e65
mov dword [rbp - 0x30], 0x444d4163
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp - 0x38]
lea rdi, [rbp - 0x38]
xor eax, eax
mov ecx, ebx
rep stosb byte [rdi], al
jmp 0x14000b93b
mov eax, 1
xor ecx, ecx
cpuid
mov dword [rbp - 0x20], ecx
mov al, cl
shr al, 5
and al, 1
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x14000c178
Capabilities:
Hash data using fnv

Disassembly:
mov rdx, rcx
mov r9d, 0x400
test rcx, rcx
je 0x14000c1bc
movzx eax, word [rcx]
test ax, ax
je 0x14000c1bc
mov r8d, 0x811c9dc5
movzx eax, ax
lea rdx, [rdx + 2]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, word [rdx]
test ax, ax
je 0x14000c1b8
mov rcx, r9
dec r9
test rcx, rcx
jne 0x14000c194
mov eax, r8d
ret
xor eax, eax
ret

Function at 0x14000e1fc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
xor r9b, r9b
mov rbx, r8
xor eax, eax
mov r10, rdx
mov r11, rcx
mov byte [rsp + rax], al
inc rax
cmp rax, 0x100
jb 0x14000e21c
and word [rbp], 0
xor r8d, r8d
mov dl, byte [rsp + r8]
mov rax, r8
and eax, 0xf
mov cl, byte [rax + rbx]
add cl, dl
add r9b, cl
movzx ecx, r9b
mov al, byte [rsp + rcx]
mov byte [rsp + r8], al
inc r8
mov byte [rsp + rcx], dl
cmp r8, 0x100
jb 0x14000e232
test r10, r10
je 0x14000e2b0
mov r8b, byte [rbp + 1]
mov dl, byte [rbp]
inc dl
mov byte [rbp], dl
movzx edx, dl
add r8b, byte [rsp + rdx]
mov byte [rbp + 1], r8b
mov cl, byte [rsp + rdx]
movzx eax, r8b
mov al, byte [rsp + rax]
mov byte [rsp + rdx], al
movzx eax, byte [rbp + 1]
mov byte [rsp + rax], cl
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp]
mov cl, byte [rsp + r8]
add cl, byte [rsp + rdx]
movzx eax, cl
mov cl, byte [rsp + rax]
xor byte [r11], cl
inc r11
sub r10, 1
jne 0x14000e26a
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rbp
ret
Function at 0x140016794
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x1400167ac
mov r8, qword [rbx + 0x30]
mov r10, qword [rbx + 0x18]
and r8, r9
add r8, r8
mov r9, qword [r10 + r8*8]
mov rcx, r9
cmp r9, qword [rbx + 8]
jne 0x1400167ec
mov rax, qword [rbx + 8]
jmp 0x1400167f4
mov rax, qword [r10 + r8*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140016807
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x14001680b
mov rcx, qword [rcx]
jmp 0x1400167e0
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret
Function at 0x140016c30
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 0x140016c9c
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 0x140016c6c
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 0x140016cc4
mov rbx, qword [rsi + 8]
jmp 0x140016cd5
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 0x140016d33
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x48], rbx
mov rax, qword [rbx + 0x10]
cmp qword [r10], rax
jne 0x140016d31
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 0x140016e59
jmp 0x140016cda
mov rax, qword [rdi]
cmp rbx, rax
je 0x140016d68
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 0x140016d85
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140016db4
cmp rax, rbx
jne 0x140016d90
mov qword [rdx + r8*8], rdi
jmp 0x140016db4
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140016db4
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 [0x1400727e8]
test rax, rax
jns 0x140016dd5
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140016de6
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140016e4e
mov qword [rsp + 0x28], rdx
cmp rdx, 0x200
jae 0x140016e08
shl rdx, 3
mov qword [rsp + 0x28], rdx
jmp 0x140016e3d
movabs rax, 0x1fffffffffffffff
mov qword [rsp + 0x38], rax
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140016e3d
add rdx, rdx
mov qword [rsp + 0x28], rdx
mov rcx, rsi
call fcn.140003a88
mov rcx, rsi
call fcn.140016888
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 0x140016f24
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 0x140016f41
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140016f99
cmp qword [rcx + rdx*8], r8
jne 0x140016f8e
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140016f92
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140016fa6
cmp qword [rcx + rdx*8], r8
jne 0x140016fa6
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 0x140018258
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 0x1400182d2
mov rax, qword [rsp + 0x90]
mov dword [rax], 0xc000009a
jmp 0x140018331
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x20], rdi
mov r9, rbp
mov r8, rbx
mov rdx, r15
mov rcx, r12
call fcn.14000c1c0
nop
cmp dword [rdi], r13d
jl 0x140018331
cmp dword [rbx + 4], 1
je 0x140018304
mov dword [rdi], 0xd0001808
jmp 0x140018331
mov eax, dword [rbx + 8]
cmp rsi, rax
cmovae rsi, rax
lea rdx, [rbx + 0xc]
mov r8, rsi
mov rcx, r14
call fcn.1400600c0
nop
mov word [rsi + r14], r13w
mov r8, rbp
xor edx, edx
mov rcx, rbx
call fcn.140060530
nop
test rbx, rbx
je 0x14001835c
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 0x140028760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r9, rcx
test rcx, rcx
je 0x1400287a7
test rdx, rdx
je 0x1400287a7
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 0x140028773
mov eax, r8d
ret
xor eax, eax
ret
Function at 0x1400287ac
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x14002d58c
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 0x14002d61c
test rdx, rdx
je 0x14002d61c
mov qword [rcx + 0x20], rdx
lea rax, [r11 + 8]
mov qword [rcx + 0x28], r8
mov r9, rcx
mov dword [rcx + 0x30], 0x103
lea r8, [0x14002d218]
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 0x14002d610
mov esi, ebp
xor eax, eax
lock cmpxchg dword [rbx + 0x30], ebp
mov edi, eax
cmp eax, 0x103
jne 0x14002d618
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xbb8
jb 0x14002d5e9
jmp 0x14002d618
mov edi, dword gs:[0x68]
mov eax, edi
jmp 0x14002d621
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 0x14002d638
Capabilities:
Terminate thread

Disassembly:
test rcx, rcx
je 0x14002d6bc
push rbx
sub rsp, 0x20
or dword [rcx + 0x34], 4
mov rbx, rcx
test byte [rcx + 0x34], 1
je 0x14002d65c
call fcn.14002d1bc
and dword [rbx + 0x34], 0xfffffffe
and qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002d695
xor r8d, r8d
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x14002d686
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 0x14002d980
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 0x14002da06
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 0x14002d9d2
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.14002dc88
mov rdx, rbx
add rsi, 0x10
add rbx, 0x10
sub rbp, 1
jne 0x14002d9c0
test rdi, rdi
je 0x14002da83
mov r9, rdx
xor ecx, ecx
sub r9, rsi
mov r10, rbx
sub r10, rsi
mov r8, rsi
cmp rcx, rdi
jae 0x14002da38
mov al, byte [r9 + r8]
inc rcx
xor al, byte [r8]
mov byte [r10 + r8], al
inc r8
cmp rcx, 0x10
jb 0x14002da1c
cmp rcx, 0x10
jae 0x14002da5e
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 0x14002da4e
mov r8, r15
mov rdx, rbx
mov rcx, rbx
call fcn.14002dc88
mov rdx, rbx
cmp rdi, 0x10
jbe 0x14002da83
add rbx, 0x10
add rsi, 0x10
sub rdi, 0x10
jne 0x14002da0b
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 0x14002daa4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov rdx, rcx
test r11, r11
jne 0x14002dabc
or eax, 0xffffffff
jmp 0x14002dc80
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 + 0x6fb20]
movzx ecx, al
btc r8d, 0x18
and r8d, 0xff000000
mov eax, dword [rbx + rcx*4 + 0x6ef20]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rbx + rax*4 + 0x6f720]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rbx + rax*4 + 0x6f320]
mov eax, dword [r11 + 0xc]
and ecx, 0xff00
xor r8d, ecx
mov ecx, dword [r11 + 8]
xor r8d, r9d
lea r9, [0x14006eef4]
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 + 0x6ef20]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4 + 0x6fb20]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rbx + rax*4 + 0x6f720]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rbx + rax*4 + 0x6f320]
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, [0x14006ef18]
cmp r9, rax
jne 0x14002dbe7
xor eax, eax
mov rbx, qword [rsp + 8]
ret
Function at 0x14002e2dc
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 0x14002e38b
cmp rdx, 0x40
jb 0x14002e34f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002e34f
movsxd rcx, dword [rcx + 0x3c]
cmp dword [r8 + 0x3c], r9d
jl 0x14002e403
cmp rcx, rdx
jae 0x14002e403
cmp rcx, 0x7fffffe7
jae 0x14002e403
lea rax, [rcx + 0x18]
cmp rax, rdx
jae 0x14002e403
lea rax, [rcx + r8]
cmp dword [rax], 0x4550
jne 0x14002e3c7
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, [0x14008f0d0]
lea rcx, [rbp - 0x28]
call fcn.1400606c0
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, [0x14008f0d0]
lea rcx, [rbp - 0x28]
call fcn.1400606c0
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, [0x14008f0d0]
lea rcx, [rbp - 0x28]
call fcn.1400606c0
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, [0x14008f0d0]
lea rcx, [rbp - 0x28]
call fcn.1400606c0
int3
Function at 0x14002e5a4
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.14000d504
cmp dword [rbp + 0x80], 0
jge 0x14002e5e3
xor al, al
jmp 0x14002e72c
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 0x14002e710
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 0x14002e710
cmp dword [rbp + 0x78], 0x40
jne 0x14002e710
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14002e710
mov edx, dword [rsp + 0x7c]
test edx, edx
je 0x14002e710
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, edi
je 0x14002e710
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 0x14002e710
cmp dword [rbp + 0x78], edi
jne 0x14002e710
cmp dword [rsp + 0x40], 0x4550
jne 0x14002e710
mov eax, 0x8664
cmp word [rsp + 0x44], ax
jne 0x14002e710
movzx eax, word [rsp + 0x56]
mov ecx, 0x2022
and ax, cx
cmp ax, 0x22
jne 0x14002e710
mov eax, 0x20b
cmp word [rsp + 0x58], ax
jne 0x14002e710
movzx eax, word [rbp - 0x64]
sub ax, 2
mov di, 1
cmp ax, di
ja 0x14002e710
cmp dword [rsp + 0x68], 0
je 0x14002e710
cmp dword [rbp - 0x3c], 0x10
jb 0x14002e710
cmp dword [rbp + 0x38], 0
jne 0x14002e710
cmp dword [rbp + 0x3c], 0
jne 0x14002e710
cmp dword [rbp - 0x20], 0
je 0x14002e710
cmp dword [rbp - 0x1c], 0
je 0x14002e710
cmp dword [rbp + 0x10], 0
jne 0x14002e710
cmp dword [rbp + 0x14], 0
je 0x14002e713
xor dil, dil
test rbx, rbx
je 0x14002e729
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 0x14002f360
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 0x14002f3b7
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.14005fa20
nop
add rsp, 0x40
pop rbx
ret

Function at 0x14002f3c0
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 0x14002f598
movsxd rdi, dword [rdx + 0x3c]
add rdi, rdx
cmp dword [rdi], 0x4550
jne 0x14002f598
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.14005fa20
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 0x14002f59f
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 0x14002f4de
mov ebx, dword [r14]
mov r8d, ebx
xor edx, edx
mov rcx, r10
call fcn.140060530
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.14005fa20
nop
mov rbx, qword [rbp + 0x77]
jmp 0x14002f580
mov eax, edx
and eax, 0x40000000
bt edx, 0x1d
jae 0x14002f4ff
neg eax
sbb r9d, r9d
and r9d, 0x10
add r9d, 0x10
mov eax, 0x40
jmp 0x14002f50f
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 0x14002f549
mov ebx, dword [r14]
mov r8d, ebx
xor edx, edx
mov rcx, r10
call fcn.140060530
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 0x14002f4b7
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.14005fa20
nop
mov dword [r15], eax
inc r12w
add r14, 0x28
cmp r12w, word [rdi + 6]
jb 0x14002f478
jmp 0x14002f59f
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