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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140014c30], 0
mov esi, r8d
mov rbp, rcx
je 0x14000be5d
mov eax, 0x3eb
jmp 0x14000bf33
cmp esi, 0x240
ja 0x14000be89
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2b8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14000beb5
and dword [rax], 0
jmp 0x14000beb5
lea eax, [r8 + 0x78]
movsxd rbx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14000beb5
mov dword [rax], 1
mov dword [rax + 0x68], esi
test rdi, rdi
jne 0x14000bebf
lea eax, [rdi + 8]
jmp 0x14000bf33
xor edx, edx
lea rbx, [rdi + 0x30]
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
and dword [rdi + 0x50], 0
lea rax, [0x14000aec0]
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140014a04]
mov qword [rdi + 0x20], rax
mov r8d, esi
mov rax, qword [rsp + 0x70]
mov rcx, rbp
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x10], rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x14000bf2f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
cmp eax, 0x3e5
je 0x14000bf2f
mov rcx, rdi
call fcn.14000a040
jmp 0x14000bf31
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000bf48
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140014c30], 0
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
je 0x14000bf75
mov eax, 0x3eb
jmp 0x14000bfd7
lea rbx, [rdx + 0x30]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
lea rax, [0x14000af20]
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140014a04]
mov qword [rdi + 0x20], rax
mov r8d, ebp
mov rax, qword [rsp + 0x70]
mov rcx, rsi
mov qword [rdi + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
jne 0x14000bfd5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000bfd7
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000c6a0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
Function at 0x1400342c8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14004c350], eax
call fcn.140034d70
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14004c350], 0
jne case.default.0x14003431e
mov ecx, 1
call fcn.140034d70
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
lahf
sub eax, 0xcabf37aa
call 0x181bcd8f1
nop
pop rdx
inc byte [0x12343b96e]
invalid
Function at 0x140001de0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 7
syscall
ret

Function at 0x1400027ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400027f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400027f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.MSVCP140.dll__sputn___basic_streambuf_DU__char_traits_D_std___std__QEAA_JPEBD_J_Z
jne 0x1400027f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400027f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400027f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400027f8
xor al, al
add rsp, 0x28
ret
Function at 0x140004ce0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140004d08
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140004d2e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140004d30
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140004d89
test ecx, ecx
jle 0x140004d69
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.14000893a
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140004d89
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140004d89
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140004db0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140004dd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140004de8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp 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]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004e04
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004e06
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004e42
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14000893a
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140004ede
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140004e7d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140004ebe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140004ede
cmp rbx, rax
ja 0x140004e90
test rbx, rbx
je 0x140004ede
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140005310
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000533d
xor eax, eax
jmp 0x1400054a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005377
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005377
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400054a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000549c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400053ba
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400053e5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400054a1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005454
sub eax, 1
je 0x140005454
cmp eax, 2
jne 0x14000549c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400054a1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005482
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000549c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400054a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140007a70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005f70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006043
cmp byte [rcx + 0x71], 0
je 0x140006043
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000603f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006004
sub eax, 1
je 0x140006008
cmp eax, 2
jne 0x14000603f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140007a70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006036
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000603f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005fec
xor al, al
jmp 0x140005fec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140007a70
add rsp, 0x60
pop rbx
ret
Function at 0x140007800
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140007861
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140007820
mov ecx, dword [r10]
jmp 0x14000794a
cmp ecx, 0x4e0
jb 0x14000794a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140007880
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400078d0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140007fd0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000840c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008456
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008456
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008456
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008456
cmp dword [rcx + 0x84], 0xe
jbe 0x140008456
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140008458
xor al, al
add rsp, 0x28
ret
Function at 0x140018de0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x140018e0d
xor al, al
jmp 0x140018f6f
mov rax, qword [0x140039700]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x140039708]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x140039710]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x140039718]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140039720]
mov qword [rcx + 0x20], rax
mov rax, qword [0x140039728]
mov qword [rcx + 0x28], rax
mov rax, qword [0x140039730]
mov qword [rcx + 0x30], rax
mov rax, qword [0x140039738]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140039740]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140018f61
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140018eb9
mov r11d, 2
jmp 0x140018edd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140018ed3
mov r11d, 1
jmp 0x140018edd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x140018f85
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140018f22
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x140018f3a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x140018f4a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140018f58
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x140018ea0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x140018f6a
Function at 0x180001190
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18000123b
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], 0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], 0
call fcn.180001250
test eax, eax
je 0x180001228
mov qword [rsp + 0x40], rsi
mov r9d, 0x40
mov esi, dword [rsp + 0x48]
mov r8d, 0x3000
mov edx, esi
mov qword [rsp + 0x30], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x18000121e
mov rdx, qword [rsp + 0x58]
mov r8d, esi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_CallWindowProcW]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
cmp qword [rsp + 0x58], 0
je 0x18000123b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140002c20
Capabilities:
Enumerate process modules

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x490
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x4a0], 0
je 0x140002c5e
mov eax, dword [rsp + 0x4a0]
mov dword [rsp + 0x24], eax
jmp 0x140002c6a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x30], eax
xor edx, edx
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140002d2e
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x438
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140002cc2
mov byte [rsp + 0x20], 1
jmp 0x140002cc7
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
jmp 0x140002cfa
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x140002cec
mov byte [rsp + 0x21], 1
jmp 0x140002cf1
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140002d23
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x68], eax
jne 0x140002d21
lea rcx, [rsp + 0x270]
call fcn.140001c50
mov qword [rsp + 0x38], rax
jmp 0x140002d23
jmp 0x140002cd2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001b810
add rsp, 0x490
pop rdi
ret

Function at 0x1400034f0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140097e48]
xor rax, rsp
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x48]
mov edx, 0x28
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x40]
lea rdx, [0x140043b58]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x50], 1
mov eax, 0xc
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + rax + 0x54], rcx
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x5c], 2
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001b810
add rsp, 0x88
ret
Function at 0x140002d10
Capabilities:
Execute command
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, [0x1400054ac]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, str.Welcome_to_WqustedWare_Fortnite_Tool__Enjoy_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.140001b40
lea rcx, [0x1400054ac]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x1400054ac]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x1400054ac]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [0x1400054ac]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140004684
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400046ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400046ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400046ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400046ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400046ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400046d0
xor al, al
add rsp, 0x28
ret
Function at 0x140001470
Capabilities:
Enumerate pe sections

Disassembly:
movzx r9d, byte [rcx]
movzx r10d, byte [rcx + 1]
movsxd r8, edx
add r8, rcx
movzx eax, byte [r8]
mov byte [rcx], al
movzx eax, byte [r8 + 1]
mov byte [rcx + 1], al
movzx eax, byte [r8 + 2]
mov byte [rcx + 2], al
movzx eax, byte [r8 + 3]
mov byte [rcx + 3], al
movzx eax, byte [r8 + 4]
mov byte [rcx + 4], al
movzx eax, byte [r8 + 5]
mov byte [rcx + 5], al
movzx eax, byte [r8 + 6]
mov byte [rcx + 6], al
movzx eax, byte [r8 + 7]
mov byte [rcx + 7], al
movzx eax, byte [r8 + 8]
mov byte [rcx + 8], al
movzx eax, byte [r8 + 9]
mov byte [rcx + 9], al
movzx eax, byte [r8 + 0xa]
mov byte [rcx + 0xa], al
movzx eax, byte [r8 + 0xb]
mov byte [rcx + 0xb], al
movzx eax, byte [r8 + 0xc]
mov byte [rcx + 0xc], al
movzx eax, byte [r8 + 0xd]
mov byte [rcx + 0xd], al
movzx eax, byte [r8 + 0xe]
mov byte [rcx + 0xe], al
movzx eax, byte [r8 + 0xf]
mov byte [rcx + 0xf], al
movzx eax, byte [r8 + 0x10]
mov byte [rcx + 0x10], al
movzx eax, byte [r8 + 0x11]
mov byte [rcx + 0x11], al
movzx eax, byte [r8 + 0x12]
mov byte [rcx + 0x12], al
movzx eax, byte [r8 + 0x13]
mov byte [rcx + 0x13], al
movzx eax, byte [r8 + 0x14]
mov byte [rcx + 0x14], al
movzx eax, byte [r8 + 0x15]
mov byte [rcx + 0x15], al
movzx eax, byte [r8 + 0x16]
mov byte [rcx + 0x16], al
movzx eax, byte [r8 + 0x17]
mov byte [rcx + 0x17], al
movzx eax, byte [r8 + 0x18]
mov byte [rcx + 0x18], al
movzx eax, byte [r8 + 0x19]
mov byte [rcx + 0x19], al
cmp edx, 1
jne 0x140001563
movzx eax, byte [rcx + 0x1b]
test r9b, r9b
mov byte [rcx + 0x1a], al
setne al
mov byte [rcx + 0x1b], al
ret
cmp edx, 2
jne 0x14000157a
test r9b, r9b
setne al
test r10b, r10b
mov byte [rcx + 0x1a], al
setne al
mov byte [rcx + 0x1b], al
ret