joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007282c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
lea rbp, [rcx + 0x18]
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rsp + 0x60], rbp
mov r10, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140072874
mov r8, qword [rdi]
movabs rcx, 0xcbf29ce484222325
lea r9, [r10 + r10]
xor edx, edx
test r9, r9
je 0x1400728a7
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r11, 0x100000001b3
imul rcx, r11
inc rdx
cmp rdx, r9
jb 0x140072889
mov r15, qword [r14 + 0x88]
and r15, rcx
add r15, r15
mov r12, qword [r14 + 0x70]
mov rbx, qword [r12 + r15*8]
mov r8, qword [r14 + 0x60]
cmp qword [r12 + r15*8], r8
jne 0x14007291b
mov rax, r8
cmp rbx, rax
jne 0x140072958
mov rbx, r8
cmp rbx, r8
jne 0x140072925
mov rax, qword [r14 + 0x48]
lock inc qword [rax + 0x48]
and qword [rsi], 0
and qword [rsi + 8], 0
test rbp, rbp
je 0x140072900
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, qword [r12 + r15*8 + 8]
mov rax, qword [rax]
jmp 0x1400728c9
mov rdx, qword [rbx + 0x40]
mov rcx, r14
call fcn.1400729fc
mov rax, qword [r14 + 0x48]
lock inc qword [rax + 0x40]
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x14007294b
lock inc dword [rdx + 8]
mov rdx, qword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
jmp 0x1400728ec
lea rdx, [rbx + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140072969
mov rax, qword [rdi]
mov rcx, qword [rdx + 0x10]
mov r11, qword [rdx + 0x18]
cmp r11, 8
jb 0x14007297a
mov rdx, qword [rdx]
cmp rcx, r10
jne 0x1400729a3
test rcx, rcx
je 0x1400729ab
sub rdx, rax
movzx r9d, word [rax]
cmp word [rdx + rax], r9w
jb 0x1400729a3
ja 0x1400729a3
cmp rcx, 1
je 0x1400729ab
dec rcx
add rax, 2
jmp 0x140072987
mov rbx, qword [rbx]
jmp 0x1400728c0
lea rax, [rbx + 0x10]
cmp r11, 8
jb 0x1400729b8
mov rax, qword [rax]
cmp qword [rdi + 0x18], 8
jb 0x1400729c2
mov rdi, qword [rdi]
test r10, r10
je 0x1400728d5
sub rdi, rax
movzx ecx, word [rax]
cmp word [rax + rdi], cx
jb 0x1400728d2
ja 0x1400728d2
cmp r10, 1
je 0x1400728d5
dec r10
add rax, 2
jmp 0x1400729ce

Function at 0x140074518
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rcx]
movabs r9, 0x100000001b3
xor r11, rax
inc r8
imul r11, r9
cmp r8, 4
jb 0x14007452b
mov r8, qword [rdx + 0x10]
mov ebx, 0x9e3779b9
add rbx, r11
cmp qword [rdx + 0x18], 8
jb 0x140074560
mov rdx, qword [rdx]
add r8, r8
call fcn.1400ad430
shl r11, 6
mov rcx, rbx
add rax, r11
shr rcx, 2
movabs rdx, 0x282c15e7f9
add rax, rdx
add rax, rcx
xor rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400745a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x140477ad0]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14d, r9d
mov r12, r8
mov r15d, edx
mov rdi, rcx
mov dword [rbp - 0x61], edx
lea rsi, [rcx + 0x88]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rbp - 0x41], rsi
mov rdx, r12
lea rcx, [rbp - 0x61]
call fcn.140074518
mov r10, rax
mov qword [rbp - 0x59], rax
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx ecx, byte [rbp + r8 - 0x59]
xor rdx, rcx
movabs rax, 0x100000001b3
imul rdx, rax
inc r8
cmp r8, 8
jb 0x14007460e
mov r8, qword [rdi + 0x78]
and r8, rdx
add r8, r8
mov r9, qword [rdi + 0x60]
mov rdx, qword [r9 + r8*8]
mov rax, rdx
cmp rdx, qword [rdi + 0x50]
jne 0x14007465d
mov rcx, qword [rdi + 0x50]
cmp rax, rcx
je 0x140074667
cmp qword [rax + 0x10], r10
je 0x14007466b
mov rax, qword [rax]
jmp 0x140074643
mov rcx, qword [r9 + r8*8 + 8]
mov rcx, qword [rcx]
jmp 0x14007464d
mov rax, qword [rdi + 0x50]
cmp rax, qword [rdi + 0x50]
je 0x1400746b5
mov r8, qword [rbp + 0x7f]
mov edx, r14d
mov rcx, qword [rax + 0x18]
call fcn.140075ab0
nop
test rsi, rsi
je 0x140074696
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140123570
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rdi + 0x13c], 0x7d0
jae 0x140074682
mov rdx, r12
lea rcx, [rbp - 0x51]
call fcn.1401069d4
nop
mov r8, qword [rbp + 0x7f]
mov edx, r14d
mov rcx, qword [rbp - 0x51]
call fcn.140075ab0
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x29]
call fcn.1400713d4
nop
mov rdx, r12
lea rcx, [rbp - 0x19]
call fcn.140079070
nop
mov dword [rbp + 7], r15d
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x39]
lea rcx, [rdi + 0x48]
call fcn.140298934
mov rbx, qword [rbp - 0x39]
mov dword [rbx + 0x48], r15d
lea rcx, [rbx + 0x28]
lea rdx, [rbp - 0x19]
call fcn.14006dfe4
mov rax, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x21]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x20], rdx
test rcx, rcx
je 0x14007474a
call fcn.14007e8c0
nop
lea rcx, [rbp - 0x29]
call fcn.140298c64
inc dword [rdi + 0x13c]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140074682
call fcn.14007e8c0
jmp 0x140074682
Function at 0x1400acf44
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rbx, qword [r8]
mov rsi, rcx
mov rcx, rbx
mov r15, r8
mov rdi, rdx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetLengthSid]
nop dword [rax + rax]
mov r8d, eax
mov rdx, rbx
call fcn.1400ad430
mov rbx, qword [rsi + 0x18]
mov r14, rax
and r14, qword [rsi + 0x30]
add r14, r14
mov rbx, qword [rbx + r14*8]
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 8]
cmp qword [rax + r14*8], rcx
jne 0x1400acffb
mov rax, rcx
cmp rbx, rax
je 0x1400ad010
mov rdx, qword [r15]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x1400ad005
mov rdx, qword [rbx + 0x10]
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x1400ad00a
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
mov rax, qword [rax + r14*8 + 8]
mov rax, qword [rax]
jmp 0x1400acfa6
mov rbx, qword [rbx]
jmp 0x1400acf95
mov rbx, qword [rsi + 8]
jmp 0x1400acfd9
mov qword [rdi], rcx
jmp 0x1400acfdc

