joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003440
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000349d
lea rbx, [0x140062cc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003484
cmp r10, 2
jb 0x140003484
cmp byte [r9], r8b
jne 0x140003484
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003460
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400034df
lea rbx, [0x140062cc0]
cmp r8b, 0x23
jne 0x1400034c3
cmp byte [r9], r8b
jne 0x1400034c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400034b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000363a
mov qword [r8], 0
lea rdx, [0x140062820]
call fcn.1400034f0
mov rbx, rax
test rax, rax
jne 0x14000365a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003731
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003731
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003731
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003731
cmp rdi, 0xffffffffffffffff
je 0x140003731
mov rax, qword [0x1402ae0c0]
test rax, rax
je 0x1400036ce
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003731
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000371e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402ae0c0]
test rax, rax
je 0x140003713
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000373a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000372c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000373c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006f30
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140062cc0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x140006fc6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001bd00
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006fd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x140062cc0]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140014dd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1402ae0c0]
mov edi, ecx
cmp byte [rbx + 0x4a7d], 0
jne 0x140014e31
cmp byte [rbx + 0x4a7e], 0
jne 0x140014e31
movsx r9d, word [rbx + 0x5ba2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400032a0
test dil, 1
je 0x140014f5f
jmp 0x140014eba
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ba2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400684bc]
mulss xmm1, dword [0x140068498]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e8], rax
mov dword [rbx + 0x47d4], 1
movss dword [rbx + 0x47e0], xmm0
movss dword [rbx + 0x47e4], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x14006838c]
or dword [rbx + 0x47d0], 0x41
movss dword [rbx + 0x4830], xmm0
call fcn.1400032a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014f10
lea r11, [0x140062cc0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140014ef3
cmp byte [r8], r9b
jne 0x140014ef3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014ee0
not ecx
call fcn.14000b7a0
test rax, rax
je 0x140014f5f
cmp byte [rax + 0xb6], 0
je 0x140014f5f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5ba2]
movsx r9d, word [rbx + 0x5ba2]
call fcn.1400032a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000df90
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005de10
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a640
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c88], 0
lea rbx, [rcx + 0x5c90]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a6e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a69a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001c970
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003db0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c88]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c98]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1402ae0b8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a6ef
mov rcx, rbx
call fcn.140003db0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001aa80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402ae0c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001aae3
mov qword [rsp], rbx
lea rbx, [0x140062cc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001aac3
cmp byte [r8], r9b
jne 0x14001aac3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001aab0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c00]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001ab17
mov r10, qword [r10 + 0x5c08]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001ab1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001ab04
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14004d930
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
xor r9d, r9d
lea rdi, [rbp + 0x18]
mov rbx, qword [rdi]
movabs r14, 0x72976f11b265f294
mov qword [rdi], r9
mov r11, r14
mov byte [rbp - 0x20], 0xde
mov r10d, r9d
mov byte [rbp - 0x1f], 0xe8
lea esi, [r9 + 0xf]
mov byte [rbp - 0x1e], 0xc1
mov byte [rbp - 0x1d], 0xeb
mov byte [rbp - 0x1c], 0xf8
mov byte [rbp - 0x1b], 0xed
mov byte [rbp - 0x1a], 0xd1
mov byte [rbp - 0x19], 0xfe
mov byte [rbp - 0x18], 0xf7
mov byte [rbp - 0x17], 0xf9
mov byte [rbp - 0x16], 0xf2
mov byte [rbp - 0x15], 0xed
mov byte [rbp - 0x14], 0xea
mov byte [rbp - 0x13], 0xc7
mov byte [rbp - 0x12], 0xd5
mov byte [rbp - 0x11], 0xd7
mov byte [rbp - 0x10], 0xc5
mov byte [rbp - 0xf], 0xe5
mov byte [rbp - 0xe], 0xca
mov byte [rbp - 0xd], 0xd8
mov byte [rbp - 0xc], 0xd8
mov byte [rbp - 0xb], 0xdb
mov byte [rbp - 0xa], 0xa8
movzx eax, byte [rbp - 0x20]
lea rax, [rbp - 0x20]
sub r11, rax
nop dword [rax]
mov rcx, r10
lea rdx, [rbp - 0x20]
add rdx, r10
and ecx, esi
cmp rcx, rsi
mov rax, r14
cmovae rcx, rsi
movsx r8, byte [rdx]
add dl, r11b
shl cl, 2
shr rax, cl
and al, sil
xor al, dl
xor al, r8b
mov byte [rbp + r10 - 0x20], al
inc r10
cmp r10, 0x17
jb 0x14004d9d0
mov byte [rbp + 0x20], 0xc7
movabs r11, 0x7c888a89c227fdb4
mov byte [rbp + 0x21], 0xd7
mov r10, r11
mov byte [rbp + 0x22], 0xd5
mov byte [rbp + 0x23], 0x8b
mov byte [rbp + 0x24], 0x8d
mov byte [rbp + 0x25], 0xce
mov byte [rbp + 0x26], 0xb8
movzx eax, byte [rbp + 0x20]
lea rax, [rbp + 0x20]
sub r10, rax
nop dword [rax]
mov rcx, r9
lea rdx, [rbp + 0x20]
add rdx, r9
and ecx, esi
cmp rcx, rsi
mov rax, r11
cmovae rcx, rsi
movzx r8d, byte [rdx]
add dl, r10b
shl cl, 2
shr rax, cl
and al, sil
xor al, dl
xor al, r8b
mov byte [rbp + r9 + 0x20], al
inc r9
cmp r9, 7
jb 0x14004da40
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x14004dae2
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUserInjectMouseInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x14004dae2
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InjectMouseInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
je 0x14004db3f
movups xmm1, xmmword [rcx]
movdqu xmmword [0x1402ae370], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [0x1402ae380], xmm0
mov eax, dword [rcx + 0x18]
movdqa xmm0, xmmword [0x140068850]
mov dword [0x1402ae388], eax
xorps xmm0, xmm1
movzx eax, word [rcx + 0x1c]
lea rcx, [0x1402ae370]
mov word [0x1402ae38c], ax
mov eax, 0x10
movdqu xmmword [0x1402ae370], xmm0
nop dword [rax]
xor byte [rax + rcx], 0xfa
inc rax
cmp rax, 0x1e
jb 0x14004db30
mov al, 1
mov rsi, qword [rsp + 0x70]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140057b80
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 [0x140072040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], 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
jne 0x140057bea
mov rdx, qword [rdx + 0x18]
jmp 0x140057d0b
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140057cfd
nop word [rax + rax]
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x30]
call fcn.14005c950
mov r8, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140057c42
mov rcx, qword [rbx]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140057c50
mov r8, qword [rax]
cmp rdx, qword [rbx + 0x10]
jne 0x140057c79
test rdx, rdx
je 0x140057c74
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140057c79
add rcx, 2
sub rdx, 1
jne 0x140057c60
mov dil, 1
jmp 0x140057c7c
xor dil, dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140057cbe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057cb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057d7d
call fcn.14005e420
test dil, dil
je 0x140057ce7
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140057cda
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x140057ce7
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.14005da00
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057c20
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140057d42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140057d3d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057d84
mov rcx, r8
call fcn.14005e420
mov word [rbx], r14w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov rax, rsi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14005de10
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140058730
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x1a8]
sub rsp, 0x2a0
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0x198], rax
mov byte [rsp + 0x20], 0xf3
mov byte [rsp + 0x21], 0xfe
mov qword [r11 + 8], rbx
xor ebx, ebx
mov byte [rsp + 0x22], 0xec
mov r9d, ebx
mov qword [r11 + 0x10], rsi
movabs rsi, 0xca0ecdc515aac39a
mov byte [rsp + 0x23], 0x91
mov r10, rsi
movzx eax, byte [rsp + 0x20]
lea rax, [rsp + 0x20]
mov qword [r11 + 0x20], r14
sub r10, rax
lea r14d, [rbx + 0xf]
nop word [rax + rax]
mov rcx, r9
lea rdx, [rsp + 0x20]
add rdx, r9
and ecx, r14d
cmp rcx, r14
mov rax, rsi
cmovae rcx, r14
movsx r8, byte [rdx]
add dl, r10b
shl cl, 2
shr rax, cl
and al, r14b
xor al, dl
xor al, r8b
mov byte [rsp + r9 + 0x20], al
inc r9
cmp r9, 4
jb 0x1400587a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x30
mov qword [rsp + 0x30], rbx
call fcn.14005e0cc
movups xmm0, xmmword [0x1400681e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0x21
movups xmmword [rax], xmm0
mov qword [rsp + 0x40], 0x2f
movups xmm1, xmmword [0x1400681f0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [0x140068200]
mov byte [rax + 0x20], cl
lea rcx, [rsp + 0x28]
mov byte [rax + 0x21], bl
call fcn.140058590
mov dword [0x1402ae130], eax
call fcn.14004c1e0
test al, al
je 0x140058908
mov eax, dword [0x1402ae130]
mov qword [rsp + 0x2c0], rdi
mov rdi, qword [0x1402ae2f0]
mov dword [rdi], eax
cmp dword [rdi + 0x20], ebx
je 0x140058899
mov dword [rsp + 0x50], eax
lea r8, [rsp + 0x50]
lea rax, [rbp + 0x188]
mov qword [rbp + 0x188], rbx
mov edx, 6
mov qword [rsp + 0x58], rax
mov rcx, rdi
call fcn.14004c630
mov rcx, qword [rbp + 0x188]
jmp 0x1400588f6
mov dword [rsp + 0x60], eax
lea r8, str.FortniteClient_Win64_Shipping.exe
lea rax, [rbp + 0x190]
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x168], rax
lea rcx, [rsp + 0x64]
lea rax, [rbp + 0x180]
mov dword [rbp + 0x180], ebx
mov edx, 0xff
mov qword [rbp + 0x170], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x60]
mov edx, 5
mov rcx, rdi
call fcn.14004c630
mov rcx, qword [rbp + 0x190]
mov rax, qword [0x1402ae2b8]
mov rdi, qword [rsp + 0x2c0]
mov qword [rax], rcx
mov byte [rsp + 0x24], 0xf3
mov r9, rsi
mov byte [rsp + 0x25], 0xfe
mov byte [rsp + 0x26], 0xec
mov byte [rsp + 0x27], 0x91
movzx eax, byte [rsp + 0x24]
lea rax, [rsp + 0x24]
sub r9, rax
nop dword [rax]
mov rcx, rbx
lea rdx, [rsp + 0x24]
add rdx, rbx
and ecx, r14d
cmp rcx, r14
mov rax, rsi
cmovae rcx, r14
movzx r8d, byte [rdx]
add dl, r9b
shl cl, 2
shr rax, cl
and al, r14b
xor al, dl
xor al, r8b
mov byte [rsp + rbx + 0x24], al
inc rbx
cmp rbx, 4
jb 0x140058930
mov r14, qword [rsp + 0x2c8]
lea rcx, [rsp + 0x24]
mov rsi, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.14005de10
add rsp, 0x2a0
pop rbp
ret
Function at 0x14005ea9c
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc566542
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc589108]
test eax, eax
je 0x2fc5665da
lea rax, [0x2fc5890e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc589110]
mov qword [rbp - 8], rax
jmp 0x2fc5665be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc5665b2
cmp qword [rbp - 0x10], 0
je 0x2fc5665b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc566578
lea rax, [0x2fc5890e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5665db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5666e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc566708
mov eax, 0
jmp 0x2fc566756
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc566731
mov eax, 0
jmp 0x2fc566756
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc566751
mov eax, 0
jmp 0x2fc566756
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc56675c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc5667da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5667d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc5667d1
mov rax, qword [rbp - 8]
jmp 0x2fc5667ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc5667a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003f00
Capabilities:
Parse pe header

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