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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, [rcx + 0x18]
mov rax, rcx
neg rax
mov rdi, rcx
sbb rdx, rdx
and rdx, r8
xor r8d, r8d
mov rbx, qword [rdx]
xor edx, edx
mov rcx, rbx
call fcn.1401e7a0c
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401ea344
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test rax, rax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400aa6bc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
lea rbx, [0x140317480]
mov r8, rcx
mov ebp, 0x1000
mov dword [rax - 0x10], ebp
or r9d, 0xffffffff
xor edx, edx
mov qword [rax - 0x18], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, str.rbN
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e6f50
xor edi, edi
test eax, eax
je 0x1400aa745
mov dword [rsp + 0x28], ebp
or r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402e5638]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e6f50
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1400aa756
xor eax, eax
jmp 0x1400aa887
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401e7a0c
mov rcx, qword [rsp + 0x58]
call fcn.1401e07ac
mov ebp, reloc.WS2_32.dll_recv
cmp eax, ebp
jge 0x1400aa7f1
test rsi, rsi
je 0x1400aa789
mov edx, 0x104
mov rcx, rsi
call fcn.1401e9dbc
mov rdi, rax
lea eax, [rdi + 0x1011]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009fd78
mov rcx, rax
mov rbx, rax
neg rcx
lea rdx, [rax + 0x18]
mov dword [rax + 4], 0x1f4000
mov rcx, qword [rsp + 0x58]
sbb r9, r9
and r9, rdx
mov rdx, rsi
mov qword [r9], rcx
mov rcx, rax
call fcn.1400aa604
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.1401e8c3c
mov rcx, qword [rsp + 0x58]
call fcn.1401f07c8
jmp 0x1400aa884
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
call fcn.1401e7a0c
test rsi, rsi
jne 0x1400aa80a
mov rax, rdi
jmp 0x1400aa817
mov edx, 0x104
mov rcx, rsi
call fcn.1401e9dbc
add eax, 0x1011
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009fd78
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rax
mov rbx, rax
call fcn.1401ea344
cmp rax, rbp
je 0x1400aa861
mov rcx, rbx
call fcn.1401e8ee0
mov rcx, qword [rsp + 0x58]
mov rbx, rdi
call fcn.1401e757c
jmp 0x1400aa884
lea rcx, [rbx + 0x18]
mov rax, rbx
neg rax
mov rax, qword [rsp + 0x58]
sbb rdx, rdx
and rdx, rcx
mov rcx, rbx
mov qword [rdx], rax
mov rdx, rsi
call fcn.1400aa604
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400aa89c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
lea r12d, [r8 + 8]
mov rax, rcx
lea r9, [rcx + 0x18]
mov r13, rdx
mov rsi, rcx
xor r15d, r15d
neg rax
sbb r8, r8
xor edx, edx
and r8, r9
mov rbx, qword [r8]
xor r8d, r8d
mov rcx, rbx
call fcn.1401e7a0c
lea edi, [r15 + 0x10]
mov r9, rbx
mov r8d, edi
lea edx, [rdi - 0xf]
mov rcx, rsi
call fcn.1401ea344
cmp rax, rdi
jne 0x1400aaa91
mov edx, dword [rsi + 0xc]
test edx, edx
je 0x1400aa94f
add edx, 4
xor r8d, r8d
mov rcx, rbx
call fcn.1401e7a0c
mov r9, rbx
lea edx, [rdi - 0xf]
lea r8d, [r15 + 4]
lea rcx, [rbp + 0x40]
call fcn.1401ea344
cmp rax, 4
jne 0x1400aaa91
mov eax, dword [rbp + 0x40]
mov edi, dword [rsi + 0xc]
add eax, 8
add edi, eax
mov dword [rbp + 0x40], edi
lea eax, [rdi + r12]
cmp eax, dword [rsi + 4]
jbe 0x1400aa952
mov edi, dword [rsi + 8]
mov dword [rbp + 0x40], edi
lea r14, [rsi + 8]
jmp 0x1400aa997
cmp edi, ecx
ja 0x1400aa9a9
lea eax, [rdi + r12]
cmp eax, ecx
jbe 0x1400aa9a0
mov edx, ecx
xor r8d, r8d
mov rcx, rbx
call fcn.1401e7a0c
mov edi, 1
mov r9, rbx
mov edx, edi
mov rcx, r14
lea r8d, [rdi + 3]
call fcn.1401ea344
cmp rax, 4
jne 0x1400aaa91
mov r15d, edi
mov edi, dword [rbp + 0x40]
mov ecx, dword [r14]
test ecx, ecx
jne 0x1400aa958
jmp 0x1400aa9a4
test ecx, ecx
jne 0x1400aa9a9
mov dword [r14], edi
jmp 0x1400aa9ae
test r15d, r15d
je 0x1400aa9dc
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 8]
call fcn.1401e7a0c
mov edx, 1
mov r9, rbx
mov rcx, r14
lea r8d, [rdx + 3]
call fcn.1401e8c3c
mov rcx, rbx
call fcn.1401f07c8
mov edi, dword [rbp + 0x40]
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.1401e7a0c
and dword [rbp + 0x58], 0
lea rcx, [rbp + 0x58]
mov r14d, 4
mov r9, rbx
mov r8d, r14d
lea edi, [r14 - 3]
mov edx, edi
call fcn.1401e8c3c
mov r9, rbx
lea rcx, [rbp + 0x50]
mov r8d, r14d
mov edx, edi
call fcn.1401e8c3c
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400aaa30
mov r8d, eax
mov r9, rbx
mov edx, edi
mov rcx, r13
call fcn.1401e8c3c
mov rcx, rbx
call fcn.1401f07c8
mov edx, dword [rsi + 0xc]
test edx, edx
je 0x1400aaa64
xor r8d, r8d
mov rcx, rbx
call fcn.1401e7a0c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, r14
mov rdx, rdi
call fcn.1401e8c3c
mov rcx, rbx
call fcn.1401f07c8
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0xc]
call fcn.1401e7a0c
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, r14
mov rdx, rdi
call fcn.1401e8c3c
mov rcx, rbx
call fcn.1401f07c8
xor eax, eax
jmp 0x1400aaa96
mov eax, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ac434
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movsxd rdi, edx
mov rbx, rcx
mov rcx, rdi
mov rsi, r9
mov rbp, r8
call fcn.1401ea40c
mov qword [rbx], rax
mov r9, rax
test rax, rax
je 0x1400ac520
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov qword [rbx + 0x68], rax
lea rax, [rbx + 0xc0]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x60], rsi
test rcx, rcx
je 0x1400ac494
mov qword [rax], rcx
mov r8, qword [rbx + 0x90]
test r8, r8
je 0x1400ac4d6
mov rax, qword [rax]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [fcn.1400abec0]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x28], rax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x20], eax
call fcn.1400a32e0
jmp 0x1400ac50b
xor r9d, r9d
xor ecx, ecx
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
and qword [rsp + 0x28], 0
lea r8, [0x1400abce8]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
mov qword [rbx + 0x78], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str.C:Users_anfdhDownloadsMeshAgent_masterMeshAgent_mastermicrostackILibProcessPipe.c
mov ebx, 0x54d
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400aa25c
mov r8d, ebx
lea rdx, str.C:Users_anfdhDownloadsMeshAgent_masterMeshAgent_mastermicrostackILibProcessPipe.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.14000105c
mov ecx, edi
call fcn.1401e0110
int3
Function at 0x1400ac7f8
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x30
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov edi, 0xfffffffc
test rcx, rcx
je 0x1400ac99f
mov rcx, qword [rcx + 0x48]
test rcx, rcx
jne 0x1400ac83d
call fcn.1400a8218
mov rcx, rax
mov qword [rbx + 0x48], rax
mov r15d, 1
jmp 0x1400ac847
pause
xor eax, eax
lock cmpxchg dword [rcx], r15d
je 0x1400ac845
mov rcx, qword [rbx + 0x48]
call fcn.1400a8360
test rax, rax
je 0x1400ac87c
mov edx, esi
mov rcx, rbp
call fcn.1400aaaac
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a8590
jmp 0x1400ac90e
mov rax, qword [rbx + 0x90]
xor r9d, r9d
mov rcx, qword [rbx + 0x88]
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r15d
jne 0x1400ac8a8
mov edi, r15d
jmp 0x1400ac90e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400ac91d
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.1400aaaac
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a8590
mov edx, 0x60e
lea rcx, str.C:Users_anfdhDownloadsMeshAgent_masterMeshAgent_mastermicrostackILibProcessPipe.c
call fcn.1400a2ddc
mov rdx, qword [rbx + 0x90]
lea r9, [0x1400ab9b4]
mov rcx, qword [rbx + 0x38]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x20]
call fcn.1400a3920
mov rcx, qword [rbx + 0x48]
mov dword [rcx], 0
jmp 0x1400ac99f
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400ac960
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400ac935
mov rsi, qword [rcx + 8]
jmp 0x1400ac937
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.ILibProcessPipe_Write_:_BrokenPipe__d__on_Pipe:__p
mov qword [rsp + 0x28], rbx
mov edx, 0x400
mov dword [rsp + 0x20], eax
mov r8d, 2
mov rcx, rsi
call fcn.1400acec4
mov rax, qword [rbx + 0x48]
mov dword [rax], 0
cmp qword [rbx + 0x58], 0
je 0x1400ac997
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400ac991
mov rdx, qword [rbx + 0x90]
xor r8d, r8d
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rdx + 0x18]
call fcn.1400a3b64
mov rcx, rbx
call qword [rbx + 0x58]
mov rcx, rbx
call fcn.1400aacbc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x1400ae3b0
Capabilities:
Clear file content

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x14030cf00]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0xe8]
mov r15, rdx
xor edx, edx
movsxd r14, r8d
mov rsi, r9
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.1401e7a0c
mov rcx, rbx
call fcn.1401e0708
movsxd rbp, dword [rsp + 0xe0]
mov r12, rax
lea ecx, [rbp + 0x3c]
add ecx, r14d
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, ebp
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x28], eax
test rdi, rdi
je 0x1400ae447
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x2c], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rsp + 0x3c], xmm1
jmp 0x1400ae454
xorps xmm0, xmm0
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
mov r8d, 0x3c
lea rcx, [rsp + 0x20]
mov r9, rbx
movups xmmword [rsp + 0x4c], xmm0
lea r13d, [r8 - 0x3b]
mov edx, r13d
call fcn.1401e8c3c
mov r9, rbx
mov r8, r14
mov edx, r13d
mov rcx, r15
mov rdi, rax
call fcn.1401e8c3c
mov rcx, rbx
add rdi, rax
call fcn.1401e0708
mov r15, rax
test rsi, rsi
je 0x1400ae4ae
mov r8, rbp
mov r9, rbx
mov edx, r13d
mov rcx, rsi
call fcn.1401e8c3c
add rdi, rax
mov rcx, rbx
call fcn.1401f07c8
neg rsi
sbb eax, eax
and eax, ebp
movsxd rdx, eax
add rdx, 0x3c
add rdx, r14
cmp rdi, rdx
jae 0x1400ae509
mov rcx, rbx
call fcn.1401f4eb0
mov ecx, eax
call fcn.1401f4674
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, rbx
call fcn.1401f4eb0
mov ecx, eax
call fcn.1401f4674
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x1400ae50c
mov rax, r15
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401d9e80
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ae52c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1140
call fcn.1401da3f0
sub rsp, rax
mov rax, qword [0x14030cf00]
xor rax, rsp
mov qword [rsp + 0x1130], rax
mov ebx, edx
mov rsi, rcx
test rcx, rcx
je 0x1400ae5c6
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
call fcn.1401e0708
mov rbp, rax
cmp rax, qword [rsi + 0x1020]
je 0x1400ae5c6
cmp ebx, 0x20
je 0x1400ae596
mov eax, 0x3c
cmp ebx, 0x40
lea r14d, [rax + 0xc]
cmovne r14d, eax
jmp 0x1400ae59c
mov r14d, 0x40
mov r9, qword [rsi]
mov r12d, 1
mov edx, r12d
mov r8, r14
mov rcx, rdi
call fcn.1401ea344
cmp eax, r14d
jge 0x1400ae5f4
mov rcx, qword [rsi]
mov rdx, rbp
xor r8d, r8d
call fcn.1401e7974
xor eax, eax
mov rcx, qword [rsp + 0x1130]
xor rcx, rsp
call fcn.1401d9e80
lea r11, [rsp + 0x1140]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, dword [rdi]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi + 4]
mov dword [rdi], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi + 8]
mov dword [rdi + 4], eax
call qword [sym.imp.WS2_32.dll_ntohl]
movsxd rbx, dword [rdi + 4]
mov dword [rdi + 8], eax
mov rcx, qword [rsi]
call fcn.1401e0708
add rax, rbx
mov qword [rdi - 8], rax
mov eax, 0xff8
mov r9, qword [rsi]
sub eax, r14d
cmp ebx, eax
jle 0x1400ae640
mov rcx, r9
jmp 0x1400ae5bb
lea rcx, [r14 + rdi]
mov r8, rbx
mov rdx, r12
call fcn.1401ea344
cmp eax, dword [rdi + 4]
jne 0x1400ae5b8
mov ebx, dword [rdi + 8]
lea rcx, [rsp + 0x20]
call fcn.1400cf080
test ebx, ebx
jle 0x1400ae6af
mov r15d, 0x1000
mov r9, qword [rsi]
lea rcx, [rsp + 0x130]
mov r8d, ebx
cmp ebx, r15d
mov rdx, r12
cmova r8d, r15d
call fcn.1401ea344
mov r14, rax
test eax, eax
jle 0x1400ae6af
movsxd r8, r14d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400cf110
sub ebx, r14d
test ebx, ebx
jg 0x1400ae66f
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.1400cf060
cmp dword [rdi + 8], 0
jle 0x1400ae70c
lea rcx, [rdi + 0xc]
mov r8d, 0x30
lea rdx, [rsp + 0x100]
call fcn.14020e9d0
test eax, eax
je 0x1400ae70c
movsxd r8, dword [rdi + 4]
mov rbx, r8
cmp r8, 4
jbe 0x1400ae5b8
add r8d, 0xfffffffc
lea rdx, [rdi + 0x3c]
xor ecx, ecx
call fcn.1400c2ef8
cmp eax, dword [rbx + rdi + 0x38]
jne 0x1400ae5b8
mov rax, rdi
jmp 0x1400ae5c8
Function at 0x1400aec68
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rbx, r9
mov r14, rcx
test r9, r9
je 0x1400aec90
and dword [r9], 0
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
lea rbp, [0x140317480]
test r8d, r8d
mov r8, r14
mov qword [rsp + 0x20], rbp
mov ecx, 0xfde9
jne 0x1400aeda3
test edx, edx
je 0x1400aecdd
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 5
jmp 0x1400aecfb
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov esi, 1
xor r9d, r9d
mov r8d, esi
mov edx, 0xc0000000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400aed79
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400aed79
test rbx, rbx
je 0x1400aed2f
mov dword [rbx], esi
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov r8, r14
mov qword [rsp + 0x20], rbp
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov r8d, esi
mov edx, 0xc0000000
mov dword [rsp + 0x20], esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov edx, 2
mov rcx, rdi
call fcn.1401f46ec
cmp eax, 0xffffffff
je 0x1400aed9e
lea rdx, str.wbN
mov ecx, eax
call fcn.1401f4ea8
test rax, rax
jne 0x1400aee0b
mov rcx, rdi
jmp 0x1400aee03
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400aee09
xor edx, edx
mov rcx, rax
call fcn.1401f46ec
cmp eax, 0xffffffff
je 0x1400aee00
lea rdx, [0x1402ddfd8]
mov ecx, eax
call fcn.1401f4ea8
test rax, rax
jne 0x1400aee0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400b003c
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r14
mov eax, 0x2070
call fcn.1401da3f0
sub rsp, rax
mov rax, qword [0x14030cf00]
xor rax, rsp
mov qword [rsp + 0x2060], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400b00c7
mov rax, qword [rcx + 0x1030]
cmp qword [rcx + 0x1028], rax
jb 0x1400b00c7
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400b00c7
or r12, 0xffffffffffffffff
lea r8, str..tmp
mov r9, r12
mov rdx, r12
call fcn.1400a9414
xor r9d, r9d
lea edx, [rbx + 1]
xor r8d, r8d
mov rcx, rax
mov rbp, rax
call fcn.1400aec68
mov r14, rax
test rax, rax
jne 0x1400b00f5
mov rcx, rbp
call fcn.1401e8ee0
mov eax, 1
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.1401d9e80
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
mov rcx, qword [rdi + 0x1010]
lea rax, [0x1400afe64]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], r14
lea rdx, [0x1400a889c]
mov dword [rdi + 0x1050], ebx
xor r9d, r9d
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rax
call fcn.1400a8f40
cmp dword [rdi + 0x1050], ebx
jne 0x1400b01fb
mov rcx, qword [rdi]
call fcn.1401e757c
mov rcx, r14
call fcn.1401e757c
lea rax, [rsp + 0x60]
mov r14d, 0x1000
mov dword [rsp + 0x28], r14d
mov r9d, r12d
mov r8, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, qword [rdi + 8]
mov r9d, r12d
mov dword [rsp + 0x28], r14d
xor edx, edx
lea r14, [0x140317480]
mov ecx, 0xfde9
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x60]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.1400aec68
mov qword [rdi], rax
test rax, rax
je 0x1400b01f6
mov rcx, rax
call fcn.1401e0708
test r14d, r14d
mov qword [rdi + 0x1020], rax
sete bl
jmp 0x1400b01fb
mov ebx, 1
mov rcx, rbp
call fcn.1401e8ee0
mov eax, ebx
jmp 0x1400b00cc
Function at 0x1400b1480
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1098
call fcn.1401da3f0
sub rsp, rax
mov rax, qword [0x14030cf00]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov r14d, r9d
mov qword [rsp + 0x68], r8
mov r12, r8
mov r15d, edx
mov rdi, rcx
call fcn.14009fccc
xor ebp, ebp
lea r13d, [rbp - 4]
test eax, eax
je 0x1400b16b7
mov rcx, qword [rdi + 0x3d8]
mov esi, r13d
call fcn.1400a4390
mov ebx, ebp
test r14d, r14d
jne 0x1400b14f3
or edx, 0xffffffff
lea ecx, [r15 - 9]
cmp ecx, 1
cmovbe ebx, edx
cmp qword [rdi + 0x3e0], rbp
je 0x1400b16b7
test rax, rax
je 0x1400b16b7
mov rcx, rax
call fcn.1400b13e4
mov rcx, qword [rdi + 0x3e0]
mov r13, rax
mov edx, 1
jmp 0x1400b1524
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x288], edx
je 0x1400b1522
cmp ebx, r14d
jge 0x1400b16a6
mov ecx, 0x80
mov r8d, 0x1000
test ebx, ebx
mov eax, ebp
mov esi, r14d
cmovns eax, ebx
sub esi, eax
movsxd rbp, eax
add rbp, r12
cmp esi, r8d
cmovg esi, r8d
xor r8d, r8d
lea ebx, [rsi + rax]
mov eax, dword [r13 + 4]
cmp ebx, r14d
jl 0x1400b1581
test eax, eax
jne 0x1400b1576
movzx r8d, r15w
jmp 0x1400b157a
mov dword [r13 + 4], r8d
mov edx, 0x8080
jmp 0x1400b1590
test eax, eax
jne 0x1400b158d
mov dword [r13 + 4], edx
movzx r8d, r15w
movzx edx, cx
mov r9d, esi
lea rcx, [rsp + 0x70]
call fcn.1400c4528
mov edx, 4
movsxd r12, eax
lea rcx, [rsp + 0x60]
call fcn.1400e8260
xor eax, eax
test esi, esi
jle 0x1400b162e
movsxd rcx, esi
lea r9d, [rax + 1]
sar rcx, 2
mov edx, eax
mov r8d, eax
test rcx, rcx
jle 0x1400b15e5
mov edx, ecx
mov eax, dword [rsp + 0x60]
xor eax, dword [rbp + r8*4]
mov dword [rsp + r8*4 + 0x80], eax
add r8, r9
cmp r8, rcx
jl 0x1400b15cc
shl edx, 2
cmp edx, esi
jge 0x1400b162e
movsxd rax, edx
lea r8, [rsp + 0x80]
add r8, rax
lea rax, [rsp + 0x80]
sub rbp, rax
mov eax, edx
and eax, 0x80000003
jge 0x1400b1617
sub eax, r9d
or eax, 0xfffffffc
add eax, r9d
cdqe
add edx, r9d
mov cl, byte [rsp + rax + 0x60]
xor cl, byte [r8 + rbp]
mov byte [r8], cl
add r8, r9
cmp edx, esi
jl 0x1400b1605
mov rcx, qword [rdi + 0x3e0]
lea r9, [rsp + 0x70]
mov edx, 2
movsxd rax, esi
mov dword [rsp + 0x58], edx
mov r8d, 0x40000003
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x20], r12
call fcn.14009aa04
mov r12, qword [rsp + 0x68]
mov ebp, 0
mov esi, eax
mov r8d, 0x1000
lea edx, [rbp + 1]
lea ecx, [rdx + 0x7f]
cmp ebx, r14d
jl 0x1400b1544
mov rcx, qword [rdi + 0x3e0]
mov eax, esi
mov dword [rcx + 0x288], ebp
jmp 0x1400b16ba
mov eax, r13d
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1401d9e80
add rsp, 0x1098
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b4bec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
lea ecx, [rbx - 0xc]
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 0x8028
mov word [rdi + 2], ax
lea rsi, [rdi + rbx]
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 4
mov word [rsi], ax
call qword [sym.imp.WS2_32.dll_htons]
or edx, 0xffffffff
mov word [rsi + 2], ax
test ebx, ebx
je 0x1400b4c56
movsx ecx, byte [rdi]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc rdi
lea rcx, [0x1402790d0]
xor edx, dword [rcx + rax*4]
sub ebx, 1
jne 0x1400b4c36
xor edx, 0xacabaab1
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x30]
mov dword [rsi + 4], eax
mov eax, 8
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c2310
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14030cf00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
mov rbx, r9
movsx ecx, byte [rcx + 1]
sub ecx, 1
je 0x1400c23ea
cmp ecx, 1
jne 0x1400c240f
xor edi, edi
mov dword [rsp + 0x20], 0x2112a442
test r8, r8
je 0x1400c236a
movsd xmm0, qword [r8]
mov eax, dword [r8 + 8]
movsd qword [rsp + 0x24], xmm0
mov dword [rsp + 0x2c], eax
jmp 0x1400c2385
xor eax, eax
mov qword [rsp + 0x24], rax
mov dword [rsp + 0x2c], eax
call fcn.1401e8db4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401e7e2c
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rbp, r14
mov dword [rbx + 0x18], eax
sub rbp, rbx
lea esi, [rax + 0x10]
mov word [rbx], reloc.WS2_32.dll_socket
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htonl]
cmp eax, esi
jne 0x1400c23cf
lea rdx, [rsp + 0x20]
sub rdx, rbx
lea rcx, [rbx + 8]
mov al, byte [rdx + rcx - 8]
xor al, byte [rcx + rbp - 4]
mov byte [rcx], al
inc rcx
sub rsi, 1
jne 0x1400c23ba
jmp 0x1400c240f
lea rcx, [rbx + 0x17]
mov al, byte [rcx + rbp - 4]
xor al, byte [rsp + rdi + 0x20]
inc rdi
mov byte [rcx], al
dec rcx
cmp rdi, rsi
jl 0x1400c23d3
jmp 0x1400c240f
mov ecx, dword [r14 + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
xor eax, 0x2112a442
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov ecx, eax
mov word [rbx], 2
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbx + 4], eax
movzx ecx, word [r14 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x2112
xor cx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 2], ax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401d9e80
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret