joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002a22
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140008108]
test eax, eax
je 0x140002aba
lea rax, [0x1400080e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140008110]
mov qword [rbp - 8], rax
jmp 0x140002a9e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002a92
cmp qword [rbp - 0x10], 0
je 0x140002a92
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002a58
lea rax, [0x1400080e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002abb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140002bc0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002be8
mov eax, 0
jmp 0x140002c36
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002c11
mov eax, 0
jmp 0x140002c36
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140002c31
mov eax, 0
jmp 0x140002c36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14062a760]
mov dword [rax], 1
mov rax, qword [0x14062a770]
mov dword [rax], 1
mov rax, qword [0x14062a780]
mov dword [rax], 1
mov rax, qword [0x14062a710]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002770
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push rsi
sub rsp, 0xa0
mov rax, qword [0x1400a9018]
movzx eax, byte [rax]
cmp al, 1
jne 0x140002793
add rsp, 0xa0
pop rsi
jmp sym._ZN71__LT_aes..autodetect..Aes128_u20_as_u20_cipher..block..BlockDecrypt_GT_20decrypt_with_backend5inner17h272f9b43ef469c58E.l
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x20]
mov rdx, rcx
mov rcx, rax
mov rsi, r8
mov r8, r9
call sym.aes::soft::fixslice::aes128_decrypt::he857048a1c0e193a
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
add rsp, 0xa0
pop rsi
ret
Function at 0x140005760
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, rdx
movzx edx, word [rdx]
cmp edx, 0x5a4d
jne 0x1400057d8
movsxd rdx, dword [rax + 0x3c]
test rdx, rdx
je 0x1400057de
cmp edx, 0x40
jb 0x140005849
cmp rdx, r8
ja 0x14000585a
lea r8, [rax + rdx]
movzx r9d, word [rax + rdx + 0x18]
cmp r9d, 0x10b
je 0x1400057e4
cmp r9d, 0x20b
jne 0x140005810
mov r9b, 2
cmp dword [r8], 0x4550
jne 0x14000580b
movzx r10d, word [r8 + 4]
mov r9b, 3
cmp r10d, 0x8664
jne 0x14000580b
mov r10d, 1
mov r9b, 4
test byte [r8 + 0x16], 2
je 0x14000580b
jmp 0x140005826
xor eax, eax
mov byte [rcx], al
jmp 0x140005813
mov al, 1
mov byte [rcx], al
jmp 0x140005813
mov r9b, 2
cmp dword [r8], 0x4550
jne 0x14000580b
movzx r10d, word [r8 + 4]
mov r9b, 3
cmp r10d, 0x14c
jne 0x14000580b
mov r9b, 4
test byte [r8 + 0x16], 2
jne 0x140005823
mov byte [rcx], r9b
jmp 0x140005813
mov byte [rcx], 5
mov qword [rcx + 0x18], 2
mov rax, rcx
add rsp, 0x28
ret
xor r10d, r10d
add rdx, 0xffffffffffffffc0
mov qword [rcx], rax
add rax, 0x40
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r10
mov qword [rcx + 0x20], r8
mov rax, rcx
add rsp, 0x28
ret
lea r8, [0x140604950]
mov ecx, 0x40
call sym.core::slice::index::slice_index_order_fail::hf943cfe51be07c4a
lea rax, [0x140604950]
mov rcx, rdx
mov rdx, r8
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::ha4157f6c56c31a58
int3
Function at 0x140005870
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x1400058fb
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x140005900
cmp eax, 0x40
jb 0x1400059f6
cmp rax, r8
ja 0x140005a0a
lea rsi, [rdx + rax]
movzx r10d, word [rdx + rax + 0x18]
cmp r10d, 0x20b
je 0x140005905
mov r9b, 5
cmp r10d, 0x10b
jne 0x14000592a
mov r9b, 2
cmp dword [rsi], 0x4550
jne 0x14000592a
movzx r10d, word [rsi + 4]
mov r9b, 3
cmp r10d, 0x14c
jne 0x14000592a
mov r9b, 4
test byte [rsi + 0x16], 2
je 0x14000592a
lea r9, [rax + 0xf8]
cmp r9, r8
ja 0x140005a1f
xor edi, edi
jmp 0x140005963
xor r9d, r9d
jmp 0x14000592a
mov r9b, 1
jmp 0x14000592a
mov r9b, 2
cmp dword [rsi], 0x4550
jne 0x14000592a
movzx r10d, word [rsi + 4]
mov r9b, 3
cmp r10d, 0x8664
jne 0x14000592a
mov r9b, 4
test byte [rsi + 0x16], 2
jne 0x14000594e
mov byte [rcx], r9b
mov r8d, 2
mov eax, 0x18
mov qword [rcx + rax], r8
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r9, [rax + 0x108]
mov edi, 1
cmp r9, r8
ja 0x140005a1f
mov r11, r8
sub r11, r9
movzx ebx, word [rsi + 6]
lea r10d, [rbx*8]
lea r10, [r10 + r10*4]
mov r14, r11
sub r14, r10
jb 0x140005a34
add rax, 0xffffffffffffffc0
lea r11, [rdx + 0x40]
add r9, rdx
mov r15, rdx
shr r15, 8
add r10, r9
mov ebp, ebx
shr ebp, 8
mov byte [rcx], dl
mov r12, rdx
shr r12, 0x38
mov byte [rcx + 7], r12b
mov r12, rdx
shr r12, 0x28
mov word [rcx + 5], r12w
mov dword [rcx + 1], r15d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], r9
mov byte [rcx + 0x30], bl
mov dword [rcx + 0x31], ebp
mov byte [rcx + 0x37], 0
mov word [rcx + 0x35], 0
mov qword [rcx + 0x38], r10
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], rdx
mov eax, 0x50
jmp 0x140005938
lea r8, [0x140604950]
mov ecx, 0x40
mov rdx, rax
call sym.core::slice::index::slice_index_order_fail::hf943cfe51be07c4a
lea r9, [0x140604950]
mov rcx, rax
mov rdx, r8
mov r8, r9
call sym.core::slice::index::slice_end_index_len_fail::ha4157f6c56c31a58
lea rax, str.hI__
mov rcx, r9
mov rdx, r8
mov r8, rax
call sym.core::slice::index::slice_start_index_len_fail::hc4490513dd7cd116
lea r8, str.C:Userspyr.cargo_registry_srcindex.crates.io_6f17d22bba15001fmemexec_0.2.0_srcpeparser_section.rs
mov rcx, r10
mov rdx, r11
call sym.core::slice::index::slice_start_index_len_fail::hc4490513dd7cd116
int3
Function at 0x14000b380
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
lea r14, [rdx + rcx]
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
add rbx, r14
je 0x14000b466
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rdi
mov r8d, 8
xor r14d, r14d
lea r15, [rsp + 0x30]
jmp 0x14000b412
shl r13, 0x20
or r12, r13
shl rdi, 0x20
or rbp, rdi
sub rbp, r12
mov qword [r8 + r14*8], rbp
inc r14
mov qword [rsp + 0x40], r14
cmp rbx, r14
je 0x14000b455
rdtsc
mov r13, rdx
mov r12, rax
xor eax, eax
xor ecx, ecx
mov r9, rbx
cpuid
xchg rbx, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], r9d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
rdtsc
mov rdi, rdx
mov rbp, rax
cmp r14, qword [rsp + 0x30]
jne 0x14000b3f0
mov rcx, r15
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h168c55711616e087
mov r8, qword [rsp + 0x38]
jmp 0x14000b3f0
mov r15, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
jmp 0x14000b46c
mov r15d, 8
mov eax, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x28]
mov eax, dword [rsp + 0x20]
mov eax, dword [rsp + 0x24]
test rbx, rbx
je 0x14000b48b
bsr rax, rbx
xor rax, 0x3f
jmp 0x14000b490
mov eax, 0x40
mov r9d, 0x40
sub r9d, eax
mov rcx, r15
mov rdx, rbx
xor r8d, r8d
call sym.core::slice::sort::recurse::h6613eae6898566d2
cmp r14, rdi
jb 0x14000b58d
cmp r14, rbx
ja 0x14000b5a1
test rsi, rsi
je 0x14000b4ca
cmp rsi, 4
jae 0x14000b4ce
xor ebx, ebx
xor eax, eax
jmp 0x14000b523
xor ebx, ebx
jmp 0x14000b53c
mov rax, rsi
and rax, 0xfffffffffffffffc
lea rcx, [r15 + rdi*8]
add rcx, 0x10
pxor xmm0, xmm0
xor edx, edx
pxor xmm1, xmm1
nop word [rax + rax]
movdqu xmm2, xmmword [rcx + rdx*8 - 0x10]
paddq xmm0, xmm2
movdqu xmm2, xmmword [rcx + rdx*8]
paddq xmm1, xmm2
add rdx, 4
cmp rax, rdx
jne 0x14000b4f0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rbx, xmm0
cmp rax, rsi
je 0x14000b53c
lea rcx, [r15 + rdi*8]
nop word [rax + rax]
add rbx, qword [rcx + rax*8]
inc rax
cmp rsi, rax
jne 0x14000b530
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14000b558
shl rdx, 3
mov r8d, 8
mov rcx, r15
call sym.__rust_dealloc
cmp rsi, 1
adc rsi, 0
mov rax, rbx
or rax, rsi
shr rax, 0x20
je 0x14000b576
mov rax, rbx
xor edx, edx
div rsi
jmp 0x14000b57c
mov eax, ebx
xor edx, edx
div esi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.xO__
mov rcx, rdi
mov rdx, r14
call sym.core::slice::index::slice_index_order_fail::hf943cfe51be07c4a
jmp 0x14000b5b3
lea r8, str.xO__
mov rcx, r14
mov rdx, rbx
call sym.core::slice::index::slice_end_index_len_fail::ha4157f6c56c31a58
ud2
Function at 0x140012f20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x140014dd0
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140014e33
lea rsi, [rbp - 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.WS2_32.dll_WSAStartup
mov dword [rbp + 0x16c], eax
test eax, eax
jne 0x140014e3f
lea rax, [0x1400a68cc]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.library_std_src_synconce.rs
call sym.core::option::unwrap_failed::h511674c62460528b
mov qword [rbp + 0x138], 0
lea rdx, [0x14060c468]
lea r9, [0x14060c470]
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::he1f5a6e92591b991
int3

Function at 0x140032920
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.KERNEL32.dll_GetSystemInfo
mov ecx, dword [rbp - 0x10]
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, 0x50
pop rbp
ret
Function at 0x140036120
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp - 0x20], xmm6
mov rsi, r8
mov rdi, rcx
test r8, r8
je 0x1400361ac
js 0x1400362f6
mov r15, rdx
mov rax, qword [0x14062a7c8]
movzx eax, byte [rax]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x1400362f8
mov r14, rax
mov rbx, rax
mov rcx, r14
mov rdx, r15
mov r8, rsi
call sym.memcpy
mov rdx, r14
cmp rsi, 8
jb 0x1400362ac
movabs rax, 0x7fffffffffffffe0
cmp rsi, 0x20
jae 0x1400361b6
xor ecx, ecx
jmp 0x140036246
mov ebx, 1
jmp 0x1400362cf
mov rcx, rsi
and rcx, rax
xor edx, edx
movdqa xmm0, xmmword [0x1406066e0]
movdqa xmm1, xmmword [0x1406066f0]
movdqa xmm2, xmmword [0x140606700]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rdx]
movdqu xmm4, xmmword [rbx + rdx + 0x10]
movdqa xmm5, xmm3
paddb xmm5, xmm0
movdqa xmm6, xmm4
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
pand xmm7, xmm2
movdqa xmm5, xmm6
pminub xmm5, xmm1
pcmpeqb xmm5, xmm6
pand xmm5, xmm2
pxor xmm7, xmm3
pxor xmm5, xmm4
movdqu xmmword [rbx + rdx], xmm7
movdqu xmmword [rbx + rdx + 0x10], xmm5
add rdx, 0x20
cmp rcx, rdx
jne 0x1400361e0
cmp rcx, rsi
je 0x1400362cf
test sil, 0x18
je 0x1400362a6
add rax, 0x18
and rax, rsi
lea rdx, [r14 + rax]
movdqa xmm0, xmmword [0x140606710]
movdqa xmm1, xmmword [0x140606720]
movdqa xmm2, xmmword [0x140606730]
nop dword [rax]
movq xmm3, qword [rbx + rcx]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [rbx + rcx], xmm5
add rcx, 8
cmp rax, rcx
jne 0x140036270
cmp rax, rsi
jne 0x1400362ac
jmp 0x1400362cf
add rcx, r14
mov rdx, rcx
add r14, rsi
nop
movzx eax, byte [rdx]
lea ecx, [rax - 0x61]
cmp cl, 0x1a
setb cl
shl cl, 5
xor cl, al
mov byte [rdx], cl
lea rax, [rdx + 1]
mov rdx, rax
cmp rax, r14
jne 0x1400362b0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], 0
mov rax, rdi
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
xor ebx, ebx
mov rcx, rbx
mov rdx, rsi
call sym.alloc::raw_vec::handle_error::hb4a2c97b2f2cc7c5
int3

Function at 0x140037a30
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x140037a45
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::fs::DirBuilder::create_dir_all::h70a61e5e1bd555db
mov rcx, rdx
mov rdx, r8
pop rbp
jmp sym.std::sys::pal::windows::fs::DirBuilder::mkdir::hde985060e2940dae
Function at 0x140047960
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x1400479c3
lea rsi, [rbp - 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.WS2_32.dll_WSAStartup
mov dword [rbp + 0x16c], eax
test eax, eax
jne 0x1400479cf
lea rax, [0x1400a68cc]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.library_std_src_synconce.rs
call sym.core::option::unwrap_failed::h511674c62460528b
mov qword [rbp + 0x138], 0
lea rdx, [0x14060c468]
lea r9, [0x14060c470]
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::he1f5a6e92591b991
int3

Function at 0x140048a40
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h27d87facda2cf606
mov rdx, qword [rbp - 0x28]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x140048ac7
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x140048afa
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140048b0e
lea rax, [0x14060b0f8]
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x140048b2e
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp sym.__rust_dealloc
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x140048b2e
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call sym.__rust_dealloc
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400517d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rax, r8
mov rsi, rcx
mov r10, qword [rbp + 0x40]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rbp + 4], 0
mov rcx, qword [rdx]
mov qword [rsp + 0x20], r10
lea r9, [rbp + 4]
mov rdx, rax
call sub.KERNEL32.dll_ReadFile
test eax, eax
je 0x140051821
mov eax, dword [rbp + 4]
mov qword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x14005188d
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 8], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x140051862
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x140051882
mov rax, rsi
jmp 0x140051870
mov qword [rsi], 1
mov rax, rsi
add rax, 8
mov qword [rax], 0
lea rcx, [rbp - 8]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h2fe874d467bd577c
jmp 0x14005188d
mov qword [rsi + 8], rax
mov qword [rsi], 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret

Function at 0x140051b00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14060c338]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140051b38
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x140051b8d
mov rcx, rsi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x140051b9a
xor edx, edx
xor eax, eax
jmp 0x140051bc3
cmp eax, 0x103
je 0x140051bcd
test eax, eax
js 0x140051bad
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140051bc3
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call sym.std::io::Write::write_fmt::hfa637b67d3313b04
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::h5c98010c1cb3f151
mov ecx, 7
int 0x29
ud2