joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002e390
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov edi, dword [rcx + 0x20]
mov rsi, rcx
mov eax, dword [rcx + 0xa4]
mov rbp, rdx
mov edx, dword [rcx + 0xa0]
dec eax
lea r8d, [rdi + rax]
not eax
and r8d, eax
mov dword [rcx + 0x20], r8d
lea ecx, [rdx - 1]
add ecx, dword [rsi + 0x24]
neg edx
and ecx, edx
mov dword [rsi + 0x24], ecx
cmp rbp, 0xffffffffffffffff
je 0x18002e4a1
cmp r8d, edi
jbe 0x18002e4a1
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x18002e3fc
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x58], rbx
mov edx, 0x1000
mov ebx, dword [rsi + 0x20]
mov rcx, rsi
sub ebx, edi
call fcn.18002e4c0
test eax, eax
jne 0x18002e428
mov rbx, qword [rsp + 0x58]
xor edi, edi
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsi + 0x418]
xor edx, edx
mov r8d, 0x1000
mov qword [rsp + 0x60], r14
call fcn.18017cc00
test ebx, ebx
je 0x18002e488
xor edi, edi
mov r14d, 8
nop dword [rax]
mov rdx, qword [rsi + 0x418]
lea r9, [rsp + 0x50]
mov r8d, ebx
mov dword [rsp + 0x50], edi
cmp ebx, r14d
mov qword [rsp + 0x20], rdi
mov rcx, rbp
cmova r8d, r14d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18002e48d
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18002e488
sub ebx, eax
jne 0x18002e450
mov edi, 1
mov r14, qword [rsp + 0x60]
mov eax, edi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x18002f170
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18002f1b0
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f242
cmp dword [rsp + 0x40], 0x1000
jne 0x18002f226
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x18002f226
bt eax, 8
jb 0x18002f226
mov rbx, qword [rsp + 0x28]
mov eax, 0x5a4d
cmp word [rbx], ax
je 0x18002f1e6
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f242
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
je 0x18002f202
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f242
cmp word [rax + rbx + 0x14], 0
jne 0x18002f219
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f242
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x18002f242
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f242
add rsp, 0x50
pop rbx
ret
Function at 0x18002f250
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
lea rbx, [rcx + 0x10000]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov edi, 0x5a4d
nop dword [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18002f2a4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
cmp dword [rsp + 0x40], 0x1000
jne 0x18002f2e7
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x18002f2e7
bt eax, 8
jb 0x18002f2e7
cmp word [rbx], di
jne 0x18002f2e0
mov eax, dword [rbx + 0x3c]
cmp rax, qword [rsp + 0x38]
ja 0x18002f2e0
cmp eax, 0x40
jb 0x18002f2e0
cdqe
cmp dword [rax + rbx], 0x4550
jne 0x18002f2e7
mov rax, rbx
jmp 0x18002f299
jmp 0x18002f2e7
mov rbx, qword [rsp + 0x38]
add rbx, qword [rsp + 0x20]
jmp 0x18002f280

Function at 0x18002f430
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rcx
test rcx, rcx
jne 0x18002f445
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x18002f45e
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f4ac
movsxd rbx, dword [rax + 0x3c]
add rbx, rax
cmp dword [rbx], 0x4550
je 0x18002f47c
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f4ac
cmp word [rbx + 0x14], 0
jne 0x18002f492
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f4ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rbx + 0x50]
jmp 0x18002f4ac
add rsp, 0x20
pop rbx
ret
Function at 0x18002f6d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, r9
mov r13, rdx
mov r14, rcx
test rcx, rcx
jne 0x18002f703
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
mov eax, 0x5a4d
cmp word [r14], ax
je 0x18002f720
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f8ad
movsxd rax, dword [r14 + 0x3c]
cmp dword [rax + r14], 0x4550
je 0x18002f740
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f8ad
cmp word [rax + r14 + 0x14], 0
jne 0x18002f75b
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f8ad
mov ecx, dword [rax + r14 + 0x90]
test ecx, ecx
je 0x18002f76d
lea rdi, [r14 + rcx]
jmp 0x18002f76f
xor edi, edi
mov qword [rsp + 0x28], rdi
test rdi, rdi
jne 0x18002f790
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f8ad
mov ecx, dword [rdi]
test ecx, ecx
je 0x18002f87d
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x18002f86e
mov ebx, eax
add rbx, r14
je 0x18002f86e
lea r12, [r14 + rcx]
mov eax, dword [rdi + 0x10]
test eax, eax
je 0x18002f7c1
lea r15, [r14 + rax]
jmp 0x18002f7c4
xor r15d, r15d
mov rcx, qword [r15]
call fcn.18002f170
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x18002f7ea
mov r8, rbx
mov rdx, rax
mov rcx, r13
call r9
test eax, eax
je 0x18002f87d
xor ebx, ebx
mov dword [rsp + 0x24], ebx
test r12, r12
je 0x18002f860
nop word [rax + rax]
lea r9, [rbx*8]
mov rax, qword [r9 + r12]
test rax, rax
je 0x18002f84e
xor edx, edx
mov dword [rsp + 0x20], edx
xor r8d, r8d
test rax, rax
jns 0x18002f828
movzx edx, ax
mov dword [rsp + 0x20], edx
jmp 0x18002f835
lea ecx, [rax + 2]
test ecx, ecx
je 0x18002f835
mov r8d, ecx
add r8, r14
test rsi, rsi
je 0x18002f846
add r9, r15
mov rcx, r13
call rsi
test eax, eax
je 0x18002f84e
inc ebx
mov dword [rsp + 0x24], ebx
jmp 0x18002f800
test rsi, rsi
je 0x18002f860
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call rsi
add rdi, 0x14
mov qword [rsp + 0x28], rdi
jmp 0x18002f790
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18002f8ad
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18002f891
xor r8d, r8d
xor edx, edx
mov rcx, r13
call rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
jmp 0x18002f8ad
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800300d0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rcx
test rcx, rcx
jne 0x1800300e7
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
mov eax, 0x5a4d
cmp word [r9], ax
je 0x180030104
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800301db
movsxd r10, dword [r9 + 0x3c]
add r10, r9
cmp dword [r10], 0x4550
je 0x180030126
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800301db
movzx eax, word [r10 + 0x14]
test ax, ax
jne 0x180030142
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800301db
lea r11, [r10 + 0x18]
add r11, rax
xor r8d, r8d
lea rbx, str..detour
mov dword [rsp + 0x20], r8d
movzx eax, word [r10 + 6]
cmp r8d, eax
jae 0x1800301bf
lea rcx, [r8 + r8*4]
lea rdx, [r11 + rcx*8]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x1800301ba
cmp rcx, 8
jne 0x180030170
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1800301bf
cmp dword [rdx + 0x10], 0
je 0x1800301bf
lea rbx, [r9 + rax]
mov eax, dword [rbx]
cmp eax, 0x40
jb 0x1800301bf
cmp dword [rbx + 4], 0x727444
jne 0x1800301bf
cmp dword [rbx + 8], 0
jne 0x1800301ad
mov dword [rbx + 8], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x1800301db
inc r8d
jmp 0x180030153
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800301db
add rsp, 0x30
pop rbx
ret

Function at 0x180030290
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], 0
mov r9, rdx
test r8, r8
je 0x1800302c0
sub rcx, rdx
movzx eax, byte [r9]
movzx edx, byte [rcx + r9]
lea r9, [r9 + 1]
xor edx, eax
movzx eax, byte [rsp + 0x18]
or eax, edx
mov byte [rsp + 0x18], al
sub r8, 1
jne 0x1800302a0
movzx ecx, byte [rsp + 0x18]
test cl, cl
sete al
ret
Function at 0x180034290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r14
sub rsp, 0x30
mov rbx, qword [rcx + 0x20]
mov rsi, rdx
sub rbx, qword [rcx + 0x18]
xor edx, edx
mov rax, r8
mov r12, r8
div rbx
mov rbp, rcx
mov r14, rax
test rdx, rdx
jne 0x180034447
test rax, rax
je 0x180034430
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r15
nop dword [rax + rax]
mov rax, qword [rbp + 0x38]
mov rdi, r14
sub rax, qword [rbp + 0x30]
mov rcx, qword [rbp + 8]
mov r8, qword [rbp + 0x30]
imul rdi, rbx
mov r10, qword [rcx]
cmp rax, rdi
cmovb rdi, rax
xor edx, edx
mov rax, rdi
div rbx
mov rdx, rsi
mov r9, rax
mov r15, rax
call qword [r10 + 0x48]
mov r8, qword [rbp + 0x18]
mov r9, rbx
mov rcx, qword [rbp + 0x30]
cmp rbx, 0x10
jb 0x180034360
mov r10, rbx
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, rbx
nop word [rax + rax]
mov rdx, qword [r8 + 8]
xor rdx, qword [rcx + 8]
mov rax, qword [r8]
add r8, 0x10
xor qword [rcx], rax
mov qword [rcx + 8], rdx
add rcx, 0x10
sub r10, 1
jne 0x180034340
test r9, r9
je 0x180034381
sub r8, rcx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x180034370
mov rdx, qword [rbp + 0x30]
mov r11, rdi
sub r11, rbx
add rdx, rbx
mov r9, r11
mov r8, rsi
cmp r11, 0x10
jb 0x1800343d0
mov r10, r11
shr r10, 4
imul rax, r10, 0xfffffffffffffff0
add r9, rax
nop dword [rax + rax]
mov rcx, qword [r8 + 8]
xor rcx, qword [rdx + 8]
mov rax, qword [r8]
add r8, 0x10
xor qword [rdx], rax
mov qword [rdx + 8], rcx
add rdx, 0x10
sub r10, 1
jne 0x1800343b0
test r9, r9
je 0x1800343f1
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x1800343e0
test rbx, rbx
je 0x180034406
mov rcx, qword [rbp + 0x18]
lea rdx, [r11 + rsi]
mov r8, rbx
call fcn.18017c7f0
test rdi, rdi
je 0x18003441a
mov rdx, qword [rbp + 0x30]
mov r8, rdi
mov rcx, rsi
call fcn.18017c7f0
add rsi, rdi
sub r14, r15
jne 0x1800342e0
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rax, r12
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r12
pop rsi
ret
lea r9, str.gold
mov dword [rsp + 0x20], 0xd2
lea r8, str.process
lea rdx, str.Input_is_full_blocks
lea rcx, str.sz___BS__0
call fcn.1800401f0
int3
Function at 0x180034480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rcx + 0x20]
mov r12, rdx
sub rbx, qword [rcx + 0x18]
xor edx, edx
mov rax, r8
mov rdi, r8
div rbx
mov r14, rcx
mov r15, rax
test rdx, rdx
jne 0x1800345e1
test rax, rax
je 0x1800345cb
mov rdx, qword [rcx + 0x18]
mov r8, rbx
mov rcx, r12
call fcn.180020d00
mov rcx, qword [r14 + 8]
mov r9d, 1
mov r8, r12
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp r15, 1
je 0x18003459f
mov qword [rsp + 0x60], rbp
lea rdi, [rbx + r12]
mov qword [rsp + 0x68], rsi
lea rbp, [r15 - 1]
mov rsi, rbx
neg rsi
nop dword [rax]
lea r8, [rsi + rdi]
mov r9, rbx
mov rax, rdi
cmp rbx, 0x10
jb 0x180034550
mov r10, rbx
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, rbx
nop
mov rdx, qword [r8 + 8]
xor rdx, qword [rax + 8]
mov rcx, qword [r8]
add r8, 0x10
xor qword [rax], rcx
mov qword [rax + 8], rdx
add rax, 0x10
sub r10, 1
jne 0x180034530
test r9, r9
je 0x180034571
sub r8, rax
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x180034560
mov rcx, qword [r14 + 8]
mov r9d, 1
mov r8, rdi
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x40]
add rdi, rbx
sub rbp, 1
jne 0x180034510
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rax, qword [r14 + 0x18]
lea rdx, [r15 - 1]
imul rdx, rbx
mov qword [r14 + 0x20], rax
lea rcx, [r14 + 0x18]
xor eax, eax
mov r8, r15
imul r8, rbx
add rdx, r12
movzx r9d, al
add r8, r12
call fcn.180032bc0
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r9, str.gold
mov dword [rsp + 0x20], 0x65
lea r8, str.process
lea rdx, str.CBC_input_is_full_blocks
lea rcx, str.sz___BS__0
call fcn.1800401f0
int3
Function at 0x1800348a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r14, rcx
lea r12, [0x1801bac00]
xor r15d, r15d
nop word [rax + rax]
movzx edi, byte [r15 + r12]
movzx eax, dil
movzx r9d, dil
shr al, 7
add r9b, r9b
movzx eax, al
imul edx, eax, 0x1b
movzx ebp, dl
xor r9b, bpl
movzx eax, r9b
movzx edx, r9b
shr al, 7
add dl, dl
movzx eax, al
xor dl, dil
imul ebx, eax, 0x1b
add dl, dl
movzx eax, r9b
movzx r8d, r9b
add al, al
xor bl, al
movzx eax, r9b
shr al, 7
xor r8b, bl
movzx eax, al
imul ecx, eax, 0x1b
movzx eax, bl
shr al, 7
add bl, bl
movzx eax, al
shr r9b, 7
movzx r11d, cl
imul ecx, eax, 0x1b
movzx eax, r8b
add al, al
xor r8b, dil
movzx r10d, al
add r8b, r8b
movzx eax, r9b
xor r10d, edi
movzx esi, cl
imul ecx, eax, 0x36
xor r10d, esi
xor r10d, r11d
movzx eax, bl
xor eax, edi
xor eax, esi
xor dl, cl
movzx r9d, dl
xor r9d, edi
movzx edx, r8b
xor edx, ebp
xor r9d, ebp
xor edx, esi
xor r9d, esi
xor edx, r11d
shl edx, 8
or edx, eax
shl edx, 8
or edx, r10d
shl edx, 8
or edx, r9d
mov dword [r14 + r15*4], edx
inc r15
cmp r15, 0x100
jne 0x1800348d0
mov rbx, qword [rsp + 0x20]
mov rax, r14
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret

Function at 0x180034a30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov ecx, dword [0x180273030]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x180269c90], eax
jg 0x180034a66
lea rax, [0x180269890]
add rsp, 0x20
pop rbx
ret
lea rcx, [0x180269c90]
call fcn.18015e3c0
cmp dword [0x180269c90], 0xffffffff
jne 0x180034a59
xor r9d, r9d
lea r10, str.cw
lea rbx, [0x180269890]
nop dword [rax]
movzx edx, byte [r9 + r10]
movzx eax, dl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
movzx eax, dl
add al, al
movzx eax, al
movzx r8d, cl
xor r8d, eax
mov eax, edx
mov edx, r8d
xor r8d, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, r8d
mov dword [rbx + r9*4], edx
inc r9
cmp r9, 0x100
jne 0x180034a90
lea rcx, [0x180269c90]
call fcn.18015e360
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180039460
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.180039020
mov rcx, qword [rbx + 0x58]
mov r8, qword [rbx + 0x60]
sub r8, rcx
and r8, 0xfffffffffffffffc
je 0x180039486
xor edx, edx
call fcn.18017cc00
mov rax, qword [rbx + 0x40]
mov dword [rax], 0x67452301
mov rax, qword [rbx + 0x40]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rbx + 0x40]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rbx + 0x40]
mov dword [rax + 0xc], 0x10325476
mov rax, qword [rbx + 0x40]
mov dword [rax + 0x10], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
Function at 0x18003ddc0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
test eax, eax
je 0x18003de1e
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
imul rdx, rax, 0xb
cmp rcx, rdx
jbe 0x18003de1e
sub rcx, rdx
mov eax, 0x80000
cmp rcx, rax
cmovb rax, rcx
add rsp, 0x58
ret
xor eax, eax
add rsp, 0x58
ret
Function at 0x180041fd0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0xa8
movdqa xmm0, xmmword [rcx]
movdqa xmm3, xmmword [0x1801bcca0]
movdqa xmm1, xmmword [0x1801bcc90]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x18026a0f0]
movaps xmmword [rax - 0x28], xmm7
movdqa xmm4, xmm6
movdqa xmm7, xmmword [0x18026a120]
movdqa xmm5, xmm6
pand xmm0, xmm7
movaps xmmword [rax - 0x38], xmm8
pshufb xmm3, xmm0
movdqu xmm0, xmmword [rdx]
add rdx, 0x10
movaps xmmword [rax - 0x48], xmm9
movdqa xmm2, xmm7
movdqa xmm9, xmmword [0x18026a190]
pxor xmm3, xmm0
movaps xmmword [rax - 0x58], xmm10
movdqa xmm0, xmm7
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rsp + 0x20], xmm13
movaps xmmword [rsp + 0x10], xmm14
movaps xmmword [rsp], xmm15
pandn xmm0, xmmword [rcx]
movdqa xmm10, xmmword [0x18026a140]
movdqa xmm11, xmmword [0x1801bce40]
movdqa xmm12, xmmword [0x1801bcd80]
movdqa xmm13, xmmword [0x1801bccd0]
movdqa xmm14, xmmword [0x1801bcdc0]
movdqa xmm15, xmmword [0x1801bce80]
psrld xmm0, 4
pshufb xmm1, xmm0
movdqa xmm0, xmm6
pxor xmm3, xmm1
movdqa xmm1, xmm10
movdqa xmmword [rcx], xmm3
pandn xmm2, xmm3
psrld xmm2, 4
pand xmm3, xmm7
movdqu xmm8, xmmword [rdx]
pshufb xmm0, xmm2
pshufb xmm1, xmm3
pxor xmm3, xmm2
movdqa xmmword [rcx], xmm3
pxor xmm0, xmm1
pshufb xmm4, xmm0
movdqa xmm0, xmm6
pxor xmm4, xmm3
pshufb xmm0, xmm3
pxor xmm0, xmm1
pshufb xmm5, xmm0
pxor xmm5, xmm2
cmp r8, 1
je 0x18004221b
lea rax, [r8 - 1]
nop dword [rax + rax]
movdqa xmm1, xmmword [0x1801bccf0]
movdqa xmm3, xmm11
lea rdx, [rdx + 0x10]
movdqa xmm0, xmm12
movdqa xmm2, xmm7
pshufb xmm0, xmm5
pshufb xmm3, xmm4
pshufb xmm1, xmm5
pxor xmm3, xmm8
pxor xmm3, xmm0
movdqa xmm0, xmm15
pshufb xmm0, xmm4
pshufb xmm3, xmm9
pxor xmm1, xmm0
movdqa xmm0, xmmword [0x1801bcd60]
pxor xmm3, xmm1
movdqa xmm1, xmmword [0x1801bce70]
pshufb xmm0, xmm4
pshufb xmm3, xmm9
pshufb xmm1, xmm5
pxor xmm3, xmm0
movdqa xmm0, xmm13
pxor xmm3, xmm1
movdqa xmm1, xmm14
pshufb xmm0, xmm4
movdqa xmm4, xmm6
pshufb xmm1, xmm5
movdqa xmm5, xmm6
pshufb xmm3, xmm9
pxor xmm3, xmm0
movdqa xmm0, xmm9
palignr xmm0, xmm9, 0xc
pxor xmm3, xmm1
movdqa xmmword [rcx], xmm3
movdqa xmm9, xmm0
pandn xmm2, xmm3
pand xmm3, xmm7
psrld xmm2, 4
movdqa xmm0, xmm6
movdqa xmm1, xmm10
movdqu xmm8, xmmword [rdx]
pshufb xmm0, xmm2
pshufb xmm1, xmm3
pxor xmm3, xmm2
movdqa xmmword [rcx], xmm3
pxor xmm0, xmm1
pshufb xmm4, xmm0
movdqa xmm0, xmm6
pxor xmm4, xmm3
pshufb xmm0, xmm3
pxor xmm0, xmm1
pshufb xmm5, xmm0
pxor xmm5, xmm2
sub rax, 1
jne 0x180042110
movdqa xmm0, xmmword [0x1801bce10]
lea r11, [rsp + 0xa8]
movdqa xmm1, xmmword [0x1801bce20]
lea eax, [r8 - 1]
movaps xmm6, xmmword [r11 - 0x18]
lea rcx, [0x18026a1a0]
movaps xmm7, xmmword [r11 - 0x28]
not eax
movaps xmm9, xmmword [r11 - 0x48]
and eax, 3
movaps xmm10, xmmword [r11 - 0x58]
add rax, rax
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [rsp + 0x20]
movaps xmm14, xmmword [rsp + 0x10]
movaps xmm15, xmmword [rsp]
pshufb xmm0, xmm4
pshufb xmm1, xmm5
pxor xmm0, xmm8
movaps xmm8, xmmword [r11 - 0x38]
pxor xmm0, xmm1
pshufb xmm0, xmmword [rcx + rax*8]
mov rsp, r11
ret
Function at 0x180043700
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xc8
mov rax, qword [rcx + 0x28]
cmp qword [rcx + 0x20], rax
je 0x18004398a
mov rax, qword [rcx + 0x20]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
movaps xmmword [r11 - 0x58], xmm10
movaps xmmword [r11 - 0x68], xmm11
movaps xmmword [r11 - 0x78], xmm12
movaps xmmword [rsp + 0x40], xmm13
movaps xmmword [rsp + 0x30], xmm14
movdqu xmm14, xmmword [rax + 0xa0]
movdqu xmm4, xmmword [rax]
movdqu xmm5, xmmword [rax + 0x10]
movdqu xmm6, xmmword [rax + 0x20]
movdqu xmm7, xmmword [rax + 0x30]
movdqu xmm8, xmmword [rax + 0x40]
movdqu xmm9, xmmword [rax + 0x50]
movdqu xmm10, xmmword [rax + 0x60]
movdqu xmm11, xmmword [rax + 0x70]
movdqu xmm12, xmmword [rax + 0x80]
movdqu xmm13, xmmword [rax + 0x90]
cmp r9, 4
jb 0x1800438e0
mov r10, r9
mov rcx, r8
shr r10, 2
sub rcx, rdx
imul rax, r10, 0xfffffffffffffffc
add r9, rax
nop
movdqu xmm0, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
pxor xmm0, xmm4
pxor xmm3, xmm4
pxor xmm2, xmm4
pxor xmm1, xmm4
aesdec xmm0, xmm5
aesdec xmm3, xmm5
aesdec xmm2, xmm5
aesdec xmm1, xmm5
aesdec xmm0, xmm6
aesdec xmm3, xmm6
aesdec xmm2, xmm6
aesdec xmm1, xmm6
aesdec xmm0, xmm7
aesdec xmm3, xmm7
aesdec xmm2, xmm7
aesdec xmm1, xmm7
aesdec xmm0, xmm8
aesdec xmm3, xmm8
aesdec xmm2, xmm8
aesdec xmm1, xmm8
aesdec xmm0, xmm9
aesdec xmm3, xmm9
aesdec xmm2, xmm9
aesdec xmm1, xmm9
aesdec xmm0, xmm10
aesdec xmm3, xmm10
aesdec xmm2, xmm10
aesdec xmm1, xmm10
aesdec xmm0, xmm11
aesdec xmm3, xmm11
aesdec xmm2, xmm11
aesdec xmm1, xmm11
aesdec xmm0, xmm12
aesdec xmm3, xmm12
aesdec xmm2, xmm12
aesdec xmm1, xmm12
aesdec xmm0, xmm13
aesdec xmm3, xmm13
aesdeclast xmm0, xmm14
movdqu xmmword [r8], xmm0
add r8, 0x40
aesdec xmm2, xmm13
aesdeclast xmm3, xmm14
movdqu xmmword [rcx + rdx + 0x10], xmm3
aesdec xmm1, xmm13
aesdeclast xmm2, xmm14
movdqu xmmword [rcx + rdx + 0x20], xmm2
aesdeclast xmm1, xmm14
movdqu xmmword [rcx + rdx + 0x30], xmm1
add rdx, 0x40
sub r10, 1
jne 0x1800437b0
test r9, r9
je 0x180043942
sub r8, rdx
nop dword [rax + rax]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
pxor xmm0, xmm4
aesdec xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmm8
aesdec xmm0, xmm9
aesdec xmm0, xmm10
aesdec xmm0, xmm11
aesdec xmm0, xmm12
aesdec xmm0, xmm13
aesdeclast xmm0, xmm14
movdqu xmmword [r8 + rdx - 0x10], xmm0
sub r9, 1
jne 0x1800438f0
movaps xmm13, xmmword [rsp + 0x40]
movaps xmm12, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm10, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm14, xmmword [rsp + 0x30]
add rsp, 0xc8
ret
lea r9, str.gold
mov dword [rsp + 0x20], 0xbf
lea r8, str.aesni_decrypt_n
lea rdx, str.Key_was_set
lea rcx, str.m_DK.empty____false
call fcn.1800401f0
int3