joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800cb5d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
add rcx, 0x10
jmp 0x1800d2a70
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1800d2ac1
mov r12, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.1800c79f0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1800d2aec
mov eax, 2
jmp 0x1800d2c26
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov r8, rdi
mov r9b, 1
call fcn.1800c79f0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1800d2c0c
mov eax, 2
jmp 0x1800d2c26
add r15, 0x18
lea rsi, [rsp + 0x28]
jmp 0x1800d2b33
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.180094f90
mov rsi, r14
mov rcx, r14
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.1800c79f0
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x1800d2ab7
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x1800d2c21
movzx ebx, byte [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov r14, rsi
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.1800dc2c0
mov rsi, rax
mov r13, rdx
test rax, rax
je 0x1800d2c1c
mov rcx, r13
call fcn.1800d2500
cmp al, 0xd
jne 0x1800d2c1c
and ebp, 0x23
mov rax, qword [r12 + 0x90]
xor rbp, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x1800d2bbc
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r12 + 0x90], rdx
jne 0x1800d2ba0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1800d2b16
test rax, rax
je 0x1800d2b16
mov rsi, qword [r13 - 1]
mov rbx, qword [r13 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1800d2bee
mov rcx, rsi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1800d2b00
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.180094f90
jmp 0x1800d2b00
cmp al, 2
jne 0x1800d2c3d
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x1800d2c29
mov rax, rsi
jmp 0x1800d2c29
mov eax, 1
mov r13, rbp
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x1800d2860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1800d2860
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1800d28aa
mov r15, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, r15
mov r8, rdi
xor r9d, r9d
call fcn.1800c79f0
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x1800d28d5
mov eax, 1
jmp 0x1800d2a43
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov r8, rdi
xor r9d, r9d
call fcn.1800c79f0
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x1800d2a0c
mov eax, 1
jmp 0x1800d2a43
add rbx, 0x18
lea r13, [rsp + 0x20]
mov qword [rsp + 0x30], rdi
jmp 0x1800d292f
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.180094f90
mov r13, rbx
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x30]
xor r9d, r9d
call fcn.1800c79f0
movzx eax, byte [rsp + 0x29]
cmp al, 3
mov rbx, rsi
mov rsi, r14
je 0x1800d28a0
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x1800d2a15
mov r8, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
sub r8, r12
jb 0x1800d2a5f
movzx edi, byte [rsp + 0x28]
mov r14, rsi
mov rdx, qword [rsi]
add rdx, r12
mov rsi, rbx
mov qword [rsp + 0x20], rbx
mov rbx, r13
mov rcx, r13
call fcn.1800dc2b0
mov r13, rdx
test rax, rax
je 0x1800d2a19
mov rcx, r13
call fcn.1800d2500
cmp al, 0xd
jne 0x1800d2a3e
and ebp, 0x23
mov rax, qword [r15 + 0x90]
xor rbp, 0x2f
mov rcx, rdi
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp dil, dl
jne 0x1800d29bc
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r15 + 0x90], rdx
jne 0x1800d29a0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1800d2906
test rax, rax
je 0x1800d2906
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x1800d29ee
mov rcx, rbp
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x1800d28f0
mov r8, qword [rdi + 0x10]
mov rcx, rbp
call fcn.180094f90
jmp 0x1800d28f0
cmp al, 2
jne 0x1800d2a57
mov rbp, qword [rsp + 0x20]
xor eax, eax
jmp 0x1800d2a43
lea rax, [r12 + r13]
mov rcx, qword [r14 + 0x18]
cmp rax, rcx
jbe 0x1800d2a2d
mov qword [r14 + 0x18], rax
mov rcx, rax
add r12, r13
jb 0x1800d2a5f
cmp rax, rcx
ja 0x1800d2a5f
mov qword [r14 + 0x10], rax
xor r13d, r13d
xor eax, eax
mov rbp, r13
mov rdx, rbp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 8]
ud2
Function at 0x1800d2a70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx]
add rcx, 0x10
jmp 0x1800d2a70
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1800d2ac1
mov r12, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.1800c79f0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1800d2aec
mov eax, 2
jmp 0x1800d2c26
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x28]
mov r8, rdi
mov r9b, 1
call fcn.1800c79f0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x1800d2c0c
mov eax, 2
jmp 0x1800d2c26
add r15, 0x18
lea rsi, [rsp + 0x28]
jmp 0x1800d2b33
dec r13
mov edx, 0x18
mov r8d, 8
mov rcx, r13
call fcn.180094f90
mov rsi, r14
mov rcx, r14
mov rdx, r12
mov r8, rdi
mov r9b, 1
call fcn.1800c79f0
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x1800d2ab7
mov rbp, qword [rsp + 0x28]
cmp al, 2
je 0x1800d2c21
movzx ebx, byte [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov r14, rsi
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.1800dc2c0
mov rsi, rax
mov r13, rdx
test rax, rax
je 0x1800d2c1c
mov rcx, r13
call fcn.1800d2500
cmp al, 0xd
jne 0x1800d2c1c
and ebp, 0x23
mov rax, qword [r12 + 0x90]
xor rbp, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x1800d2bbc
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [r12 + 0x90], rdx
jne 0x1800d2ba0
mov eax, r13d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1800d2b16
test rax, rax
je 0x1800d2b16
mov rsi, qword [r13 - 1]
mov rbx, qword [r13 + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1800d2bee
mov rcx, rsi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1800d2b00
mov r8, qword [rbx + 0x10]
mov rcx, rsi
call fcn.180094f90
jmp 0x1800d2b00
cmp al, 2
jne 0x1800d2c3d
mov r13, qword [rsp + 0x28]
mov eax, 1
jmp 0x1800d2c29
mov rax, rsi
jmp 0x1800d2c29
mov eax, 1
mov r13, rbp
mov rdx, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x1800d4d40
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [rcx]
nop dword [rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1800d4d50
test al, 1
je 0x1800d4e43
test al, 2
jne 0x1800d4e43
test al, 8
jne 0x1800d4d8b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x28], 4
lea rdx, [rsp + 0x28]
call fcn.1800cb1a0
jmp 0x1800d4da3
test al, 0x10
je 0x1800d4da3
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x1800d4e43
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x10]
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
cmp rax, 0x3f
jbe 0x1800d4e43
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x1800d4e0c
mov rcx, qword [rsi + 0x28]
add rcx, 0xfffffffffffffffe
cmp rcx, 3
mov eax, 1
cmovb rax, rcx
cmp rax, 1
je 0x1800d4e12
test rax, rax
jne 0x1800d4e1b
mov rdx, qword [rsi + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x1800d4e1b
test rdx, rdx
je 0x1800d4e1b
mov rcx, qword [rsi + 0x38]
mov r8d, 1
call fcn.180094f90
jmp 0x1800d4e1b
add rsp, 0x50
pop rsi
ret
lea rcx, [rsi + 0x28]
call fcn.1800c8740
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x1800d4e2b
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, rsi
add rsp, 0x50
pop rsi
jmp fcn.180094f90
ud2
Function at 0x1800dc0c0
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov esi, edx
cmp word [rcx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov eax, dword [0x180173778]
cmp eax, 3
jne 0x1800dc15d
mov ecx, edi
mov edx, esi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x1800dc138
mov rsi, rax
mov dword [rsp + 0x2c], 1
lea r8, [rsp + 0x2c]
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x1800dc14e
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, 1
jmp 0x1800dc153
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov eax, 1
jmp 0x1800dc153
xor eax, eax
mov rdi, rsi
mov rdx, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
mov byte [rsp + 0x2b], 1
lea rax, [rsp + 0x2b]
mov qword [rsp + 0x30], rax
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_1.0.2_src_syswindows_net.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x180173778]
lea r9, [0x180128ec8]
lea r8, [rsp + 0x30]
xor edx, edx
call fcn.18011d270
jmp 0x1800dc0e4

Function at 0x1800dc1a0
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, rdx
mov rsi, rcx
mov rcx, rdx
mov edx, 1
call fcn.1800dc0c0
mov rdi, rdx
test rax, rax
je 0x1800dc1d2
mov qword [rsi + 8], rdi
mov qword [rsi], 0xffffffffffffffff
jmp 0x1800dc273
cmp word [rbx], 0
je 0x1800dc1f7
movups xmm0, xmmword [rbx + 4]
movzx eax, word [rbx + 0x1c]
rol ax, 8
mov ecx, dword [rbx + 0x18]
add rbx, 0x14
mov r8d, 0x1c
mov dx, 0x17
jmp 0x1800dc210
movzx eax, word [rbx + 6]
rol ax, 8
add rbx, 2
xorps xmm0, xmm0
mov r8d, 0x10
mov dx, 2
mov r9d, dword [rbx]
mov word [rsp + 0x24], dx
mov word [rsp + 0x26], ax
mov dword [rsp + 0x28], r9d
movups xmmword [rsp + 0x2c], xmm0
mov dword [rsp + 0x3c], ecx
lea rdx, [rsp + 0x24]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1800dc24a
call sub.kernel32.dll_GetLastError
cmp eax, 0x2733
jne 0x1800dc257
mov qword [rsi], rdi
mov qword [rsi + 8], 0
jmp 0x1800dc273
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1800dfb10
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 0x1800dfba0
jmp 0x1800dfb8f
jae 0x1800dfc5c
cmp r8, 0x201
jae 0x1800dfba0
mov esi, 0x200
lea r13, [rsp + 0x78]
mov rbp, r8
jmp 0x1800dfbcb
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1800dfc2c
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 0x1800dfbf0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1800dfd0f
mov r8d, r15d
cmp rbp, r8
jne 0x1800dfb80
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800dfd3a
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rbx
cmp r8, 0x201
jb 0x1800dfb8f
jmp 0x1800dfba0
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.18011a400
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800dfbae
cmp rsi, r8
jb 0x1800dfd3a
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.1800e92a0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, r14
call fcn.1800e5f40
cmp byte [rbx], 0
jne 0x1800dfcac
lea rdx, str.exestrings_passed_to_WinAPI_cannot_contain_NULs
lea rcx, [rsp + 0x58]
mov r8d, 3
call fcn.1800e68e0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.1800ecd60
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1800dfcdd
mov rcx, qword [rsp + 0x60]
mov r8d, 1
call fcn.180094f90
test rdi, rdi
je 0x1800dfcf8
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.180094f90
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 0x1800dfce2
jmp 0x1800dfcf8
ud2
Function at 0x1800e0030
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 0x1800e00c0
jmp 0x1800e00af
jae 0x1800e017c
cmp r8, 0x201
jae 0x1800e00c0
mov esi, 0x200
lea r13, [rsp + 0x78]
mov rbp, r8
jmp 0x1800e00eb
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1800e014c
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 0x1800e0110
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1800e022f
mov r8d, r15d
cmp rbp, r8
jne 0x1800e00a0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800e025a
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rbx
cmp r8, 0x201
jb 0x1800e00af
jmp 0x1800e00c0
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.18011a400
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800e00ce
cmp rsi, r8
jb 0x1800e025a
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.1800e92a0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
mov rcx, r14
call fcn.1800e5f40
cmp byte [rbx], 0
jne 0x1800e01cc
lea rdx, str.exestrings_passed_to_WinAPI_cannot_contain_NULs
lea rcx, [rsp + 0x58]
mov r8d, 3
call fcn.1800e68e0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.1800ecd60
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1800e01fd
mov rcx, qword [rsp + 0x60]
mov r8d, 1
call fcn.180094f90
test rdi, rdi
je 0x1800e0218
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.180094f90
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 0x1800e0202
jmp 0x1800e0218
ud2
Function at 0x1800e08e0
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 0x1800e0960
jmp 0x1800e094f
jae 0x1800e0a2b
cmp r8, 0x201
jae 0x1800e0960
mov ebx, 0x200
lea r13, [rsp + 0x58]
mov rbp, r8
jmp 0x1800e098f
sub r8, r12
mov rax, rdi
sub rax, r12
cmp r8, rax
ja 0x1800e09fb
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 0x1800e09bb
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1800e0a72
mov r8d, r15d
cmp rbp, r8
jne 0x1800e0940
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800e0a9d
lea r8, [rbp*2]
cmp rbp, 0x7fffffff
cmova r8, rsi
cmp r8, 0x201
jb 0x1800e094f
jmp 0x1800e0960
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.18011a400
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x1800e0972
cmp rbx, r8
jb 0x1800e0a9d
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, r13
call fcn.1800e92a0
test rdi, rdi
je 0x1800e0a5b
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.180094f90
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 0x1800e0a45
jmp 0x1800e0a5b
ud2
Function at 0x1800e0aa0
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 0x1800e0b20
jmp 0x1800e0b0f
jae 0x1800e0be5
cmp r15, 0x201
jae 0x1800e0b20
mov ebx, 0x200
lea r13, [rsp + 0x58]
mov rbp, r15
jmp 0x1800e0b4f
sub r15, r12
mov rax, rdi
sub rax, r12
cmp r15, rax
ja 0x1800e0bb2
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 0x1800e0b76
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1800e0c18
mov r15d, esi
cmp rbp, r15
jne 0x1800e0b00
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1800e0c98
lea r15, [rbp*2]
cmp rbp, 0x7fffffff
cmova r15, r14
cmp r15, 0x201
jb 0x1800e0b0f
jmp 0x1800e0b20
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r12
mov r8, r15
call fcn.18011a400
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
jmp 0x1800e0b32
cmp rbx, r15
jb 0x1800e0c98
lea r14, [r15 + r15]
test esi, esi
je 0x1800e0c43
movzx eax, byte [0x180173750]
mov edx, 2
mov rcx, r14
call fcn.180094f80
test rax, rax
je 0x1800e0c9a
mov rsi, rax
jmp 0x1800e0c48
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 0x1800e0c6b
jmp 0x1800e0c81
mov esi, 2
mov rcx, rsi
mov rdx, r13
mov r8, r14
call fcn.180116940
mov rbx, qword [rsp + 0x38]
mov qword [rbx], r15
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x1800e0c81
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.180094f90
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.1800c8ec0
int3

Function at 0x1800e1d70
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.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x58
ret
Function at 0x1800e3760
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.1800df650
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp rax, rbx
je 0x1800e37c5
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.1800f0a00
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rdi, rbx
jne 0x1800e37d3
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 0x1800e37fd
test rdi, rdi
je 0x1800e3828
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.180094f90
xor ebx, ebx
jmp 0x1800e37c8
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rdi, rdi
je 0x1800e37c8
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.180094f90
jmp 0x1800e37c8
xor ebx, ebx
jmp 0x1800e37c8

Function at 0x1800e45e0
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.1800df650
mov rax, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp rax, r12
je 0x1800e4651
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.1800f0a00
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
cmp rdi, r12
jne 0x1800e466e
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.1800df650
mov rax, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
cmp rax, r12
je 0x1800e46c2
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.1800f0a00
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
cmp r15, r12
jne 0x1800e46e9
mov rbx, r14
mov r14d, 1
test rdi, rdi
je 0x1800e465a
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.180094f90
jmp 0x1800e465a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1800e4790]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov rdx, r14
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
je 0x1800e475e
mov rbx, qword [rsp + 0x30]
test r15, r15
je 0x1800e473d
add r15, r15
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.180094f90
test rdi, rdi
je 0x1800e4756
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.180094f90
xor r14d, r14d
jmp 0x1800e465a
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test r15, r15
je 0x1800e46c5
add r15, r15
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.180094f90
jmp 0x1800e46c5
Function at 0x1800e7ed0
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, [0x1800e7fa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x1800e7f60
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 0x1800e7f30
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 0x1800e7f70
jmp 0x1800e7f86
call qword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.1800e7690
mov ecx, eax
mov eax, 1
cmp cl, 0xb
jne 0x1800e7f88
xor esi, esi
xor eax, eax
mov rdx, rsi
add rsp, 0x60
pop rsi
ret