joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100032630
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x2b0]
mov qword [rbp - 0x290], rbx
mov qword [rbp - 0x288], rdi
mov qword [rbp - 0x280], rsi
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
mov bl, r8b
lea rdx, [0x100062288]
lea rcx, [rbp - 0x278]
call fcn.10000cee0
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x10003267f
lea rcx, [0x100078470]
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000326c2
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x10003269d
clc
jmp 0x1000326a4
bt dword [0x100061590], eax
jb 0x1000326ba
mov rcx, rbp
call fcn.100032770
test al, al
je 0x1000326ba
mov dil, 1
jmp 0x100032740
xor dil, dil
jmp 0x100032740
mov eax, esi
and eax, 0x10
movzx ecx, byte [rbp - 0x10]
lea rdx, [0x100052d40]
cmp eax, dword [rdx + rcx*4]
sete dil
and bl, dil
je 0x100032740
and esi, 0x400
je 0x100032740
lea rbx, [rbp - 0x278]
lea rdx, [0x100062288]
mov rcx, rbx
call fcn.10000cfc0
mov rdx, rbx
mov rcx, qword [rbp - 8]
xor r8b, r8b
call fcn.100032260
test eax, eax
je 0x10003271c
sub eax, 1
je 0x100032734
jmp 0x10003273c
mov dl, byte [rbp - 0x10]
mov rcx, qword [rbp - 0x278]
xor r8b, r8b
call fcn.100032630
mov dil, al
jmp 0x100032740
mov dil, 1
jmp 0x100032740
xor dil, dil
nop
nop
mov rcx, rbp
call fcn.100032600
mov al, dil
mov rbx, qword [rbp - 0x290]
mov rdi, qword [rbp - 0x288]
mov rsi, qword [rbp - 0x280]
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000328e0
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x100032961
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.100009d40
cmp ebx, 1
jle 0x100032950
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.100009620
jmp 0x10003296c
mov rcx, rsi
mov rdx, r13
call fcn.1000071c0
nop
mov rcx, rbp
call fcn.1000328c0
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100032e30
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x100182910]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.1000071c0
mov eax, ebx
lea rdx, [0x100182950]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x100032e50
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x100032f04
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100007ce0
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.1000285d0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100032f04
lea rcx, [0x100032cd0]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x100032d80]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100032e10
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000335c0
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x100182990], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x1001827d0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x1001827e0], eax
mov eax, dword [rsp + 0x28]
mov dword [0x1001827f0], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x100182800], eax
lea rdx, [0x100182811]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.1000029b0
lea rcx, [rsp + 0x34]
call fcn.100003a20
mov byte [0x100182810], al
lea rcx, str.kernel32
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x1001829a0], rax
test rax, rax
je 0x100033668
mov rcx, qword [0x1001829a0]
lea rdx, str.GetDiskFreeSpaceExA
call sub.kernel32.dll_GetProcAddress
mov qword [0x100182990], rax
nop
cmp dword [0x1001827e0], 6
jae 0x10003367c
mov dword [0x100051fb0], 0
nop
cmp dword [0x1001827e0], 6
jb 0x100033698
cmp dword [0x1001827f0], 1
jb 0x100033698
mov dword [0x100051fc0], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x10003d900
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov dword [rbp - 8], ecx
mov byte [rbp - 0xc], 0
mov eax, dword [rbp - 8]
xor edx, edx
mov ecx, 1
mov r8d, eax
call sub.kernel32.dll_OpenProcess
mov qword [rbp - 0x18], rax
test rax, rax
jbe 0x10003d95c
nop
nop
mov rcx, qword [rbp - 0x18]
xor edx, edx
call sub.kernel32.dll_TerminateProcess
or eax, eax
setne al
mov byte [rbp - 0x1c], al
mov cl, al
call fcn.100026fe0
mov byte [rbp - 0xc], al
jmp 0x10003d952
nop
mov rcx, rbp
call dbg.fin$00000009
nop
mov al, byte [rbp - 0xc]
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x10003d9b0
Capabilities:
Enumerate processes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x2a0]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rdx
mov rcx, qword [rbp - 8]
call fcn.100007190
mov qword [rbp - 0x150], 0
mov qword [rbp - 0x160], 0
nop
mov rax, qword [rbp - 0x10]
cmp qword [rax], 0
jne 0x10003da08
mov edx, 1
lea rcx, [0x10005a948]
call fcn.100019ff0
mov rdx, qword [rbp - 0x10]
mov qword [rdx], rax
nop
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov dword [rax + 0x80], 0
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x160]
call fcn.100028110
mov rdx, qword [rbp - 0x160]
lea rcx, [rbp - 8]
call fcn.1000071c0
nop
xor edx, edx
mov ecx, 2
call fcn.100046e50
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x148], 0x130
lea rdx, [rbp - 0x148]
mov rcx, qword [rbp - 0x18]
call fcn.100046e60
test eax, eax
je 0x10003dc04
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x11c]
xor r9d, r9d
mov r8d, 0x103
lea rcx, [rbp - 0x160]
call fcn.100007ce0
mov rdx, qword [rbp - 0x160]
lea rcx, [rbp - 0x150]
call fcn.100028110
mov rdx, qword [rbp - 0x150]
mov rcx, qword [rbp - 8]
mov r8d, 1
call fcn.100008230
cmp rax, 1
jne 0x10003dc04
mov eax, dword [rbp - 0x140]
mov qword [rbp - 0x168], rax
mov r9d, 0xff
lea r8, [rbp - 0x268]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rbp - 0x168]
call fcn.100004500
xor r8d, r8d
lea rdx, [rbp - 0x268]
lea rcx, [rbp - 0x160]
call fcn.100007b40
xor r8b, r8b
xor edx, edx
lea rcx, [rbp - 0x160]
call fcn.100008a20
mov rdx, qword [rbp - 0x160]
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
call qword [rax + 0x150]
nop
jmp 0x10003dc04
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x11c]
xor r9d, r9d
mov r8d, 0x103
lea rcx, [rbp - 0x160]
call fcn.100007ce0
mov rdx, qword [rbp - 0x160]
lea rcx, [rbp - 0x150]
call fcn.100028110
mov rdx, qword [rbp - 0x150]
mov rcx, qword [rbp - 8]
mov r8d, 1
call fcn.100008230
cmp rax, 1
jne 0x10003dc04
mov eax, dword [rbp - 0x140]
mov qword [rbp - 0x268], rax
mov r9d, 0xff
lea r8, [rbp - 0x260]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rbp - 0x268]
call fcn.100004500
xor r8d, r8d
lea rdx, [rbp - 0x260]
lea rcx, [rbp - 0x160]
call fcn.100007b40
xor r8b, r8b
xor edx, edx
lea rcx, [rbp - 0x160]
call fcn.100008a20
mov rdx, qword [rbp - 0x160]
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
call qword [rax + 0x150]
nop
lea rdx, [rbp - 0x148]
mov rcx, qword [rbp - 0x18]
call fcn.100046e70
test eax, eax
jne 0x10003db40
jmp 0x10003dc24
nop
mov rcx, rbp
call dbg.fin$0000000B
nop
lea rsp, [rbp]
pop rbp
ret
Function at 0x10003dc60
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x80]
mov qword [rbp - 8], rcx
mov dword [rbp - 0x10], edx
mov rcx, qword [rbp - 8]
call fcn.100007190
nop
mov byte [rbp - 0x14], 0
mov eax, dword [rbp - 0x10]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call sub.kernel32.dll_OpenProcess
mov qword [rbp - 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x10003dd58
lea rcx, str.kernel32.dll
call sub.kernel32.dll_GetModuleHandleA
mov rcx, rax
lea rdx, str.LoadLibraryA
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x20], rax
mov dword [rsp + 0x20], 0x40
mov rax, qword [rbp - 8]
test rax, rax
je 0x10003dcd2
mov rax, qword [rax - 8]
lea r8, [rax + 1]
mov rcx, qword [rbp - 0x30]
mov r9d, 0x3000
xor edx, edx
call sub.kernel32.dll_VirtualAllocEx
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 8]
test r9, r9
je 0x10003dd01
mov r9, qword [r9 - 8]
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x10003dd4c
mov dword [rsp + 0x28], 0
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
xor r8, r8
xor edx, edx
call sub.kernel32.dll_CreateRemoteThread
cmp rax, 0xffffffffffffffff
je 0x10003dd4c
mov byte [rbp - 0x14], 1
mov rcx, qword [rbp - 0x30]
call sub.kernel32.dll_CloseHandle
nop dword [rax]
nop
mov rcx, rbp
call dbg.fin$0000000C
mov al, byte [rbp - 0x14]
nop
lea rsp, [rbp]
pop rbp
ret

