joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140080dd0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400bc089], 0
mov r12, rcx
mov r13, rdx
mov rdi, r8
je 0x140080e58
lea rdx, [0x1400a95ea]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140080f70
mov rsi, qword [0x1400bbf48]
jmp 0x140080e15
lea rsi, [rdx + rax + 4]
mov rdx, rsi
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rsi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rax + 1]
mov eax, dword [rdx]
test ebx, ebx
jne 0x140080e10
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, r12
mov rdx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.14006e9a0
mov r8d, 0xa
mov edx, 3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x1400bbf48], rax
mov rdx, rax
mov r9d, dword [rax]
lea rax, [rax + 4]
mov qword [0x1400bbf48], rax
mov eax, dword [rdx + 4]
lea rcx, [rdx + 8]
mov qword [0x1400bbf48], rcx
test eax, eax
je 0x140080f58
sub eax, 1
lea r8, [rdx + rax + 9]
mov eax, 0xffffffff
nop word [rax + rax]
movzx edx, byte [rcx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add rcx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
cmp r8, rcx
jne 0x140080ec0
not eax
cmp r9d, eax
jne 0x140080ff7
mov byte [0x1400bc089], 1
jmp 0x140080ded
cmp byte [0x1400bc088], 0
jne 0x140080e04
mov rbx, qword [sym.imp.python39.dll_PyDict_New]
call rbx
mov qword [0x1400bc9c8], rax
call rbx
mov qword [0x1400bc9c0], rax
call rbx
mov qword [0x1400bc9b8], rax
call rbx
mov qword [0x1400bc9b0], rax
call rbx
mov qword [0x1400bc9a8], rax
call rbx
mov qword [0x1400bc9a0], rax
call rbx
mov qword [0x1400bc998], rax
call rbx
mov byte [0x1400bc088], 1
mov qword [0x1400bc990], rax
mov rax, qword [sym.imp.python39.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xdc0
mov qword [0x1400bbf40], rax
jmp 0x140080e04
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14008ab20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14009be80
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14009be80
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14008b7d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400bce28]
test eax, eax
je 0x14008b86a
lea rax, [0x1400bce00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400bce30]
mov qword [rbp - 8], rax
jmp 0x14008b84e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14008b842
cmp qword [rbp - 0x10], 0
je 0x14008b842
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14008b808
lea rax, [0x1400bce00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14008b86b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14008b970
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14008b998
mov eax, 0
jmp 0x14008b9e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14008b9c1
mov eax, 0
jmp 0x14008b9e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14008b9e1
mov eax, 0
jmp 0x14008b9e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14008b9ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14008ba6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14008ba61
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14008ba61
mov rax, qword [rbp - 8]
jmp 0x14008ba7f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14008ba34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140011122
Capabilities:
Hash data using djb2

Disassembly:
jmp 0x140011e90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400241c9]
call fcn.1400113a7
mov dword [rbp + 4], 0x1505
mov rax, qword [rbp + 0x120]
movzx eax, word [rax]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0xf4], eax
mov rax, qword [rbp + 0x120]
add rax, 2
mov qword [rbp + 0x120], rax
cmp dword [rbp + 0xf4], 0
je 0x140011ef8
mov eax, dword [rbp + 4]
shl eax, 5
add eax, dword [rbp + 4]
add eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x140011eb6
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001112c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1400121e0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x20]
lea rcx, [0x1400242e0]
call fcn.1400113a7
mov rax, qword [rbp + 0x220]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xe8], 0
jmp 0x1400122c1
mov rax, qword [rbp + 0xe8]
inc rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x14]
cmp qword [rbp + 0xe8], rax
jae 0x140012366
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xe8]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rbp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xe8]
movzx eax, word [rax + rcx*2]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x220]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rcx, qword [rbp + 0x108]
call fcn.140011140
cmp eax, dword [rbp + 0x228]
jne 0x140012361
mov r8, qword [rbp + 0x128]
mov rdx, qword [rbp + 0x108]
lea rcx, str.___Function__s_found_at__p_r_n
call fcn.1400111bd
mov rax, qword [rbp + 0x128]
jmp 0x140012368
jmp 0x1400122b0
xor eax, eax
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x140011140
Capabilities:
Hash data using djb2

