joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401a9ee0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x48], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor edi, edi
mov r14, qword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov ebx, 0xffffffff
xor r12d, r12d
cmp r8, 0x201
jae 0x1401a9f70
jmp 0x1401a9f5f
jae 0x1401aa02c
cmp r8, 0x201
jae 0x1401a9f70
mov esi, 0x200
lea r13, [rsp + 0x78]
mov rbp, r8
jmp 0x1401a9f9b
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1401a9ffc
cmp rdi, rbx
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x48], r12
mov rsi, r12
mov r13, qword [rsp + 0x28]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, r13
mov edx, ebp
call r14
mov r15d, eax
test eax, eax
jne 0x1401a9fc0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401aa0df
mov r8d, r15d
cmp rbp, r8
jne 0x1401a9f50
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401aa10a
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rbx
cmp r8, 0x201
jb 0x1401a9f5f
jmp 0x1401a9f70
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.1401f03e0
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1401a9f7e
cmp rsi, r8
jb 0x1401aa10a
mov rax, qword [rsp + 0x50]
mov rsi, qword [rax]
mov rbx, qword [rax + 8]
lea r14, [rsp + 0x58]
mov rcx, r14
mov rdx, r13
call fcn.1401b63c0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, r14
call fcn.1401b8140
cmp byte [rbx], 0
jne 0x1401aa07c
lea rdx, [0x140261a86]
lea rcx, [rsp + 0x58]
mov r8d, 3
call fcn.1401b8ae0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.1401b0cb0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401aa0ad
mov rcx, qword [rsp + 0x60]
mov r8d, 1
call fcn.140055580
test rdi, rdi
je 0x1401aa0c8
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.140055580
mov rax, rsi
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x30]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000001
mov qword [rsi], rax
test rdi, rdi
jne 0x1401aa0b2
jmp 0x1401aa0c8
ud2
Function at 0x1401aa400
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x48], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor edi, edi
mov r14, qword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov ebx, 0xffffffff
xor r12d, r12d
cmp r8, 0x201
jae 0x1401aa490
jmp 0x1401aa47f
jae 0x1401aa54c
cmp r8, 0x201
jae 0x1401aa490
mov esi, 0x200
lea r13, [rsp + 0x78]
mov rbp, r8
jmp 0x1401aa4bb
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1401aa51c
cmp rdi, rbx
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x48], r12
mov rsi, r12
mov r13, qword [rsp + 0x28]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, r13
mov edx, ebp
call r14
mov r15d, eax
test eax, eax
jne 0x1401aa4e0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401aa5ff
mov r8d, r15d
cmp rbp, r8
jne 0x1401aa470
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401aa62a
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rbx
cmp r8, 0x201
jb 0x1401aa47f
jmp 0x1401aa490
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.1401f03e0
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1401aa49e
cmp rsi, r8
jb 0x1401aa62a
mov rax, qword [rsp + 0x50]
mov rsi, qword [rax]
mov rbx, qword [rax + 8]
lea r14, [rsp + 0x58]
mov rcx, r14
mov rdx, r13
call fcn.1401b63c0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, r14
call fcn.1401b8140
cmp byte [rbx], 0
jne 0x1401aa59c
lea rdx, [0x140261a86]
lea rcx, [rsp + 0x58]
mov r8d, 3
call fcn.1401b8ae0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.1401b0cb0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1401aa5cd
mov rcx, qword [rsp + 0x60]
mov r8d, 1
call fcn.140055580
test rdi, rdi
je 0x1401aa5e8
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.140055580
mov rax, rsi
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x30]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000001
mov qword [rsi], rax
test rdi, rdi
jne 0x1401aa5d2
jmp 0x1401aa5e8
ud2
Function at 0x1401aacb0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x50], 0
mov r14, qword [rdx + 8]
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor edi, edi
mov esi, 0xffffffff
xor r12d, r12d
cmp r8, 0x201
jae 0x1401aad30
jmp 0x1401aad1f
jae 0x1401aadfb
cmp r8, 0x201
jae 0x1401aad30
mov ebx, 0x200
lea r13, [rsp + 0x58]
mov rbp, r8
jmp 0x1401aad5f
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1401aadcb
cmp rdi, rsi
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x50], r12
mov rbx, r12
mov r13, qword [rsp + 0x30]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, r14
mov rdx, r13
mov r8d, ebp
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r15d, eax
test eax, eax
jne 0x1401aad8b
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401aae42
mov r8d, r15d
cmp rbp, r8
jne 0x1401aad10
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401aae6d
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rsi
cmp r8, 0x201
jb 0x1401aad1f
jmp 0x1401aad30
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.1401f03e0
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x1401aad42
cmp rbx, r8
jb 0x1401aae6d
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, r13
call fcn.1401b63c0
test rdi, rdi
je 0x1401aae2b
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.140055580
mov rax, rsi
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rdi, rdi
jne 0x1401aae15
jmp 0x1401aae2b
ud2
Function at 0x1401aae70
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x50], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor edi, edi
mov r14, qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov ebx, 0xffffffff
xor r15d, r15d
cmp r8, 0x201
jae 0x1401aaef0
jmp 0x1401aaedf
jae 0x1401aafac
cmp r8, 0x201
jae 0x1401aaef0
mov esi, 0x200
lea r12, [rsp + 0x58]
mov r13, r8
jmp 0x1401aaf1b
sub r8, r15
mov rax, rdi
sub rax, r15
cmp r8, rax
ja 0x1401aaf7c
cmp rdi, rbx
mov r15d, 0xffffffff
cmovb r15, rdi
mov qword [rsp + 0x50], r15
mov rsi, r15
mov r12, qword [rsp + 0x30]
mov r13, r15
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r13d
mov rdx, r12
call r14
mov ebp, eax
test eax, eax
jne 0x1401aaf40
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401aaff3
mov r8d, ebp
cmp r13, r8
jne 0x1401aaed0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401ab01e
lea r8, [r13*2]
cmp r13, 0x7fffffff
cmova r8, rbx
cmp r8, 0x201
jb 0x1401aaedf
jmp 0x1401aaef0
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.1401f03e0
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x1401aaefe
cmp rsi, r8
jb 0x1401ab01e
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, r12
call fcn.1401b63c0
test rdi, rdi
je 0x1401aafdc
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.140055580
mov rax, rsi
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rdi, rdi
jne 0x1401aafc6
jmp 0x1401aafdc
ud2
Function at 0x1401ab020
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x50], 0
mov r15d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor edi, edi
mov r14d, 0xffffffff
xor r12d, r12d
cmp r15, 0x201
jae 0x1401ab0a0
jmp 0x1401ab08f
jae 0x1401ab165
cmp r15, 0x201
jae 0x1401ab0a0
mov ebx, 0x200
lea r13, [rsp + 0x58]
mov rbp, r15
jmp 0x1401ab0cf
sub r15, r12
mov rax, rdi
sub rax, r12
cmp r15, rax
ja 0x1401ab132
cmp rdi, r14
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x50], r12
mov rbx, r12
mov r13, qword [rsp + 0x30]
mov rbp, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, r13
mov edx, ebp
call qword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x1401ab0f6
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401ab198
mov r15d, esi
cmp rbp, r15
jne 0x1401ab080
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401ab218
lea r15, [rbp*2]
cmp rbp, 0x7fffffff
cmova r15, r14
cmp r15, 0x201
jb 0x1401ab08f
jmp 0x1401ab0a0
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r12
mov r8, r15
call fcn.1401f03e0
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x1401ab0b2
cmp rbx, r15
jb 0x1401ab218
lea r14, [r15 + r15]
test esi, esi
je 0x1401ab1c3
movzx eax, byte [0x14027f2b8]
mov edx, 2
mov rcx, r14
call fcn.140055570
test rax, rax
je 0x1401ab21a
mov rsi, rax
jmp 0x1401ab1c8
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rbx, qword [rsp + 0x38]
mov qword [rbx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rbx], rax
test rdi, rdi
jne 0x1401ab1eb
jmp 0x1401ab201
mov esi, 2
mov rcx, rsi
mov rdx, r13
mov r8, r14
call fcn.1401ef240
mov rbx, qword [rsp + 0x38]
mov qword [rbx], r15
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x1401ab201
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.140055580
mov rax, rbx
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
mov ecx, 2
mov rdx, r14
call fcn.14018ba60
int3

