joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400182a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53f0], 0
lea rbx, [rcx + 0x53f8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018347
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400182fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001a340
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004d10
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53f0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5400]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14008ab40]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001834f
mov rcx, rbx
call fcn.140004d10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400188c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14008ab30]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018923
mov qword [rsp], rbx
lea rbx, [0x140052d90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018903
cmp byte [r8], r9b
jne 0x140018903
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400188f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018957
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001895e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140018944
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400361f0
Capabilities:
Parse pe header

Disassembly:
cmp byte [rcx + 0x2b], 0
je 0x1400362a5
xor byte [rcx], 0x40
xor byte [rcx + 1], 0x41
xor byte [rcx + 2], 0x42
xor byte [rcx + 3], 0x43
xor byte [rcx + 4], 0x44
xor byte [rcx + 5], 0x45
xor byte [rcx + 6], 0x46
xor byte [rcx + 7], 0x47
xor byte [rcx + 8], 0x48
xor byte [rcx + 9], 0x49
xor byte [rcx + 0xa], 0x4a
xor byte [rcx + 0xb], 0x4b
xor byte [rcx + 0xc], 0x4c
xor byte [rcx + 0xd], 0x4d
xor byte [rcx + 0xe], 0x4e
xor byte [rcx + 0xf], 0x4f
xor byte [rcx + 0x10], 0x50
xor byte [rcx + 0x11], 0x51
xor byte [rcx + 0x12], 0x52
xor byte [rcx + 0x13], 0x53
xor byte [rcx + 0x14], 0x54
xor byte [rcx + 0x15], 0x55
xor byte [rcx + 0x16], 0x56
xor byte [rcx + 0x17], 0x57
xor byte [rcx + 0x18], 0x58
xor byte [rcx + 0x19], 0x59
xor byte [rcx + 0x1a], 0x5a
xor byte [rcx + 0x1b], 0x5b
xor byte [rcx + 0x1c], 0x5c
xor byte [rcx + 0x1d], 0x5d
xor byte [rcx + 0x1e], 0x5e
xor byte [rcx + 0x1f], 0x5f
xor byte [rcx + 0x20], 0x60
xor byte [rcx + 0x21], 0x61
xor byte [rcx + 0x22], 0x62
xor byte [rcx + 0x23], 0x63
xor byte [rcx + 0x24], 0x64
xor byte [rcx + 0x25], 0x65
xor byte [rcx + 0x26], 0x66
xor byte [rcx + 0x27], 0x67
xor byte [rcx + 0x28], 0x68
xor byte [rcx + 0x29], 0x69
mov byte [rcx + 0x2b], 0
mov rax, rcx
ret
Function at 0x1400362e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r10, qword [0x14008ae30]
mov qword [r11 - 0x30], 0
test r10, r10
jne 0x1400364a7
mov rax, qword gs:[0x60]
mov r10d, 0xdf6a51c
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
xor ebp, ebp
mov qword [r11 + 0x18], rsi
mov rcx, qword [rax + 0x18]
mov qword [r11 - 8], rdi
mov qword [r11 - 0x18], r15
mov qword [r11 - 0x10], r14
mov r15, qword [rcx + 0x10]
mov rdi, r15
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x14003639c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140036394
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140036380
cmp edx, ebp
jne 0x140036464
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r11d, ecx
shr r14, 0x20
add r11, r9
cmp r11, r9
je 0x140036464
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140036464
mov esi, dword [r11 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140036417
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140036400
cmp edx, r10d
je 0x140036423
test r8d, r8d
jne 0x1400363e0
jmp 0x140036464
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
cmp r10, r11
jbe 0x140036476
lea rax, [r14 + r11]
cmp r10, rax
jae 0x140036476
mov ebp, 0x811c9dc5
mov rdi, r15
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r10, qword [rsp + 0x50]
shr r10, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r15
jne 0x140036350
xor r10d, r10d
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov qword [0x14008ae30], r10
movdqa xmm0, xmmword [0x140059a50]
lea rax, [rsp + 0x58]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x46], 0x5f5f58
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x40], 0x565c5444
mov rcx, 0xffffffff80000002
mov word [rsp + 0x44], 0x4f42
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x4a], 0
call r10
test eax, eax
jne 0x140036503
mov qword [0], 1
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004e970
add rsp, 0x88
ret
Function at 0x140037980
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rax - 0x18]
mov rdi, rcx
mov word [rax - 0x11], 0x20
mov rcx, rbx
mov dword [rax - 0x18], 0x6f727265
mov word [rax - 0x14], 0x2072
mov byte [rax - 0x12], 0x3a
mov byte [rax - 0xf], 0
call fcn.14004d800
mov rdx, rdi
mov rcx, rbx
call fcn.14004d800
lea rdx, [0x14004d9e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140037a67
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140037a67
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140037a62
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140037a40
cmp r8d, 0x2fa62ca8
je 0x140037a6c
test r9d, r9d
jne 0x140037a20
mov rax, qword [rax]
jmp 0x1400379f0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0xbb8
add rax, r10
call rax
mov rbx, qword [rsp + 0x40]
mov qword [0], 1
add rsp, 0x30
pop rdi
ret
Function at 0x140037ab0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x14008ae10]
mov eax, dword [0x14008aee0]
mov dword [0x14008aec8], eax
test rcx, rcx
jne 0x140037c59
mov rax, qword gs:[0x60]
mov r11d, 0xf4d8b55
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
xor ebp, ebp
mov qword [rsp + 0x58], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r14
mov r15, qword [rcx + 0x10]
mov rdi, r15
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x140037b5c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140037b54
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140037b40
cmp edx, ebp
jne 0x140037c23
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r10d, ecx
shr r14, 0x20
add r10, r9
cmp r10, r9
je 0x140037c23
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140037c23
mov esi, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140037bd7
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140037bc0
cmp edx, r11d
je 0x140037be3
test r8d, r8d
jne 0x140037ba0
jmp 0x140037c23
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, r10
jbe 0x140037c34
lea rax, [r14 + r10]
cmp rcx, rax
jae 0x140037c34
mov ebp, 0x811c9dc5
mov rdi, r15
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x44], ebp
mov r11, qword [rsp + 0x40]
shr r11, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r15
jne 0x140037b10
xor ecx, ecx
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [0x14008ae10], rcx
call rcx
mov ecx, dword [0x14008aec8]
mov dword [0x14008aee0], eax
test ecx, ecx
je 0x140037ca2
sub eax, ecx
cmp eax, 0x1770
jbe 0x140037ca2
lea rcx, [rsp + 0x40]
mov word [rsp + 0x43], 0x65
mov word [rsp + 0x40], 0x6954
mov byte [rsp + 0x42], 0x6d
mov byte [rsp + 0x45], 0
call fcn.140037980
mov qword [0], 1
xor eax, eax
add rsp, 0x38
ret
Function at 0x14003adc0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14008ae90]
test rax, rax
jne 0x14003afa5
xor r10d, r10d
mov dword [rsp + 0x28], r10d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov r11, qword [rcx + 0x10]
mov qword [rsp + 0x48], r11
mov r15, r11
mov qword [rsp + 0x50], r11
mov rcx, r11
nop dword [rax + rax]
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r10d, r10d
je 0x14003ae76
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r9, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r9
je 0x14003ae6d
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x14003ae50
cmp r8d, r10d
jne 0x14003af85
mov rbx, qword [r11 + 0x30]
mov qword [rsp + 0x68], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rcx + rbx + 0x88]
mov qword [rsp + 0xa8], r14
mov r9d, r14d
add r9, rbx
mov qword [rsp + 0x70], r9
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r9, rbx
je 0x14003af85
mov edi, dword [r9 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x14003af85
mov edx, dword [r9 + 0x20]
add rdx, rbx
mov r8d, dword [rdx + rdi*4]
add r8, rbx
mov qword [rsp + 0x40], r8
mov edx, 0x811c9dc5
nop dword [rax + rax]
movsx ecx, byte [r8]
inc r8
mov qword [rsp + 0x40], r8
test cl, cl
jne 0x14003af78
cmp edx, eax
jne 0x14003af73
mov ecx, dword [r9 + 0x1c]
add rcx, rbx
mov eax, dword [r9 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r9
jbe 0x14003af9b
lea rax, [r9 + r14]
cmp rdx, rax
jae 0x14003af9b
mov r10d, 0x811c9dc5
mov dword [rsp + 0xa0], r10d
mov eax, r10d
mov dword [rsp + 0xa4], eax
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0x2e
je 0x14003af51
inc rdx
jmp 0x14003af42
inc rdx
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0
je 0x14003af60
jmp 0x14003af51
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r10d
mov r11, r15
mov qword [rsp + 0x48], r15
jmp 0x14003af85
jmp 0x14003aec0
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x14003aef0
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
jne 0x14003ae20
xor edx, edx
mov qword [0x14008ae90], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x14003afb0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140048be0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x140048c14
movsxd rax, ecx
lea rdx, [0x140089dc0]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400594b0]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
test rdx, rdx
jne 0x140048c43
mov r8d, 0xa
lea rdx, str.Select_Key
jmp 0x140048c5a
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140048c50
lea rcx, [rsp + 0x38]
call fcn.140031880
cmp ebx, 1
jne 0x140048c80
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rsp + 0x38]
call fcn.140031880
mov dword [rsp + 0x30], 0x42fa0000
mov dword [rsp + 0x34], 0x41c80000
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.14002de70
test al, al
je 0x140048cd1
test ebx, ebx
jne 0x140048cd1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140048d11
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048d0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004ed34
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004e970
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14004d180
Capabilities:
Parse pe header

Disassembly:
cmp byte [rcx + 0x3f], 0
je 0x14004d285
xor byte [rcx], 0x40
xor byte [rcx + 1], 0x41
xor byte [rcx + 2], 0x42
xor byte [rcx + 3], 0x43
xor byte [rcx + 4], 0x44
xor byte [rcx + 5], 0x45
xor byte [rcx + 6], 0x46
xor byte [rcx + 7], 0x47
xor byte [rcx + 8], 0x48
xor byte [rcx + 9], 0x49
xor byte [rcx + 0xa], 0x4a
xor byte [rcx + 0xb], 0x4b
xor byte [rcx + 0xc], 0x4c
xor byte [rcx + 0xd], 0x4d
xor byte [rcx + 0xe], 0x4e
xor byte [rcx + 0xf], 0x4f
xor byte [rcx + 0x10], 0x50
xor byte [rcx + 0x11], 0x51
xor byte [rcx + 0x12], 0x52
xor byte [rcx + 0x13], 0x53
xor byte [rcx + 0x14], 0x54
xor byte [rcx + 0x15], 0x55
xor byte [rcx + 0x16], 0x56
xor byte [rcx + 0x17], 0x57
xor byte [rcx + 0x18], 0x58
xor byte [rcx + 0x19], 0x59
xor byte [rcx + 0x1a], 0x5a
xor byte [rcx + 0x1b], 0x5b
xor byte [rcx + 0x1c], 0x5c
xor byte [rcx + 0x1d], 0x5d
xor byte [rcx + 0x1e], 0x5e
xor byte [rcx + 0x1f], 0x5f
xor byte [rcx + 0x20], 0x60
xor byte [rcx + 0x21], 0x61
xor byte [rcx + 0x22], 0x62
xor byte [rcx + 0x23], 0x63
xor byte [rcx + 0x24], 0x64
xor byte [rcx + 0x25], 0x65
xor byte [rcx + 0x26], 0x66
xor byte [rcx + 0x27], 0x67
xor byte [rcx + 0x28], 0x68
xor byte [rcx + 0x29], 0x69
xor byte [rcx + 0x2a], 0x6a
xor byte [rcx + 0x2b], 0x6b
xor byte [rcx + 0x2c], 0x6c
xor byte [rcx + 0x2d], 0x6d
xor byte [rcx + 0x2e], 0x6e
xor byte [rcx + 0x2f], 0x6f
xor byte [rcx + 0x30], 0x70
xor byte [rcx + 0x31], 0x71
xor byte [rcx + 0x32], 0x72
xor byte [rcx + 0x33], 0x73
xor byte [rcx + 0x34], 0x74
xor byte [rcx + 0x35], 0x75
xor byte [rcx + 0x36], 0x76
xor byte [rcx + 0x37], 0x77
xor byte [rcx + 0x38], 0x78
xor byte [rcx + 0x39], 0x79
xor byte [rcx + 0x3a], 0x7a
xor byte [rcx + 0x3b], 0x7b
xor byte [rcx + 0x3c], 0x7c
xor byte [rcx + 0x3d], 0x7d
mov byte [rcx + 0x3f], 0
ret

Function at 0x14004f71c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004f766
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004f766
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004f766
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004f766
cmp dword [rcx + 0x84], 0xe
jbe 0x14004f766
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004f768
xor al, al
add rsp, 0x28
ret
Function at 0x180001f70
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push r12
push r14
push r15
sub rsp, 0x50
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rax + 0x20], ebx
test rcx, rcx
je 0x18000203a
test rdx, rdx
je 0x18000203a
test r8d, r8d
je 0x18000203a
mov rcx, rdx
call fcn.180001c20
mov r15d, eax
test eax, eax
je 0x18000203a
mov r12d, r14d
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, r14d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x18000203a
mov qword [rsp + 0x20], rbx
mov r9d, r12d
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000203a
lea r9, [r14 + r15]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor edx, edx
mov r8d, 0x100000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov qword [rsp + 0x40], rax
jmp 0x180002043
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop r12
ret
Function at 0x140003fb0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.14000fe50
sub rsp, rax
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbp, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor r14d, r14d
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
je 0x140004032
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.140002850
test al, al
jne 0x14000403a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_read_module_headers
call fcn.140005e70
lea rdx, [0x140006050]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, r14
jmp 0x140004122
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
inc rdi
cmp byte [rdi + rbp], r14b
jne 0x140004061
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, r14d
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
cmp r14w, r15w
jae 0x1400040dc
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, rbp
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400040d5
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r14b
jne 0x1400040c3
cmp rdi, rax
je 0x14000415c
inc esi
cmp esi, r15d
jb 0x1400040a0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Cant_find_section
call fcn.140005e70
lea rdx, [0x140006050]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, r14
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, r14d
mov qword [rsp + 0x20], rax
call fcn.140003e40
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14000ec00
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1400040dc
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x50]
add rcx, rax
je 0x1400040dc
test edx, edx
je 0x1400040dc
lea rax, [rsp + 0x50]
mov r14d, edx
sub rcx, rax
lea rdx, [rcx + r13]
jmp 0x140004102