joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bf920
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x1400bf952
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x1400bf9fa
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x1400bf996
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x1400bf9e5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400bf9b2
mov dword [rsp + 0x1c], 1
jmp 0x1400bf9ba
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x1400bf9e3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x1400bf98c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x1400bf948
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
ror esi, cl
xchg edi, eax
invalid
sbb esi, dword [rdi]
lodsb al, byte [rsi]
jrcxz 0x14003f5cb
push rbp
stosd dword [rdi], eax
push 0xffffffff9bc6a9ac
outsb dx, byte [rsi]
sub edx, eax
pop rcx
outsb dx, byte [rsi]
invalid
cmp byte [rsi], dl
out 0x64, eax
invalid
ja 0x14003f6a9
mov dl, 0x5c
mov edx, 0x37e82bf0
push rbp
cmc
mov edi, 0x5cc0c889
cli
lea edx, [rdi - 0x2f]
pop rdi
xor eax, 0x7fc3fa1
xchg esi, eax
movabs dword [0x73bf03658de015fa], eax
lea esp, [rbp + 3]
invalid
jae 0x14003f5fb
lea esp, [rbp + 3]
mov edi, 0xc788f73
js 0x14003f67a
sub esi, dword [rdx]
pushfq
add dh, byte ss:[rbx + 7]
jg 0x14003f645
popfq
popfq
invalid
ffreep st(7)
mov ah, dh
scasb al, byte [rdi]
mov ebp, 0xaf3632ec
scasd eax, dword [rdi]
scasd eax, dword [rdi]
pop rdx
rcl dword [0x19cd78e5d], 0x5b
pop rsp
pop rbx
pop rsp
pop rbx
xchg ebx, eax
mov bl, 0x15
xlatb
insb byte [rdi], dx
ja 0x14003f67f
cdq
sub esp, dword [rbp + 3]
lahf
mov dl, 0x94
loope str._w_
test byte [rbx - 0x43], dh
jge 0x14003f693
in al, dx
in al, dx
cmp eax, 0x471d8a79
invalid
mov bl, byte [0x10af585f6]
leave
push rbx
hlt
or al, 0xd
invalid
invalid

Function at 0x140007284
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14000734a
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x14000730e
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000730b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x1400205b8]
mov rdx, rsi
call fcn.140011c68
jmp 0x14000730e
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072db
mov rdx, qword [0x14001f120]
lea rcx, [0x1400205b8]
mov rdi, rdx
inc rdx
mov qword [0x14001f120], rdx
lea edx, [rbx + 0x20]
call fcn.140011cb0
lea rcx, [0x140021170]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140011307
Capabilities:
Terminate process

Disassembly:
jmp 0x140016710
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 0x1400113c5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x140014e40
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140022018]
xor rax, rbp
mov qword [rbp + 0x160], rax
lea rcx, [0x140028102]
call fcn.140011596
lea rdx, [0x14001e3d8]
lea rcx, [rbp + 8]
call fcn.14001125d
nop
lea rcx, [rbp + 8]
call fcn.14001140b
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 8]
call fcn.14001140b
mov qword [rbp + 0x158], rax
lea rcx, [rbp + 8]
call fcn.140011244
mov rcx, qword [rbp + 0x158]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x48]
call fcn.1400112ad
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x68], rax
call qword [rbp + 0x68]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [rbp + 0x144], 0
lea rcx, [rbp + 8]
call fcn.14001110e
mov eax, dword [rbp + 0x144]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001df20]
call fcn.1400114a1
mov eax, edi
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.1400112a8
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret

Function at 0x1400113d9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017a60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017a80
xor al, al
jmp 0x140017b01
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017a93
xor al, al
jmp 0x140017b01
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 0x140017abd
xor al, al
jmp 0x140017b01
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017ad1
xor al, al
jmp 0x140017b01
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017ae3
xor al, al
jmp 0x140017b01
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140017aff
xor al, al
jmp 0x140017b01
mov al, 1
add rsp, 0x38
ret
Function at 0x140006720
Capabilities:
Set registry value

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov dword [rbp + 0xc], r9d
mov qword [rbp + 0x10], r8
mov qword [rbp + 0x18], rdx
mov rax, rcx
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x100]
mov rdx, qword [rbp + 0xf8]
mov r10d, dword [rbp + 0xf0]
mov dword [rbp + 0x34], r10d
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], r8
mov dword [rbp + 0x94], r9d
mov byte [rbp + 0x7f], 0
mov byte [rbp + 0x7f], 1
call fcn.140013e20
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], rax
jmp 0x1400067a3
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x58]
call fcn.140006c20
mov qword [rbp], rax
jmp 0x1400067c2
mov rcx, qword [rbp + 0x10]
mov byte [rbp + 0x7f], 0
call fcn.140019060
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rax
jmp 0x1400067d9
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x68]
call fcn.140006ce0
mov qword [rbp - 0x18], rax
jmp 0x1400067f8
lea rcx, [rbp + 0x48]
call fcn.140005090
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x14000680b
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xa8], rax
mov r8, qword [rbp + 0xa8]
call fcn.140004f10
mov qword [rbp - 0x30], rax
jmp 0x140006854
lea rcx, [rbp + 0x48]
call fcn.140005090
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rax
jmp 0x140006867
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
xor r8d, r8d
call fcn.140004fe0
mov dword [rbp - 0x44], eax
jmp 0x14000687c
mov r9d, dword [rbp + 0x34]
mov r8d, dword [rbp + 0xc]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp]
mov r10, qword [rbp - 0x30]
mov r11d, dword [rbp - 0x44]
mov rax, rsp
mov dword [rax + 0x28], r11d
mov qword [rax + 0x20], r10
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call rax
mov dword [rbp - 0x48], eax
jmp 0x1400068ad
mov edx, dword [rbp - 0x48]
mov rcx, qword [rbp + 0x20]
call fcn.140004300
jmp 0x1400068bb
mov rax, qword [rbp + 0x28]
add rsp, 0x140
pop rbp
ret

Function at 0x140009570
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x2c], ecx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x3c], r8d
mov qword [rsp + 0x40], r9
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop
add rsp, 0x48
ret

Function at 0x1400095a0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], rcx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
add rsp, 0x28
ret
Function at 0x1400095c0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rdx
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x30]
mov edx, eax
call fcn.140009980
mov rax, qword [rsp + 0x38]
add rsp, 0x48
ret

Function at 0x140018a30
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
call fcn.140019060
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rdx
lea rcx, [rsp + 0x28]
call fcn.140006ce0
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
nop
add rsp, 0x48
ret

Function at 0x140079280
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x58
ret
Function at 0x1400792c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov qword [rbp + 0x3f0], rcx
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x400], 2
mov qword [rbp + 0x408], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140079360
jmp 0x14007934f
jae 0x14007941f
cmp r8, 0x201
jae 0x140079360
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x1400793b7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14007938f
lea rcx, [rbp + 0x3f8]
mov rdx, rbx
call fcn.1400940b0
mov rsi, qword [rbp + 0x3f8]
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x408], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400793e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140079499
mov r8d, r13d
cmp r12, r8
jne 0x140079340
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400794cd
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14007934f
jmp 0x140079360
cmp r14, r8
jb 0x1400794e7
lea rcx, [rbp + 0x3c8]
mov rdx, r15
call fcn.14007c870
movups xmm0, xmmword [rbp + 0x3c8]
movups xmm1, xmmword [rbp + 0x3d8]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3f0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x140079482
mov rcx, qword [rbp + 0x400]
add rdx, rdx
mov r8d, 2
call fcn.140006a60
mov rax, rsi
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3f0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
jne 0x14007946d
jmp 0x140079482
lea rcx, str.internal_error:_entered_unreachable_code_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs_
mov edx, 0x28
call fcn.140094f50
jmp 0x1400794fc
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs_
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140095430
ud2
Function at 0x140081060
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
cmp byte [rcx + 0x21], 0
je 0x140081087
mov byte [rbp + 0x2f], 3
jmp 0x1400810b8
mov eax, dword [0x1400c92f8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
cmp qword [rax + 0x60], 1
jbe 0x1400810aa
mov byte [rbp + 0x2f], 1
jmp 0x1400810b8
mov rsi, rcx
call fcn.14007cab0
mov rcx, rsi
mov byte [rbp + 0x2f], al
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x10], rax
mov rsi, qword [rcx]
mov rdi, qword [rcx + 8]
mov rcx, rsi
call qword [rdi + 0x18]
movabs rcx, 0xfdbc168100b1ef64
cmp rax, rcx
jne 0x1400810f3
mov eax, 8
movabs r8, 0xc1a2c89ccd1e7bc1
mov rcx, rsi
cmp rdx, r8
je 0x14008112c
mov rcx, rsi
call qword [rdi + 0x18]
movabs r9, 0x2fc607fc58c89c13
mov ecx, 0xc
lea r8, [0x1400a9d64]
cmp rax, r9
jne 0x140081133
movabs rax, 0x966c449ce853da53
cmp rdx, rax
jne 0x140081133
lea rcx, [rsi + 8]
mov eax, 0x10
mov r8, qword [rcx]
mov rcx, qword [rsi + rax]
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], rcx
call fcn.140080030
mov rdi, rax
mov qword [rbp + 8], rax
mov eax, 9
lea rcx, [0x1400a9d70]
test rdi, rdi
je 0x14008116b
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x14008116b
mov rax, qword [rdi + 0x20]
dec rax
mov rcx, rdx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x2f]
mov qword [rbp - 0x38], rax
movzx eax, byte [0x1400c91b8]
test al, al
je 0x1400811cb
mov byte [0x1400c91b8], 1
mov eax, dword [0x1400c92f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x80], 0
je 0x1400811d8
lea rax, [rax + 0x88]
jmp 0x1400811f0
mov qword [rbp], 0
jmp 0x1400812b4
mov qword [rbp + 0x20], rdi
xor ecx, ecx
call fcn.140085f30
test rax, rax
mov rdi, qword [rbp + 0x20]
je 0x140081390
mov rsi, qword [rax]
mov qword [rax], 0
mov qword [rbp], rsi
test rsi, rsi
je 0x1400812b4
mov qword [rbp - 8], rsi
lea rdi, [rsi + 0x10]
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
mov byte [rbp + 0x2d], 0
lea rax, [0x1400a9448]
mov qword [rsp + 0x20], rax
and byte [rax - 0x73], cl
or eax, 0x2803d
add byte [rdx], 0
Function at 0x1400831b0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x1400aa590]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400831e8
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rcx
test r9, r9
mov qword [rsp + 0x80], r9
lea rcx, [rsp + 0x88]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140083251
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140083285
test eax, eax
js 0x140083265
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xb0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.14007c4a0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.140077600
mov ecx, 7
int 0x29
ud2

Function at 0x140083f70
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
and al, 0x50
Function at 0x140092300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14009237a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140092370
cmp r11, r10
ja 0x140092405
cmp r10, rdx
ja 0x140092417
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140092372
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140092350
jmp 0x1400923e7
ja 0x14009237a
mov r11, r10
cmp rax, r8
jne 0x140092322
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400923eb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400923c0
mov r8, r10
sub ecx, r9d
jns 0x1400923de
jmp 0x1400923ed
cmp r10, rdx
je 0x1400923f9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400923ed
xor al, 1
cmp r8, rdx
jne 0x1400923a0
jmp 0x1400923ed
xor eax, eax
jmp 0x1400923ed
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140094e40
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140095440
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140095430
int3

Function at 0x140093abc
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1402d9040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov qword [rsp + 0x58], rdx
xor edi, edi
mov rax, qword [0x1402db588]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.14005f5f0
nop
lea ecx, [rdi + 0x28]
call fcn.14016b4c0
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 8], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rax + 0x18], xmm1
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], dil
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140071a00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14005671e
lea rcx, [rsp + 0x38]
call fcn.1400614c0
cmp dword [rsp + 0x68], edi
je 0x140056712
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140056712
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, rbx
call fcn.1400614c0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14016b380
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14005bad0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1402d9040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], edx
mov ecx, reloc.WS2_32.dll_recv
call fcn.14016b4c0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140071a40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14005bb72
cmp dword [rsp + 0x48], 0
je 0x14005bb66
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005bb66
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14016b380
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3