Disassembly:
jmp 0x140011f30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400241c9]
call fcn.1400113a7
mov dword [rbp + 4], 0x1505
mov rax, qword [rbp + 0x120]
movsx eax, byte [rax]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0xf4], eax
mov rax, qword [rbp + 0x120]
inc rax
mov qword [rbp + 0x120], rax
cmp dword [rbp + 0xf4], 0
je 0x140011f97
mov eax, dword [rbp + 4]
shl eax, 5
add eax, dword [rbp + 4]
add eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x140011f56
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140015220
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015240
xor al, al
jmp 0x1400152c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015253
xor al, al
jmp 0x1400152c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001527d
xor al, al
jmp 0x1400152c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015291
xor al, al
jmp 0x1400152c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400152a3
xor al, al
jmp 0x1400152c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400152bf
xor al, al
jmp 0x1400152c1
mov al, 1
add rsp, 0x38
ret
Function at 0x1403c1c40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1403c1c4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1403c1c5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1403c1c45
lea eax, [rcx + 1]
jmp 0x1403c1c6b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1403c1c7e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1403c1c64
sub eax, 3
jb 0x1403c1c9e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1403c1ced
sar eax, 1
movsxd rbp, eax
jb 0x1403c1cd4
jmp 0x1403c1cac
add ebx, ebx
jne 0x1403c1caa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403c1cd4
inc ecx
add ebx, ebx
jne 0x1403c1cba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1403c1cd4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1403c1ccd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1403c1cbc
add ecx, 2
jmp 0x1403c1cd9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1403c1c02
jmp 0x1403c1c4d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1f000
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1403c1d39
cmp rsi, rcx
jae 0x1403c1d41
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1403c1d20
cmp al, 0x8f
ja 0x1403c1d20
cmp byte [rsi - 2], 0xf
je 0x1403c1d26
sub al, 0xe8
cmp al, 1
ja 0x1403c1d0a
cmp rsi, rcx
jae 0x1403c1d41
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1403c1d10
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1403c1d41
lodsb al, byte [rsi]
jmp 0x1403c1d20
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3bf000]
mov eax, dword [rdi]
or eax, eax
je 0x1403c1d9e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x73f5c0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1403c1d4e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1403c1d98
mov qword [rbx], rax
add rbx, 8
jmp 0x1403c1d6e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1403c1dd8
cmp al, 0xef
ja 0x1403c1dca
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1403c1daa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1403c1db9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1403c1e2c
sub rsp, 0xffffffffffffff80
jmp 0x14000b8dc
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 8], rax
xor r11d, r11d
mov r10, rcx
cmp byte [r8], r11b
je 0x14000106f
sub r10, rdx
mov eax, 1
mov r9d, r11d
mov dword [rsp], eax
mov dword [rsp + 4], 0x7900
test eax, eax
je 0x14000104e
lea eax, [r9 + 0x78]
mov ecx, r9d
inc r9d
xor byte [rsp + rcx + 4], al
mov eax, dword [rsp]
cmp r9d, eax
jb 0x140001038
mov byte [rsp + rax + 4], r11b
mov al, byte [r8]
cmp byte [rsp + 4], al
jne 0x140001064
mov al, byte [rdx]
cmp byte [rdx + r10], al
jne 0x140001083
inc r8
inc rdx
cmp byte [r8], r11b
jne 0x140001021
mov al, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.140001560
add rsp, 0x18
ret
xor al, al
jmp 0x140001071
Function at 0x140001090
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140001378
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov ebx, 0xc
mov dword [rbp + 3], 0x3d0024
mov eax, ebx
xor edi, edi
mov dword [rbp - 1], eax
mov edx, edi
mov dword [rbp + 7], 0x120008
mov dword [rbp + 0xb], 0x18000a
mov dword [rbp + 0xf], 0x23000c
mov dword [rbp + 0x13], 0xe800e4
mov dword [rbp + 0x17], 0xe800f1
mov dword [rbp + 0x1b], 0x84
lea eax, [rdx + 0x78]
mov ecx, edx
inc edx
xor word [rbp + rcx*2 + 3], ax
mov eax, dword [rbp - 1]
cmp edx, eax
jb 0x1400013dc
lea rdx, [rbp + 3]
mov word [rbp + rax*2 + 3], di
lea rcx, [rbp - 0x11]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rbp - 0x19]
mov qword [rbp - 0x19], rdi
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov edx, 0x240
mov byte [rsp + 0x28], dil
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x11]
call sub.ntoskrnl.exe_ObReferenceObjectByName
test eax, eax
js 0x14000145c
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx + 0x98]
mov qword [rcx + 0xe0], rax
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
movdqa xmm0, xmmword [0x140002070]
mov edx, edi
movdqu xmmword [rbp + 0x23], xmm0
mov dword [rbp + 0x1f], ebx
mov ecx, edx
lea eax, [rdx + 0x78]
inc edx
xor byte [rbp + rcx + 0x23], al
mov ebx, dword [rbp + 0x1f]
cmp edx, ebx
jb 0x14000146e
lea rcx, [rbp + 0x23]
mov byte [rbp + rbx + 0x23], dil
call fcn.140001204
mov r9, rax
test rax, rax
je 0x140001522
movdqa xmm0, xmmword [0x140002090]
mov edx, 0xe
mov dword [rbp + 0x37], edx
mov r8d, edi
movdqu xmmword [rbp + 0x3b], xmm0
mov ecx, r8d
lea eax, [r8 + 0x78]
inc r8d
xor byte [rbp + rcx + 0x3b], al
mov ecx, dword [rbp + 0x37]
cmp r8d, ecx
jb 0x1400014b2
movdqa xmm0, xmmword [0x140002080]
mov r8d, edi
movdqu xmmword [rbp + 3], xmm0
mov byte [rbp + rcx + 0x3b], dil
mov dword [rbp - 1], edx
mov ecx, r8d
lea eax, [r8 + 0x78]
inc r8d
xor byte [rbp + rcx + 3], al
mov edx, dword [rbp - 1]
cmp r8d, edx
jb 0x1400014e0
mov byte [rbp + rdx + 3], dil
lea r8, [rbp + 0x3b]
lea rdx, [rbp + 3]
mov rcx, r9
call fcn.140001114
test rax, rax
je 0x140001522
movsxd rdx, dword [rax + 3]
add rdx, 7
add rdx, rax
je 0x140001522
xor eax, eax
mov qword [rdx], rax
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140001560
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140001114
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
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsxd rsi, dword [rcx + 0x3c]
xor r13d, r13d
add rsi, rcx
mov r12, r8
mov r15, rdx
mov r14, rcx
mov r9d, r13d
mov edi, r13d
movsx rax, word [rsi + 0x14]
lea rbx, [rsi + 0x18]
add rbx, rax
cmp r13w, word [rsi + 6]
jge 0x1400011da
cmp dword [rbx], 0x45474150
je 0x1400011b0
mov eax, 5
mov edx, r13d
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], 0x31f0d56
mov dword [rbp - 0x18], 0x7d08
test eax, eax
je 0x14000119c
lea eax, [rdx + 0x78]
mov ecx, edx
inc edx
xor byte [rbp + rcx - 0x1c], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jb 0x14000118a
mov byte [rbp + rax - 0x1c], r13b
mov eax, dword [rbx]
cmp eax, dword [rbp - 0x1c]
jne 0x1400011cc
mov al, byte [rbx + 4]
cmp al, byte [rbp - 0x18]
jne 0x1400011cc
mov ecx, dword [rbx + 0xc]
mov r9, r12
mov edx, dword [rbx + 8]
add rcx, r14
mov r8, r15
call fcn.140001098
mov r9, rax
test rax, rax
jne 0x1400011da
movsx ecx, word [rsi + 6]
inc edi
add rbx, 0x28
cmp edi, ecx
jl 0x140001165
mov rax, r9
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140001560
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001204
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor ebx, ebx
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea esi, [rbx + 0xb]
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14000134d
mov edx, dword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
je 0x14000134d
mov r8d, dword [rsp + 0x20]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
lfence
test eax, eax
js 0x14000133d
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x14000133d
lea rbp, [rdi + 8]
mov rax, rbp
lea rcx, [rsp + 0x30]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400012a7
movups xmm0, xmmword [rax]
mov rdx, r14
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x58]
call fcn.140001587
test rax, rax
jne 0x140001338
inc esi
add rbp, 0x128
movsxd rax, esi
cmp rax, qword [rdi]
jb 0x14000129a
jmp 0x14000133d
mov rbx, qword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x14000134f
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001560
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x414ba0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414d2b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432140
xorps xmm15, xmm15
mov r14, qword [0x005d9e30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414c05
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414c14
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414c33
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414c43
cmp rbx, 0x1000
jae 0x414c0b
jmp 0x414cad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414c55
xor edx, edx
jmp 0x414ca4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432140
xorps xmm15, xmm15
mov r14, qword [0x005d9e30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414c39
jmp 0x414c28
call fcn.00462a60
xorps xmm15, xmm15
mov r14, qword [0x005d9e30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436540
lea rax, [0x004d2364]
mov ebx, 0x18
nop dword [rax]
call fcn.00436dc0
mov rax, qword [rsp + 0x38]
call fcn.00436b00
lea rax, [0x004d29ee]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436dc0
mov rax, qword [rsp + 0x30]
call fcn.00436b00
call fcn.00436780
call fcn.004365a0
lea rax, [0x004d5198]
mov ebx, 0x21
call fcn.00434ba0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f3a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414ba0