Function at 0x1400ad430
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x1400ad460
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400ad442
mov rax, rcx
ret
Function at 0x140102048
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x38], 0
mov rbx, r8
mov r8, qword [rdx]
test r8, r8
je 0x140102062
mov r8, qword [r8]
lea r9, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x140102099
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14007db10
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1401020a8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 2
jb 0x1401020b5
mov rax, rcx
ret

Function at 0x14011b5f8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140477ad0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
lea rdi, [0x140491d08]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14011b6b3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14011b66d
movzx ebx, ax
or ebx, 0x80070000
call fcn.1400a4e1c
cmp dword [rax], 2
jbe 0x14011b6aa
lea rcx, str.DataCollection_adapter_failed_to_read_Profiles_Directory
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rcx
lea rdx, [0x1403f65f8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140007558
lea rdx, [0x140361390]
jmp 0x14011b6b8
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400aeef0
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140123570
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x14011b808
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140477ad0]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
lea rdi, [0x140491ce8]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14011b8bb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14011b875
movzx ebx, ax
or ebx, 0x80070000
call fcn.1400a4e1c
cmp dword [rax], 2
jbe 0x14011b8b2
lea rcx, str.DataCollection_adapter_failed_to_read_Windows_Directory
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rcx
lea rdx, [0x1403f65f8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140007558
lea rdx, [0x140361390]
jmp 0x14011b8c0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400aeef0
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140123570
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14011cf24
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
cmp rdx, 0x400
jbe 0x14011cf6c
lea rbx, [rdx - 0x401]
shr rbx, 0xa
inc rbx
imul rax, rbx, 0xfffffffffffffc00
add rdi, rax
mov r8d, 0x400
lea rdx, [0x140361e00]
call fcn.1400dfc90
mov ecx, eax
sub rbx, 1
jne 0x14011cf52
mov r8, rdi
lea rdx, [0x140361e00]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400dfc90

Function at 0x14015bc2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x14015bca8
mov rbx, qword [rsp + 0x60]
sub r15, rcx
cmp r14, rbp
je 0x14015bcac
movzx edx, word [r15 + r14]
mov rcx, qword [rbx + 8]
movzx esi, word [r14]
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
cmp ax, di
jne 0x14015bca8
add r14, 2
jmp 0x14015bc69
xor al, al
jmp 0x14015bcae
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1402f75cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140477ad0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
lea r9, [0x1403b8662]
xor eax, eax
mov r8d, 0xfffff820
xor ecx, ecx
mov r11d, edi
cpuid
mov esi, eax
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], ebx
mov dword [rbp - 0x18], ecx
mov dword [rbp - 0x14], edx
movzx r10d, byte [r9 - 2]
cmp r10d, edi
je 0x1402f7637
mov eax, r10d
xor ecx, ecx
cpuid
mov dword [rbp - 0x20], eax
mov edi, r10d
mov dword [rbp - 0x1c], ebx
mov dword [rbp - 0x18], ecx
mov dword [rbp - 0x14], edx
cmp r10d, esi
jg 0x1402f764e
movzx eax, byte [r9 - 1]
movzx ecx, byte [r9]
mov eax, dword [rbp + rax*4 - 0x20]
bt eax, ecx
jb 0x1402f7652
or r8d, dword [r9 + 2]
inc r11d
add r9, 8
cmp r11d, 0xd
jb 0x1402f7617
xor ecx, ecx
mov eax, 1
cpuid
bt ecx, 0x1b
jae 0x1402f7682
xor ecx, ecx
xgetbv
shl rdx, 0x20
or rdx, rax
and dl, 6
cmp dl, 6
je 0x1402f7686
or r8d, 0x10
test r8b, 4
jne 0x1402f76d1
xor eax, eax
xor ecx, ecx
cpuid
cmp ebx, 0x68747541
jne 0x1402f76d1
cmp ecx, 0x444d4163
jne 0x1402f76d1
cmp edx, 0x69746e65
jne 0x1402f76d1
xor ecx, ecx
mov eax, 1
cpuid
mov edx, eax
sar edx, 8
and edx, 0xf
cmp edx, 0xf
jb 0x1402f76c8
sar eax, 0x14
movzx ecx, al
add edx, ecx
cmp edx, 0x15
jae 0x1402f76d1
or r8d, 4
mov eax, 1
mov dword [0x140477e60], r8d
xor ecx, ecx
cpuid
mov dword [0x14049cde0], eax
mov dword [0x14049cde4], ebx
mov dword [0x14049cde8], ecx
mov dword [0x14049cdec], edx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140123570
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
Function at 0x1807803c8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18078054f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1807803f9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807803df
add dl, dl
jne 0x180780406
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180780466
xor eax, eax
add dl, dl
jne 0x180780415
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18078051d
add dl, dl
jne 0x180780426
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180780433
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180780440
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18078044d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18078045a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807803ee
mov eax, 1
add dl, dl
jne 0x180780476
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180780483
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18078046b
sub eax, ebx
mov ebx, 1
jne 0x1807804bc
mov ecx, 1
add dl, dl
jne 0x18078049e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807804ab
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180780493
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807803ee
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807804d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807804e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807804cd
cmp eax, 0x7d00
jae 0x18078050b
cmp eax, 0x500
jb 0x180780506
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807803ee
cmp eax, 0x7f
ja 0x18078050e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807803ee
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180780542
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1807803ee
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003440
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400620c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.14001a5a4
test al, al
jne 0x14000346b
call fcn.14001a638
test al, al
jne 0x140003535
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.140003540
mov rbx, rax
cmp byte [rax + 0x26db], 0
je 0x1400034b3
xor edx, edx
mov cl, dl
movabs rax, 0x2967333707df99f9
and cl, 7
shl cl, 3
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 0x26db
jb 0x140003488
mov byte [rbx + 0x26db], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
mov rcx, rbx
movups xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call fcn.140025210
mov r8, rax
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.140002b50
call fcn.140016cfc
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000351a
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003515
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000352f
call fcn.14001d690
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001d670
add rsp, 0x50
pop rbx
ret
call fcn.14002517c
int3
xor ecx, ecx
call fcn.140024498
int3
Function at 0x140019200
Capabilities:
Read 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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14001922e
xor eax, eax
jmp 0x140019314
cmp qword [rcx + 0x68], 0
je 0x14001923f
call fcn.14000202c
jmp 0x140019314
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140019256
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140019258
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001928a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140038c80
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14001930e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400192c1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400192ea
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140027188
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14001930e
cmp rsi, rbx
ja 0x1400192c8
test rsi, rsi
je 0x14001930e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140027188
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001e5e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e62e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e62e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e62e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e62e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e62e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001e630
xor al, al
add rsp, 0x28
ret

Function at 0x140024498
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140024303
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140024303
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140024303
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140024303
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140024303
cmp dword [rcx + 0x84], 0xe
jbe 0x140024303
cmp dword [rcx + 0xf8], 0
je 0x140024303
mov ecx, ebx
call fcn.1400243b4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140024190
nop
cmp dword [rbp + 0x20], 0
je 0x140024351
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002435c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140024294

Function at 0x14002cc2c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002cc42
mov al, 1
jmp 0x14002cca2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002cc53
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002cca0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140032f74
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002cca0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002cca0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002cca0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002cca2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14002e904
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002e924
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140025300
or eax, 0xffffffff
jmp 0x14002e926
xor eax, eax
add rsp, 0x28
ret

Function at 0x14002ee60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14001dfb0
sub rsp, rax
mov rax, qword [0x1400620c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002c09c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002eeaf
mov rax, rbp
jmp 0x14002efb7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x644c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002fdac
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x644c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002efb3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002efb3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002fdac
test rax, rax
js 0x14002efb3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002efb3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002efa5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002efa5
cmp byte [rcx], 0xd
jne 0x14002ef8b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002ef9a
cmp byte [rcx + 1], 0xa
jne 0x14002ef9a
inc rcx
jmp 0x14002ef9a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x62510]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002ef6d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002efb7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001d670
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret