joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054160
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1400b0068]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x30], 0
test rdx, rdx
je 0x14005421e
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140093828]
cmp eax, edi
jb 0x1400542ea
mov rax, qword [rbx + 0x28]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400541c9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x140093828]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
call fcn.140053a90
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, edi
mov rdx, rsi
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140054259
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140058810
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.Invalid_data_passed
lea rcx, [rsp + 0x40]
call fcn.14002b700
nop
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140038510
lea rdx, [0x1400ac7e8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x40]
call fcn.140034fe0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140035750
mov rbx, rax
lea rcx, [rsp + 0x100]
call fcn.140035500
nop
lea rdx, str.Error_when_reading_file
mov rcx, rax
call fcn.14003fab0
mov rcx, rax
mov rdx, rbx
call fcn.14004f990
mov rcx, rax
lea rdx, str.Last_error:
call fcn.14003fab0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14003fe50
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14002cce0
lea rdx, [0x1400ac520]
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Invalid_size_passed
lea rcx, [rsp + 0x40]
call fcn.14002b700
nop
mov dword [rsp + 0x30], 2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140038510
lea rdx, [0x1400ac7e8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400574d0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [0x1400b0068]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, qword [rdx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, rdx
sub rax, r14
cmp rax, 2
jb 0x14005768d
cmp qword [rdx + 0x18], 8
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x18], r15
jb 0x140057524
mov rsi, qword [rdx]
xor r15d, r15d
lea rbp, [r14 + 2]
mov ebx, 7
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x38], r15
cmp rbp, rbx
jbe 0x1400575d4
mov rbx, rbp
or rbx, 7
cmp rbx, rcx
jbe 0x140057562
mov rbx, rcx
lea rcx, [r15 - 2]
jmp 0x140057591
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x140057687
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400575bd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140057687
mov rcx, rax
call fcn.140058830
test rax, rax
je 0x14005764c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400575cf
test rcx, rcx
je 0x1400575cc
call fcn.140058830
mov rdi, rax
jmp 0x1400575cf
mov rdi, r15
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x38], rbx
mov rdx, rsi
lea rbx, [r14 + r14]
mov qword [rsp + 0x30], rbp
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx + rdi], 0xa000d
lea rcx, [rsp + 0x20]
mov word [rdi + rbp*2], r15w
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140057658
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057653
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057653
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b8c
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140058810
add rsp, 0x58
pop r14
pop rsi
ret
call fcn.14002b310
int3
call fcn.14002b3d0
int3
Function at 0x140011357
Capabilities:
Terminate process

Disassembly:
jmp 0x140018240
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 0x14001145b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019590
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400195b0
xor al, al
jmp 0x140019631
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400195c3
xor al, al
jmp 0x140019631
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 0x1400195ed
xor al, al
jmp 0x140019631
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019601
xor al, al
jmp 0x140019631
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019613
xor al, al
jmp 0x140019631
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001962f
xor al, al
jmp 0x140019631
mov al, 1
add rsp, 0x38
ret
Function at 0x18007b23e
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 2]
lea rdx, [rdx + riz + 0x1f]
jmp 0x18007b286
xchg qword [rsp + 0x10], rdx
call fcn.18007b2a0
pushfq
lea rsp, [rsp + 5]
mov byte [rsp], r9b
push word [rsp + 1]
pop word [rsp]
lea rsp, [rsp + 3]
jmp 0x18007b268

Function at 0x18007b254
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [rsp + 2], dx
mov byte [rsp + 2], r13b
push word [rsp + 6]
call fcn.18007b23e

Function at 0x18007dab3
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, r10d
bswap rbp
xchg qword [rsp + 8], rax
xchg r10b, dl
cmc
jmp 0x18007dad4
mov r8w, 0x417f
mov eax, dword [rsp + 4]
jmp 0x18007da9d
lea rax, [rax + riz + 0x41e]
bswap r15
mov bpl, r10b
jmp 0x18007db06
mov r10, rcx
lea rsi, [r9*8]
bswap r10
jmp 0x18007dabe
mov r12b, byte [rsp]
not r8d
xchg bpl, sil
xchg qword [rsp + 8], rax
shl esi, 8
adc r10d, esi
call fcn.18007daf0
mov ebx, dword [reloc.KERNEL32.dll_GetCurrentProcess]
in al, dx
inc esi
jno 0x18007db9b
jae 0x18007db72
adc al, bh
movsb byte [rdi], byte [rsi]
add byte [rax], al
add byte [rcx - 1], cl
int 0x41
and bh, 0xdd
mov esp, 0xcceb4a1e
ror r8d, 3
lea r12, [rbx + r15]
lea rbp, [rbp + riz + 2]
xchg r15b, dl
jmp 0x18007dbe0
mov al, 0x1c
ror sil, cl
bswap rbx
push rsi
xchg qword [rsp + 8], rbp
setb r15b
jmp 0x18007dc30
lea r8, [rdi*8]
mov ebx, r14d
xchg edx, esi
bswap rbx
push qword [rsp + 8]
ret 0x10

Function at 0x1801b4773
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg r15d, esi
cpuid
setg r11b
cld
mov r10, r14
jmp 0x1801b47b8
xchg di, bp
mov word [rsp + 0xf], r13w
btc r13, r15
rdtsc
jmp 0x1801b47a2
add rsp, 6
bswap r9d
not r11
mov word [rsp + 9], r9w
jmp 0x1801b47cb
rdtsc
xchg dword [rsp + 3], r15d
xchg rsi, rax
cld
mov bl, 0xe
lea rdi, [r11 + riz + 0x17]
jmp 0x1801b4782
bswap esi
xchg si, di
mov qword [rsp + 8], rsp
cmc
mov rax, 0xffffffffdbe9a6c7
btc r15, rsp
jmp 0x1801b481d
pop r8
setne r13b
mov r9, qword [rsp + 1]
mov rbx, 0xd44a99
xchg r10w, di
mov edi, dword [rsp + 7]
jmp 0x1801b4807

Function at 0x1801b4dcc
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg r13, rbx
add rsp, 0x12
dec ebp
dec r15d
xchg dl, r15b
mov bl, r15b
jmp 0x1801b4dfa
pop r10w
mov dx, cx
xchg word [rsp + 0xf], di
mov word [rsp + 0xa], sp
inc r9
jmp 0x1801b4da5
mov r10b, dl
cld
mov byte [rsp + 1], cl
bt si, r9w
neg ebx
rdtsc
jmp 0x1801b4e10
push word [rsp + 3]
std
xchg dword [rsp], eax
mov bp, r14w
mov r13w, 0x3f10
pop r15
jmp 0x1801b4de2
xchg r13d, edx
mov dword [rsp], eax
mov cl, dil
bswap rsi
lea r9, [rax*4]
pop word [rsp]
jmp 0x1801b4e58
rdtsc
sub rsp, 0x13
lea rsi, [r8*4]
push qword [rsp + 0x12]
push word [rsp + 0x11]
pop qword [rsp + 9]
jmp 0x1801b4e42

Function at 0x1801b4ff4
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap r8d
pop word [rsp]
mov rdi, rcx
jmp 0x1801b502d
sub rsp, 0xf
mov word [rsp + 0x11], r10w
mov r9, r11
push word [rsp + 0xa]
clc
bswap r13
jmp 0x1801b5017
Function at 0x1801b539f
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 6]
bts edi, edi
setle r9b
dec esi
jmp 0x1801b53c5
rcr r11w, 9
pop r8
mov r10, 0xffffffff99250f96
jmp 0x1801b5389
rdtsc
xchg r11d, r15d
cld
mov r9d, dword [rsp]
sbb r14b, r11b
rdtsc
jmp 0x1801b53dd
mov r11w, bx
not ebp
mov r9w, 0xd9c5
setne r14b
not r14
inc r8w
jmp 0x1801b53af
mov r14w, r11w
rdtsc
add rbp, 0x604879c1
xchg r8b, r14b
mov rcx, qword [rsp]
jmp 0x1801b5414
Function at 0x1400010e0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
xor esi, esi
cmp eax, 0x103
ja 0x140001239
lea rdx, [0x1400035e2]
lea rsi, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov qword [rsp + 0x20], 0
movaps xmm0, xmmword [0x140003160]
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rsi, rax
cmp rax, 7
jbe 0x140001170
lea rcx, [rsp + 0x20]
lea r9, [rsp + 0x40]
mov rdx, rsi
call fcn.140001990
cmp qword [rsp + 0x38], 7
ja 0x140001199
lea rcx, [rsp + 0x20]
jmp 0x14000119e
mov qword [rsp + 0x30], rsi
mov r8, rsi
add r8, rsi
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rsi*2 + 0x20], 0
cmp qword [rsp + 0x38], 7
jbe 0x140001169
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x248]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1400011f3
mov rsi, rax
mov ebx, 0xffffffff
lea r14, [rsp + 0x248]
mov rdi, qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax]
mov rcx, rsi
mov rdx, r14
call rdi
add ebx, 1
test eax, eax
jne 0x1400011d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp ebx, 0x1c
seta sil
jmp 0x1400011f5
xor esi, esi
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140001239
mov rcx, qword [rsp + 0x20]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140001234
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140001248
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.140001ca8
mov eax, esi
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140004ea0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x140004fa2
test cl, 3
je 0x140004ec7
mov r8d, 0x400
jmp 0x140004fa2
movzx r9d, word [rcx]
cmp r9d, 0x5a4d
jne 0x140004f9c
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x140004ebc
cmp r9d, 0x1000000
jbe 0x140004ef6
mov r8d, 0x700
jmp 0x140004fa2
lea r11, [r9 + 0x88]
cmp r11, rdx
ja 0x140004fa2
cmp dword [rcx + r9], 0x4550
jne 0x140004f9c
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x140004f2a
cmp esi, 0x10b
jne 0x140004f9c
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x140004fa2
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x140004eeb
movzx esi, si
cmp esi, 0x20b
jne 0x140004fa8
mov esi, dword [rcx + r9 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x140004fa2
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x140004eeb
lea r11, [r11 + r11*4]
lea r11, [r9 + r11*8]
movzx ecx, word [rcx + r9 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x140004fa2
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x140004fa2
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x140004fa2
Function at 0x1400056f0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 4], 0
mov qword [rbp - 0x30], rdx
mov r14, qword [rdx]
mov edi, 8
lea r15, [rbp - 4]
xor ebx, ebx
xor esi, esi
jmp 0x14000574d
mov r13, r12
mov qword [rbp - 0x18], r13
mov rbx, r13
mov esi, r12d
lea r8d, [rbx*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x1400057ec
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x140005848
mov rsi, r12
sub rsi, rbx
jbe 0x140005740
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x1400057aa
lea rcx, [rbp - 0x28]
mov rdx, rbx
mov r8, rsi
call fcn.140020390
mov rdi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x18]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x1400057dd
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + r13]
sub rax, rbx
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
mov qword [rcx], 0
inc r13
jmp 0x140005743
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 8], rax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rcx + 0x10], xmm0
mov rax, qword [rbp - 0x38]
mov qword [rcx + 0x20], rax
mov qword [rcx], 0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140005833
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003630
mov rax, qword [rbp - 0x10]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r14d, r12d
shr r14d, 3
cmp rbx, r14
jb 0x140005918
cmp r12d, 8
jae 0x14000586a
mov eax, 8
xor ecx, ecx
jmp 0x1400058ef
mov r15, r14
shl r15, 4
movzx eax, byte [0x140093161]
mov edx, 8
mov rcx, r15
call fcn.140003620
test rax, rax
je 0x14000592c
cmp r14d, 1
jne 0x14000589c
xor ecx, ecx
mov r10, qword [rbp - 0x30]
jmp 0x1400058d5
mov edx, r14d
and edx, 0xfffffffe
lea r8, [rax + 0x18]
xor ecx, ecx
mov r10, qword [rbp - 0x30]
nop dword [rax]
mov r9, qword [rdi + rcx*8]
mov qword [r8 - 0x18], r10
mov qword [r8 - 0x10], r9
mov r9, qword [rdi + rcx*8 + 8]
mov qword [r8 - 8], r10
mov qword [r8], r9
add rcx, 2
add r8, 0x20
cmp rdx, rcx
jne 0x1400058b0
test r14b, 1
je 0x1400058ec
mov rdx, qword [rdi + rcx*8]
shl rcx, 4
mov qword [rax + rcx], r10
mov qword [rax + rcx + 8], rdx
mov rcx, r14
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], rcx
mov qword [rdx], 4
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x140005821
jmp 0x140005833
lea r8, str.x_b_
mov rcx, r14
mov rdx, rbx
call fcn.140021510
jmp 0x140005939
mov ecx, 8
mov rdx, r15
call fcn.140021010
ud2
Function at 0x140008640
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x1400086d0
jmp 0x1400086bf
jae 0x140008790
cmp r8, 0x201
jae 0x1400086d0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140008728
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x1400086ff
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400205d0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140008751
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400087f8
mov r8d, r14d
cmp r15, r8
jne 0x1400086b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000881b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400086bf
jmp 0x1400086d0
cmp rsi, r8
jb 0x140008835
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000a3d0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x1400087e1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140003630
mov rax, rsi
add rsp, 0x478
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 + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x1400087c9
jmp 0x1400087e1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_src_vecmod.rs
lea r8, str.m_b_
mov edx, 0x28
call fcn.140021120
jmp 0x14000884a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140021510
ud2
Function at 0x14000f360
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400878b0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000f3a4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000f40a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000f441
test eax, eax
js 0x14000f41b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000f434
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140006140
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.14000a1d0
mov rcx, rax
call fcn.140006530
mov ecx, 7
int 0x29
ud2
Function at 0x14001dc10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001dc8a
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 0x14001dc80
cmp r11, r10
ja 0x14001dd23
cmp r10, rdx
ja 0x14001dd37
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001dc82
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001dc60
jmp 0x14001dcf7
ja 0x14001dc8a
mov r11, r10
cmp rax, r8
jne 0x14001dc32
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001dcfb
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 0x14001dcd0
mov r8, r10
sub ecx, r9d
jns 0x14001dcee
jmp 0x14001dcfd
cmp r10, rdx
je 0x14001dd09
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001dcfd
xor al, 1
cmp r8, rdx
jne 0x14001dcb0
jmp 0x14001dcfd
xor eax, eax
jmp 0x14001dcfd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140021120
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140021580
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140021510
ud2
Function at 0x1400d6490
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14033ff68]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
xor esi, esi
call fcn.1400d5460
call fcn.1400d5640
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400d64fa
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400d64fe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400d654f
call fcn.1400d5460
call fcn.1400d5640
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1400d6536
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400d6510
jmp 0x1400d653a
mov esi, dword [rsp + 0x28]
call fcn.1400d5460
call fcn.1400d5640
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14023e2e0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400d6580
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14033ff68]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov rbx, r8
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1400d6714
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140240020
xor eax, eax
test rdi, rdi
je 0x1400d6679
cmp rdi, 8
jb 0x1400d667e
movdqa xmm2, xmmword [0x1403267f0]
cmp rdi, 0x40
jb 0x1400d6657
mov rdx, rdi
lea rcx, [rsi + 0x20]
and edx, 0x3f
mov r8, rdi
sub r8, rdx
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
add rax, 0x40
lea rcx, [rcx + 0x40]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x60], xmm0
movdqu xmm0, xmmword [rcx - 0x50]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x50], xmm0
movdqu xmm1, xmmword [rcx - 0x40]
andnps xmm1, xmm2
movdqu xmmword [rcx - 0x40], xmm1
movdqu xmm0, xmmword [rcx - 0x30]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x30], xmm0
cmp rax, r8
jb 0x1400d6610
cmp rdx, 8
jb 0x1400d6679
mov rcx, rdi
mov rdx, rdi
and ecx, 7
sub rdx, rcx
movq xmm0, qword [rax + rsi]
andnps xmm0, xmm2
movq qword [rax + rsi], xmm0
add rax, 8
cmp rax, rdx
jb 0x1400d6663
cmp rax, rdi
jae 0x1400d669c
mov r8, rdi
lea rdx, [rax + rsi]
sub r8, rax
nop dword [rax + rax]
not byte [rdx]
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1400d6690
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rbp
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14023e2e0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret