joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001340
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x60], xmm13
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r9
movaps xmm13, xmm2
movaps xmm12, xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000158c
movsd xmm1, qword [rbx]
movss xmm3, dword [0x1400e1e50]
movaps xmm0, xmm1
movss xmm2, dword [0x1400e1e54]
movaps xmmword [rsp + 0xc0], xmm6
movss xmm6, dword [0x1400e1e58]
subss xmm6, dword [rbx + 8]
movaps xmmword [rsp + 0xb0], xmm8
movaps xmm8, xmm3
shufps xmm0, xmm0, 0x55
subss xmm8, xmm1
movss xmm1, dword [rbx]
movaps xmmword [rsp + 0xa0], xmm9
subss xmm1, xmm3
movaps xmmword [rsp + 0x90], xmm10
movaps xmm10, xmm2
subss xmm10, xmm0
movaps xmmword [rsp + 0x80], xmm11
movss xmm0, dword [rbx + 4]
subss xmm0, xmm2
mov byte [0x1400e1aa0], 1
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss xmm11, dword [rbx + 8]
xorps xmm1, xmm1
subss xmm11, dword [0x1400e1e58]
cvtss2sd xmm1, xmm0
mulss xmm10, xmm10
xorps xmm0, xmm0
mulsd xmm1, qword [0x1400af7d8]
mulss xmm8, xmm8
mulss xmm6, xmm6
divsd xmm1, qword [0x1400af7b0]
addss xmm10, xmm8
movaps xmm8, xmmword [rsp + 0xb0]
cvtpd2ps xmm9, xmm1
addss xmm10, xmm6
movaps xmm6, xmmword [rsp + 0xc0]
subss xmm9, dword [0x1400e1e60]
ucomiss xmm0, xmm10
ja 0x140001471
xorps xmm0, xmm0
sqrtss xmm0, xmm10
jmp 0x14000147a
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm11, xmm0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_asinf
comiss xmm9, dword [0x1400af850]
movss xmm3, dword [0x1400afb10]
xorps xmm1, xmm1
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x1400af7d8]
divsd xmm1, qword [0x1400af7b0]
cvtpd2ps xmm2, xmm1
movss xmm1, dword [0x1400af864]
subss xmm2, dword [0x1400e1e5c]
jb 0x1400014e2
andps xmm9, xmm3
subss xmm9, xmm1
jmp 0x140001500
movss xmm0, dword [0x1400af8d0]
comiss xmm0, xmm9
jb 0x140001500
movaps xmm0, xmm9
movaps xmm9, xmm1
andps xmm0, xmm3
subss xmm9, xmm0
movaps xmm0, xmm2
andps xmm0, xmm3
comiss xmm0, dword [0x1400af858]
jb 0x140001516
movaps xmm2, xmm1
subss xmm2, xmm0
mov rdx, qword [0x1400e1ad8]
lea r8, [rsp + 0x40]
mov rcx, qword [0x1400e1bc8]
xor ebx, ebx
divss xmm2, xmm12
add rdx, 0x418
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
movss dword [rsp + 0x40], xmm2
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [0x1400e1ad8]
lea r9d, [rbx + 4]
mov rcx, qword [0x1400e1bc8]
lea r8, [rsp + 0x48]
divss xmm9, xmm13
add rdx, 0x41c
mov qword [rsp + 0x20], rbx
movss dword [rsp + 0x48], xmm9
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movaps xmm9, xmmword [rsp + 0xa0]
jmp 0x140001593
mov byte [0x1400e1aa0], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005c140
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x60]
add rsp, 0xd0
pop rbx
ret
Function at 0x14000bee0
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 0x14000bf3d
lea rbx, [0x14005ed10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000bf24
cmp r10, 2
jb 0x14000bf24
cmp byte [r9], r8b
jne 0x14000bf24
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 0x14000bf00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000bf7f
lea rbx, [0x14005ed10]
cmp r8b, 0x23
jne 0x14000bf63
cmp byte [r9], r8b
jne 0x14000bf63
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 0x14000bf50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000c0c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000c0da
mov qword [r8], 0
lea rdx, [0x1400ae540]
call fcn.14000bf90
mov rbx, rax
test rax, rax
jne 0x14000c0fa
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 0x14000c1d1
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 0x14000c1d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000c1d1
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 0x14000c1d1
cmp rdi, 0xffffffffffffffff
je 0x14000c1d1
mov rax, qword [0x1400e1b20]
test rax, rax
je 0x14000c16e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000c1d1
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 0x14000c1be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400e1b20]
test rax, rax
je 0x14000c1b3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000c1da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000c1cc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000c1dc
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 0x14000f870
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf8]
lea r10, [0x14005ed10]
mov r8, rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0xf0]
mov ebx, dword [rax + rdx*4 - 4]
not ebx
movzx eax, r8b
movzx edx, bl
xor rdx, rax
shr ebx, 8
mov rax, r8
shr rax, 8
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x10
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x30
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x38
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x14000f95f
mov edx, 0xc
mov ecx, ebx
call fcn.1400233a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000f970
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14005ed10]
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 + 0x3f20], ebx
jne 0x14000fa06
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.1400233a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140012f50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x1400e1b20]
mov r14d, edx
mov r12d, dword [rsp + 0x90]
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x140012fab
cmp qword [rdi + 0x4b38], 0
mov eax, 0x250
je 0x140012fb0
mov eax, 0x220
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x140012ff5
lea eax, [r15 + 1]
je 0x140012ff8
mov eax, r15d
ucomiss xmm0, xmm3
jp 0x140013005
jne 0x140013005
mov r15d, 2
movss xmm2, dword [0x1400af7e0]
or r15d, eax
comiss xmm3, xmm1
jb 0x140013021
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x140013021
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x140013032
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x140013032
movaps xmm0, xmm2
or dword [rdi + 0x47b8], 2
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14001307b
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.14000bdc0
jmp 0x140013091
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.14000bdc0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.140015c50
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x1400130df
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400ada31]
not r9d
lea r10, [0x14005ed10]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x140013113
cmp byte [rdx], r8b
jne 0x140013113
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140013100
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x140013143
xor edx, edx
xor ecx, ecx
call fcn.14000fa10
cmp dword [rdi + 0x48d0], r14d
jne 0x140013190
bt r12d, 0x17
jb 0x140013190
cmp word [rsi + 0x15c], 0
jne 0x140013166
cmp byte [rsi + 0x162], 0
je 0x140013190
xor edx, edx
mov rcx, rsi
call fcn.140018120
xor edx, edx
mov rcx, rsi
call fcn.14001e3f0
mov rdx, rsi
mov ecx, ebx
call fcn.14000fa10
mov eax, dword [rdi + 0x48f4]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001c450
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e1b20]
mov edi, ecx
cmp byte [rbx + 0x4a81], 0
jne 0x14001c4b1
cmp byte [rbx + 0x4a82], 0
jne 0x14001c4b1
movsx r9d, word [rbx + 0x5bb2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000bd40
test dil, 2
je 0x14001c5df
jmp 0x14001c53a
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bb2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400af80c]
mulss xmm1, dword [0x1400af7fc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x1400af750]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.14000bd40
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001c590
lea r11, [0x14005ed10]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001c573
cmp byte [r8], r9b
jne 0x14001c573
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 0x14001c560
not ecx
call fcn.1400134e0
test rax, rax
je 0x14001c5df
cmp byte [rax + 0xb6], 0
je 0x14001c5df
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 + 0x5bb2]
movsx r9d, word [rbx + 0x5bb2]
call fcn.14000bd40
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140015c50
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005c140
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140021ce0
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 + 0x5ca0], 0
lea rbx, [rcx + 0x5ca8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140021d87
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140021d3a
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.140023fb0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000c5e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e1ad2]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140021d8f
mov rcx, rbx
call fcn.14000c5e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140022210
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400e1b20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140022273
mov qword [rsp], rbx
lea rbx, [0x14005ed10]
nop dword [rax]
cmp r9b, 0x23
jne 0x140022253
cmp byte [r8], r9b
jne 0x140022253
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 0x140022240
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400222a7
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400222ae
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140022294
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 0x140046ef0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3c0
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
xor ebx, ebx
mov dword [rsp + 0x280], 0x130
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x280]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140046f76
nop
lea rdx, [rsp + 0x2ac]
lea rcx, str.FortniteClient_Win64_Shipping.exe
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140046f6f
lea rdx, [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140046f40
jmp 0x140046f76
mov ebx, dword [rsp + 0x288]
test ebx, ebx
jne 0x140046f98
lea rdx, str.FortniteClient_Win64_Shipping.exe
lea rcx, str.Failed_To_Locate_Process_With_Name___s_
call fcn.14000a2a0
mov dword [0x1400e1b90], ebx
jmp 0x1400470de
xor edi, edi
mov dword [0x1400e1b90], ebx
mov edx, ebx
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140046ffe
nop dword [rax + rax]
lea rdx, str.FortniteClient_Win64_Shipping.exe
lea rcx, [rsp + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140046ff9
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140046fd0
jmp 0x140046ffe
mov rdi, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [0x1400e1b90]
xor edx, edx
mov ecx, 0x1fffff
mov qword [0x1400e1bd0], rdi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, qword [0x1400b8070]
lea r8, [rsp + 0x270]
add rdx, qword [0x1400e1bd0]
mov r9d, 8
mov rcx, rax
mov qword [0x1400b8070], rdx
mov qword [0x1400e1bc8], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x270]
lea rdx, str.Fortnite
mov qword [0x1400b8070], rax
lea rcx, str.UnrealWindow
mov rax, qword [0x1400e1bd0]
add qword [0x1400b8068], rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400e1ba8], rax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400470b4
imul rax, rax, 0x64
jmp 0x1400470d2
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov qword [0x1400e1b98], rax
call fcn.1400590c0
xor eax, eax
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.14005c140
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x3c0
pop rdi
ret
Function at 0x14004ed10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x14004ed44
cmp ecx, r10d
jge 0x14004ed32
mov rcx, rbx
call fcn.14004e510
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14004ed7e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x14004ed60
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x14004eda6
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x14004edd5
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14004edbf
xor dl, dl
jmp 0x14004edc8
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14004edb6
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14004ed82
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14004ee3f
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14004ee59
mov rcx, rbx
call fcn.14004e660
test eax, eax
je 0x14004ee32
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14005cc84
Capabilities:
Parse pe header

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

Disassembly:
call 0x140fea1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140fea089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fea06f
add dl, dl
jne 0x140fea096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fea0f6
xor eax, eax
add dl, dl
jne 0x140fea0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fea1ad
add dl, dl
jne 0x140fea0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fea0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fea0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fea0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140fea0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140fea07e
mov eax, 1
add dl, dl
jne 0x140fea106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fea113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fea0fb
sub eax, ebx
mov ebx, 1
jne 0x140fea14c
mov ecx, 1
add dl, dl
jne 0x140fea12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fea13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fea123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fea07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140fea168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fea175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fea15d
cmp eax, 0x7d00
jae 0x140fea19b
cmp eax, 0x500
jb 0x140fea196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fea07e
cmp eax, 0x7f
ja 0x140fea19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fea07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140fea1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140fea07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20