joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a540
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a585
xor al, al
jmp 0x14000a5d2
cmp word [rbx], 0
je 0x14000a59d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a590
cmp word [rsp + 0x30], 0
je 0x14000a5cb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a5f3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a5b0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000bbc0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.1400102a4
int3
Function at 0x14000ad90
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001fc20
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002fdd0]
lea rsi, [0x140042e10]
mov rdi, rcx
test r11d, r11d
jne 0x14000ae09
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a600
test al, al
je 0x14000aee9
lea rcx, [rsp + 0x20]
call fcn.1400148ac
movsxd r11, dword [0x14002fdd0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002fdd0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ae44
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ae34
add rax, 2
test ecx, ecx
jne 0x14000ae20
test edx, edx
je 0x14000ae67
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ae14
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ae50
cmp rax, 2
jne 0x14000ae6b
cmp word [rdi + 2], 0x3a
jne 0x14000ae6b
mov al, 1
jmp 0x14000aec8
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ae96
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000aebd
mov bl, 1
cmp dword [0x14002fdd0], 0x400
jge 0x14000aebd
mov rcx, rdi
call fcn.1400148ac
movsxd rdx, dword [0x14002fdd0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fdd0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000bbc0
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000ac30
int3
Function at 0x14000c4b4
Capabilities:
Parse pe header

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

Function at 0x140010298
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140010103
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140010103
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140010103
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140010103
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140010103
cmp dword [rcx + 0x84], 0xe
jbe 0x140010103
cmp dword [rcx + 0xf8], 0
je 0x140010103
mov ecx, ebx
call fcn.1400101b4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000ff90
nop
cmp dword [rbp + 0x20], 0
je 0x140010151
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001015c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140010094
Function at 0x100eb4c60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100eb4c6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100eb4c7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100eb4c65
lea eax, [rcx + 1]
jmp 0x100eb4c8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100eb4c9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100eb4c84
sub eax, 3
jb 0x100eb4cbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100eb4d0d
sar eax, 1
movsxd rbp, eax
jb 0x100eb4cf4
jmp 0x100eb4ccc
add ebx, ebx
jne 0x100eb4cca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100eb4cf4
inc ecx
add ebx, ebx
jne 0x100eb4cda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100eb4cf4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100eb4ced
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100eb4cdc
add ecx, 2
jmp 0x100eb4cf9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100eb4c22
jmp 0x100eb4c6d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xeb0000]
mov eax, dword [rdi]
or eax, eax
je 0x100eb4d69
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xec60dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100eb4d19
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100eb4d63
mov qword [rbx], rax
add rbx, 8
jmp 0x100eb4d39
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100eb4dec], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100eb4dec
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100eb4ddc
sub rsp, 0xffffffffffffff80
jmp 0x100003210
Function at 0x2ed3950
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x2ed395d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x2ed396d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x2ed3955
lea eax, [rcx + 1]
jmp 0x2ed397b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x2ed398e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x2ed3974
sub eax, 3
jb 0x2ed39ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x2ed39fd
sar eax, 1
movsxd rbp, eax
jb 0x2ed39e4
jmp 0x2ed39bc
add ebx, ebx
jne 0x2ed39ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x2ed39e4
inc ecx
add ebx, ebx
jne 0x2ed39ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x2ed39e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x2ed39dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x2ed39cc
add ecx, 2
jmp 0x2ed39e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.02ed3912
jmp 0x2ed395d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2aaa000]
mov eax, dword [rdi]
or eax, eax
je 0x2ed3a59
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2ad3000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x2ed3a09
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x2ed3a53
mov qword [rbx], rax
add rbx, 8
jmp 0x2ed3a29
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x2ed3a9d
cmp al, 0xef
ja 0x2ed3a85
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x2ed3a65
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x2ed3a74
mov eax, dword [rdi]
add rdi, 4
jmp 0x2ed3a74
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x2ed3af1
sub rsp, 0xffffffffffffff80
jmp 0x465b00
Function at 0x180006210
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x180006277
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180006232
mov ecx, dword [r10]
jmp 0x180006398
cmp ecx, 0x270
jb 0x180006398
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x1800062b0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x180006310
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x180006860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x1802e1328]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x18000693b
mov rax, qword [rdi]
test rax, rax
je 0x1800068eb
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800068eb
test rsi, rsi
je 0x1800068eb
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1800068eb
cmp dword [rsp + 0x40], ebx
je 0x18000693b
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x18000690a
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x18000690a
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800129d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x180012a30
mov r8, qword [rcx]
test r8, r8
je 0x180012a30
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x1800129f0
test ecx, ecx
je 0x180012a2d
mov r9d, ecx
lea r10, [0x180244010]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x180012a10
not eax
ret
xor eax, eax
ret

Function at 0x180013390
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18001339d
xor eax, eax
jmp 0x180013416
mov r9, qword [rcx]
test r9, r9
jne 0x1800133a9
xor eax, eax
jmp 0x180013416
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x1800133b6
xor eax, eax
jmp 0x180013416
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x180244010]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x1800133e0
cmp edx, eax
jae 0x18001340c
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x1800133cd
not r8d
mov eax, r8d
jmp 0x180013416
add rsp, 0x18
ret

Function at 0x180013aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1802bfc06], 0
mov rbx, rcx
je 0x180013b11
mov ecx, dword [0x1802bfcdc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180013b11
cmp dword [0x1802bfc20], 1
jne 0x180013b11
lea rcx, [rbx + 0x98]
cmp rcx, 0x40000
jbe 0x180013b11
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x180013b11
mov rcx, qword [rcx]
add rcx, 0x1dc
cmp rcx, 0x40000
jbe 0x180013b11
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x180013b11
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret

Function at 0x180017d60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x1802bfafc], 0
jne 0x180017dc0
lea rcx, [rsp + 0x30]
mov byte [0x1802bfafc], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x1802bfd08], xmm0
movss dword [0x1802bfb5c], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x1802bfb5c]
divss xmm0, dword [0x1802bfd08]
add rsp, 0x28
ret
Function at 0x180019b90
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1802bfbc0]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.1800144f0
mov rbx, rax
test rax, rax
je 0x180019db2
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1800138f0
cmp dword [rsp + 0x20], 0
je 0x180019db2
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x180019db2
cmp eax, 0xfffffffe
jne 0x180019c76
mov rcx, rbx
call fcn.180013b20
cmp byte [0x1802bfbb6], 0
je 0x180019db2
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019db2
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019db2
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x180019c49
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x180019c49
mov byte [r9], 1
lea rdx, [r8 + 0x344]
cmp rdx, 0x40000
jbe 0x180019db2
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180019db2
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x180019cde
mov rcx, rbx
call fcn.180013b20
cmp byte [0x1802bfbf2], 0
je 0x180019cd1
lea rdx, [rbx + 0x98]
cmp rdx, 0x40000
jbe 0x180019cd1
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019cd1
mov rdx, qword [rdx]
add rdx, 0x1dc
cmp rdx, 0x40000
jbe 0x180019cd1
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x180019cd1
mov dword [rdx], 0x3c23d70a
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.180013aa0
cmp eax, 2
jne 0x180019d37
mov rcx, rbx
call fcn.180013b20
mov rcx, rbx
call fcn.180013aa0
cmp byte [0x1802bfbb5], 0
je 0x180019db2
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019db2
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019db2
mov rdx, qword [rbx]
add rdx, 0x270
jmp 0x180019d9d
cmp eax, 0xffffffff
jne 0x180019db2
mov rcx, rbx
call fcn.180013b20
cmp byte [0x1802bfbf8], 0
je 0x180019db2
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x180019db2
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x180019db2
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x180019d96
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x180019d96
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x350]
cmp rdx, 0x40000
jbe 0x180019db2
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x180019db2
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x18001c750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18001c7c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18001c7c8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x18001c7b5
nop
cmp rbx, rcx
jae 0x18001c7c8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18001c7a0
cmp rbx, rcx
jae 0x18001c7c8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18001c7ca
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003dd00
Capabilities:
Execute command

Disassembly:
sub rsp, 0x48
mov rcx, qword [0x1802bfd38]
mov rax, qword [rcx + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea0]
movss xmm1, dword [rax + 0x18]
movss xmm0, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x64]
subss xmm0, dword [rax + 0x68]
mov byte [rax + 0x121], 1
addss xmm1, dword [0x180272728]
addss xmm0, dword [0x180272690]
movss dword [rax + 0xe0], xmm1
movss dword [rax + 0xe4], xmm0
call fcn.180054540
mov ecx, dword [0x1802c0db8]
test ecx, ecx
je 0x18003df5e
sub ecx, 1
je 0x18003df50
sub ecx, 1
je 0x18003df42
sub ecx, 1
je 0x18003df34
cmp ecx, 1
jne 0x18003df63
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0xc0c00000
lea rcx, str.Main
mov dword [rsp + 0x54], 0x43d20000
call fcn.18003ab30
xor eax, eax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x38], rax
lea r8, [0x1802862b0]
mov qword [rsp + 0x30], rax
lea rcx, [0x18026c6cf]
mov dword [rsp + 0x28], eax
mov r9d, 0x100
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.18006d250
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Save
call fcn.180067950
test al, al
je 0x18003de14
call fcn.18002cff0
movss xmm1, dword [0x1802727f4]
call fcn.180054280
lea rcx, str.Load
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
call fcn.180067950
test al, al
je 0x18003de44
call fcn.18002d5f0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Open_Folder
call fcn.180067950
test al, al
je 0x18003de6f
lea rcx, str.start_C:NightaWare
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Discord_Server
call fcn.180067950
test al, al
je 0x18003de9a
lea rcx, str.start_https:__discord.gg_QDC57S7xZR
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, str.Unload_Cheat
call fcn.180067950
test al, al
je 0x18003debf
mov byte [0x1802bfc29], 1
mov r8d, 0x260
lea rdx, [0x1802befb0]
lea rcx, str.UI_color
call fcn.1800706e0
test al, al
je 0x18003df26
movss xmm2, dword [0x180272754]
movss xmm0, dword [0x1802befb0]
movss xmm1, dword [0x1802befb8]
mulss xmm0, xmm2
mulss xmm1, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [0x1802befb4]
mov dword [0x1802860c8], eax
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [0x1802860cc], eax
cvttss2si eax, xmm1
mov dword [0x1802860d0], eax
call fcn.18004dd80
add rsp, 0x48
jmp fcn.180054670
call fcn.18003d9e0
add rsp, 0x48
jmp fcn.180054670
call fcn.18003cda0
add rsp, 0x48
jmp fcn.180054670
call fcn.18003cad0
add rsp, 0x48
jmp fcn.180054670
call fcn.18003c4d0
add rsp, 0x48
jmp fcn.180054670

Function at 0x18003f840
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x18003f850
xor al, al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x18003f5f0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003f87d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret
Function at 0x180045d20
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 0x180045d7d
lea rbx, [0x180267e30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180045d64
cmp r10, 2
jb 0x180045d64
cmp byte [r9], r8b
jne 0x180045d64
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 0x180045d40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180045dbf
lea rbx, [0x180267e30]
cmp r8b, 0x23
jne 0x180045da3
cmp byte [r9], r8b
jne 0x180045da3
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 0x180045d90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180045f00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180045f1a
mov qword [r8], 0
lea rdx, [0x180271344]
call fcn.180045dd0
mov rbx, rax
test rax, rax
jne 0x180045f3a
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 0x180046013
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180046013
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180046013
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 0x180046013
cmp rdi, 0xffffffffffffffff
je 0x180046013
mov rax, qword [0x1802bfd38]
test rax, rax
je 0x180045fb0
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 0x180046013
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 0x180046000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1802bfd38]
test rax, rax
je 0x180045ff5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18004601c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18004600e
mov qword [r14], rdi
mov rax, rsi
jmp 0x18004601e
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