Function at 0x1401ac710
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.p1_
cmovne rdx, rcx
add rsp, 0x58
ret

Function at 0x1401adc60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1401adc77
mov rdx, rax
add rsp, 0x28
ret
call sub.kernel32.dll_GetLastError
ud2
Function at 0x1401ae2d0
Capabilities:
Set socket configuration

Disassembly:
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14018c260
add rcx, 0x18
jmp 0x14019fb80
ud2
jmp 0x1401ae2d0
sub rsp, 0x38
movzx eax, dl
mov rcx, qword [rcx]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401ae308
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401ae320
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov rcx, qword [rcx]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1401ae34f
movsxd rdx, eax
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x28
ret

Function at 0x1401ae370
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1401ae3a5
movsxd rdx, eax
xor ecx, ecx
mov rax, rcx
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1401ae39d
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x28
ret

Function at 0x1401ae3e0
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
cmp r8, 0x7fffffff
mov ecx, 0x7fffffff
cmovae r8, rcx
mov rcx, qword [rax]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1401ae412
movsxd rdx, eax
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x28
ret

Function at 0x1401ae430
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [rcx]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rsp + 0x3c], 0
mov rcx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
call qword [sym.imp.ws2_32.dll_WSASend]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1401ae47f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rsp + 0x3c]
cmove rdx, rax
mov rax, rcx
add rsp, 0x40
pop rsi
ret
Function at 0x1401b0b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, r9
mov rdx, rax
call fcn.1401b8140
cmp byte [rbx], 0
jne 0x1401b0b82
lea rdx, str.exe.NULcmd.exemaximum_number_of_ProcThreadAttributes_exceeded
mov r8d, 3
mov rcx, rsi
call fcn.1401b8ae0
movabs r15, 0x8000000000000000
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x38]
call fcn.1401a9a20
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
cmp rax, r15
je 0x1401b0be3
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x50]
call fcn.1401c4400
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
cmp r14, r15
jne 0x1401b0c70
mov eax, ebx
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1401b0c3a
test rax, rax
je 0x1401b0c3a
mov r14, qword [rbx - 1]
mov r12, qword [rbx + 7]
mov rax, qword [r12]
test rax, rax
je 0x1401b0c0d
mov rcx, r14
call rax
dec rbx
mov rdx, qword [r12 + 8]
test rdx, rdx
je 0x1401b0c27
mov r8, qword [r12 + 0x10]
mov rcx, r14
call fcn.140055580
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140055580
mov qword [rdi], r15
mov rdx, qword [rsi]
test rdx, rdx
je 0x1401b0c61
mov rcx, qword [rsi + 8]
mov r8d, 1
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140055580
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r12, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b0c90
mov qword [rdi], r14
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r12
jmp 0x1401b0c3d
mov qword [rdi], r15
test r14, r14
je 0x1401b0c3d
add r14, r14
mov r8d, 2
mov rcx, rbx
mov rdx, r14
call fcn.140055580
jmp 0x1401b0c3d
Function at 0x1401b0cb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
movabs r14, 0x8000000000000000
lea rcx, [rsp + 0x40]
call fcn.1401a9a20
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
cmp rax, r14
je 0x1401b0d13
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.1401c4400
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
cmp rbx, r14
jne 0x1401b0d79
mov eax, edi
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1401b0d67
test rax, rax
je 0x1401b0d67
mov rbx, qword [rdi - 1]
mov r15, qword [rdi + 7]
mov rax, qword [r15]
test rax, rax
je 0x1401b0d3c
mov rcx, rbx
call rax
dec rdi
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x1401b0d54
mov r8, qword [r15 + 0x10]
mov rcx, rbx
call fcn.140055580
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140055580
mov qword [rsi], r14
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov r15, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b0d99
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x1401b0d6a
mov qword [rsi], r14
test rbx, rbx
je 0x1401b0d6a
add rbx, rbx
mov r8d, 2
mov rcx, rdi
mov rdx, rbx
call fcn.140055580
jmp 0x1401b0d6a
Function at 0x1401b2450
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
movabs rbx, 0x8000000000000000
lea rcx, [rsp + 0x28]
call fcn.1401a9a20
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rax, rbx
je 0x1401b24b5
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.1401beef0
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rdi, rbx
jne 0x1401b24c3
mov rbx, rsi
mov rax, rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1401b24ed
test rdi, rdi
je 0x1401b2518
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140055580
xor ebx, ebx
jmp 0x1401b24b8
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rdi, rdi
je 0x1401b24b8
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140055580
jmp 0x1401b24b8
xor ebx, ebx
jmp 0x1401b24b8

