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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov dword [rax - 0x10], 0x1000
mov r8, rdx
lea rdi, [0x140319520]
xor ebx, ebx
mov qword [rax - 0x18], rdi
and qword [rax + 0x18], rbx
xor edx, edx
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140272c7c]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401e9d40
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400a983b
xor edx, edx
lea r8d, [rbx + 2]
call fcn.1401ea7fc
mov rcx, qword [rsp + 0x50]
call fcn.1401e3594
cmp eax, 0x7fffffff
jge 0x1400a97e5
mov rcx, qword [rsp + 0x50]
call fcn.1401e3594
mov ebx, eax
test eax, eax
js 0x1400a983b
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.1401ea7fc
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.1401ed1fc
mov rdi, rax
test rax, rax
je 0x1400a9851
test ebx, ebx
je 0x1400a9823
mov r9, qword [rsp + 0x50]
mov edx, 1
mov r8d, ebx
mov rcx, rax
call fcn.1401ed134
mov rbx, rax
movsxd rcx, ebx
mov byte [rcx + rdi], 0
mov rcx, qword [rsp + 0x50]
call fcn.1401ea36c
mov eax, ebx
mov qword [rsi], rdi
jmp 0x1400a9841
and qword [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibParsers.c
mov ebx, 0x2554
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400aa2f8
mov r8d, ebx
lea rdx, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.14000105c
mov ecx, edi
call fcn.1401e2ef8
int3

Function at 0x1400a99e4
Capabilities:
Copy file

Disassembly:
push rbx
mov eax, 0x4040
call fcn.1401dc320
sub rsp, rax
mov rax, qword [0x14030ef00]
xor rax, rsp
mov qword [rsp + 0x4030], rax
mov rbx, rdx
mov dword [rsp + 0x28], 0x1000
lea rax, [rsp + 0x2030]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x2030]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.1401dbdb0
add rsp, 0x4040
pop rbx
ret
Function at 0x1400aa5f4
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.1401ea7fc
mov edx, 1
mov r9, rbx
mov rcx, rdi
lea r8d, [rdx + 0xf]
call fcn.1401ed134
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test rax, rax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400aa758
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, [0x140319520]
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.1401e9d40
xor edi, edi
test eax, eax
je 0x1400aa7e1
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, [0x1402e7038]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1401e9d40
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1400aa7f2
xor eax, eax
jmp 0x1400aa923
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401ea7fc
mov rcx, qword [rsp + 0x58]
call fcn.1401e3594
mov ebp, reloc.WS2_32.dll_recv
cmp eax, ebp
jge 0x1400aa88d
test rsi, rsi
je 0x1400aa825
mov edx, 0x104
mov rcx, rsi
call fcn.1401ecbac
mov rdi, rax
lea eax, [rdi + 0x1011]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009fdfc
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.1400aa6a0
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.1401eba2c
mov rcx, qword [rsp + 0x58]
call fcn.1401f35b8
jmp 0x1400aa920
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
call fcn.1401ea7fc
test rsi, rsi
jne 0x1400aa8a6
mov rax, rdi
jmp 0x1400aa8b3
mov edx, 0x104
mov rcx, rsi
call fcn.1401ecbac
add eax, 0x1011
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbp
call fcn.14009fdfc
mov r9, qword [rsp + 0x58]
mov r8, rbp
mov edx, 1
mov rcx, rax
mov rbx, rax
call fcn.1401ed134
cmp rax, rbp
je 0x1400aa8fd
mov rcx, rbx
call fcn.1401ebcd0
mov rcx, qword [rsp + 0x58]
mov rbx, rdi
call fcn.1401ea36c
jmp 0x1400aa920
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.1400aa6a0
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 0x1400aa938
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.1401ea7fc
lea edi, [r15 + 0x10]
mov r9, rbx
mov r8d, edi
lea edx, [rdi - 0xf]
mov rcx, rsi
call fcn.1401ed134
cmp rax, rdi
jne 0x1400aab2d
mov edx, dword [rsi + 0xc]
test edx, edx
je 0x1400aa9eb
add edx, 4
xor r8d, r8d
mov rcx, rbx
call fcn.1401ea7fc
mov r9, rbx
lea edx, [rdi - 0xf]
lea r8d, [r15 + 4]
lea rcx, [rbp + 0x40]
call fcn.1401ed134
cmp rax, 4
jne 0x1400aab2d
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 0x1400aa9ee
mov edi, dword [rsi + 8]
mov dword [rbp + 0x40], edi
lea r14, [rsi + 8]
jmp 0x1400aaa33
cmp edi, ecx
ja 0x1400aaa45
lea eax, [rdi + r12]
cmp eax, ecx
jbe 0x1400aaa3c
mov edx, ecx
xor r8d, r8d
mov rcx, rbx
call fcn.1401ea7fc
mov edi, 1
mov r9, rbx
mov edx, edi
mov rcx, r14
lea r8d, [rdi + 3]
call fcn.1401ed134
cmp rax, 4
jne 0x1400aab2d
mov r15d, edi
mov edi, dword [rbp + 0x40]
mov ecx, dword [r14]
test ecx, ecx
jne 0x1400aa9f4
jmp 0x1400aaa40
test ecx, ecx
jne 0x1400aaa45
mov dword [r14], edi
jmp 0x1400aaa4a
test r15d, r15d
je 0x1400aaa78
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 8]
call fcn.1401ea7fc
mov edx, 1
mov r9, rbx
mov rcx, r14
lea r8d, [rdx + 3]
call fcn.1401eba2c
mov rcx, rbx
call fcn.1401f35b8
mov edi, dword [rbp + 0x40]
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.1401ea7fc
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.1401eba2c
mov r9, rbx
lea rcx, [rbp + 0x50]
mov r8d, r14d
mov edx, edi
call fcn.1401eba2c
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400aaacc
mov r8d, eax
mov r9, rbx
mov edx, edi
mov rcx, r13
call fcn.1401eba2c
mov rcx, rbx
call fcn.1401f35b8
mov edx, dword [rsi + 0xc]
test edx, edx
je 0x1400aab00
xor r8d, r8d
mov rcx, rbx
call fcn.1401ea7fc
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, r14
mov rdx, rdi
call fcn.1401eba2c
mov rcx, rbx
call fcn.1401f35b8
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0xc]
call fcn.1401ea7fc
mov r9, rbx
lea rcx, [rbp + 0x40]
mov r8, r14
mov rdx, rdi
call fcn.1401eba2c
mov rcx, rbx
call fcn.1401f35b8
xor eax, eax
jmp 0x1400aab32
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 0x1400ac4d0
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.1401ed1fc
mov qword [rbx], rax
mov r9, rax
test rax, rax
je 0x1400ac5bc
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 0x1400ac530
mov qword [rax], rcx
mov r8, qword [rbx + 0x90]
test r8, r8
je 0x1400ac572
mov rax, qword [rax]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [fcn.1400abf5c]
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.1400a3370
jmp 0x1400ac5a7
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, [0x1400abd84]
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_anfdhDownloads_bvavMeshAgent_mastermicrostackILibProcessPipe.c
mov ebx, 0x54d
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400aa2f8
mov r8d, ebx
lea rdx, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibProcessPipe.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.14000105c
mov ecx, edi
call fcn.1401e2ef8
int3
Function at 0x1400ac894
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 0x1400aca3b
mov rcx, qword [rcx + 0x48]
test rcx, rcx
jne 0x1400ac8d9
call fcn.1400a82b0
mov rcx, rax
mov qword [rbx + 0x48], rax
mov r15d, 1
jmp 0x1400ac8e3
pause
xor eax, eax
lock cmpxchg dword [rcx], r15d
je 0x1400ac8e1
mov rcx, qword [rbx + 0x48]
call fcn.1400a83f8
test rax, rax
je 0x1400ac918
mov edx, esi
mov rcx, rbp
call fcn.1400aab48
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a8628
jmp 0x1400ac9aa
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 0x1400ac944
mov edi, r15d
jmp 0x1400ac9aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400ac9b9
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.1400aab48
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a8628
mov edx, 0x60e
lea rcx, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibProcessPipe.c
call fcn.1400a2e78
mov rdx, qword [rbx + 0x90]
lea r9, [0x1400aba50]
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.1400a39b0
mov rcx, qword [rbx + 0x48]
mov dword [rcx], 0
jmp 0x1400aca3b
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400ac9fc
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400ac9d1
mov rsi, qword [rcx + 8]
jmp 0x1400ac9d3
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.1400acf60
mov rax, qword [rbx + 0x48]
mov dword [rax], 0
cmp qword [rbx + 0x58], 0
je 0x1400aca33
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400aca2d
mov rdx, qword [rbx + 0x90]
xor r8d, r8d
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rdx + 0x18]
call fcn.1400a3bf4
mov rcx, rbx
call qword [rbx + 0x58]
mov rcx, rbx
call fcn.1400aad58
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 0x1400ae450
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 [0x14030ef00]
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.1401ea7fc
mov rcx, rbx
call fcn.1401e34f0
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 0x1400ae4e7
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 0x1400ae4f4
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.1401eba2c
mov r9, rbx
mov r8, r14
mov edx, r13d
mov rcx, r15
mov rdi, rax
call fcn.1401eba2c
mov rcx, rbx
add rdi, rax
call fcn.1401e34f0
mov r15, rax
test rsi, rsi
je 0x1400ae54e
mov r8, rbp
mov r9, rbx
mov edx, r13d
mov rcx, rsi
call fcn.1401eba2c
add rdi, rax
mov rcx, rbx
call fcn.1401f35b8
neg rsi
sbb eax, eax
and eax, ebp
movsxd rdx, eax
add rdx, 0x3c
add rdx, r14
cmp rdi, rdx
jae 0x1400ae5a9
mov rcx, rbx
call fcn.1401f7ca0
mov ecx, eax
call fcn.1401f7464
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, rbx
call fcn.1401f7ca0
mov ecx, eax
call fcn.1401f7464
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x1400ae5ac
mov rax, r15
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401dbdb0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ae5cc
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.1401dc320
sub rsp, rax
mov rax, qword [0x14030ef00]
xor rax, rsp
mov qword [rsp + 0x1130], rax
mov ebx, edx
mov rsi, rcx
test rcx, rcx
je 0x1400ae666
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
call fcn.1401e34f0
mov rbp, rax
cmp rax, qword [rsi + 0x1020]
je 0x1400ae666
cmp ebx, 0x20
je 0x1400ae636
mov eax, 0x3c
cmp ebx, 0x40
lea r14d, [rax + 0xc]
cmovne r14d, eax
jmp 0x1400ae63c
mov r14d, 0x40
mov r9, qword [rsi]
mov r12d, 1
mov edx, r12d
mov r8, r14
mov rcx, rdi
call fcn.1401ed134
cmp eax, r14d
jge 0x1400ae694
mov rcx, qword [rsi]
mov rdx, rbp
xor r8d, r8d
call fcn.1401ea764
xor eax, eax
mov rcx, qword [rsp + 0x1130]
xor rcx, rsp
call fcn.1401dbdb0
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.1401e34f0
add rax, rbx
mov qword [rdi - 8], rax
mov eax, 0xff8
mov r9, qword [rsi]
sub eax, r14d
cmp ebx, eax
jle 0x1400ae6e0
mov rcx, r9
jmp 0x1400ae65b
lea rcx, [r14 + rdi]
mov r8, rbx
mov rdx, r12
call fcn.1401ed134
cmp eax, dword [rdi + 4]
jne 0x1400ae658
mov ebx, dword [rdi + 8]
lea rcx, [rsp + 0x20]
call fcn.1400d0fb0
test ebx, ebx
jle 0x1400ae74f
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.1401ed134
mov r14, rax
test eax, eax
jle 0x1400ae74f
movsxd r8, r14d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400d1040
sub ebx, r14d
test ebx, ebx
jg 0x1400ae70f
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.1400d0f90
cmp dword [rdi + 8], 0
jle 0x1400ae7ac
lea rcx, [rdi + 0xc]
mov r8d, 0x30
lea rdx, [rsp + 0x100]
call fcn.1402117c0
test eax, eax
je 0x1400ae7ac
movsxd r8, dword [rdi + 4]
mov rbx, r8
cmp r8, 4
jbe 0x1400ae658
add r8d, 0xfffffffc
lea rdx, [rdi + 0x3c]
xor ecx, ecx
call fcn.1400c2fc8
cmp eax, dword [rbx + rdi + 0x38]
jne 0x1400ae658
mov rax, rdi
jmp 0x1400ae668
Function at 0x1400aed08
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 0x1400aed30
and dword [r9], 0
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
lea rbp, [0x140319520]
test r8d, r8d
mov r8, r14
mov qword [rsp + 0x20], rbp
mov ecx, 0xfde9
jne 0x1400aee43
test edx, edx
je 0x1400aed7d
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 0x1400aed9b
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 0x1400aee19
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400aee19
test rbx, rbx
je 0x1400aedcf
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.1401f74dc
cmp eax, 0xffffffff
je 0x1400aee3e
lea rdx, str.wbN
mov ecx, eax
call fcn.1401f7c98
test rax, rax
jne 0x1400aeeab
mov rcx, rdi
jmp 0x1400aeea3
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 0x1400aeea9
xor edx, edx
mov rcx, rax
call fcn.1401f74dc
cmp eax, 0xffffffff
je 0x1400aeea0
lea rdx, [0x1402dfa28]
mov ecx, eax
call fcn.1401f7c98
test rax, rax
jne 0x1400aeeab
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 0x1400b00c4
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.1401dc320
sub rsp, rax
mov rax, qword [0x14030ef00]
xor rax, rsp
mov qword [rsp + 0x2060], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400b014f
mov rax, qword [rcx + 0x1030]
cmp qword [rcx + 0x1028], rax
jb 0x1400b014f
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400b014f
or r12, 0xffffffffffffffff
lea r8, str..tmp
mov r9, r12
mov rdx, r12
call fcn.1400a94b0
xor r9d, r9d
lea edx, [rbx + 1]
xor r8d, r8d
mov rcx, rax
mov rbp, rax
call fcn.1400aed08
mov r14, rax
test rax, rax
jne 0x1400b017d
mov rcx, rbp
call fcn.1401ebcd0
mov eax, 1
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.1401dbdb0
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, [0x1400afeec]
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, [0x1400a8934]
mov dword [rdi + 0x1050], ebx
xor r9d, r9d
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rax
call fcn.1400a8fd8
cmp dword [rdi + 0x1050], ebx
jne 0x1400b0283
mov rcx, qword [rdi]
call fcn.1401ea36c
mov rcx, r14
call fcn.1401ea36c
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, [0x140319520]
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.1400aed08
mov qword [rdi], rax
test rax, rax
je 0x1400b027e
mov rcx, rax
call fcn.1401e34f0
test r14d, r14d
mov qword [rdi + 0x1020], rax
sete bl
jmp 0x1400b0283
mov ebx, 1
mov rcx, rbp
call fcn.1401ebcd0
mov eax, ebx
jmp 0x1400b0154
Function at 0x1400b151c
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.1401dc320
sub rsp, rax
mov rax, qword [0x14030ef00]
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.14009fd50
xor ebp, ebp
lea r13d, [rbp - 4]
test eax, eax
je 0x1400b1753
mov rcx, qword [rdi + 0x3d8]
mov esi, r13d
call fcn.1400a4420
mov ebx, ebp
test r14d, r14d
jne 0x1400b158f
or edx, 0xffffffff
lea ecx, [r15 - 9]
cmp ecx, 1
cmovbe ebx, edx
cmp qword [rdi + 0x3e0], rbp
je 0x1400b1753
test rax, rax
je 0x1400b1753
mov rcx, rax
call fcn.1400b1480
mov rcx, qword [rdi + 0x3e0]
mov r13, rax
mov edx, 1
jmp 0x1400b15c0
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x288], edx
je 0x1400b15be
cmp ebx, r14d
jge 0x1400b1742
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 0x1400b161d
test eax, eax
jne 0x1400b1612
movzx r8d, r15w
jmp 0x1400b1616
mov dword [r13 + 4], r8d
mov edx, 0x8080
jmp 0x1400b162c
test eax, eax
jne 0x1400b1629
mov dword [r13 + 4], edx
movzx r8d, r15w
movzx edx, cx
mov r9d, esi
lea rcx, [rsp + 0x70]
call fcn.1400c45f8
mov edx, 4
movsxd r12, eax
lea rcx, [rsp + 0x60]
call fcn.1400ea190
xor eax, eax
test esi, esi
jle 0x1400b16ca
movsxd rcx, esi
lea r9d, [rax + 1]
sar rcx, 2
mov edx, eax
mov r8d, eax
test rcx, rcx
jle 0x1400b1681
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 0x1400b1668
shl edx, 2
cmp edx, esi
jge 0x1400b16ca
movsxd rax, edx
lea r8, [rsp + 0x80]
add r8, rax
lea rax, [rsp + 0x80]
sub rbp, rax
mov eax, edx
and eax, 0x80000003
jge 0x1400b16b3
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 0x1400b16a1
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.14009aa88
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 0x1400b15e0
mov rcx, qword [rdi + 0x3e0]
mov eax, esi
mov dword [rcx + 0x288], ebp
jmp 0x1400b1756
mov eax, r13d
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1401dbdb0
add rsp, 0x1098
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret