joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140305b20
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x140305b5c
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
je 0x140305b42
mov r10d, dword [r10 + 0x14]
jmp 0x140305b45
xor r10d, r10d
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x140305b2f
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret

Function at 0x140326c40
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x80], r8d
mov dword [rsp + 0x88], r9d
mov ebx, dword [rsp + 0x70]
mov esi, dword [rsp + 0x78]
cmp byte [rsp + 0x80], 0
setne dil
movzx edi, dil
cmp byte [rsp + 0x88], 0
setne bpl
movzx ebp, bpl
cmp byte [rsp + 0x90], 0
setne r14b
movzx r14d, r14b
mov r15d, dword [rsp + 0x98]
mov r13d, dword [rsp + 0xa0]
lea r12, [0x1403a8900]
cmp qword [r12 - 8], 0
jne 0x140326d95
mov eax, dword [r12]
imul ecx, ebx, 0x85ebca77
lea ecx, [rax + rcx + 0x24234428]
rol ecx, 0xd
imul ecx, ecx, 0x9e3779b1
rol ecx, 1
imul edx, esi, 0x85ebca77
lea edx, [rax + rdx - 0x7a143589]
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 7
add ecx, edx
imul edx, edi, 0x85ebca77
add edx, eax
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 0xc
add ecx, edx
imul edx, ebp, 0x85ebca77
lea eax, [rax + rdx + 0x61c8864f]
rol eax, 0xd
imul eax, eax, 0x9e3779b1
rol eax, 0x12
lea eax, [rcx + rax + 0x1c]
imul ecx, r14d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, r15d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul ecx, r13d, 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14000132c
jmp 0x140326cc3

Function at 0x140345540
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov esi, edx
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x140345572
mov rcx, qword [rbx + rdi*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ecx, esi
rol ecx, 0xd
add ecx, esi
mov esi, eax
xor esi, ecx
inc edi
cmp ebp, edi
jg 0x140345556
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x1400010a0
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0xd8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x98], 0x30
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xb0], 0x240
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc8]
mov edx, 0x100001
lea r8, [rsp + 0x98]
lea r9, [rsp + 0x88]
mov dword [rsp + 0x20], 7
mov dword [rsp + 0x28], 0x21
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jge 0x140001168
mov r9d, dword [rsp + 0x6c]
lea r8, str.ZwOpenFile_failed:_0x_x_n
mov rax, qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov ecx, 0x4d
xor edx, edx
call rax
jmp 0x14000131c
xor ecx, ecx
mov edx, 0x10000
mov r8d, 0x4c697374
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400011b6
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r8, str.ExAllocatePoolWithTag_failed_n
mov rax, qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov ecx, 0x4d
xor edx, edx
call rax
jmp 0x14000131c
jmp 0x1400011bb
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xc8]
xor edx, edx
mov r9d, edx
lea r10, [rsp + 0x88]
xor edx, edx
mov rdx, r9
mov r8, r9
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x10000
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
call qword [sym.imp.ntoskrnl.exe_ZwQueryDirectoryFile]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x80000006
jne 0x14000122d
jmp 0x1400012fe
cmp dword [rsp + 0x6c], 0
jge 0x140001259
mov r9d, dword [rsp + 0x6c]
lea r8, str.ZwQueryDirectoryFile_failed:_0x_x_n
mov rax, qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov ecx, 0x4d
xor edx, edx
call rax
jmp 0x1400012fe
jmp 0x14000125e
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x38]
and eax, 0x10
cmp eax, 0
jne 0x1400012c3
mov rax, qword [rsp + 0x58]
add rax, 0x40
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x3c]
mov word [rsp + 0x78], ax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x3c]
mov word [rsp + 0x7a], ax
lea r8, str.Found_file:__wZ_n
mov rax, qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov ecx, 0x4d
xor edx, edx
lea r9, [rsp + 0x78]
call rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0
jne 0x1400012d6
jmp 0x1400012f9
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx]
add rax, rcx
mov qword [rsp + 0x58], rax
mov al, 1
test al, 1
jne 0x140001268
jmp 0x1400012f9
jmp 0x1400011bb
mov rcx, qword [rsp + 0x60]
mov edx, 0x4c697374
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140001350
nop
add rsp, 0xd8
ret
Function at 0x140001980
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
lea rdi, [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov rcx, rdi
mov r8d, 0x104
xor r14d, r14d
call sub.VCRUNTIME140.dll_memset
lea rbp, [rbx + 0x114]
xor edx, edx
mov rcx, rbp
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [rbx + 0xc], eax
test eax, eax
jne 0x1400019ec
lea rdx, str.Error:_GetLogicalDriveStringsA_failed.
jmp 0x140001a32
cmp byte [rdi], r14b
je 0x140001a2b
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x140001a14
cmp byte [rbp], r14b
je 0x140001a8c
mov rax, rbx
inc rax
cmp byte [rdi + rax], r14b
jne 0x140001a17
inc rdi
add rdi, rax
cmp byte [rdi], r14b
jne 0x140001a00
lea rdx, str.Error:_Fixed_drive_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004e10
lea rdx, [0x140004fe0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, [0x140008631]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
xor r8d, r8d
mov qword [rsi + 0x18], r14
mov rcx, rsi
call fcn.140005130
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rcx, rbp
nop
movzx eax, byte [rdi]
lea rdi, [rdi + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140001a90
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
nop
inc rbx
cmp byte [rbx + rbp], r14b
jne 0x140001ab0
mov r8, rbx
mov rdx, rbp
jmp 0x140001a66
Function at 0x1400033c0
Capabilities:
Check internet connectivity via wininet
Create thread

Disassembly:
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x210], rax
movups xmm0, xmmword [str.https:__stackoverflow.com_]
movaps xmmword [rbp + 0x190], xmm0
movsd xmm0, qword [0x140008b00]
movsd qword [rbp + 0x1a0], xmm0
movzx eax, word [0x140008b08]
mov word [rbp + 0x1a8], ax
movzx eax, byte [0x140008b0a]
mov byte [rbp + 0x1aa], al
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1ab], xmm0
movups xmmword [rbp + 0x1bb], xmm0
movups xmmword [rbp + 0x1cb], xmm0
movups xmmword [rbp + 0x1db], xmm0
movups xmmword [rbp + 0x1eb], xmm0
movups xmmword [rbp + 0x1fb], xmm0
mov dword [rbp + 0x20b], eax
mov byte [rbp + 0x20f], al
xor r8d, r8d
lea edx, [rax + 1]
lea rcx, [rbp + 0x190]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
jne 0x1400034a4
lea r9d, [rax + 0x10]
lea r8, str.No_Connection
lea rdx, str.Please_run_this_program_again_when_you_have_a_stable_connection.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140006160
add rsp, 0x320
pop rbp
ret
xor edx, edx
mov r8d, 0x218
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x84]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsp + 0x70], rax
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov r9d, 0x34
lea r8, str.Warning...
lea rdx, str.Are_you_sure_you_want_to_run_this_malware_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rsp + 0x78], eax
cmp eax, 6
je 0x14000352f
xor eax, eax
jmp 0x14000348c
call fcn.140002990
call fcn.140002540
mov ecx, 0x10
call fcn.140006188
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
lea rcx, [0x140001ad0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140005fb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140003619
cmp dword [rsp + 0x38], 0
je 0x14000360d
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000360d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x70]
call fcn.140002180
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140001980
nop
mov r8d, 5
lea rdx, str.Users
lea rcx, [rsp + 0x50]
call fcn.140004880
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140002cb0
nop dword [rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003600
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140003bc0
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 0x140003be8
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 0x140003c0e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003c10
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003c69
test ecx, ecx
jle 0x140003c49
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 0x140003c69
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003c69
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 0x140003c90
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140003cb2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140003cc8
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003ce4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003ce6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003d22
mov qword [rsp + 0x20], 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 + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140003dbe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140003d5d
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 0x140003d9e
nop word [rax + 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 0x140003dbe
cmp rbx, rax
ja 0x140003d70
test rbx, rbx
je 0x140003dbe
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
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140004220
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000424d
xor eax, eax
jmp 0x1400043b9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004287
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004287
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400043b9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400043ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400042ca
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 0x1400042f5
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
cmovne ecx, edi
mov eax, ecx
jmp 0x1400043b1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x140004364
sub eax, 1
je 0x140004364
cmp eax, 2
jne 0x1400043ac
movsx ecx, byte [rsp + 0x50]
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
cmovne ecx, edi
mov eax, ecx
jmp 0x1400043b1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004392
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400043ac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400043b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006160
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400046d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400047a3
cmp byte [rcx + 0x71], 0
je 0x1400047a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000479f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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 0x140004764
sub eax, 1
je 0x140004768
cmp eax, 2
jne 0x14000479f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006160
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004796
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000479f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000474c
xor al, al
jmp 0x14000474c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006160
add rsp, 0x60
pop rbx
ret
Function at 0x140005dd0
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 0x140005e37
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 0x140005df2
mov ecx, dword [r10]
jmp 0x140005f58
cmp ecx, 0x270
jb 0x140005f58
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 0x140005e70
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 0x140005ed0
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 0x140006ae8
Capabilities:
Parse pe header

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

Disassembly:
mov r10, rcx
mov eax, 0x26
syscall
ret

Function at 0x14000123b
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x140001246
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x140001251
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0xc7
syscall
ret

Function at 0x140001b38
Capabilities:
Parse pe header

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

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

Function at 0x14000529c
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 0x14000530b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000530b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000530b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000530b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000530b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000530b
cmp dword [rcx + 0xf8], 0
je 0x14000530b
mov ecx, ebx
call fcn.1400053bc
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.140005198
nop
cmp dword [rbp + 0x20], 0
je 0x140005359
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005364
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000529c

Function at 0x1400054a0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000529c