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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140128cf2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140128d39
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140128d92
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140128d50
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140128dd3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14013f8cb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14013f8cc]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140128da0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140128df8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140128e32
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140128e37
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140128e80
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140128e80
dec r8
sub rdx, 1
jne 0x140128e66
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140129644
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140128f10
mov ebx, eax
test eax, eax
jne 0x140129674
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1401296d7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401296ce
test al, 0x10
je 0x1401296ce
bt eax, 0xa
jae 0x1401296c7
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1401296e8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1401296c3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1401296c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1401296ce
and dword [rsp + 0x3c], 0
jmp 0x1401296d3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14012aa68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14012aab2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14012aab2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14012aab2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14012aab2
cmp dword [rcx + 0x84], 0xe
jbe 0x14012aab2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14012aab4
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x38
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x37d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
mov r8d, 0x37d
lea rdx, section..data
mov rcx, qword [rsp + 0x20]
call fcn.140001aa0
call qword [rsp + 0x20]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14000546c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005268
Function at 0x140008500
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140008530
xor eax, eax
jmp 0x1400085f3
mov rbp, rbx
cmp word [rax], si
je 0x140008555
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000853c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008538
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140008420
movsxd r14, eax
test eax, eax
jne 0x140008593
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008529
mov rcx, r14
call fcn.1400093dc
mov rdi, rax
test rax, rax
jne 0x1400085ac
xor ecx, ecx
call fcn.140006a80
jmp 0x140008588
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140008420
test eax, eax
jne 0x1400085dd
mov rcx, rdi
call fcn.140006a80
jmp 0x1400085e7
xor ecx, ecx
call fcn.140006a80
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000bb10
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400074f0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000bb9a
cmp byte [rbp - 0x21], r15b
je 0x14000bb95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000bbd0
call fcn.140009c18
test eax, eax
jne 0x14000bbbc
cmp byte [rbp - 0x21], r15b
je 0x14000bbb4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000bbd0
cmp byte [rbp - 0x21], r15b
je 0x14000bbcd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140006ad0
test eax, eax
jne 0x14000bc70
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400074f0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000bc0f
cmp byte [rbp - 0x21], r15b
je 0x14000bc44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000bc44
call fcn.140009c18
test eax, eax
jne 0x14000bc30
cmp byte [rbp - 0x21], r15b
je 0x14000bc29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000bc44
cmp byte [rbp - 0x21], r15b
je 0x14000bc41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140006ad0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000bc70
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000bc73
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000bc81
mov rcx, rdi
call fcn.140006a80
cmp byte [rbp + 0x3f], r15b
je 0x14000bc90
mov rcx, qword [rbp + 0x27]
call fcn.140006a80
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400054c0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400054d0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x1400054d0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400054d0]
mov dword [rax], 1
mov rax, qword [0x140005510]
mov rdx, rax
mov rax, qword [0x140005500]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x140009024], 1
mov rax, qword [0x1400054d0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400054f0]
mov rdx, rax
mov rax, qword [0x1400054e0]
mov rcx, rax
call sym._initterm
mov rax, qword [0x1400054d0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400054c0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140005410]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140005410]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400054b0]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x140009004]
lea rdx, [0x140009008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x140005440]
mov rax, qword [rax]
mov rdx, qword [0x140009010]
mov qword [rax], rdx
mov rcx, qword [0x140009010]
mov rdx, qword [0x140009008]
mov eax, dword [0x140009004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14000901c], eax
mov eax, dword [0x140009020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000901c]
mov ecx, eax
call sym.exit
mov eax, dword [0x140009024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000901c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005470]
mov dword [rax], 1
mov rax, qword [0x140005480]
mov dword [rax], 1
mov rax, qword [0x140005490]
mov dword [rax], 1
mov rax, qword [0x140005430]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400016d0
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x240
lea rbp, [rsp + 0x80]
lea rax, [rbp - 0x60]
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
lea rax, [rbp + 0xb0]
mov rdx, rax
mov ecx, 0x104
mov rax, qword [sym.imp.KERNEL32.dll_GetTempPathA]
call rax
lea rax, [rbp - 0x60]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::wcout]
mov rcx, rax
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::operator____wchar_t__std::char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t_____char_const_
mov rcx, rax
mov rax, qword [0x1400053c0]
mov rdx, rax
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t___::operator___std::basic_ostream_wchar_t__std::char_traits_wchar_t_______std::basic_ostream_wchar_t__std::char_traits_wchar_t_____
lea rax, [rbp + 0xb0]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::wcout]
mov rcx, rax
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::operator____wchar_t__std::char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t_____char_const_
mov rcx, rax
mov rax, qword [0x1400053c0]
mov rdx, rax
call sym.std::basic_ostream_wchar_t__std::char_traits_wchar_t___::operator___std::basic_ostream_wchar_t__std::char_traits_wchar_t_______std::basic_ostream_wchar_t__std::char_traits_wchar_t_____
lea rax, [0x140005050]
add rsp, 0x240
pop rbp
ret
Function at 0x140001af0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400027c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x14000285a
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x14000283e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002832
cmp qword [rbp - 0x10], 0
je 0x140002832
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400027f8
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000285b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140002960
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002988
mov eax, 0
jmp 0x1400029d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400029b1
mov eax, 0
jmp 0x1400029d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400029d1
mov eax, 0
jmp 0x1400029d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400029dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140002a5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002a51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140002a51
mov rax, qword [rbp - 8]
jmp 0x140002a6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140002a24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, r9
mov esi, r8d
mov rbx, rdx
mov r13, rcx
mov r15, qword [rbp + 0x60]
test r8b, 0xf
jne 0x1400014bb
mov ecx, esi
call fcn.140002f44
mov r12, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.140002f44
mov r14, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140002060
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x20], xmm0
xor r15d, r15d
test esi, esi
je 0x140001489
nop
movzx eax, byte [r15 + rbx]
xor byte [rbp - 0x20], al
movzx eax, byte [rbx + r15 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [rbx + r15 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [rbx + r15 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [rbx + r15 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [rbx + r15 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [rbx + r15 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [rbx + r15 + 7]
xor byte [rbp - 0x19], al
movzx eax, byte [rbx + r15 + 8]
xor byte [rbp - 0x18], al
movzx eax, byte [rbx + r15 + 9]
xor byte [rbp - 0x17], al
movzx eax, byte [rbx + r15 + 0xa]
xor byte [rbp - 0x16], al
movzx eax, byte [rbx + r15 + 0xb]
xor byte [rbp - 0x15], al
movzx eax, byte [rbx + r15 + 0xc]
xor byte [rbp - 0x14], al
movzx eax, byte [rbx + r15 + 0xd]
xor byte [rbp - 0x13], al
movzx eax, byte [rbx + r15 + 0xe]
xor byte [rbp - 0x12], al
movzx eax, byte [rbx + r15 + 0xf]
xor byte [rbp - 0x11], al
lea rdi, [r15 + r12]
mov r9, r14
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.140001750
movups xmm1, xmmword [rdi]
movups xmmword [rbp - 0x20], xmm1
add r15d, 0x10
cmp r15d, esi
jb 0x1400013d0
mov rcx, r14
call fcn.140002f00
mov rax, r12
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002ee0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x60]
call fcn.1400012b0
nop
mov r8, rax
lea rcx, [rbp - 0x40]
call fcn.140002460
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140001240
lea rdx, [0x140027ec8]
lea rcx, [rbp - 0x20]
call fcn.140008ec4
int3
Function at 0x1400014f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov r14d, r8d
mov rbp, rdx
mov qword [rsp + 0x20], rdx
mov r13, rcx
test r8b, 0xf
jne 0x140001689
mov ecx, r14d
call fcn.140002f44
mov rbx, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.140002f44
mov r15, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140002060
mov rcx, qword [rsp + 0xf0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x68], xmm0
xor r12d, r12d
test r14d, r14d
je 0x140001653
nop word [rax + rax]
mov esi, r12d
lea rdi, [r12 + rbx]
add rbp, rsi
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rcx, r13
call fcn.140001bf0
movzx eax, byte [rsp + 0x68]
xor byte [rdi], al
movzx eax, byte [rsp + 0x69]
xor byte [r12 + rbx + 1], al
movzx eax, byte [rsp + 0x6a]
xor byte [r12 + rbx + 2], al
movzx eax, byte [rsp + 0x6b]
xor byte [r12 + rbx + 3], al
movzx eax, byte [rsp + 0x6c]
xor byte [r12 + rbx + 4], al
movzx eax, byte [rsp + 0x6d]
xor byte [r12 + rbx + 5], al
movzx eax, byte [rsp + 0x6e]
xor byte [r12 + rbx + 6], al
movzx eax, byte [rsp + 0x6f]
xor byte [r12 + rbx + 7], al
movzx eax, byte [rsp + 0x70]
xor byte [r12 + rbx + 8], al
movzx eax, byte [rsp + 0x71]
xor byte [r12 + rbx + 9], al
movzx eax, byte [rsp + 0x72]
xor byte [r12 + rbx + 0xa], al
movzx eax, byte [rsp + 0x73]
xor byte [r12 + rbx + 0xb], al
movzx eax, byte [rsp + 0x74]
xor byte [r12 + rbx + 0xc], al
movzx eax, byte [rsp + 0x75]
xor byte [r12 + rbx + 0xd], al
movzx eax, byte [rsp + 0x76]
xor byte [r12 + rbx + 0xe], al
movzx eax, byte [rsp + 0x77]
xor byte [r12 + rbx + 0xf], al
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x68], xmm0
add r12d, 0x10
cmp r12d, r14d
mov rbp, qword [rsp + 0x20]
jb 0x140001580
mov rcx, r15
call fcn.140002f00
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002ee0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x28]
call fcn.1400012b0
nop
mov r8, rax
lea rcx, [rsp + 0x48]
call fcn.140002460
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140001240
lea rdx, [0x140027ec8]
lea rcx, [rsp + 0x68]
call fcn.140008ec4
int3