joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009cdc
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x858
mov rax, qword [0x1400318e0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbx, r9
mov qword [rsp + 0x20], 0x400
lea r9, [rsp + 0x40]
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
call fcn.140009340
test al, al
jne 0x140009d28
cmp byte [0x140031299], al
sete al
jmp 0x140009d3d
mov r8d, 1
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140008b70
mov al, 1
test al, al
je 0x140009d45
xor eax, eax
jmp 0x140009d9c
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.14000945c
mov rdi, rax
test rax, rax
je 0x140009d96
mov rcx, rbx
call fcn.14000fb68
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140008b00
jmp 0x140009d9a
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000bee0
add rsp, 0x858
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140009db8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov r9d, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1400093d8
test al, al
je 0x140009de5
xor eax, eax
jmp 0x140009e33
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14000945c
mov rdi, rax
test rax, rax
je 0x140009e2d
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140008b00
jmp 0x140009e31
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140009e44
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140009cdc

Function at 0x140009e5c
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140009db8

Function at 0x14000a364
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14000a4cc
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1030
call fcn.14000be70
sub rsp, rax
mov rax, qword [0x1400318e0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov esi, 0x800
mov edx, esi
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.140005cf0
mov r9d, esi
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140006060
lea rcx, [rsp + 0x20]
call fcn.140004c40
xor edi, edi
test al, al
jne 0x14000a589
mov r8d, esi
mov word [rsp + 0x20], di
lea rdx, [rsp + 0x20]
lea rcx, str.sfxname
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000a589
cmp word [rsp + 0x20], di
je 0x14000a589
mov r8d, esi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1400061a0
lea rcx, [rsp + 0x20]
call fcn.140004c40
test al, al
je 0x14000a58b
mov r8d, 1
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov al, 1
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000bee0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000a5b0
Capabilities:
Copy file
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str.rarreg.key
call fcn.14000a4cc
test al, al
jne 0x14000a5d0
lea rcx, str.rarreg.txt
call fcn.14000a4cc
lea rcx, str.winrar.ini
add rsp, 0x28
jmp fcn.14000a4cc
Function at 0x14000b7a0
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, 0x20
mov rbp, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.14000fb68
mov rbx, rax
lea rcx, [rax*2 + 4]
call fcn.14001261c
mov rdi, rax
test rax, rax
je 0x14000b80c
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.140008708
mov rcx, rdi
call fcn.1400127f0
mov r8, rax
mov r9, rbp
mov edx, 1
mov rcx, rdi
call fcn.140012598
mov rcx, rdi
call fcn.14000fb60
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b824
Capabilities:
Accept command line arguments
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x890
mov rax, qword [0x1400318e0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rcx
mov cl, 1
call fcn.1400083c4
xor r8d, r8d
lea rcx, [0x140034490]
mov rdx, rbx
call fcn.140007a80
lea rdx, str.uninstall.lng
lea rcx, [0x1400344a0]
call fcn.140006b2c
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.14000834c
mov rcx, qword [0x140034450]
lea rdx, str.RARICON
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
xor edi, edi
mov qword [0x14003a790], rax
test rax, rax
jne 0x14000b8cf
mov rcx, qword [0x140034458]
cmp rcx, qword [0x140034450]
je 0x14000b8cf
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14003a790], rax
mov ecx, 0xfffffff4
call fcn.14000a2f8
mov ecx, eax
xor r9d, r9d
lea rax, str.MS_Shell_Dlg
xor r8d, r8d
mov qword [rsp + 0x68], rax
xor edx, edx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontW]
mov r8d, 0x400
mov byte [rsp + 0x70], dil
lea rdx, [rsp + 0x80]
mov qword [0x14003a798], rax
lea rcx, str.sfxcmd
mov byte [rsp + 0x71], dil
mov word [rsp + 0x80], di
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x71]
mov cl, 1
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
call fcn.14000a988
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r9, [rsp + 0x71]
xor ecx, ecx
mov rdx, rax
lea r8, [rsp + 0x70]
call fcn.14000a988
cmp byte [rsp + 0x70], dil
je 0x14000ba4f
mov rcx, qword [0x140034450]
lea r9, [0x14000ac20]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.SETUPDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x14000ba4f
call fcn.14000a5b0
mov al, byte [0x14003b7f1]
test al, al
jne 0x14000b9f3
mov rcx, qword [0x140034450]
lea r9, [0x14000a6e0]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.DONEDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov al, byte [0x14003b7f1]
cmp word [0x14003a7a0], di
je 0x14000ba4f
cmp byte [0x14003b7f0], dil
jne 0x14000ba4f
test al, al
jne 0x14000ba4f
cmp byte [0x14003b7f2], dil
jne 0x14000ba4f
lea rcx, [0x14003a7a0]
call fcn.140004c40
test al, al
je 0x14000ba4f
lea rax, [0x140022780]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x14003a7a0]
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [rsp + 0x71], dil
je 0x14000ba5b
call fcn.14000b0f0
test rbx, rbx
je 0x14000ba69
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x14003a798]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14003a790]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x14003b7f4]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14000bee0
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x890
pop rdi
ret
Function at 0x14001940c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1400193e9
call fcn.140015ed8
mov dword [rax], 0x16
call fcn.140015d44
or eax, 0xffffffff
jmp 0x140019406
sub dword [rcx + 0x10], 1
jns 0x1400193f8
add rsp, 0x28
jmp 0x14001f0a4
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1400193c8
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001ef44
call fcn.140015ed8
mov dword [rax], 0x16
call fcn.140015d44
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001ef2c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001ef2c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001ef76
lock or dword [rax + 0x14], 0x10
jmp 0x14001ef2c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001ef93
mov rcx, qword [rbp + 0x10]
call fcn.14001e264
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140017458
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001f5dc
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001efea
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14001ef2c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001f056
mov rcx, qword [rbp + 0x10]
call fcn.140017458
cmp eax, 0xffffffff
je 0x14001f03d
mov rcx, qword [rbp + 0x10]
call fcn.140017458
cmp eax, 0xfffffffe
je 0x14001f03d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140017458
movsxd rdi, eax
lea rsi, [0x14003c160]
mov rcx, rbx
sar rdi, 6
call fcn.140017458
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001f044
lea rax, [0x140031bc0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001f056
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001f08c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001f088
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001f088
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14001ef2f
jmp 0x14001eefc
Function at 0x140002b2c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400035d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400035d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400035d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400035d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400035d7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400035d7
cmp dword [rcx + 0xf8], 0
je 0x1400035d7
mov ecx, ebx
call fcn.140003678
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140003468
cmp dword [rbp + 0x20], 0
je 0x140003624
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000362c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140003570

Function at 0x1806cdca1
Capabilities:
Encode data using xor

Disassembly:
push 0x2bb61114
push 0x1ebfb018
not ecx
mov dword [rbp + riz], ecx
lea rsp, [rsp + 0x10]
jmp fcn.1806a5d24
mov r8d, 0xefa8a89e
push rdi
movzx edi, r8b
lea rdi, [0x1806a8d40]
mov r8d, 0xfcab64b4
movzx r8d, byte [rax]
push 0x21287d07
xor r8d, ecx
and r8d, 0xff
mov r8d, dword [rdi + r8*4]
shr ecx, 8
dec byte [rsp + 7]
sal word [rsp + 1], 2
xor ecx, r8d
inc rax
not word [rsp + 4]
neg qword [rsp]
xor ecx, 0x33d3b0f
dec r11
lea rsp, [rsp + 8]
jne 0x1806c38af
call fcn.1806bf7ff
add r8, 2
sal rbp, cl
mov qword [r8], rbp
lea rsp, [rsp + 8]
jmp fcn.1806c28db
mov r11, qword [rbp + 8]
add rbp, 0xc
xor ecx, ecx
jmp 0x1806d4c53
test r11, r11
lea rsp, [rsp + 0x10]
je 0x1806bf809
jmp 0x1806c389d
Function at 0x140001adb
Capabilities:
Allocate or change rwx memory
Inject apc

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
lea rsi, [rsp + 0x38]
mov qword [rsi], 1
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov eax, 1
xor edi, edi
lea rbx, [0x14000d090]
xor r14d, r14d
cmp rdi, 0x114
je 0x140001b48
mov bpl, byte [rdi + rbx]
cmp r14, qword [rsp + 0x40]
jne 0x140001b32
mov rcx, rsi
mov rdx, r14
call fcn.140001e6b
mov rax, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov byte [rax + r14], bpl
mov r14, qword [rsp + 0x48]
inc r14
mov qword [rsp + 0x48], r14
inc rdi
jmp 0x140001b09
mov rsi, qword [rsp + 0x38]
mov rcx, r14
call fcn.140002029
mov rdi, rax
mov rbx, rdx
mov rcx, rax
mov rdx, rsi
mov r8, r14
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x30]
and qword [rdx], 0
lea r9, [rsp + 0x60]
mov qword [r9], r14
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
mov rcx, 0xffffffffffffffff
xor r8d, r8d
call sub.ntdll.dll_NtAllocateVirtualMemory
test eax, eax
js 0x140001c49
lea rax, [rsp + 0x68]
and qword [rax], 0
mov qword [rsp + 0x50], r14
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov r8, rdi
mov r9, r14
call sub.ntdll.dll_NtWriteVirtualMemory
test eax, eax
js 0x140001c49
lea rax, [rsp + 0x5c]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rcx, 0xffffffffffffffff
mov r9d, 0x40
call sub.ntdll.dll_NtProtectVirtualMemory
test eax, eax
js 0x140001c49
mov rdx, qword [rsp + 0x30]
and qword [rsp + 0x20], 0
mov rcx, 0xfffffffffffffffe
mov r8, rdx
xor r9d, r9d
call sub.ntdll.dll_NtQueueApcThread
test eax, eax
js 0x140001c49
call sub.ntdll.dll_NtTestAlert
mov rcx, rdi
mov rdx, rbx
call fcn.140002015
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140002015
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.140004a1f
ud2
Function at 0x140004435
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140004494
mov ecx, eax
add rsp, 0x28
jmp sub.KERNEL32.dll_TlsGetValue

Function at 0x140004468
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140004494
mov ecx, eax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x140004494
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, dword [rcx + 0x18]
test edi, edi
je 0x1400044ae
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rsi, rcx
cmp qword [rcx], 0
je 0x14000451e
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x140004565
cmp dword [rsp + 0x2c], 0
je 0x14000454d
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140004555
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400110a0]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400110a0], rsi
jne 0x1400044f9
mov byte [0x140011098], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1400044a4
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140004565
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x1400044a4
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x1400044a4
mov edi, dword [rsi + 0x18]
jmp 0x1400044a2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2

Function at 0x14000acd0
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 fcn.14000bb60
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000bb60
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000ad40
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140011124]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000aed0
mov rax, qword [0x140011128]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000ad8c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000ae15
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000ad70
mov rcx, rdi
call fcn.14000b8a0
test rax, rax
mov r12, rax
je 0x14000af22
mov rax, qword [0x140011128]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000b9e0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140011128]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000af05
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000ae0e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000ae80
add dword [0x140011124], 1
cmp ebx, 8
jae 0x14000ae41
test bl, 4
jne 0x14000aee0
test ebx, ebx
je 0x14000ae36
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000aef4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000ae36
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000ae5a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140011128]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000ae0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000acd0
xor esi, esi
jmp 0x14000ad97
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000ae36
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000ae36
mov rax, qword [0x140011128]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000acd0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000acd0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000b4f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140011180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140011160]
test rbx, rbx
je 0x14000b544
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 0x14000b53b
test rsi, rsi
je 0x14000b53b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000b520
lea rcx, [0x140011180]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000b8a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14000e220]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000b90f
mov rcx, r9
call fcn.14000b770
test eax, eax
je 0x14000b90f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000b90d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000b904
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000b90f
add rdx, 0x28
cmp rdx, r9
jne 0x14000b8f0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140004190
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14003c030]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000424e
mov qword [rsp + 0x170], rbx
lea rcx, [rsp + 0x4c]
mov r8, rsi
sub r8, rcx
nop dword [rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140004203
inc rcx
test eax, eax
jne 0x1400041f0
test edx, edx
jne 0x140004234
mov r8d, dword [rsp + 0x28]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140004234
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400041e2
mov rbx, qword [rsp + 0x170]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140013f30
mov rsi, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14006f368]
test rax, rax
je 0x140004350
xor esi, esi
mov qword [rax + 0x10], rsi
mov rax, qword [0x14006f368]
mov qword [rax + 0x18], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [0x14006f6a0], xmm0
movups xmmword [0x14006f6b0], xmm0
movups xmmword [0x14006f6c0], xmm0
mov qword [0x14006f6d0], rsi
mov eax, esi
xchg byte [0x14003f1a9], al
mov rdi, qword [0x14006f368]
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14000430c
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x14000430c
lea rdx, [rdi + 0x64]
mov ecx, dword [rdi + 0x60]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], sil
mov dword [rdi + 8], esi
mov rdi, qword [0x14006f368]
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], sil
mov qword [rdi], rsi
mov qword [0x14006f368], rsi
lea rcx, str.EpicGamesLauncher.exe
call 0x140004190
lea rcx, str.FortniteLauncher.exe
call 0x140004190
lea rcx, str.FortniteClient_Win64_Shipping.exe
call 0x140004190
lea rcx, str.FortniteClient_Win64_Shipping_BE.exe
call 0x140004190
lea rcx, str.FortniteClient_Win64_Shipping_EAC.exe
call 0x140004190
lea rcx, str.EasyAntiCheat.exe
call 0x140004190
lea rcx, str.BattleEyeAnticheat.exe
call 0x140004190
lea rcx, str.BattleEye_Launcher
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp 0x140004190