joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072160
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x140072194
mov ecx, esi
lea eax, [rcx - 0xd]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x140072180
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400721c9
mov r8d, listen
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140026700
nop
cmp byte [rbx + 0xb], 0
je 0x1400721f3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xa
jb 0x1400721e0
mov byte [rbx + 0xb], 0
lea rax, [rbx + 0xa]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x140072228
mov r8d, 0xa
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140026700
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140077fc0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140072281
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007227b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007227b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400722c1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400722bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400722bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400722d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x140072304
mov eax, esi
lea ecx, [rax - 0xd]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x1400722f0
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x140072339
mov r8d, listen
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140026700
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140072347
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140080860
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400723be
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400723b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400723b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400723d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140072404
mov ecx, esi
lea eax, [rcx - 0xd]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1400723f0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x140072439
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140026700
nop
cmp byte [rbx + 0xd], 0
je 0x140072463
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xc
jb 0x140072450
mov byte [rbx + 0xd], 0
lea rax, [rbx + 0xc]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x140072498
mov r8d, listen
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140026700
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140077fc0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400724f1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400724eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400724eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140072531
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007252c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007252c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x140079210
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 5], r8b
je 0x140079243
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x140079230
mov byte [rdx + 5], r8b
lea rcx, [rdx + 4]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14007926c
mov r8d, 4
mov rcx, rbx
call fcn.140026700
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140079280
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 8], r8b
je 0x1400792b3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 7
jb 0x1400792a0
mov byte [rdx + 8], r8b
lea rcx, [rdx + 7]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400792dc
mov r8d, 7
mov rcx, rbx
call fcn.140026700
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400792f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 9], r8b
je 0x140079323
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 8
jb 0x140079310
mov byte [rdx + 9], r8b
lea rcx, [rdx + 8]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14007934c
mov r8d, 8
mov rcx, rbx
call fcn.140026700
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140079360
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xa], r8b
je 0x140079393
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 9
jb 0x140079380
mov byte [rdx + 0xa], r8b
lea rcx, [rdx + 9]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400793bc
mov r8d, 9
mov rcx, rbx
call fcn.140026700
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400793d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x10], r8b
je 0x140079403
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x1400793f0
mov byte [rdx + 0x10], r8b
lea rcx, [rdx + 0xf]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14007942c
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.140026700
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140079440
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xb], r8b
je 0x140079473
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x140079460
mov byte [rdx + 0xb], r8b
lea rcx, [rdx + 0xa]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x14007949c
mov r8d, 0xa
mov rcx, rbx
call fcn.140026700
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400794b0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14015e098]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x40]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14007955d
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
jne 0x14007958c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov qword [rbx], rsi
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400d64d0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov qword [rbx], rdi
jmp 0x140079564
Function at 0x14007b8e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov cl, 0x58
mov word [rbp - 0x60], 0x58
movsx edx, cl
xor ebx, ebx
movzx eax, dx
mov word [rbp - 0x40], bx
xor ax, 0x17
mov word [rbp - 0x38], Ordinal_50
mov word [rbp - 0x5e], ax
movzx ecx, dx
xor cx, 0x78
movzx eax, dx
xor ax, 0x34
mov word [rbp - 0x50], cx
mov word [rbp - 0x5c], ax
mov word [rbp - 0x5a], ax
movzx eax, dx
xor ax, 0x21
mov word [rbp - 0x4c], cx
mov word [rbp - 0x58], ax
mov cl, Ordinal_50
movsx r9d, cl
movzx eax, dx
xor ax, 0x1c
movzx r8d, r9w
mov word [rbp - 0x56], ax
xor r8w, 0x44
movzx eax, dx
mov word [rbp - 0x30], r8w
xor ax, 0x3a
movzx ecx, r9w
mov word [rbp - 0x54], ax
xor cx, 0x54
movzx eax, dx
mov word [rbp - 0x22], cx
xor ax, 0x3f
mov word [rbp - 0x52], ax
movzx eax, dx
xor ax, 0x75
mov word [rbp - 0x4e], ax
movzx eax, dx
xor ax, 3
mov word [rbp - 0x4a], ax
movzx eax, dx
xor ax, 0x1b
mov word [rbp - 0x48], ax
movzx eax, dx
xor ax, 8
mov word [rbp - 0x46], ax
movzx eax, dx
xor ax, 0xd
xor dx, 5
mov word [rbp - 0x44], ax
movzx eax, r9w
xor ax, 0x78
mov word [rbp - 0x42], dx
mov word [rbp - 0x36], ax
movzx edx, r9w
xor dx, 0x11
movzx eax, r9w
xor ax, 0x5c
mov word [rbp - 0x26], dx
mov word [rbp - 0x34], ax
mov word [rbp - 0x32], ax
movzx eax, r9w
xor ax, 0x5f
mov word [rbp - 0x2e], ax
movzx eax, r9w
xor ax, 0x58
mov word [rbp - 0x2c], ax
movzx eax, r9w
xor ax, 0x45
mov word [rbp - 0x2a], ax
movzx eax, r9w
xor ax, 0x48
mov word [rbp - 0x28], ax
movzx eax, r9w
xor ax, 0x75
mov word [rbp - 0x24], ax
movzx eax, r9w
xor ax, 0x53
mov word [rbp - 0x20], ax
movzx eax, r9w
xor ax, 0x56
mov word [rbp - 0x18], cx
mov word [rbp - 0x1c], ax
xor ecx, ecx
mov word [rbp - 0x1a], ax
movzx eax, r9w
xor ax, 0x43
mov word [rbp - 0x14], dx
mov word [rbp - 0x16], ax
movzx eax, r9w
xor ax, 0x1c
mov word [rbp - 0x10], dx
mov word [rbp - 0x12], ax
lea rdx, [rbp - 0x5e]
movzx eax, r9w
mov word [rbp - 0x1e], r8w
xor ax, 0x6a
mov word [rbp - 4], bx
mov word [rbp - 0xe], ax
movzx eax, r9w
xor ax, 0x72
mov word [rbp - 0xc], ax
movzx eax, r9w
xor ax, 0x61
mov word [rbp - 0xa], ax
movzx eax, r9w
xor ax, 0x64
xor r9w, 0x6c
mov word [rbp - 8], ax
mov word [rbp - 6], r9w
call qword [sym.imp.USER32.dll_FindWindowW]
mov ecx, 1
lea rdx, [rbp - 0x36]
test rax, rax
cmovne ebx, ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14007bace
test ebx, ebx
je 0x14007bada
mov ecx, 0x1005
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x14007baf0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007bb0a
test ebx, ebx
je 0x14007bb1a
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x14007bbb0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 1
call fcn.14008bd59
jmp 0x14007bbc4
test ebx, ebx
je 0x14007bbd4
mov ecx, 0x4001
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x14007be20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x14007be43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xd]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x14007be30
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x14007be50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
je 0x14007be73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xd]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x12
jb 0x14007be60
mov byte [rcx + 0x13], 0
mov rax, rcx
ret

Function at 0x14007be80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x14007bea3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xd]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x14007be90
mov byte [rcx + 0x1a], 0
mov rax, rcx
ret

Function at 0x14007beb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x36], 0
je 0x14007bed3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xd]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x35
jb 0x14007bec0
mov byte [rcx + 0x36], 0
mov rax, rcx
ret

Function at 0x14007bee0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x14007bf03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xd]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x14007bef0
mov byte [rcx + 0xd], 0
mov rax, rcx
ret
Function at 0x14007c980
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14015e098]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rcx
mov byte [rsp + 0x20], dl
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
test rax, rax
je 0x14007cb76
mov r12d, 0x5a4d
cmp word [rax], r12w
jne 0x14007cb76
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x14007cb76
movzx ebx, word [rdi + 0x14]
lea rdx, [rsp + 0x30]
add rbx, 0x18
lea rcx, [rsp + 0x21]
mov r8, rax
add rbx, rdi
call fcn.1400794b0
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x14007cb76
mov rsi, qword [rsp + 0x30]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14007cb76
cmp word [r15], r12w
jne 0x14007cb64
movsxd rcx, dword [r15 + 0x3c]
add rcx, r15
cmp dword [rcx], 0x4550
jne 0x14007cb64
mov eax, dword [rdi + 8]
cmp dword [rcx + 8], eax
jne 0x14007cb64
movzx edx, word [rcx + 6]
cmp dx, word [rdi + 6]
jne 0x14007cb64
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
xor esi, esi
mov qword [rsp + 0x80], r13
add r12, rax
xor r13b, r13b
mov r9d, esi
mov r10d, edx
test edx, edx
je 0x14007cb42
nop
mov r8, rbp
mov rax, rbx
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14007caa3
inc rax
test ecx, ecx
jne 0x14007ca90
test edx, edx
jne 0x14007cab0
test dword [rbx + 0x24], 0x20000000
jne 0x14007cac5
inc r9d
add rbx, 0x28
add r12, 0x28
cmp r9d, r10d
jl 0x14007ca80
jmp 0x14007cb42
cmp dword [rbx + 0x10], esi
jbe 0x14007cb42
nop word [rax + rax]
mov eax, dword [r12 + 0x14]
mov ecx, dword [rbx + 0xc]
mov edi, esi
add rax, rdi
add rcx, rdi
add rcx, r14
movzx ebp, byte [rax + r15]
cmp byte [rcx], bpl
je 0x14007cb3b
cmp byte [rsp + 0x20], 0
je 0x14007cb38
mov edx, 1
mov dword [rsp + 0x24], 0x40
lea r9, [rsp + 0x28]
lea r8d, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0xc]
lea r9, [rsp + 0x24]
add rax, rdi
mov edx, 1
mov byte [rax + r14], bpl
mov ecx, dword [rbx + 0xc]
mov r8d, dword [rsp + 0x28]
add rcx, rdi
add rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r13b, 1
inc esi
cmp esi, dword [rbx + 0x10]
jb 0x14007cad0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r13b
mov r13, qword [rsp + 0x80]
jmp 0x14007cb78
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d64d0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14007cfc0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
mov r10, rcx
mov ecx, r9d
test r8, r8
je 0x14007d0a7
cmp r8, 8
jb 0x14007d086
mov r9, r8
lea r11, [rdx + 4]
and r9, 0xfffffffffffffff8
mov rax, r10
sub rax, rdx
xorps xmm3, xmm3
xorps xmm2, xmm2
movd xmm1, dword [rax + r11 - 4]
add rcx, 8
movd xmm0, dword [r11 - 4]
lea r11, [r11 + 8]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
punpcklbw xmm0, xmm0
psrad xmm1, 0x18
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm1, xmm0
movd xmm0, dword [r11 - 8]
punpcklbw xmm0, xmm0
por xmm3, xmm1
movd xmm1, dword [rax + r11 - 8]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
punpcklwd xmm0, xmm0
psrad xmm1, 0x18
psrad xmm0, 0x18
pxor xmm1, xmm0
por xmm2, xmm1
cmp rcx, r9
jb 0x14007cff3
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd r9d, xmm2
cmp rcx, r8
jae 0x14007d0a7
sub r10, rdx
lea rax, [rcx + rdx]
sub r8, rcx
movsx edx, byte [rax + r10]
movsx ecx, byte [rax]
lea rax, [rax + 1]
xor edx, ecx
or r9d, edx
sub r8, 1
jne 0x14007d090
test r9d, r9d
sete al
ret
Function at 0x1400822d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14015e098]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x10], rdx
mov dword [rbp - 0x40], 0x95968180
mov dword [rbp - 0x3c], 0x8a8b92
mov byte [rbp - 0x38], 1
xor edi, edi
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 7
jb 0x140082310
mov byte [rbp - 0x38], dil
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], dil
mov r8d, 7
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140026700
nop
cmp byte [rbx], 0
jne 0x14008235d
mov byte [rbx], 1
call fcn.1400740a0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140082374
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 8]
call fcn.140079120
mov rcx, rax
jmp 0x140082378
mov rcx, qword [rbp - 0x10]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, rdi
movzx eax, byte [rax]
mov byte [rsi + 0x210], al
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400823ca
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400823c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400823c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
mov dword [rbp - 0x40], 0x8586919e
mov dword [rbp - 0x3c], 0x9c9f96
mov byte [rbp - 0x38], 1
mov rcx, rdi
nop
lea eax, [rcx - 0xd]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 7
jb 0x1400823e0
mov byte [rbp - 0x38], 0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov r8d, 7
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140026700
nop
cmp byte [rbx], 0
jne 0x14008242d
mov byte [rbx], 1
call fcn.1400740a0
mov qword [rbx + 8], rax
cmp byte [rbx], 1
jne 0x140082441
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 8]
call fcn.140079120
jmp 0x140082445
mov rax, qword [rbp - 0x10]
cmp byte [rax], 3
jne 0x14008244e
mov rdi, qword [rax + 8]
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14008245c
mov rdi, qword [rdi]
lea rcx, [rsi + 0x218]
mov rdx, rdi
call fcn.140026700
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400824ab
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400824a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400824a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14007d790
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d64d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140086aa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 7], r8b
je 0x140086ad3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0xd]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 6
jb 0x140086ac0
mov byte [rdx + 7], r8b
lea rcx, [rdx + 6]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x140086afc
mov r8d, 6
mov rcx, rbx
call fcn.140026700
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14008bce0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 2]
and rax, 0xff
ret

Function at 0x14008bcf7
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0xbc]
and rax, 0x70
ret

Function at 0x14008bd2d
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov qword [rcx], rdx
mov qword [rcx + 8], rax
xor rax, rax
mov rax, 5
shr rax, 2
sub rax, rbx
cmp rax, rcx
rdtsc
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
ret

Function at 0x14008beb0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret