joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002fc00
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [0x140086b58]
mov rdi, rcx
test rax, rax
jne 0x14002fc52
lea edx, [rax + 0x11]
lea rcx, [0x140088768]
call fcn.14000a780
mov rcx, rax
call fcn.14000fc20
mov rcx, qword [0x14008eb58]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086b58], rax
test rax, rax
jne 0x14002fc52
add rsp, 0x20
pop rdi
jmp fcn.14002fa70
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rdx, [0x140090ef8]
lea r8d, [r9 + 0x20]
lea ecx, [r9 + 3]
call rax
mov r10, qword [0x140086b58]
lea rdx, [0x140090dc0]
xor r9d, r9d
mov r8d, 0x138
mov ebx, eax
lea ecx, [r9 + 2]
call r10
add eax, ebx
mov rbx, qword [rsp + 0x30]
jne 0x14002fdaf
mov rax, qword [0x140090f18]
test rax, rax
je 0x14002fd93
mov ecx, dword [0x140090dc0]
xorps xmm0, xmm0
movsd xmm3, qword [0x140064488]
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [0x140090f1c]
xorps xmm4, xmm4
xorps xmm2, xmm2
cvtsi2sd xmm4, dword [0x140090dc4]
cvtsi2sd xmm0, rcx
mov ecx, eax
mulsd xmm1, xmm3
mulsd xmm4, xmm3
addsd xmm4, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm4, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [0x140090f24]
movsd qword [rdi], xmm4
cvtsi2sd xmm2, dword [0x140090f04]
mov eax, dword [0x140090f00]
mulsd xmm1, xmm3
cvtsi2sd xmm0, rax
mov eax, dword [0x140090f20]
mulsd xmm2, xmm3
addsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
addsd xmm1, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
movsd xmm1, qword [0x1400572e8]
divsd xmm4, xmm2
movsd qword [rdi], xmm4
mov eax, dword [0x14008ea40]
mulsd xmm4, xmm1
cvtsi2sd xmm0, rax
divsd xmm4, xmm0
xorps xmm0, xmm0
comisd xmm4, xmm0
subsd xmm1, xmm4
movsd qword [rdi], xmm1
jae 0x14002fd82
movabs rax, 0x4059000000000000
mov qword [rdi], rax
jmp 0x14002fd93
comisd xmm4, xmmword [0x140064478]
jbe 0x14002fd93
mov qword [rdi], 0
mov rax, qword [0x140090dc0]
mov qword [0x140090f18], rax
mov rax, qword [0x140090f00]
mov qword [0x140090f20], rax
add rsp, 0x20
pop rdi
ret

Function at 0x1400321e0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007b658]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, [0x140088710]
mov qword [rsp + 0x50], rbx
lea edx, [rbx + 0x53]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov qword [rsp + 0x40], rbx
mov rdx, rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20219
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14003228f
lea edx, [rbx + 0x4b]
mov dword [rsp + 0x58], ebx
lea rcx, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 4]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003229f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003da20
add rsp, 0x70
pop rbx
ret
Function at 0x1400322c0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov eax, dword [0x14008e260]
mov r8d, dword [0x14008e270]
mov r9d, dword [0x14008e264]
mov dword [rsp + 0x30], 1
lea ecx, [rax + rax*8]
mov dword [0x14008e2d0], r9d
xor eax, eax
mov dword [0x1400761a4], 1
sub r8d, ecx
mov dword [rsp + 0x28], eax
sub r8d, dword [0x14008d964]
mov rcx, qword [0x14008e2f8]
lea edx, [rax + 1]
mov dword [0x14008e27c], r8d
mov dword [0x14008e5ec], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
add rsp, 0x48
jmp fcn.140034390
Function at 0x1400365b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14007b658]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, r8d
lea rax, [0x14007b100]
mov rbx, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8, qword [rax + r8*8]
call fcn.140044fd8
test eax, eax
jne 0x140036617
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400365f0
mov r9, qword [rsp + 0x20]
mov edx, 2
mov rcx, rbx
call fcn.140045e08
mov rcx, qword [rsp + 0x20]
call fcn.1400450b4
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14003da20
add rsp, 0x30
pop rbx
ret

Function at 0x14003a7a0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp qword [0x14008e580], 0
jne 0x14003a88a
lea rcx, str.Pdh.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14008e580], rax
test rax, rax
je 0x14003a88a
lea rdx, str.PdhCloseQuery
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008e580]
lea rdx, str.PdhOpenQueryW
mov qword [0x140086c08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008e580]
lea rdx, str.PdhAddCounterW
mov qword [0x140086c10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008e580]
lea rdx, str.PdhCollectQueryData
mov qword [0x140086c18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14008e580]
lea rdx, str.PdhGetFormattedCounterValue
mov qword [0x140086c20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140086c08], 0
mov qword [0x140086c28], rax
je 0x14003a87f
cmp qword [0x140086c10], 0
je 0x14003a87f
cmp qword [0x140086c18], 0
je 0x14003a87f
cmp qword [0x140086c20], 0
je 0x14003a87f
test rax, rax
jne 0x14003a88a
mov qword [0x14008e580], 0
add rsp, 0x28
ret
Function at 0x140046364
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400460c8

Function at 0x14004a98c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14004a82c
call fcn.14004206c
mov dword [rax], 0x16
call fcn.140041f1c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14004a814
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14004a814
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14004a85e
lock or dword [rax + 0x14], 0x10
jmp 0x14004a814
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14004a87b
mov rcx, qword [rbp + 0x10]
call fcn.140050dbc
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140048c3c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14004a264
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14004a8d2
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14004a814
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14004a93e
mov rcx, qword [rbp + 0x10]
call fcn.140048c3c
cmp eax, 0xffffffff
je 0x14004a925
mov rcx, qword [rbp + 0x10]
call fcn.140048c3c
cmp eax, 0xfffffffe
je 0x14004a925
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140048c3c
movsxd rdi, eax
lea rsi, [0x140096eb0]
mov rcx, rbx
sar rdi, 6
call fcn.140048c3c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14004a92c
lea rax, [0x14007b950]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14004a93e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14004a974
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14004a970
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14004a970
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14004a817
jmp 0x14004a7e4
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
invalid
mov ecx, esp
jo 0x14002327d
cli
cmp rax, 0x3d3a4d7a
push 0xfffffffffffffff8
cmp byte [rdi], dh
invalid
Function at 0x14005f940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov ebx, edx
mov rsi, rcx
test dl, dl
je 0x14005f975
movzx eax, bl
lea ecx, [rax + 0x2f6]
add eax, 0x19c
and eax, ecx
shr eax, 8
inc al
cmp al, 1
jbe 0x14005f96d
xor edi, edi
jmp 0x14005f998
test al, al
je 0x14005fa23
lea rdx, [0x1402459c4]
mov edi, 1
mov r8d, 1
mov rcx, rsi
call fcn.14004c0b0
test rax, rax
jne 0x14005fa46
cmp bl, 0x64
jb 0x14005f9c8
movzx eax, bl
lea ecx, [rax + rax*4]
lea eax, [rax + rcx*8]
shr eax, 0xc
imul ecx, eax, 0x64
sub bl, cl
movzx ecx, bl
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899amAMpmPMMondayTuesdayWednesdayThursdayFridaySaturdaySunday
movzx ecx, word [rdx + rcx*2]
mov word [rsp + 0x29], cx
xor r8d, r8d
mov ebx, eax
jmp 0x14005f9d3
mov r8d, 2
cmp bl, 0xa
jae 0x14005f9dd
or bl, 0x30
mov byte [rsp + r8 + 0x28], bl
jmp 0x14005f9f6
movzx eax, bl
lea rcx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899amAMpmPMMondayTuesdayWednesdayThursdayFridaySaturdaySunday
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x29], ax
mov r8d, 1
lea rdx, [rsp + r8]
add rdx, 0x28
xor r8, 3
mov rcx, rsi
mov rsi, r8
call fcn.14004c0b0
test rax, rax
je 0x14005fa19
mov edi, 1
jmp 0x14005fa46
mov rax, rsi
add rax, rdi
xor edi, edi
jmp 0x14005fa46
lea rbx, [0x1402459c4]
mov edi, 1
nop
mov r8d, 1
mov rcx, rsi
mov rdx, rbx
call fcn.14004c0b0
test rax, rax
je 0x14005fa30
mov rdx, rax
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005fbe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov edi, edx
mov rsi, rcx
mov ecx, edx
call fcn.1400b3b20
cmp al, 2
jbe 0x14005fc02
xor r15d, r15d
jmp 0x14005fc42
xor al, 3
movzx r12d, al
xor r15d, r15d
lea r14, [0x1402459c4]
mov ebx, 1
nop word [rax + rax]
mov r8d, 1
mov rcx, rsi
mov rdx, r14
call fcn.14004c0b0
test rax, rax
jne 0x14005fcc9
inc r15
cmp r15, r12
jb 0x14005fc20
cmp edi, 0x64
jb 0x14005fc8e
movzx eax, di
shr eax, 2
imul eax, eax, 0x147b
shr eax, 0x11
imul ecx, eax, 0x64
sub edi, ecx
movzx ecx, di
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899amAMpmPMMondayTuesdayWednesdayThursdayFridaySaturdaySunday
movzx ecx, word [rdx + rcx*2]
mov word [rsp + 0x28], cx
mov ecx, 8
cmp eax, 0xa
jb 0x14005fc9a
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899amAMpmPMMondayTuesdayWednesdayThursdayFridaySaturdaySunday
movzx eax, word [rdx + rax*2]
mov word [rsp + rcx + 0x1e], ax
add rcx, 0xfffffffffffffffe
jmp 0x14005fca3
mov eax, edi
mov ecx, 0xa
cmp eax, 0xa
jae 0x14005fc78
or al, 0x30
mov byte [rsp + rcx + 0x1f], al
dec rcx
mov r8d, 0xa
sub r8, rcx
lea rdx, [rsp + rcx]
add rdx, 0x20
mov rcx, rsi
mov rsi, r8
call fcn.14004c0b0
test rax, rax
je 0x14005fcce
mov ebx, 1
mov rsi, rax
jmp 0x14005fcd3
add rsi, r15
xor ebx, ebx
mov rax, rbx
mov rdx, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140060190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov edi, edx
mov rsi, rcx
mov ecx, edx
call fcn.1400b3b20
cmp al, 6
jbe 0x1400601b2
xor r15d, r15d
jmp 0x1400601f2
xor al, 7
movzx r12d, al
xor r15d, r15d
lea r14, [0x1402459c4]
mov ebx, 1
nop word [rax + rax]
mov r8d, 1
mov rcx, rsi
mov rdx, r14
call fcn.14004c0b0
test rax, rax
jne 0x1400602e3
inc r15
cmp r15, r12
jb 0x1400601d0
mov eax, 0xa
cmp edi, 0x270f
ja 0x14006021e
mov ecx, edi
cmp edi, 0x63
ja 0x14006026f
cmp ecx, 0xa
jae 0x1400602a9
or cl, 0x30
mov byte [rsp + rax + 0x1f], cl
dec rax
jmp 0x1400602bd
mov eax, edi
mov ecx, 0xd1b71759
imul rcx, rax
shr rcx, 0x2d
imul eax, ecx, 0x2710
sub edi, eax
imul eax, edi, 0x147b
shr eax, 0x13
imul edx, eax, 0x64
sub edi, edx
movzx edx, di
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899amAMpmPMMondayTuesdayWednesdayThursdayFridaySaturdaySunday
movzx eax, word [r8 + rax*2]
mov word [rsp + 0x26], ax
movzx eax, word [r8 + rdx*2]
mov word [rsp + 0x28], ax
mov eax, 6
mov edi, ecx
mov ecx, edi
cmp edi, 0x63
jbe 0x140060206
movzx edx, cx
shr edx, 2
imul edx, edx, 0x147b
shr edx, 0x11
imul r8d, edx, 0x64
sub ecx, r8d
movzx ecx, cx
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899amAMpmPMMondayTuesdayWednesdayThursdayFridaySaturdaySunday
movzx ecx, word [r8 + rcx*2]
mov word [rsp + rax + 0x1e], cx
add rax, 0xfffffffffffffffe
mov rcx, rdx
cmp ecx, 0xa
jb 0x14006020f
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899amAMpmPMMondayTuesdayWednesdayThursdayFridaySaturdaySunday
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rax + 0x1e], cx
add rax, 0xfffffffffffffffe
mov r8d, 0xa
sub r8, rax
lea rdx, [rsp + rax]
add rdx, 0x20
mov rcx, rsi
mov rsi, r8
call fcn.14004c0b0
test rax, rax
je 0x1400602e8
mov ebx, 1
mov rsi, rax
jmp 0x1400602ed
add rsi, r15
xor ebx, ebx
mov rax, rbx
mov rdx, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400a5ce0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
mov rdx, rbp
mov r8d, 0x20
call fcn.140131aa0
mov qword [rbp + 0x28], rax
test rax, rax
je 0x1400a5d54
mov qword [rbp + 0x30], rdx
mov rax, qword [rdx]
test rax, rax
je 0x1400a5d38
mov rcx, qword [rbp + 0x28]
call rax
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400a5d9d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.1400b32e0
jmp 0x1400a5d9d
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x50]
lea r8, [0x1402473ec]
lea rdx, [rbp - 0x20]
mov r9d, 8
call fcn.1401318b0
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
jmp fcn.14012f3c0
Function at 0x1400a5e60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400a5ea2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400a5eaa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400a5ebb
jmp 0x1400a5ed2
xor r10d, r10d
jmp 0x1400a5f5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400a5ed2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400a5ee9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400a5f09
add r11, r8
jmp 0x1400a603b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400a5fd2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400a5f80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400a5ff0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400a6002
jmp 0x1400a601d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400a601d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400a6037
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400bb8f0
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x1400bb977
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400bb93c
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x1400bb977
call fcn.1400c1080
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
test rax, rax
je 0x1400bb977
lea rcx, [rsp + 0x98]
call fcn.1400c10d0
test bl, bl
je 0x1400bba0e
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x1400bba0e
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x1400be2f0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x1400be3d0
mov rdi, rax
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r12, [rdi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x20]
mov r15, rdi
jmp 0x1400be387
add r15, 8
mov rax, qword [rbp - 0x18]
mov rcx, r13
shl rcx, 5
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r13
mov qword [rbp - 0x10], r13
cmp r15, r12
je 0x1400be3b6
mov rcx, r15
call fcn.1400c1060
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140206be0
mov r13, qword [rbp - 0x10]
cmp r13, qword [rbp - 0x20]
jne 0x1400be360
mov rcx, r14
call fcn.14002cb20
jmp 0x1400be360
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
jmp 0x1400be3e7
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400c4790
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x14033c4a1]
mov ecx, 0x5f0
mov edx, 8
call fcn.1400b32d0
test rax, rax
mov qword [rbp - 8], r14
je 0x1400c4a00
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xded7d4e2d7dedfc6
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r13d, 1
lock xadd qword [0x14033c4b0], r13
mov r14, r13
xor r14, rcx
mov rax, r14
rol rax, 0x10
lea r15, [r14 + rdx]
xor rax, r15
add r14, r8
lea r15, [rax + r9]
mov r12, r14
xor r12, r10
rol rax, 0x15
rol r14, 0x20
xor r13, r15
xor r15, r11
xor r15, rax
add r13, r12
rol r12, 0xd
add r14, r15
xor r12, r13
rol r15, 0x10
xor r15, r14
rol r13, 0x20
add r14, r12
add r13, r15
rol r12, 0x11
xor r12, r14
rol r15, 0x15
rol r14, 0x20
xor r15, r13
xor r13, r11
xor r14, 0xff
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
rol r13, 0x20
xor r15, r14
add r14, r12
rol r12, 0x11
add r13, r15
xor r12, r14
rol r15, 0x15
xor r15, r13
rol r14, 0x20
add r13, r12
add r14, r15
rol r12, 0xd
xor r12, r13
rol r15, 0x10
xor r15, r14
add r14, r12
rol r12, 0x11
rol r15, 0x15
mov r13, r14
rol r13, 0x20
xor r13, r12
xor r13, r15
xor r13, r14
je 0x1400c4850
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r13
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x1400c49ec
test rdx, rdx
je 0x1400c49ec
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.1400b32e0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.14023db70
ud2