joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005780c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov edi, edx
mov r15, rcx
test edx, edx
jne 0x14005785c
lea r8d, [rdx + 0x30]
lea rcx, [rax - 0x50]
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov edi, dword [rsp + 0x48]
cmp edi, 1
jae 0x14005785c
mov eax, 0x80070057
jmp 0x140057a0c
xor ebx, ebx
mov qword [rsp + 0x90], rbx
lea ecx, [rbx + 0x38]
call fcn.1400ca818
test rax, rax
je 0x1400578a3
lea rcx, [0x1400d6948]
mov qword [rax], rcx
and qword [rax + 8], rbx
lea rcx, [0x1400d6d70]
mov qword [rax + 0x10], rcx
and qword [rax + 0x18], rbx
lea rcx, [0x1400d6d78]
mov qword [rax + 0x20], rcx
and qword [rax + 0x28], rbx
and qword [rax + 0x30], rbx
test rax, rax
je 0x1400578c0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140057a74
mov rbx, qword [rsp + 0x90]
lea r8, [rbx + 8]
lea rdx, [0x140057a30]
mov ecx, 4
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400578fd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov esi, 0x80004005
test ebx, ebx
cmovns ebx, esi
jmp 0x1400579a4
xor r8d, r8d
mov rdx, rbx
lea rcx, [0x140057a30]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWork]
mov rsi, rax
mov rcx, qword [rbx + 0x28]
cmp rax, rcx
je 0x14005792b
test rcx, rcx
je 0x140057927
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CloseThreadpoolWork]
mov qword [rbx + 0x28], rsi
cmp qword [rbx + 0x28], 0
jne 0x140057956
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov esi, 0x80004005
test ecx, ecx
cmovns ecx, esi
test ecx, ecx
jns 0x14005795b
jmp 0x1400579a2
mov esi, 0x80004005
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpool]
mov r14, rax
mov rcx, qword [rbx + 0x18]
cmp rax, rcx
je 0x14005797e
test rcx, rcx
je 0x14005797a
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CloseThreadpool]
mov qword [rbx + 0x18], r14
cmp qword [rbx + 0x18], 0
jne 0x1400579b5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovns ecx, esi
test ecx, ecx
jns 0x1400579b5
mov ebx, ecx
lea rcx, [rsp + 0x90]
call fcn.140057b10
mov eax, ebx
jmp 0x140057a0c
mov edx, edi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SetThreadpoolThreadMaximum]
lea rcx, [r15 + 0x10]
lea rax, [rsp + 0x90]
cmp rcx, rax
je 0x1400579e9
and qword [rsp + 0x90], 0
cmp rbx, qword [rcx]
je 0x1400579e9
mov rdx, rbx
call fcn.140057a74
nop
lea rcx, [rsp + 0x90]
call fcn.140057b10
xor eax, eax
jmp 0x140057a0c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400582a0
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0xc8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea rdx, [rbx + 0xb0]
mov rcx, rbx
call fcn.140058048
xor edi, edi
test eax, eax
js 0x14005833f
mov rcx, qword [rbx + 0xf8]
call fcn.14005ad34
test eax, eax
js 0x14005833f
mov qword [rbx + 0xd0], rdi
lea rdx, [rbx + 0xd0]
mov qword [rbx + 0xd8], rdi
mov qword [rbx + 0xe0], rdi
mov rax, qword [rbx + 0xc8]
mov rcx, qword [rbx + 0xb8]
mov qword [rbx + 0xe8], rax
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_ConnectNamedPipe]
test eax, eax
jne 0x140058322
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
mov dword [rbx + 0xf0], edi
cmp edi, 0x3e5
je 0x14005833d
mov rcx, qword [rbx + 0xe8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005a01c
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rbx, rdx
mov rdi, rcx
mov esi, 1
lock add dword [rcx + 0x58], esi
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_StartThreadpoolIo]
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x40], sil
mov rcx, qword [rbx]
add rcx, 0xb0
xor edx, edx
lea r8d, [rsi + 0x1f]
call sub.msvcrt.dll_memset
mov rcx, qword [rbx]
mov rax, qword [rcx + 0xa8]
mov qword [rcx + 0xc8], rax
mov r9, qword [rbx]
mov r10, qword [r9 + 0xe8]
mov r8, qword [r9 + 0xf0]
sub r8, r10
mov rax, qword [r9 + 0x90]
mov rcx, qword [rax + 0x20]
mov edx, dword [r9 + 0x100]
lea rax, [r9 + 0xb0]
sub r8d, edx
add rdx, r10
mov qword [rsp + 0x20], rax
xor r9d, r9d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x14005a0f0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3e5
je 0x14005a0f0
cmp eax, 0xea
je 0x14005a0f0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14005a10e
mov ebx, 0x8000ffff
jmp 0x14005a10e
xor ebx, ebx
test ebx, ebx
js 0x14005a10e
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14005981a.0]
xor sil, sil
mov byte [rsp + 0x40], sil
test sil, sil
je 0x14005a121
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CancelThreadpoolIo]
lock dec dword [rdi + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14009db5c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 0xb
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, r9
lea r8d, [rdx - 1]
call fcn.140092c74
mov rdx, qword [rbx + 8]
mov r8d, 0xf
sub rdx, qword [rbx]
mov rcx, qword [rsi]
sar rdx, 1
call fcn.1400974cc
mov rdi, qword [rbx]
mov rbx, qword [rbx + 8]
jmp 0x14009dc2c
movzx ecx, word [rdi]
add rdi, 2
mov rax, qword [rsi]
movzx edx, cx
add cx, cx
sar dx, 0xf
xor dx, cx
mov r8, qword [rax]
mov ecx, dword [r8 + 0x20]
mov r9d, dword [r8 + 0x1c]
add rcx, 2
mov eax, dword [r8 + 0x18]
add rcx, r9
cmp rcx, rax
jae 0x14009dc24
mov rcx, qword [r8 + 0x30]
movzx eax, dx
shr ax, 7
test ax, ax
je 0x14009dc15
or dl, 0x80
mov byte [r9 + rcx], dl
movzx edx, ax
shr dx, 7
test dx, dx
je 0x14009dc09
mov byte [r9 + rcx + 2], dl
or al, 0x80
mov edx, 3
jmp 0x14009dc0e
mov edx, 2
mov byte [r9 + rcx + 1], al
jmp 0x14009dc1e
mov byte [r9 + rcx], dl
mov edx, 1
add dword [r8 + 0x1c], edx
jmp 0x14009dc2c
mov rcx, r8
call fcn.14009bcfc
cmp rdi, rbx
jne 0x14009dba6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bc654
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov ebx, r9d
mov r15, r8
mov r14d, edx
mov rdi, rcx
mov r9d, edx
sub r9d, 0xe
je 0x1400bc7b8
sub r9d, 1
je 0x1400bc70e
sub r9d, 1
je 0x1400bc6e6
cmp r9d, 1
je 0x1400bc6be
test ebx, ebx
je 0x1400bc865
mov edx, r14d
mov rcx, r15
call fcn.140091900
add ebx, 0xffffffff
jne 0x1400bc6a9
jmp 0x1400bc865
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
test ebx, ebx
je 0x1400bc6e1
mov byte [rbp - 8], sil
lea rdx, [rbp - 0x18]
mov rcx, r15
call fcn.140098ba4
add ebx, 0xffffffff
jne 0x1400bc6cc
jmp 0x1400bc865
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
test ebx, ebx
je 0x1400bc709
mov byte [rbp - 8], sil
lea rdx, [rbp - 0x18]
mov rcx, r15
call fcn.140098ba4
add ebx, 0xffffffff
jne 0x1400bc6f4
jmp 0x1400bc865
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
mov word [rbp + 0x38], si
mov r9, rbx
mov rbx, qword [rcx + 8]
mov r14, qword [rcx]
mov rax, rbx
sub rax, r14
sar rax, 1
cmp r9, rax
jae 0x1400bc754
lea rax, [r14 + r9*2]
cmp rax, r14
jne 0x1400bc746
mov qword [rcx + 8], r14
mov rbx, r14
jmp 0x1400bc775
cmp rax, rbx
je 0x1400bc775
mov qword [rcx + 8], rax
mov rbx, rax
jmp 0x1400bc775
jbe 0x1400bc775
sub r9, rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x18]
call fcn.1400bf534
mov rbx, qword [rdi + 8]
mov r14, qword [rdi]
cmp r14, rbx
je 0x1400bc7b3
mov r12d, 1
mov rdi, r14
add r14, 2
mov byte [rbp - 8], sil
lea rdx, [rbp + 0x38]
mov rcx, r15
call fcn.1400a0d74
movzx eax, word [rbp + 0x38]
movzx ecx, ax
shr cx, 1
and ax, r12w
neg ax
xor cx, ax
mov word [rdi], cx
cmp r14, rbx
jne 0x1400bc780
jmp 0x1400bc865
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
mov word [rbp + 0x38], si
mov rdx, rbx
mov rax, qword [rcx + 8]
mov r9, qword [rcx]
mov rcx, rax
sub rcx, r9
sar rcx, 1
cmp rbx, rcx
jae 0x1400bc7fe
lea rcx, [r9 + rbx*2]
cmp rcx, r9
jne 0x1400bc7f0
mov qword [rdi + 8], r9
mov rax, r9
jmp 0x1400bc825
cmp rcx, rax
je 0x1400bc825
mov qword [rdi + 8], rcx
mov rax, rcx
jmp 0x1400bc825
jbe 0x1400bc825
sub rdx, rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, rdx
mov r8, rax
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.1400bf534
mov rax, qword [rdi + 8]
mov r9, qword [rdi]
cmp r9, rax
je 0x1400bc865
mov r12d, 1
mov r11, r9
add r9, 2
mov byte [rbp - 8], sil
mov ecx, dword [r15 + 0x18]
mov r10d, dword [r15 + 0x20]
sub ecx, r10d
cmp ecx, r12d
jb 0x1400bc87e
mov rdx, qword [r15 + 0x10]
movsx r8d, byte [r10 + rdx]
lea ecx, [r10 + 1]
mov dword [r15 + 0x20], ecx
mov word [r11], r8w
cmp r9, rax
jne 0x1400bc830
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, r12d
mov rcx, r15
call fcn.1400714a4
int3
Function at 0x1400bcaa0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov ebx, r9d
mov rdi, r8
mov r14d, edx
mov rsi, rcx
mov r9d, edx
sub r9d, 0xe
je 0x1400bcbda
sub r9d, 1
je 0x1400bcb86
sub r9d, 1
je 0x1400bcb36
cmp r9d, 1
je 0x1400bcb10
test ebx, ebx
je 0x1400bcc2b
mov edx, r14d
mov rcx, rdi
call fcn.140091900
add ebx, 0xffffffff
jne 0x1400bcafb
jmp 0x1400bcc2b
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
test ebx, ebx
je 0x1400bcb31
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.140098ba4
add ebx, 0xffffffff
jne 0x1400bcb1c
jmp 0x1400bcc2b
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, ebx
call fcn.1400be48c
mov r14, qword [rsi]
mov r15, qword [rsi + 8]
cmp r14, r15
je 0x1400bcb81
mov esi, 1
mov rbx, r14
add r14, 4
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14008c810
mov eax, dword [rbp + 0x28]
mov ecx, eax
shr ecx, 1
and eax, esi
neg eax
xor ecx, eax
mov dword [rbx], ecx
cmp r14, r15
jne 0x1400bcb56
jmp 0x1400bcc2b
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, ebx
call fcn.1400be48c
mov r14, qword [rsi]
mov r15, qword [rsi + 8]
cmp r14, r15
je 0x1400bcbd8
mov esi, 1
mov rbx, r14
add r14, 4
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.1400a0d74
movzx eax, word [rbp + 0x28]
movzx ecx, ax
shr cx, 1
and ax, si
neg ax
xor ax, cx
cwde
mov dword [rbx], eax
cmp r14, r15
jne 0x1400bcba6
jmp 0x1400bcc2b
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, ebx
call fcn.1400be48c
mov r8, qword [rsi]
mov r10, qword [rsi + 8]
cmp r8, r10
je 0x1400bcc2b
mov esi, 1
mov r11, r8
add r8, 4
mov byte [rbp - 8], 0
mov eax, dword [rdi + 0x18]
mov r9d, dword [rdi + 0x20]
sub eax, r9d
cmp eax, esi
jb 0x1400bcc44
mov rcx, qword [rdi + 0x10]
movsx edx, byte [r9 + rcx]
lea eax, [r9 + 1]
mov dword [rdi + 0x20], eax
mov dword [r11], edx
cmp r8, r10
jne 0x1400bcbfa
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov edx, esi
mov rcx, rdi
call fcn.1400714a4
int3
Function at 0x1400bcdc8
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov esi, r9d
mov rdi, r8
mov r14d, edx
mov rbx, rcx
mov ecx, edx
sub ecx, 0xe
je 0x1400bcf42
sub ecx, 1
je 0x1400bcee6
sub ecx, 1
je 0x1400bce8f
cmp ecx, 1
je 0x1400bce34
test r9d, r9d
je 0x1400bcf97
mov edx, r14d
mov rcx, rdi
call fcn.140091900
add esi, 0xffffffff
jne 0x1400bce1f
jmp 0x1400bcf97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400be594
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bce8a
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140098ba4
mov rax, qword [rbp - 0x20]
mov rcx, rax
shr rcx, 1
and rax, rsi
neg rax
xor rcx, rax
mov qword [rbx], rcx
cmp r14, r15
jne 0x1400bce58
jmp 0x1400bcf97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400be594
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bcee1
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14008c810
mov eax, dword [rbp + 0x28]
mov ecx, eax
shr ecx, 1
and eax, esi
neg eax
xor eax, ecx
cdqe
mov qword [rbx], rax
cmp r14, r15
jne 0x1400bceb3
jmp 0x1400bcf97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400be594
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bcf40
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.1400a0d74
movzx eax, word [rbp + 0x28]
movzx ecx, ax
shr cx, 1
and ax, si
neg ax
xor ax, cx
movsx rax, ax
mov qword [rbx], rax
cmp r14, r15
jne 0x1400bcf0a
jmp 0x1400bcf97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400be594
mov r8, qword [rbx]
mov r10, qword [rbx + 8]
cmp r8, r10
je 0x1400bcf97
mov esi, 1
mov r11, r8
add r8, 8
mov byte [rbp - 8], 0
mov eax, dword [rdi + 0x18]
mov r9d, dword [rdi + 0x20]
sub eax, r9d
cmp eax, esi
jb 0x1400bcfb0
mov rcx, qword [rdi + 0x10]
movsx rdx, byte [r9 + rcx]
lea eax, [r9 + 1]
mov dword [rdi + 0x20], eax
mov qword [r11], rdx
cmp r8, r10
jne 0x1400bcf66
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov edx, esi
mov rcx, rdi
call fcn.1400714a4
int3
Function at 0x1400cac50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14013b4b8], rbx
je 0x1400cac9c
cmp rax, rbx
jne 0x1400cac8f
mov ebx, 1
mov esi, ebx
jmp 0x1400caca1
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400cac74
mov ebx, 1
mov eax, dword [0x14013b4c0]
cmp eax, ebx
jne 0x1400cacb7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400cad1c
mov eax, dword [0x14013b4c0]
test eax, eax
jne 0x1400cad16
mov dword [0x14013b4c0], ebx
lea r15, [0x1400d8928]
lea rdi, [0x1400d8910]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400cad08
test eax, eax
jne 0x1400cad0c
cmp qword [rdi], 0
je 0x1400cacfd
mov rax, qword [rdi]
mov rcx, qword [case.0x14005981a.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400cacde
test eax, eax
je 0x1400cad1c
mov eax, 0xff
jmp 0x1400cadf8
mov dword [0x14012b740], ebx
mov eax, dword [0x14013b4c0]
cmp eax, ebx
jne 0x1400cad43
lea rdx, [0x1400d8908]
lea rcx, [0x1400d7fa0]
call sub.msvcrt.dll__initterm
mov dword [0x14013b4c0], 2
test esi, esi
jne 0x1400cad50
xor eax, eax
xchg qword [0x14013b4b8], rax
cmp qword [0x14013b4d8], 0
je 0x1400cad84
lea rcx, [0x14013b4d8]
call fcn.1400cb270
test eax, eax
je 0x1400cad84
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14013b4d8]
mov r9, qword [case.0x14005981a.0]
call r9
mov r8, qword [0x14012b758]
mov rdx, qword [0x14012b750]
mov ecx, dword [0x14012b748]
call fcn.14000a998
mov dword [0x14012b73c], eax
cmp dword [0x14012b760], 0
jne 0x1400cadb4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14012b740], 0
jne 0x1400cadc9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14012b73c]
jmp 0x1400cadf8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401d5000
add rsp, 0x28
jmp 0x1400cac50

Function at 0x1400cb15c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400cb1a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400cb1a0
cmp dword [rcx + 0x3c], edx
jl 0x1400cb1a0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400cb1a0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400cb1a8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000d550
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400f4880]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
call fcn.140053910
call fcn.1400547f0
call fcn.1400331f0
mov rcx, qword [0x1400f4df8]
call fcn.14000fb90
mov rcx, qword [0x1400f4df8]
call fcn.1400082b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdi, [rsp + 0x58]
movabs rbp, 0xff00ff00ff00ff00
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rdi], 0
mov rax, qword [0x1400f4d58]
mov ecx, 0x2d
call rax
nop
mov qword [rdi], rbx
test al, 1
je 0x14000d5fd
cmp byte [0x1400f333b], 0
sete byte [0x1400f333b]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rdi], 0
mov rax, qword [0x1400f4d58]
mov ecx, 0x78
call rax
nop
mov qword [rdi], rbx
test ax, ax
je 0x14000d663
mov rcx, qword [0x1400f52b0]
call qword [sym.imp.USER32.dll_DestroyWindow]
lea rcx, [0x140019a60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
lea r14, [rsp + 0x58]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], r14
mov rbx, qword [r14]
mov rcx, rbx
xor rcx, rbp
mov qword [rsp + 0x20], rcx
mov qword [r14], rax
mov rax, qword [0x1400f4d50]
lea rdx, str.Fortnite
xor ecx, ecx
call rax
nop
mov qword [r14], rbx
cmp byte [0x1400f333b], 0
je 0x14000d6c2
cmp rdi, rax
jne 0x14000d6c2
mov rcx, rsi
call fcn.1400116a0
call fcn.1400350b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov rcx, qword [0x1400f5298]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400f52a8]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x1400f5298]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
mov rdx, qword [0x1400f52a8]
call qword [rax + 0x190]
call fcn.14002bf60
mov rcx, rax
call fcn.140053950
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140074200
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14000f270
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x1400f4880]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x10], r14
je 0x14000f412
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000f408
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000f322
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x28]
call fcn.140003a50
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000f34c
mov rax, qword [rsi]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsi + 0x10]
jne 0x14000f38e
test rdx, rdx
je 0x14000f38a
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14000f38e
add rax, 2
sub rdx, 1
jne 0x14000f376
mov bl, 1
jmp 0x14000f390
xor bl, bl
cmp r10, 7
jbe 0x14000f3cb
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000f3c3
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f445
mov rcx, r9
call fcn.14007439c
test bl, bl
je 0x14000f3f3
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14000f3e6
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x14000f3f3
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.140003cf0
lea rdx, [rsp + 0x60]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000f301
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.140007830
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140074200
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3