joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d670
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
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rbx, r8
movss xmm6, dword [0x1400b5284]
mov rdi, rdx
mov r13, rcx
xor r12d, r12d
nop dword [rax]
mov rsi, qword [0x14024ad10]
mov r9, qword [rsi + 0x53f0]
mov r15, qword [rsi + 0x53f8]
mov rbp, qword [rsi + 0x3ea8]
mov qword [rsi + 0x53f8], r12
mov qword [rsi + 0x53f0], r12
test rbx, rbx
jne 0x14002d6f1
mov rbx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x14002d6f1
movzx eax, byte [rbx]
test al, al
je 0x14002d6f1
cmp al, 0x23
jne 0x14002d6e8
cmp byte [rbx + 1], al
je 0x14002d6f1
inc rbx
cmp rbx, 0xffffffffffffffff
jb 0x14002d6d8
test r13, r13
je 0x14002d719
movss xmm1, dword [rsi + 0x5400]
addss xmm1, dword [rsi + 0x3838]
movss xmm0, dword [r13 + 4]
addss xmm1, xmm6
comiss xmm0, xmm1
jbe 0x14002d719
mov cl, 1
jmp 0x14002d720
xor cl, cl
test r13, r13
je 0x14002d780
mov eax, dword [r13 + 4]
mov dword [rsi + 0x5400], eax
test cl, cl
je 0x14002d780
xor eax, eax
mov word [rsp + 0x80], 0xe0e4
mov byte [rsp + 0x82], al
mov edx, r12d
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rsp + rcx + 0x80], al
cmp edx, 2
jb 0x14002d750
lea rcx, [rsp + 0x80]
mov byte [rsp + 0x82], r12b
call fcn.14002d650
mov byte [rsi + 0x5404], 1
test r9, r9
je 0x14002d7a7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r9 + r8], r12b
jne 0x14002d790
add r8, r9
mov rdx, r9
mov rcx, r13
call fcn.14002d670
mov eax, dword [rsi + 0x5408]
mov r14d, dword [rbp + 0x16c]
cmp eax, r14d
jle 0x14002d7ca
mov dword [rsi + 0x5408], r14d
mov eax, r14d
mov r14d, dword [rbp + 0x16c]
sub r14d, eax
nop dword [rax]
mov r8, rbx
mov edx, 0xa
sub r8, rdi
mov rcx, rdi
call fcn.140071280
test rax, rax
mov r10, rbx
cmovne r10, rax
cmp rdi, r10
jne 0x14002d7fb
cmp r10, rbx
je 0x14002d8ce
mov r9d, r10d
lea edx, [r14*4]
sub r9d, edi
cmp byte [rsi + 0x5404], r12b
jne 0x14002d817
mov edx, 1
mov dword [rsp + 0x90], 0xc998c0cc
mov r8d, r12d
mov dword [rsp + 0x94], 0x9cc4c3
movsxd rcx, r8d
lea eax, [r8 - 0x17]
inc r8d
xor byte [rsp + rcx + 0x90], al
cmp r8d, 7
jb 0x14002d830
lea r8, [0x1400b2ca3]
mov byte [rsp + 0x97], r12b
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rdi
call fcn.14002d650
mov byte [rsi + 0x5404], r12b
cmp byte [r10], 0xa
jne 0x14002d8c0
xor eax, eax
mov word [rsp + 0x88], 0xe0e4
mov byte [rsp + 0x8a], al
mov edx, r12d
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rsp + rcx + 0x88], al
cmp edx, 2
jb 0x14002d890
lea rcx, [rsp + 0x88]
mov byte [rsp + 0x8a], r12b
call fcn.14002d650
mov byte [rsi + 0x5404], 1
cmp r10, rbx
je 0x14002d8ce
lea rdi, [r10 + 1]
jmp 0x14002d7d0
test r15, r15
je 0x14002d8f4
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x14002d8e0
add rbx, r15
mov rdi, r15
jmp 0x14002d6a0
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d920
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rsi, qword [0x14024ad10]
xor r12d, r12d
mov edx, r12d
mov dword [rsp + 0x60], 0xc8c9ca
mov rdi, rcx
nop
movsxd rax, edx
lea rcx, [rsp + 0x60]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 3
jb 0x14002d950
lea rdx, [rsp + 0x60]
mov byte [rsp + 0x63], r12b
mov rcx, rdi
call fcn.140071068
test rax, rax
mov rbx, 0xffffffffffffffff
cmovne rdi, rax
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x14002d987
add rsi, 0x53a0
lea r14d, [rbx + 0x18]
and r14d, 0xfffffffc
movsxd r15, dword [rsi]
mov ecx, dword [rsi + 4]
lea ebp, [r14 + r15]
cmp ebp, ecx
jle 0x14002d9d0
test ecx, ecx
je 0x14002d9bc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002d9c1
mov eax, 8
cmp eax, ebp
mov edx, ebp
mov rcx, rsi
cmovg edx, eax
call fcn.14002f0f0
mov dword [rsi], ebp
mov rax, qword [rsi + 8]
mov dword [r15 + rax], r14d
mov rsi, qword [rsi + 8]
add rsi, 4
add rsi, r15
mov qword [rsp + 0x58], rsi
je 0x14002d9f2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.14001a040
lea r8, [rbx + 1]
mov dword [rsi], eax
lea rcx, [rsi + 0x10]
mov rdx, rdi
call fcn.1400713e0
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140030ea0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.140030a90
test eax, eax
je 0x140030ed4
neg edi
sbb eax, eax
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
xor eax, eax
mov dword [rbp + 0x20], 0x8a889e9d
xor edx, edx
mov byte [rbp + 0x24], al
mov r8d, edx
nop word [rax + rax]
movsxd rax, r8d
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [r8 - 0x17]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140030ef0
movzx ecx, byte [rbx]
movsx eax, byte [rbp + 0x20]
cmp ecx, eax
jne 0x140031061
xor eax, eax
mov dword [rbp + 0x20], 0x8a889e9d
mov byte [rbp + 0x24], al
mov r8d, edx
nop word [rax + rax]
movsxd rax, r8d
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [r8 - 0x17]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140030f30
movzx ecx, byte [rbx + 1]
movsx eax, byte [rbp + 0x21]
cmp ecx, eax
jne 0x140031061
xor eax, eax
mov dword [rbp + 0x20], 0x8a889e9d
mov byte [rbp + 0x24], al
mov r8d, edx
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [r8 - 0x17]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140030f70
movzx ecx, byte [rbx + 2]
movsx eax, byte [rbp + 0x22]
cmp ecx, eax
jne 0x140031061
xor eax, eax
mov dword [rbp + 0x20], 0x8a889e9d
mov byte [rbp + 0x24], al
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140030fb0
movzx ecx, byte [rbx + 3]
movsx eax, byte [rbp + 0x23]
cmp ecx, eax
jne 0x140031061
movzx ecx, byte [rbx + 5]
movzx eax, byte [rbx + 6]
shl eax, 8
shl ecx, 0x10
add ecx, eax
movzx eax, byte [rbx + 4]
shl eax, 0x18
add ecx, eax
movzx eax, byte [rbx + 7]
add eax, 0xffff0000
add ecx, eax
test ecx, 0xfffeffff
jne 0x140031061
movzx eax, byte [rbx + 9]
movzx ecx, byte [rbx + 8]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbx + 0xb]
shl ecx, 8
add ecx, eax
cmp edi, ecx
jge 0x140031061
lea eax, [rdi*4]
movsxd rdx, eax
add rdx, rbx
movzx ecx, byte [rdx + 0xd]
movzx eax, byte [rdx + 0xc]
shl eax, 8
add eax, ecx
movzx ecx, byte [rdx + 0xe]
shl eax, 8
add eax, ecx
movzx ecx, byte [rdx + 0xf]
shl eax, 8
add eax, ecx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
Function at 0x140047910
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movzx r8d, byte [rcx]
mov r11, rcx
cmp r8b, 0x25
jne 0x140047943
cmp byte [rcx + 1], 0x2e
jne 0x140047943
cmp byte [rcx + 2], 0x30
jne 0x140047943
cmp byte [rcx + 3], 0x66
jne 0x140047943
cmp byte [rcx + 4], 0
jne 0x140047943
lea rax, [rsp + 0x50]
add rsp, 0x48
ret
mov rdx, r11
test r8b, r8b
je 0x140047974
nop dword [rax + rax]
lea rax, [rdx + 1]
cmp r8b, 0x25
jne 0x140047962
cmp byte [rax], r8b
jne 0x140047974
cmp r8b, r8b
cmovne rax, rdx
movzx r8d, byte [rax + 1]
lea rdx, [rax + 1]
test r8b, r8b
jne 0x140047950
cmp byte [rdx], 0x25
mov r9, rdx
jne 0x140047a76
mov r8b, 0x25
lea eax, [r8 - 0x41]
movsx r10d, r8b
cmp al, 0x19
ja 0x1400479a1
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400479cc
sub r8b, 0x61
cmp r8b, 0x19
ja 0x1400479bd
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400479cc
movzx r8d, byte [r9 + 1]
inc r9
test r8b, r8b
jne 0x140047983
jmp 0x1400479cf
inc r9
cmp r9, rdx
jbe 0x140047a76
cmp byte [r9 - 1], 0x66
jne 0x140047a76
cmp rdx, r11
jne 0x1400479f2
cmp byte [r9], 0
je 0x140047939
mov qword [rsp + 0x40], rbx
xor r8d, r8d
mov rbx, qword [0x14024ad10]
mov dword [rsp + 0x30], 0x9fc1c4cc
mov dword [rsp + 0x34], 0xd58bcbc8
mov word [rsp + 0x38], 0x82
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [r8 - 0x17]
inc r8d
xor byte [rcx], al
cmp r8d, 9
jb 0x140047a20
sub edx, r11d
mov qword [rsp + 0x28], r9
mov r9d, edx
mov byte [rsp + 0x39], 0
mov edx, 0xc01
mov qword [rsp + 0x20], r11
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0x5650]
call fcn.140019f30
lea rax, [rbx + 0x5650]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rax, r11
add rsp, 0x48
ret
Function at 0x140060400
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x40
cmp qword [rdx + 0x18], 8
mov rax, rdx
mov rdi, rcx
jb 0x140060418
mov rax, qword [rdx]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140060462
mov qword [rdi + 8], rbx
mov rax, rdi
mov qword [rdi + 0x10], rbx
mov qword [rdi], rbx
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x60], rsi
xor edx, edx
mov qword [rsp + 0x70], r14
mov rcx, rbp
mov qword [rsp + 0x78], r15
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov r9d, 4
mov r8d, 0x3000
mov r15d, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov rcx, rbp
test rax, rax
jne 0x1400604b3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
jmp 0x14006055f
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov r8d, r15d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbp
test eax, eax
jne 0x1400604f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
jmp 0x14006055f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, rbx
test r15d, r15d
je 0x140060546
cmp r15, 0x1000
jb 0x140060529
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140060582
call fcn.14006ef94
test rax, rax
je 0x14006057c
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140060534
mov rcx, r15
call fcn.14006ef94
mov rbx, rax
mov r8, r15
lea rbp, [rbx + r15]
mov rdx, r14
mov rcx, rbx
call fcn.1400713e0
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov r14, qword [rsp + 0x70]
mov rax, rdi
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x78]
mov qword [rdi], rbx
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
call fcn.14007eb84
int3
call fcn.140006a70
int3
Function at 0x140060590
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, rdx
mov r14, rcx
mov dword [rbp - 0x50], 0x468546a4
mov dword [rbp - 0x4c], 0x46854691
mov dword [rbp - 0x48], 0x46824681
mov dword [rbp - 0x44], 0x46df468e
mov dword [rbp - 0x40], 0x46dc46c4
mov dword [rbp - 0x3c], 0x46c3
xor r13d, r13d
mov edx, r13d
mov r8d, 0x46e9
nop
movsxd rax, edx
lea rcx, [rbp - 0x50]
lea rcx, [rcx + rax*2]
lea eax, [r8 + rdx]
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x1400605f0
mov word [rbp - 0x3a], r13w
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp - 0x50]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
je 0x140060791
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
je 0x140060788
mov dword [rbp + 0x40], r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov edx, 0x1000
lea rcx, [rbp - 0x38]
call fcn.1400628f0
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
mov rdi, qword [rbp - 0x38]
sub rcx, rdi
cmp rcx, 0x1000
jbe 0x14006069c
lea rsi, [rdi + 0x1000]
jmp 0x1400606dd
jae 0x1400606e1
mov rax, qword [rbp - 0x28]
sub rax, rdi
cmp rax, 0x1000
jae 0x1400606c5
mov edx, 0x1000
lea rcx, [rbp - 0x38]
call fcn.140063730
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
jmp 0x1400606e1
mov ebx, 0x1000
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.140071a90
add rsi, rbx
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
sub rsi, rdi
lea r9, [rbp + 0x40]
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140060722
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x140060728
lea r9, [rdi + rax]
mov r8, rdi
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x20]
call fcn.140063270
cmp dword [rbp + 0x40], 0
jne 0x1400606f0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rbp - 0x20]
mov qword [r14], rax
mov rax, qword [rbp - 0x18]
mov qword [r14 + 8], rax
mov rax, qword [rbp - 0x10]
mov qword [r14 + 0x10], rax
test rdi, rdi
je 0x14006079c
mov rdx, qword [rbp - 0x28]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006077e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400607c0
mov rcx, rdi
call fcn.14006ef8c
jmp 0x14006079c
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
mov rax, r14
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007eb84
int3
Function at 0x1400645f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
xor eax, eax
mov dword [rbp - 0x29], 0x468246aa
mov word [rbp - 5], ax
xor edi, edi
mov rbx, rcx
mov dword [rbp - 0x25], 0x46834699
mov dword [rbp - 0x21], 0x468b4680
mov r8d, 0x46e9
mov dword [rbp - 0x1d], 0x46a746b0
mov dword [rbp - 0x19], 0x46964698
mov dword [rbp - 0x15], 0x46914694
mov dword [rbp - 0x11], 0x46a14681
mov dword [rbp - 0xd], 0x4696469e
mov dword [rbp - 9], 0x46cb46a6
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x29]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x12
jb 0x140064660
lea rax, [rbp - 0x29]
mov qword [rbp + 7], 0x50
mov qword [rbx + 0x90], rax
mov edx, 0x7f00
lea rax, [0x1400668f0]
mov qword [rbp + 0x17], rdi
xor ecx, ecx
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x1f], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x27], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
mov rax, qword [rbx + 0x90]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x47], rax
movdqa xmmword [rbp + 0x37], xmm0
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp + 7]
mov qword [rbp + 0x4f], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [rbx]
lea r8, [0x1400b5070]
mov rdx, qword [rbp + 0x47]
mov r9d, 0x90000000
mov qword [rsp + 0x58], rdi
xor ecx, ecx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x14006476b
lea rdx, [0x1400c5d00]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x88]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140068910
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov edi, 0x1008
mov ecx, edi
call fcn.14007ebfc
mov rbx, rax
test rax, rax
je 0x1400689a9
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
lea ecx, [r9 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rdi, rdi
mov rcx, rbx
mov rdx, rdi
mov esi, eax
call fcn.14008370c
mov rbx, rax
test rax, rax
je 0x1400689a9
cmp esi, 0xc0000004
je 0x140068941
mov edx, dword [rax]
xor ecx, ecx
test rdx, rdx
je 0x14006899c
add rax, 0xc
cmp dword [rax - 4], 4
jne 0x140068990
cmp byte [rax], 7
je 0x140068af3
inc rcx
add rax, 0x18
cmp rcx, rdx
jb 0x140068981
mov edx, 8
mov rcx, rbx
call fcn.14006ef8c
xor edi, edi
add rdi, qword [0x14024af18]
mov edx, 0x14
lea ecx, [rdx - 0x13]
call fcn.1400758d8
mov rbx, rax
test rax, rax
je 0x1400689f6
mov r8d, 0x14
mov qword [rax], rdi
mov rdx, rax
mov dword [rax + 8], 0x10
mov ecx, 0x83064000
call fcn.14006aee0
test al, al
je 0x1400689f6
cmp dword [rbx], 0
jne 0x1400689f6
movups xmm0, xmmword [rbx + 4]
movups xmmword [rsp + 0x20], xmm0
mov r14, rbp
nop dword [rax]
mov rbp, qword [0x14024af38]
xor edi, edi
mov rsi, qword [rsp + 0x20]
sub rsi, qword [0x14024af18]
add rbp, rsi
lea edx, [rdi + 0xc]
lea ecx, [rdi + 1]
call fcn.1400758d8
mov rbx, rax
test rax, rax
je 0x140068a52
lea r8d, [rdi + 0xc]
mov qword [rax], rbp
mov rdx, rax
mov dword [rax + 8], 8
mov ecx, 0x83064000
call fcn.14006aee0
test al, al
je 0x140068a52
cmp dword [rbx], edi
jne 0x140068a52
mov rdi, qword [rbx + 4]
mov rbx, qword [0x14024af20]
mov edx, 0x10003
mov ecx, 1
add rbx, rsi
call fcn.1400758d8
test rax, rax
je 0x140068a8d
mov r8d, 0x10003
mov qword [rax], rbx
mov rdx, rax
mov dword [rax + 8], 0xffff
mov ecx, 0x83064000
call fcn.14006aee0
mov rbp, qword [0x14024af18]
mov edx, 0x14
add rbp, rsi
lea ecx, [rdx - 0x13]
call fcn.1400758d8
mov rbx, rax
test rax, rax
je 0x140068adb
mov r8d, 0x14
mov qword [rax], rbp
mov rdx, rax
mov dword [rax + 8], 0x10
mov ecx, 0x83064000
call fcn.14006aee0
test al, al
je 0x140068adb
cmp dword [rbx], 0
jne 0x140068adb
movups xmm0, xmmword [rbx + 4]
movups xmmword [rsp + 0x20], xmm0
cmp rdi, r14
je 0x140068b0e
cmp rdi, 4
je 0x140068aef
test rdi, rdi
jne 0x140068a00
xor eax, eax
jmp 0x140068b11
lea rax, [rcx + rcx*2]
mov edx, 8
mov rdi, qword [rbx + rax*8 + 0x10]
mov rcx, rbx
call fcn.14006ef8c
jmp 0x1400689ab
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140068b30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x68], r14d
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140068bb9
nop word [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x68]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140068b70
test eax, eax
js 0x140068c84
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140068c84
nop dword [rax]
mov ebp, edi
imul rax, rbp, 0x128
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
lea rdx, [rbx + 0x30]
add rdx, rcx
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140068c02
lea rcx, [rsp + 0x20]
call fcn.14000b740
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140068c23
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call fcn.140083b4c
test eax, eax
je 0x140068caa
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140068c7a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068d05
call fcn.14006ef8c
inc edi
cmp edi, dword [rbx]
jb 0x140068bd0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
imul rax, rbp, 0x128
mov rdi, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140068d00
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068cfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068d05
call fcn.14006ef8c
mov rax, rdi
jmp 0x140068c97
call fcn.14007eb84
int3
Function at 0x140068d10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x158
mov dword [rsp + 0x20], 0xab879ebb
xor edx, edx
mov dword [rsp + 0x24], 0x95b99a88
mov dword [rsp + 0x28], 0x9b9a8183
mov word [rsp + 0x2c], 0x9b
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140068d40
lea rcx, str.ntdll
mov byte [rsp + 0x2d], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140068ec1
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x11c
call rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0x4a60
ja 0x140068ec1
cmp eax, 0x3fab
ja 0x140068e6b
je 0x140068dcf
cmp eax, 0x1db1
je 0x140068e37
cmp eax, 0x295a
je 0x140068e03
cmp eax, 0x3839
je 0x140068e03
cmp eax, 0x3ad7
jne 0x140068ec1
mov qword [0x14024af20], 0x450
mov qword [0x14024af38], 0x2e0
mov qword [0x14024af28], 0x3c0
mov qword [0x14024af18], 0x2e8
add rsp, 0x158
ret
mov qword [0x14024af20], 0x450
mov qword [0x14024af38], 0x2e8
mov qword [0x14024af28], 0x3c0
mov qword [0x14024af18], 0x2f0
add rsp, 0x158
ret
mov qword [0x14024af20], 0x2e0
mov qword [0x14024af38], 0x180
mov qword [0x14024af28], 0x270
mov qword [0x14024af18], 0x188
add rsp, 0x158
ret
sub eax, 0x42ee
je 0x140068dcf
sub eax, 0x275
je 0x140068dcf
sub eax, 0x257
je 0x140068e8d
cmp eax, 1
jne 0x140068ec1
mov qword [0x14024af20], 0x450
mov qword [0x14024af38], 0x2e8
mov qword [0x14024af28], 0x3c8
mov qword [0x14024af18], 0x2f0
add rsp, 0x158
ret
mov qword [0x14024af20], 0x5a8
mov qword [0x14024af38], 0x440
mov qword [0x14024af28], 0x520
mov qword [0x14024af18], 0x448
add rsp, 0x158
ret