Function at 0x1401b32d0
Capabilities:
Copy file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rbx, r9
mov r14, r8
mov r8, rdx
mov rdx, rcx
movabs r12, 0x8000000000000000
lea rcx, [rsp + 0x48]
call fcn.1401a9a20
mov rax, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp rax, r12
je 0x1401b3341
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov r8b, 1
call fcn.1401beef0
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
cmp rdi, r12
jne 0x1401b335e
mov r14d, 1
mov rbx, rsi
mov rax, r14
mov rdx, rbx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
mov rdx, r14
mov r8, rbx
call fcn.1401a9a20
mov rax, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
cmp rax, r12
je 0x1401b33b2
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov r8b, 1
call fcn.1401beef0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
cmp r15, r12
jne 0x1401b33d9
mov rbx, r14
mov r14d, 1
test rdi, rdi
je 0x1401b334a
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140055580
jmp 0x1401b334a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1401b3480]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov rdx, r14
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
je 0x1401b344e
mov rbx, qword [rsp + 0x30]
test r15, r15
je 0x1401b342d
add r15, r15
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.140055580
test rdi, rdi
je 0x1401b3446
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140055580
xor r14d, r14d
jmp 0x1401b334a
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test r15, r15
je 0x1401b33b5
add r15, r15
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.140055580
jmp 0x1401b33b5
Function at 0x1401b4de0
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x60
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rsp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x58], rax
mov rcx, qword [rcx]
lea rax, [0x1401b4eb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x1401b4e70
mov rsi, qword [sym.imp.kernel32.dll_SleepEx]
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call rsi
cmp dword [rsp + 0x34], 0
je 0x1401b4e40
mov eax, dword [rsp + 0x38]
mov esi, dword [rsp + 0x3c]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne rsi, rcx
jne 0x1401b4e80
jmp 0x1401b4e96
call qword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.1401b43f0
mov ecx, eax
mov eax, 1
cmp cl, 0xb
jne 0x1401b4e98
xor esi, esi
xor eax, eax
mov rdx, rsi
add rsp, 0x60
pop rsi
ret