Function at 0x100047d30
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x30]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rdx
mov dword [rbp - 0x18], r8d
mov rax, qword [rbp - 8]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x28], rax
mov eax, dword [rbp - 0x18]
sub eax, 1
mov dword [rbp - 0x2c], 0xffffffff
nop word [rax + rax]
add dword [rbp - 0x2c], 1
mov rdx, qword [rbp - 0x20]
mov ecx, dword [rbp - 0x2c]
mov r9, qword [rbp - 0x28]
mov r8d, dword [rbp - 0x2c]
mov cl, byte [rdx + rcx]
mov dl, byte [r9 + r8]
xor dl, cl
mov r8, qword [rbp - 0x20]
mov ecx, dword [rbp - 0x2c]
mov byte [r8 + rcx], dl
cmp eax, dword [rbp - 0x2c]
ja 0x100047d68
lea rsp, [rbp]
pop rbp
ret
Function at 0x100048180
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x20]
mov qword [rbp - 8], rcx
mov byte [rbp - 0x10], dl
movzx eax, byte [rbp - 0x10]
sub eax, 1
mov dword [rbp - 0x14], 0xffffffff
nop
add dword [rbp - 0x14], 1
mov rcx, qword [rbp - 8]
mov edx, dword [rbp - 0x14]
shl rdx, 2
movzx edx, byte [rcx + rdx + 1]
lea rcx, [0x100056d40]
lea r8, [rcx + rdx*4]
mov rcx, qword [rbp - 8]
mov edx, dword [rbp - 0x14]
shl rdx, 2
movzx edx, byte [rcx + rdx]
lea rcx, [0x100056940]
lea rdx, [rcx + rdx*4]
mov ecx, dword [r8]
mov edx, dword [rdx]
xor edx, ecx
mov r8, qword [rbp - 8]
mov ecx, dword [rbp - 0x14]
shl rcx, 2
movzx r8d, byte [r8 + rcx + 2]
lea rcx, [0x100057140]
lea rcx, [rcx + r8*4]
xor edx, dword [rcx]
mov r8, qword [rbp - 8]
mov ecx, dword [rbp - 0x14]
shl rcx, 2
movzx r8d, byte [r8 + rcx + 3]
lea rcx, [0x100057540]
lea rcx, [rcx + r8*4]
xor edx, dword [rcx]
mov r8, qword [rbp - 8]
mov ecx, dword [rbp - 0x14]
shl rcx, 2
add rcx, r8
mov dword [rcx], edx
cmp eax, dword [rbp - 0x14]
ja 0x1000481a0
lea rsp, [rbp]
pop rbp
ret
Function at 0x231941aac
Capabilities:
Get session integrity level

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov dword [rbp - 0x14], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
lea rdx, [rbp - 0x10]
mov r8, rdx
mov edx, 8
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call rax
mov rax, qword [rbp - 0x10]
lea rcx, [rbp - 0x14]
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8, rcx
mov edx, 0x14
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call rax
mov eax, dword [rbp - 0x14]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
cmp dword [rbp - 4], 0
je 0x231941b37
mov rax, qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
call rax
test eax, eax
je 0x231941b37
mov eax, 1
jmp 0x231941b3c
mov eax, 0
movzx eax, al
add rsp, 0x50
pop rbp
ret

Function at 0x231941b45
Capabilities:
Check for debugger via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp - 4]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call rax
mov eax, dword [rbp - 4]
test eax, eax
je 0x231941b84
mov rax, qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call rax
test eax, eax
je 0x231941b84
mov eax, 1
jmp 0x231941b89
mov eax, 0
movzx eax, al
add rsp, 0x30
pop rbp
ret

Function at 0x231941cac
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.231a15c80
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
je 0x231941dea
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileSize]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0xffffffff
je 0x231941dbe
mov eax, dword [rbp - 0xc]
add eax, 1
mov eax, eax
mov rcx, rax
call fcn.231a35480
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x1c]
mov r8d, dword [rbp - 0xc]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
test eax, eax
je 0x231941d85
mov eax, dword [rbp - 0x1c]
cmp dword [rbp - 0xc], eax
jne 0x231941d85
mov eax, 1
jmp 0x231941d8a
mov eax, 0
test al, al
je 0x231941dab
mov eax, dword [rbp - 0xc]
mov rdx, qword [rbp - 0x18]
add rax, rdx
mov byte [rax], 0
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.231a16770
cmp qword [rbp - 0x18], 0
je 0x231941dbe
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.231a35440
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x231941dea
nop
mov rax, qword [rbp + 0x20]
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x231941e42
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xf0
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov dword [rbp + 0x20], r8d
lea rax, [rbp - 0x70]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x70], 0x68
lea rax, [rbp - 0x90]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp + 0x10]
lea rdx, [rbp - 0x90]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
setne al
test al, al
je 0x231941f4e
cmp dword [rbp + 0x20], 0
je 0x231941f0e
mov rax, qword [rbp - 0x90]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rcx, qword [rbp - 0x90]
lea rax, [rbp - 0x94]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call rax
mov rax, qword [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x88]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp - 0x94]
add rsp, 0xf0
pop rbp
ret
Function at 0x231942a58
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov dword [rbp + 0x30], r8d
mov dword [rbp + 0x38], r9d
mov ecx, dword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
mov rax, qword [rbp + 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
cmp dword [rbp + 0x38], 0
je 0x231942b80
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x48]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MoveFileA]
call rax
lea rax, [rbp - 0x31]
mov rcx, rax
call fcn.2319e0310
lea rcx, [rbp - 0x31]
mov rdx, qword [rbp + 0x50]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rax, [rbp - 1]
mov rcx, rax
call fcn.2319e0310
lea rcx, [rbp - 1]
mov rdx, qword [rbp + 0x50]
lea rax, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call fcn.231a15ea0
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x30]
mov r8d, 0x8000000
mov rcx, rax
call fcn.231942816
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp - 1]
mov rcx, rax
call fcn.2319e0340
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.231a16660
lea rax, [rbp - 0x31]
mov rcx, rax
call fcn.2319e0340
mov rdx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MoveFileA]
call rax
mov rax, qword [rbp + 0x50]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov eax, dword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
mov rdx, rax
call fcn.23195fa90
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
jmp 0x231942be2
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x231943eb3
Capabilities:
Download url
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sub.urlmon.dll_URLDownloadToFileA
add rsp, 0x30
pop rbp
ret

Function at 0x231944050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0x18
mov byte [rbp - 0x20], 0x59
mov byte [rbp - 0x1f], 0xd3
mov byte [rbp - 0x1e], 0x67
mov byte [rbp - 0x1d], 0xa4
mov byte [rbp - 0x1c], 0xf9
mov byte [rbp - 0x1b], 0x38
mov byte [rbp - 0x1a], 0x8b
mov byte [rbp - 0x19], 0x10
mov byte [rbp - 0x18], 0x2b
mov byte [rbp - 0x17], 0xb6
mov byte [rbp - 0x16], 0x74
mov byte [rbp - 0x15], 0x8b
mov byte [rbp - 0x14], 0xe0
mov byte [rbp - 0x13], 0x39
mov byte [rbp - 0x12], 0xce
mov byte [rbp - 0x11], 0x32
mov byte [rbp - 0x10], 0x5b
mov byte [rbp - 0xf], 0xb2
mov byte [rbp - 0xe], 0x5f
mov byte [rbp - 0xd], 0xb4
mov byte [rbp - 0xc], 0xe8
mov byte [rbp - 0xb], 0x2e
mov byte [rbp - 0xa], 0x8b
mov byte [rbp - 9], 0x5d
lea rax, [0x231ec7e00]
mov rcx, rax
call fcn.23196a600
movzx eax, byte [rax]
test al, al
jne 0x231944131
lea rax, [0x231ec7e20]
mov rcx, rax
call fcn.23196a600
mov rcx, rax
lea rax, [rbp - 0x20]
mov rdx, rax
call fcn.231980200
lea rax, [0x231ec7e00]
mov rcx, rax
call fcn.23196a600
mov byte [rax], 1
lea rax, [0x231ec7e20]
mov rcx, rax
call fcn.23196a600
mov r8d, 0
mov rdx, rax
lea rax, [0x231980260]
mov rcx, rax
call fcn.231969750
lea rax, [0x231ec7e20]
mov rcx, rax
call fcn.23196a600
add rsp, 0x40
pop rbp
ret
Function at 0x231944975
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x28], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCommandLineW]
call rax
mov rcx, rax
lea rax, [rbp - 0x30]
mov rdx, rax
mov rax, qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call rax
mov qword [rbp - 8], rax
mov ecx, 0
mov rax, qword [sym.imp.ole32.dll_CoInitialize]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x2319449d7
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x2c], eax
jmp 0x231944b21
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9, qword [0x231ed1840]
mov r8d, 1
mov edx, 0
mov rax, qword [0x231ed1830]
mov rcx, rax
mov rax, qword [sym.imp.ole32.dll_CoCreateInstance]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x231944a19
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x2c], eax
jmp 0x231944b21
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov r9, qword [rax]
mov rax, qword [rbp - 0x18]
mov rcx, rax
lea rax, [rbp - 0x20]
mov r8, rax
mov rax, qword [0x231ed1850]
mov rdx, rax
call r9
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x231944a52
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x2c], eax
jmp 0x231944b21
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov r9, qword [rax]
mov rax, qword [rbp - 0x18]
mov rcx, rax
lea rax, [rbp - 0x28]
mov r8, rax
mov rax, qword [0x231ed1860]
mov rdx, rax
call r9
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x231944a8b
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x2c], eax
jmp 0x231944b21
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
add rax, 0x68
mov r9, qword [rax]
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 8]
add rdx, 0x10
mov rdx, qword [rdx]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x231944ac5
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x2c], eax
jmp 0x231944b21
mov edx, 0
mov ecx, 0xbb8
call fcn.231943b66
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
add rax, 0x38
mov rdx, qword [rax]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call rdx
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
js 0x231944b1a
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
add rax, 0x48
mov r9, qword [rax]
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x2c]
mov r8, rdx
mov edx, 0xffffffff
mov rcx, rax
call r9
jmp 0x231944b21
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x2c], eax
nop
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
add rax, 0x10
mov rax, qword [rax]
mov rdx, qword [rbp - 0x20]
mov rcx, rdx
call rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
add rax, 0x10
mov rax, qword [rax]
mov rdx, qword [rbp - 0x28]
mov rcx, rdx
call rax
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
add rax, 0x10
mov rax, qword [rax]
mov rdx, qword [rbp - 0x18]
mov rcx, rdx
call rax
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
call rax
mov eax, dword [rbp - 0x2c]
add rsp, 0x60
pop rbp
ret
Function at 0x23194576b
Capabilities:
Open clipboard

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_OpenClipboard]
call rax
test eax, eax
setne al
test al, al
je 0x2319457be
mov rax, qword [sym.imp.USER32.dll_CountClipboardFormats]
call rax
test eax, eax
setg al
test al, al
je 0x2319457a7
mov rax, qword [sym.imp.USER32.dll_EmptyClipboard]
call rax
jmp 0x2319457b5
mov ecx, 0x103
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
call rax
mov rax, qword [sym.imp.USER32.dll_CloseClipboard]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
add rsp, 0x20
pop rbp
ret