joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a3b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001a5a1
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a452
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001a474
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x140042ba0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001a594
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a4c2
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001a4c6
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.140016018
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.140017fe0
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x1c]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x20]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001a4b1
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001a400
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140023724
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140047030]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140006728
mov rcx, qword [0x140048390]
lea rdx, [rbp - 0x28]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x20]
sub ecx, dword [rbp - 0x28]
movd xmm1, ecx
mov ecx, dword [rbp - 0x1c]
sub ecx, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x10]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x10]
xorps xmm1, xmm1
sub rax, qword [0x140048398]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400483a0]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x10]
mov qword [0x140048398], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140006728
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x14002384d
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x18]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x18], ecx
mov rcx, qword [0x140048390]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140048390]
jne 0x1400238a2
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400238a2
mov rcx, qword [0x140048390]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400238a2
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x1400238b0
or eax, 0xffffffff
jmp 0x1400238bd
mov rax, qword [0x140047f40]
mov eax, dword [rax + 0x1d70]
cmp dword [0x1400475b8], eax
je 0x1400238d0
mov dword [0x1400475b8], eax
call fcn.140023678
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400368b0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14002e1dc
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4b0
mov rax, qword [0x140047030]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor esi, esi
xor edx, edx
xor r14d, r14d
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp + 0x160]
mov dword [rbp + 0x160], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, str.FortniteClient_Win64_Shipping.exe
lea rcx, [rbp + 0x18c]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x14002e2c1
mov r15d, dword [rbp + 0x168]
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002e2b1
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x14002e2ad
mov rcx, rbx
cmp dword [rsp + 0x28], r15d
je 0x14002e310
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002e298
xor eax, eax
cmp eax, r14d
jbe 0x14002e2c1
mov esi, dword [rbp + 0x168]
mov r14d, eax
lea rdx, [rbp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002e23c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400368b0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x3c]
jmp 0x14002e2b3
Function at 0x140031b7c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov eax, 0x13d0
call fcn.140037ab0
sub rsp, rax
mov rax, qword [0x140047030]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
or dword [rsp + 0x13b4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x34], eax
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, r8
jb 0x140031bcd
mov rax, qword [0x1400483f8]
xor edi, edi
mov rsi, qword [0x1400483f0]
sub rax, rsi
mov dword [rsp + 0x30], r8d
sar rax, 3
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], 0x168
test rax, rax
je 0x140031d5f
movss xmm4, dword [0x140042ba0]
mov r14d, edi
mov ebx, edi
xorps xmm5, xmm5
mov rbp, qword [0x140048408]
mov rax, qword [0x140048468]
movss xmm3, dword [rbx + rbp]
mov ecx, dword [r14 + rax]
addss xmm3, dword [rbx + rsi]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
movss dword [rbx + rsi], xmm3
movaps xmm1, xmm3
movss xmm0, dword [rbx + rbp + 4]
subss xmm1, xmm2
addss xmm0, dword [rbx + rsi + 4]
comiss xmm5, xmm1
movss dword [rbx + rsi + 4], xmm0
ja 0x140031c8a
mov rax, qword [0x140047f40]
movaps xmm0, xmm2
addss xmm0, xmm3
mov rcx, qword [rax + 0x19f8]
comiss xmm0, dword [rcx + 0x18]
jbe 0x140031cca
movss xmm0, dword [rbx + rbp]
lea rdx, [rsp + 0x30]
xorps xmm0, xmm4
lea rcx, [rsp + 0x20]
movss dword [rbx + rbp], xmm0
call fcn.140036014
and eax, 0x80000001
jge 0x140031cb4
dec eax
or eax, 0xfffffffe
inc eax
neg eax
sbb eax, eax
and eax, 2
dec eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + rbp + 4], xmm0
movss xmm0, dword [rbx + rsi + 4]
subss xmm0, xmm2
comiss xmm5, xmm0
ja 0x140031cf3
mov rax, qword [0x140047f40]
addss xmm2, dword [rbx + rsi + 4]
mov rcx, qword [rax + 0x19f8]
comiss xmm2, dword [rcx + 0x1c]
jbe 0x140031d34
movss xmm0, dword [rbx + rbp + 4]
lea rdx, [rsp + 0x30]
xorps xmm0, xmm4
lea rcx, [rsp + 0x20]
movss dword [rbx + rbp + 4], xmm0
call fcn.140036014
and eax, 0x80000001
jge 0x140031d1f
dec eax
or eax, 0xfffffffe
inc eax
neg eax
sbb eax, eax
and eax, 2
dec eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + rbp], xmm0
mov rcx, qword [0x1400483f8]
inc edi
mov rsi, qword [0x1400483f0]
add rbx, 8
sub rcx, rsi
movsxd rax, edi
sar rcx, 3
add r14, 4
cmp rax, rcx
jb 0x140031c29
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400368b0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140032090
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.140037ab0
sub rsp, rax
mov rax, qword [0x140047030]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
or dword [rbp + 0x12d4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x54], eax
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x54], eax
inc rdx
cmp rdx, r8
jb 0x1400320d8
xor eax, eax
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x38], eax
mov ebx, 0xc8
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x4c], 0x7bc
mov dword [rsp + 0x44], 0x438
mov dword [rsp + 0x20], 3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140036014
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140036014
mov rdx, qword [0x1400483f8]
cmp rdx, qword [0x140048400]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x24], xmm0
je 0x140032187
movsd xmm0, qword [rsp + 0x24]
movsd qword [rdx], xmm0
add qword [0x1400483f8], 8
jmp 0x140032198
lea r8, [rsp + 0x24]
lea rcx, [0x1400483f0]
call fcn.140036480
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140036014
neg eax
lea rdx, [rsp + 0x50]
sbb ecx, ecx
and ecx, 2
dec ecx
movd xmm1, ecx
lea rcx, [rsp + 0x38]
cvtdq2ps xmm1, xmm1
call fcn.140036014
mov rdx, qword [0x140048410]
neg eax
sbb ecx, ecx
and ecx, 2
movss dword [rsp + 0x30], xmm1
dec ecx
cmp rdx, qword [0x140048418]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x140032206
movsd xmm0, qword [rsp + 0x2c]
movsd qword [rdx], xmm0
add qword [0x140048410], 8
jmp 0x140032217
lea r8, [rsp + 0x2c]
lea rcx, [0x140048408]
call fcn.140036480
mov rdx, qword [0x140048470]
cmp rdx, qword [0x140048478]
je 0x140032237
mov dword [rdx], 3
add qword [0x140048470], 4
jmp 0x140032241
lea r8, [rsp + 0x20]
call fcn.1400362d4
sub rbx, 1
jne 0x14003212b
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1400368b0
mov rbx, qword [rsp + 0x1400]
add rsp, 0x13f0
pop rbp
ret
Function at 0x140032bb4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
mov rax, qword [0x140047030]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [0x140048010]
movaps xmm8, xmm0
cdq
xorps xmm3, xmm3
sub eax, edx
movaps xmm6, xmm1
sar eax, 1
xorps xmm2, xmm2
xorps xmm7, xmm7
movd xmm5, eax
mov eax, dword [0x140047f3c]
cdq
sub eax, edx
sar eax, 1
ucomiss xmm8, xmm3
movd xmm4, eax
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
jp 0x140032c18
je 0x140032c60
comiss xmm8, xmm5
jbe 0x140032c43
movaps xmm2, xmm5
movaps xmm0, xmm5
subss xmm2, xmm8
addss xmm0, xmm5
xorps xmm2, xmmword [0x140042ba0]
movaps xmm1, xmm2
addss xmm1, xmm5
comiss xmm1, xmm0
jbe 0x140032c43
xorps xmm2, xmm2
comiss xmm5, xmm8
jbe 0x140032c60
movaps xmm2, xmm8
subss xmm2, xmm5
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm3, xmm0
jbe 0x140032c60
xorps xmm2, xmm2
ucomiss xmm6, xmm3
jp 0x140032c67
je 0x140032cab
comiss xmm6, xmm4
jbe 0x140032c90
movaps xmm7, xmm4
movaps xmm0, xmm4
subss xmm7, xmm6
addss xmm0, xmm4
xorps xmm7, xmmword [0x140042ba0]
movaps xmm1, xmm7
addss xmm1, xmm4
comiss xmm1, xmm0
jbe 0x140032c90
xorps xmm7, xmm7
comiss xmm4, xmm6
jbe 0x140032cab
movaps xmm7, xmm6
subss xmm7, xmm4
movaps xmm1, xmm7
addss xmm1, xmm4
comiss xmm3, xmm1
jbe 0x140032cab
xorps xmm7, xmm7
divss xmm2, dword [0x140047050]
and dword [rsp + 0x20], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x38], 0
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
divss xmm7, dword [0x140047050]
cvttss2si eax, xmm0
movaps xmm0, xmm7
movd xmm1, eax
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [0x140047f58]
cvttsd2si eax, xmm1
mov dword [rsp + 0x28], eax
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si eax, xmm0
xor ecx, ecx
mov dword [rsp + 0x34], 0x4001
mov edx, 0x1000
mov r8d, edx
lea r9d, [rcx + 0x40]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, qword [0x140048020]
cvttsd2si eax, xmm1
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x140032d93
movups xmm0, xmmword [0x140048428]
mov r8d, 0x28
lea rdx, [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140048438]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x140048440]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x140048444]
mov word [rax + 0x1c], cx
lea ecx, [r8 - 0x27]
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400368b0
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x80
pop rbx
ret
Function at 0x140035bc0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x140047f50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140048420]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140047fd8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400483e8]
call qword [sym.imp.USER32.dll_DestroyWindow]
movsd xmm0, qword [0x140042228]
xor r8d, r8d
cmp byte [0x140042233], r8b
mov eax, dword [str.DX_]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
je 0x140035c51
lea r9, [rsp + 0x20]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9], al
inc r9
cmp r8d, 0xc
jl 0x140035c21
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
add rsp, 0x38
ret

Function at 0x1400367f6
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x36
syscall
ret

Function at 0x14003763c
Capabilities:
Parse pe header

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

Disassembly:
call fcn.140fb728f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140fb7139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fb711f
add dl, dl
jne 0x140fb7146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fb71a6
xor eax, eax
add dl, dl
jne 0x140fb7155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fb725d
add dl, dl
jne 0x140fb7166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fb7173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fb7180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fb718d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140fb719a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140fb712e
mov eax, 1
add dl, dl
jne 0x140fb71b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fb71c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fb71ab
sub eax, ebx
mov ebx, 1
jne 0x140fb71fc
mov ecx, 1
add dl, dl
jne 0x140fb71de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fb71eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fb71d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fb712e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140fb7218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fb7225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fb720d
cmp eax, 0x7d00
jae 0x140fb724b
cmp eax, 0x500
jb 0x140fb7246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fb712e
cmp eax, 0x7f
ja 0x140fb724e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fb712e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140fb7282
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 0x140fb712e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400028fc
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140004915
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140003ca0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140004a56
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400049d0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140004a45
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140004a0d
mov r10, qword [rdx]
cmp r10, rax
je 0x140004a07
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140004a45
cmp r9, rdx
je 0x140004a21
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140004a67
cmp r9, rdx
jne 0x140004a12
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140004980
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140004a45
Function at 0x140006960
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 0x1400069bd
lea rbx, [0x14005da70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400069a4
cmp r10, 2
jb 0x1400069a4
cmp byte [r9], r8b
jne 0x1400069a4
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 0x140006980
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400069ff
lea rbx, [0x14005da70]
cmp r8b, 0x23
jne 0x1400069e3
cmp byte [r9], r8b
jne 0x1400069e3
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 0x1400069d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140006b40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140006b5a
mov qword [r8], 0
lea rdx, [0x14005d5d0]
call fcn.140006a10
mov rbx, rax
test rax, rax
jne 0x140006b7a
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 0x140006c51
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 0x140006c51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140006c51
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 0x140006c51
cmp rdi, 0xffffffffffffffff
je 0x140006c51
mov rax, qword [0x14006d560]
test rax, rax
je 0x140006bee
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 0x140006c51
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 0x140006c3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14006d560]
test rax, rax
je 0x140006c33
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140006c5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140006c4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140006c5c
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