joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ee00
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 [0x14011d300]
xor r12d, r12d
mov edx, r12d
mov dword [rsp + 0x60], 0xe4e5e6
mov rdi, rcx
nop
movsxd rax, edx
lea rcx, [rsp + 0x60]
add rcx, rax
lea eax, [rdx - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 3
jb 0x14002ee30
lea rdx, [rsp + 0x60]
mov byte [rsp + 0x63], r12b
mov rcx, rdi
call fcn.1400796b8
test rax, rax
mov rbx, 0xffffffffffffffff
cmovne rdi, rax
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x14002ee67
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 0x14002eeb0
test ecx, ecx
je 0x14002ee9c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002eea1
mov eax, 8
cmp eax, ebp
mov edx, ebp
mov rcx, rsi
cmovg edx, eax
call fcn.1400305d0
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 0x14002eed2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.14001b520
lea r8, [rbx + 1]
mov dword [rsi], eax
lea rcx, [rsi + 0x10]
mov rdx, rdi
call fcn.140079a30
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 0x140032380
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.140031f70
test eax, eax
je 0x1400323b4
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], 0xaea4b2b1
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 - 0x3b]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x1400323d0
movzx ecx, byte [rbx]
movsx eax, byte [rbp + 0x20]
cmp ecx, eax
jne 0x140032541
xor eax, eax
mov dword [rbp + 0x20], 0xaea4b2b1
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 - 0x3b]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140032410
movzx ecx, byte [rbx + 1]
movsx eax, byte [rbp + 0x21]
cmp ecx, eax
jne 0x140032541
xor eax, eax
mov dword [rbp + 0x20], 0xaea4b2b1
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 - 0x3b]
inc r8d
xor byte [rcx], al
cmp r8d, 4
jb 0x140032450
movzx ecx, byte [rbx + 2]
movsx eax, byte [rbp + 0x22]
cmp ecx, eax
jne 0x140032541
xor eax, eax
mov dword [rbp + 0x20], 0xaea4b2b1
mov byte [rbp + 0x24], al
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x20]
add rcx, rax
lea eax, [rdx - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x140032490
movzx ecx, byte [rbx + 3]
movsx eax, byte [rbp + 0x23]
cmp ecx, eax
jne 0x140032541
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 0x140032541
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 0x140032541
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 0x140048df0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movzx r8d, byte [rcx]
mov r11, rcx
cmp r8b, 0x25
jne 0x140048e23
cmp byte [rcx + 1], 0x2e
jne 0x140048e23
cmp byte [rcx + 2], 0x30
jne 0x140048e23
cmp byte [rcx + 3], 0x66
jne 0x140048e23
cmp byte [rcx + 4], 0
jne 0x140048e23
lea rax, [rsp + 0x50]
add rsp, 0x48
ret
mov rdx, r11
test r8b, r8b
je 0x140048e54
nop dword [rax + rax]
lea rax, [rdx + 1]
cmp r8b, 0x25
jne 0x140048e42
cmp byte [rax], r8b
jne 0x140048e54
cmp r8b, r8b
cmovne rax, rdx
movzx r8d, byte [rax + 1]
lea rdx, [rax + 1]
test r8b, r8b
jne 0x140048e30
cmp byte [rdx], 0x25
mov r9, rdx
jne 0x140048f56
mov r8b, 0x25
lea eax, [r8 - 0x41]
movsx r10d, r8b
cmp al, 0x19
ja 0x140048e81
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140048eac
sub r8b, 0x61
cmp r8b, 0x19
ja 0x140048e9d
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140048eac
movzx r8d, byte [r9 + 1]
inc r9
test r8b, r8b
jne 0x140048e63
jmp 0x140048eaf
inc r9
cmp r9, rdx
jbe 0x140048f56
cmp byte [r9 - 1], 0x66
jne 0x140048f56
cmp rdx, r11
jne 0x140048ed2
cmp byte [r9], 0
je 0x140048e19
mov qword [rsp + 0x40], rbx
xor r8d, r8d
mov rbx, qword [0x14011d300]
mov dword [rsp + 0x30], 0xbbede8e0
mov dword [rsp + 0x34], 0xe9afefec
mov word [rsp + 0x38], 0xbe
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [r8 - 0x3b]
inc r8d
xor byte [rcx], al
cmp r8d, 9
jb 0x140048f00
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.14001b410
lea rax, [rbx + 0x5650]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rax, r11
add rsp, 0x48
ret
Function at 0x140060910
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0x613b
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 9
jb 0x140060920
mov word [rcx + 0x12], r10w
mov rax, rcx
ret

Function at 0x140060ae0
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0x613b
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0xe
jb 0x140060af0
mov word [rcx + 0x1c], r10w
mov rax, rcx
ret
Function at 0x1400657a0
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 0x1400657b8
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 0x140065802
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 0x140065853
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
jmp 0x1400658ff
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 0x140065891
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 0x1400658ff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, rbx
test r15d, r15d
je 0x1400658e6
cmp r15, 0x1000
jb 0x1400658c9
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x140065922
call fcn.1400775b0
test rax, rax
je 0x14006591c
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400658d4
mov rcx, r15
call fcn.1400775b0
mov rbx, rax
mov r8, r15
lea rbp, [rbx + r15]
mov rdx, r14
mov rcx, rbx
call fcn.140079a30
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.1400871d4
int3
call fcn.140006ac0
int3
Function at 0x140065930
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], 0x9ea99e88
mov dword [rbp - 0x4c], 0x9ea19ebd
mov dword [rbp - 0x48], 0x9ea69ea5
mov dword [rbp - 0x44], 0x9ee39eaa
mov dword [rbp - 0x40], 0x9ee09ef8
mov dword [rbp - 0x3c], 0x9eff
xor r13d, r13d
mov edx, r13d
mov r8d, 0x613b
nop
movsxd rax, edx
lea rcx, [rbp - 0x50]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
xor word [rcx], ax
inc edx
cmp edx, 0xb
jb 0x140065990
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 0x140065b31
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 0x140065b28
mov dword [rbp + 0x40], r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
lea rcx, [rbp - 0x38]
call fcn.140067da0
mov rsi, qword [rbp - 0x30]
mov rcx, rsi
mov rdi, qword [rbp - 0x38]
sub rcx, rdi
cmp rcx, 0x1000
jbe 0x140065a3a
lea rsi, [rdi + 0x1000]
jmp 0x140065a76
jae 0x140065a7a
mov rax, qword [rbp - 0x28]
sub rax, rdi
cmp rax, 0x1000
jae 0x140065a5e
lea rcx, [rbp - 0x38]
call fcn.140068ad0
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
jmp 0x140065a7a
mov ebx, 0x1000
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.14007a0e0
add rsi, rbx
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
sub rsi, rdi
nop dword [rax]
lea r9, [rbp + 0x40]
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140065ac2
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x140065ac8
lea r9, [rdi + rax]
mov r8, rdi
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x20]
call fcn.140068610
cmp dword [rbp + 0x40], 0
jne 0x140065a90
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 0x140065b3c
mov rdx, qword [rbp - 0x28]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140065b1e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065b60
mov rcx, rdi
call fcn.1400775a8
jmp 0x140065b3c
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.1400871d4
int3
Function at 0x140069970
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], 0x9eae9e86
mov word [rbp - 5], ax
xor edi, edi
mov rbx, rcx
mov dword [rbp - 0x25], 0x9ea79eb5
mov dword [rbp - 0x21], 0x9eaf9ea4
mov r8d, 0x613b
mov dword [rbp - 0x1d], 0x9e9b9e94
mov dword [rbp - 0x19], 0x9eaa9ea4
mov dword [rbp - 0x15], 0x9eb59ea8
mov dword [rbp - 0x11], 0x9e859ea5
mov dword [rbp - 0xd], 0x9eba9eba
mov dword [rbp - 9], 0x9ee79e8a
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rbp - 0x29]
lea rdx, [rdx + rcx*2]
movzx ecx, ax
sub cx, r8w
inc eax
xor word [rdx], cx
cmp eax, 0x12
jb 0x1400699e0
lea rax, [rbp - 0x29]
mov qword [rbp + 7], 0x50
mov qword [rbx + 0x90], rax
mov edx, 0x7f00
lea rax, [0x14006bc90]
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, [0x1400ba190]
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 0x140069aee
lea rdx, [0x1400cad00]
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 0x14006f7b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
sub rsp, 0x78
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14011d988], eax
jle 0x14006f8e1
lea rcx, [0x14011d988]
call fcn.140077ac0
cmp dword [0x14011d988], 0xffffffff
jne 0x14006f8e1
movdqa xmm0, xmmword [0x1400bb060]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xb983bea1
mov word [rsp + 0x44], 0xbe
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx - 0x3b]
xor byte [rcx], al
inc edx
cmp edx, 0x15
jb 0x14006f820
mov byte [rsp + 0x45], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006f870
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14000b7a0
nop
lea r8, [rsp + 0x48]
call fcn.14006fcf0
mov qword [0x14011d9a0], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14006f8d5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f8cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f91c
call fcn.1400775a8
nop
lea rcx, [0x14011d988]
call fcn.140077a60
cmp qword [0x14011d9a0], 0
je 0x14006f915
mov qword [rsp + 0x90], 0
lea rdx, [rsp + 0x90]
call fcn.140070860
test al, al
je 0x14006f915
mov rax, qword [rsp + 0x90]
add rsp, 0x78
ret
xor eax, eax
add rsp, 0x78
ret
call fcn.1400871d4
nop
int3
Function at 0x1400703f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov eax, 0x1070
call fcn.140077f70
sub rsp, rax
xor ebp, ebp
mov r14, r8
mov r13, rcx
test r9, r9
jne 0x140070420
mov r8d, ebp
jmp 0x140070563
mov qword [rsp + 0x10a0], rbx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x10a8], rsi
mov rbx, rbp
mov rsi, r9
mov qword [rsp + 0x10b0], rdi
sub rsi, rcx
nop word [rax + rax]
mov rcx, qword [0x14011d5c0]
lea rdi, [rsp + 0x70]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbp
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rsp + 0x40], rbp
mov edx, 0x80002048
mov qword [rsp + 0x50], rbp
movdqu xmmword [rsp + 0x5c], xmm0
lea rax, [rsi + rdi]
mov dword [rsp + 0x6c], ebp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140070548
movzx eax, byte [rsp + 0x5c]
inc rbx
mov byte [rdi], al
cmp rbx, 0x1000
jb 0x140070450
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x1400704e0
movsxd rax, dword [rsp + 0xac]
lea rcx, [rsp + 0x70]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
test r15d, r15d
je 0x140070548
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call fcn.14007a280
test eax, eax
jne 0x140070541
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140070533
cmp rdi, rax
je 0x14007058f
inc esi
cmp esi, r15d
jb 0x140070510
mov r8, rbp
mov rsi, qword [rsp + 0x10a8]
mov rbx, qword [rsp + 0x10a0]
mov rdi, qword [rsp + 0x10b0]
mov rax, qword [rsp + 0x10c8]
mov rcx, r13
mov r9d, ebp
mov qword [rsp + 0x28], rax
call fcn.1400701b0
mov rax, r13
add rsp, 0x1070
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140070548
mov ecx, dword [rbx + 8]
mov edx, eax
lea rax, [rsp + 0x70]
add rax, rdx
je 0x140070548
test ecx, ecx
je 0x140070548
mov r8, qword [rsp + 0x10b8]
mov ebp, ecx
add r8, rdx
jmp 0x14007054b

Function at 0x140070820
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9d, 0x613b
mov eax, r10d
nop dword [rax]
movsxd rdx, eax
lea r8, [rcx + rdx*2]
movzx edx, ax
sub dx, r9w
inc eax
xor word [r8], dx
cmp eax, 0xa
jb 0x140070830
mov word [rcx + 0x14], r10w
mov rax, rcx
ret
Function at 0x1400725e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
xor edx, edx
lea r9, [0x14011b468]
lea r8, [0x140117da0]
call fcn.140068610
movsxd rdx, ebx
add rdx, qword [rdi]
lea eax, [rbx + 0x64]
xor byte [rdx], al
inc ebx
cmp ebx, 0x36c8
jb 0x140072620
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140072650
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 r14, rcx
xor ebp, ebp
mov ebx, ebp
mov dword [rsp + 0x68], ebp
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400726d5
test rbx, rbx
je 0x14007269d
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 0x140072687
test eax, eax
jns 0x140072704
test rbx, rbx
je 0x1400726ef
mov r8d, 0x8000
xor edx, edx
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
test rbx, rbx
je 0x1400726ef
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x1400726de
nop
mov esi, edi
imul rax, rsi, 0x128
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
lea rdx, [rbx + 0x30]
add rdx, rcx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140072742
lea rcx, [rsp + 0x20]
call fcn.14000b7a0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140072763
mov rdx, qword [r14]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call fcn.14008bb74
test eax, eax
je 0x1400727c5
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400727b6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400727b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140072823
call fcn.1400775a8
inc edi
cmp edi, dword [rbx]
jb 0x140072710
jmp 0x1400726de
imul rax, rsi, 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 0x14007281b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140072816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140072823
call fcn.1400775a8
mov rax, rdi
jmp 0x1400726f1
call fcn.1400871d4
int3
Function at 0x1400742c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14011d750]
test rax, rax
jne 0x1400743f0
mov rax, qword gs:[0x58]
mov edx, 8
mov qword [rsp + 0x50], rbx
xor ebx, ebx
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14011da18], eax
jle 0x140074390
lea rcx, [0x14011da18]
call fcn.140077ac0
cmp dword [0x14011da18], 0xffffffff
jne 0x140074390
xor eax, eax
mov dword [rbp - 0x20], 0x9eaf9eb2
mov word [rbp - 0xc], ax
mov r8d, ebx
mov dword [rbp - 0x1c], 0x9efb9ea9
mov r9d, 0x613b
mov dword [rbp - 0x18], 0x9ebf9efb
mov dword [rbp - 0x14], 0x9ea89ee5
mov dword [rbp - 0x10], 0x9ea29ea1
nop word [rax + rax]
movsxd rax, r8d
lea rdx, [rbp - 0x20]
lea rdx, [rdx + rax*2]
movzx eax, r8w
sub ax, r9w
inc r8d
xor word [rdx], ax
cmp r8d, 0xa
jb 0x140074350
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], bx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [0x14011da18]
mov qword [0x14011da10], rax
call fcn.140077a60
mov rcx, qword [0x14011da10]
xor eax, eax
test rcx, rcx
je 0x1400743eb
movdqa xmm0, xmmword [0x1400baed0]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0xbeb9b996
mov word [rbp - 0xc], 0xbdb0
mov byte [rbp - 0xa], al
nop dword [rax + rax]
movsxd rax, ebx
lea rdx, [rbp - 0x20]
add rdx, rax
lea eax, [rbx - 0x3b]
inc ebx
xor byte [rdx], al
cmp ebx, 0x16
jb 0x1400743c0
lea rdx, [rbp - 0x20]
mov byte [rbp - 0xa], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14011d750], rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x140074a20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
xor eax, eax
mov dword [rsp + 0x40], 0x9e9a9e99
mov word [rsp + 0x58], ax
xor r9d, r9d
mov dword [rsp + 0x44], 0x9e949ee9
mov r8d, 0x613b
mov dword [rsp + 0x48], 0x9e9e9e9b
mov dword [rsp + 0x4c], 0x9ea39e88
mov dword [rsp + 0x50], 0x9eab9ebf
mov dword [rsp + 0x54], 0x9ee49ef9
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
movzx ecx, ax
sub cx, r8w
inc eax
xor word [rdx], cx
cmp eax, 0xc
jb 0x140074a70
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov word [rsp + 0x58], r9w
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov qword [0x14011d5c0], rax
setne al
add rsp, 0x68
ret