joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ca40
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42cce6
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42ccda
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x00572fb0], 0
jne 0x42caa2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42caea
xor edx, edx
jmp 0x42cacd
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041c3e0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42caa6
add rax, 0x1260
call fcn.0042c900
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42cc74
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42cae7
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00411480
test rax, rax
jne 0x42cb42
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42cae7
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x42cb89
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42cae7
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42cccd
lea r10, [0x005453f0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r11, [rcx + 0x11440]
add r9, r11
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42cc0e
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42cc45
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42cae7
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42ccc5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42cae7
cmp rbx, 0x200
ja 0x42ccb8
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00422500
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.0042c900
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.0045c980
mov rax, r8
call fcn.0045c900
mov rax, r8
mov ecx, 0x40
call fcn.0045c920
mov edx, 0x200
nop
call fcn.0045c960
nop
mov qword [rsp + 8], rax
call fcn.0045ecc0
mov rax, qword [rsp + 8]
jmp fcn.0042ca40
Function at 0x4412c0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44142a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x4412d8
cmp edx, ecx
jne 0x441418
nop dword [rax]
test rsi, rsi
jne 0x441418
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x441334
nop
call fcn.0045e280
xorps xmm15, xmm15
mov r14, qword [0x005731a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.004411c0
mov rcx, qword [0x005201d8]
mov rdx, qword [0x005201d0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x441413
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x441408
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00520cb0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00520cb0], rbx
nop
mov edx, 1
lea rsi, [0x00520cb8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x4413f7
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x00495ea5]
mov ebx, 0x28
call fcn.00432ec0
mov rcx, rax
mov rax, rsi
call fcn.0045c900
call fcn.00431580
lea rax, [0x004954de]
mov ebx, 0x23
call fcn.00432ec0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a2c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004412c0
Function at 0x452d80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x452e39
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00452e80]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045a180
xorps xmm15, xmm15
mov r14, qword [0x005731a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045a2c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00452d80
Function at 0x45c360
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40264f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408c20
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a2c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402620
cmp byte [0x00572faf], 0
je 0x45c375
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x4593c0
jmp 0x402620

Function at 0x45c380
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00573280]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00572faf], 0
je 0x45c3b5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005735c0]
aesenc xmm0, xmmword [0x005735d0]
aesenc xmm0, xmmword [0x005735e0]
movq rax, xmm0
ret
jmp 0x408e20

Function at 0x45c3c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00573280]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00572faf], 0
je 0x45c3f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005735c0]
aesenc xmm0, xmmword [0x005735d0]
aesenc xmm0, xmmword [0x005735e0]
movq rax, xmm0
ret
jmp 0x408e80

Function at 0x45dda0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00573540]
mov qword [rsp + 8], rdx
lea r8d, [0x00572fc8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045c2a0
add rsp, 0x30
ret

Function at 0x45e2e0
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45e30c
call fcn.0045c2a0
shl rcx, 3
add rcx, 0x1480
mov qword [0x005731a8], rcx
ret
Function at 0x4013b0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xd0
xor edx, edx
mov r8d, 0x68
lea r9, [rsp + 0x68]
mov r10, rcx
mov rcx, r9
call fcn.00401160
lea r11, [rsp + 0x50]
xor edx, edx
mov r8d, 0x18
mov rcx, r11
mov dword [rsp + 0x68], 0x68
mov dword [rsp + 0xa4], 1
mov word [rsp + 0xa8], 0
call fcn.00401160
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], r9
mov rdx, r10
xor r9d, r9d
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401467
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x58]
call rbx
nop
add rsp, 0xd0
pop rbx
ret

Function at 0x401470
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x290
mov rbx, rcx
mov esi, edx
lea rcx, str.2.zal_4368f3be_7dc2_41ac_8233_67b529498d2a.
lea rdx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x401566
lea r10, [rsp + 0x4c]
lea rdx, [0x004030b6]
mov rcx, r10
call fcn.00401080
lea rdx, [rsp + 0x17c]
mov rcx, r10
call fcn.00401110
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r8d, 1
mov rcx, r10
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, qword [sym.imp.KERNEL32.dll_FindClose]
cmp rax, 0xffffffffffffffff
mov r13, rax
jne 0x401510
mov rcx, r12
call rdi
jmp 0x401566
mov r8d, esi
lea r9, [rsp + 0x48]
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r13
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call rdi
test esi, esi
je 0x401566
mov r8d, dword [rsp + 0x48]
xor eax, eax
cmp r8d, eax
jle 0x40156a
mov dl, byte [rbx + rax]
lea rcx, [rbx + rax]
inc rax
cmp dl, 0xa
je 0x401561
cmp dl, 0xd
jne 0x401548
mov byte [rcx], 0
jmp 0x40156a
xor eax, eax
jmp 0x40156f
mov eax, 1
add rsp, 0x290
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret

Function at 0x401580
Capabilities:
Check os version

Disassembly:
sub rsp, 0xc8
mov dword [rsp + 0x2c], 0x94
lea rcx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [rsp + 0x30], 6
jne 0x4015ab
cmp dword [rsp + 0x34], 1
sete al
add rsp, 0xc8
ret
Function at 0x14001137a
Capabilities:
Terminate process

Disassembly:
jmp 0x140016ff0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001144c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018340
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018360
xor al, al
jmp 0x1400183e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018373
xor al, al
jmp 0x1400183e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001839d
xor al, al
jmp 0x1400183e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400183b1
xor al, al
jmp 0x1400183e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400183c3
xor al, al
jmp 0x1400183e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400183df
xor al, al
jmp 0x1400183e1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001148d
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
jmp 0x140013ff0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1a8]
mov rax, qword [0x140023018]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400290f6]
call fcn.140011609
mov r8d, dword [rbp + 0x160]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140014062
xor eax, eax
jmp 0x1400141dc
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400140ab
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400141dc
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400141ab
lea rcx, str.KERNEL32.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.LoadLibraryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rcx, qword [rbp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001416b
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400141dc
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400141dc
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ee00]
call fcn.14001153c
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140011302
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400035c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r15
sub rsp, 0x50
mov rbp, r8
mov r15, rdx
mov rbx, rcx
test r8, r8
jne 0x1400035f2
xor eax, eax
mov dword [rcx], 1
mov dword [rcx + 0x10], eax
mov qword [rcx + 8], rax
mov rax, rcx
add rsp, 0x50
pop r15
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x70], rsi
mov r8d, 2
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test rsi, rsi
jns 0x140003647
mov rsi, qword [rsp + 0x70]
xor eax, eax
mov dword [rbx + 0x10], eax
mov qword [rbx + 8], rax
mov rax, rbx
mov dword [rbx], 2
add rsp, 0x50
pop r15
pop rbp
pop rbx
ret
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r14
lea r14, [rsi + 1]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140003678
mov dword [rbx + 0x10], eax
mov dword [rbx], 3
mov qword [rbx + 8], rax
jmp 0x1400036ea
mov r9, rbp
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x1400036ab
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov dword [rbx], 2
mov dword [rbx + 0x10], eax
mov qword [rbx + 8], rax
jmp 0x1400036ea
mov rdx, rsi
call fcn.140002000
mov ecx, eax
cmp eax, 1
jne 0x1400036c0
mov byte [rsi + rdi], 0
jmp 0x1400036c3
mov r14, rsi
mov rax, qword [rsp + 0x98]
mov r9, rdi
mov qword [rsp + 0x48], rax
mov r8, r15
mov dword [rsp + 0x30], ecx
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x20], r14
call fcn.140003350
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov r14, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r15
pop rbp
pop rbx
ret
Function at 0x140007960
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rcx
mov rbx, rcx
cmp byte [0x140024d2f], 0
mov rax, qword [str.wgho]
mov qword [rsp + 0x38], rax
je 0x140007abd
cmp dword [0x14002d090], 2
jl 0x140007a83
movdqa xmm2, xmmword [0x140025bc0]
movdqa xmm4, xmmword [0x140025c10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x38]
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm2, xmmword [0x140025bd0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x3c]
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
jmp 0x140007abd
lea r8, [rsp + 0x38]
xor ecx, ecx
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140007a90
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
mov rdx, qword [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
inc r8
cmp byte [rdx + r8], 0
jne 0x140007af4
mov rcx, rbx
call fcn.1400013b0
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140021970
add rsp, 0x50
pop rbx
ret
Function at 0x140007b20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov eax, dword [0x1400255e8]
xor ecx, ecx
cmp dword [0x14002d090], 2
movsd xmm0, qword [str.zxxvzlmz]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1400255ec]
mov byte [rsp + 0x44], al
movsd qword [rsp + 0x38], xmm0
jl 0x140007c54
movdqa xmm2, xmmword [0x140025bc0]
mov ecx, 8
movdqa xmm4, xmmword [0x140025c10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
movd xmm0, dword [str.zxxvzlmz]
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm2, xmmword [0x140025bd0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x3c]
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x140007c60
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
mov rdx, qword [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
inc r8
cmp byte [rdx + r8], 0
jne 0x140007cc4
mov rcx, rbx
call fcn.1400013b0
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140021970
add rsp, 0x50
pop rbx
ret
Function at 0x140014c20
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140014c48
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140014c6e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140014c70
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140014cc9
test ecx, ecx
jle 0x140014ca9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140014cc9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140014cc9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret