joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002130
Capabilities:
Encode data using xor

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 eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000222b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002233
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000226a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002240
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002295
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400022bb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400022a0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a480
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
lea edi, [r14 + 0x28]
test al, al
je 0x14000a531
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.14000de6c
cmp rax, 1
jne 0x14000a567
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a50d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a500
cmp rcx, 1
jb 0x14000a567
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a4d0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000baf0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14000db70
int3
Function at 0x14000a5f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a635
xor al, al
jmp 0x14000a682
cmp word [rbx], 0
je 0x14000a64d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a640
cmp word [rsp + 0x30], 0
je 0x14000a67b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a6a3
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a660
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000baf0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000db70
int3
Function at 0x14000af70
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001c3b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002bd14]
lea rsi, [0x14002ed50]
mov rdi, rcx
test r11d, r11d
jne 0x14000afe9
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a6b0
test al, al
je 0x14000b0cf
lea rcx, [rsp + 0x20]
call fcn.14001149c
movsxd r11, dword [0x14002bd14]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002bd14], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000b024
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000b014
add rax, 2
test ecx, ecx
jne 0x14000b000
test edx, edx
je 0x14000b047
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000aff4
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000b030
cmp rax, 2
jne 0x14000b04b
cmp word [rdi + 2], 0x3a
jne 0x14000b04b
mov al, 1
jmp 0x14000b0ae
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000b078
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b078
mov bl, 1
jmp 0x14000b07c
test bl, bl
je 0x14000b0a3
cmp dword [0x14002bd14], 0x400
jge 0x14000b0a3
mov rcx, rdi
call fcn.14001149c
movsxd rdx, dword [0x14002bd14]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002bd14], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000baf0
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000ae10
int3
Function at 0x14000b1f0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002bd18]
test rcx, rcx
je 0x14000b22b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b21e
mov rcx, qword [0x14002bd18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002bd18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140032d52], 0
je 0x14000b31e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140025a10]
mov qword [rsp + 0x80], rsi
lea rsi, [0x14002c550]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b2ff
test al, 0x10
je 0x14000b2ff
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b2a5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c3f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c442
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c442
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c442
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c442
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c442
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c444
xor al, al
add rsp, 0x28
ret

Function at 0x14000db64
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000d9f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d9f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d9f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d9f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d9f7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d9f7
cmp dword [rcx + 0xf8], 0
je 0x14000d9f7
mov ecx, ebx
call fcn.14000da98
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000d888
cmp dword [rbp + 0x20], 0
je 0x14000da44
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000da4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000d990
Function at 0x14001c2f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001c318
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001c318
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x12820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rdi, [rsp + 0x30]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x78], 0
je 0x12871
cmp qword [rsp + 0x68], 0
jne 0x12878
mov eax, 0xc000000d
jmp 0x128e0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
mov r8d, 3
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_LdrFindResource_U]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x128dc
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_LdrAccessResource]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x50
pop rdi
ret

Function at 0x13750
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
cmp qword [rsp + 0xd0], 0
je 0x13786
cmp qword [rsp + 0xd8], 0
je 0x13786
cmp dword [rsp + 0xe0], 0
jne 0x13790
mov eax, 0xc000000d
jmp 0x138ad
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x88], 0x240
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x70]
mov edx, 0x120116
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jl 0x138a9
mov dword [rsp + 0x64], 0xffffffff
mov dword [rsp + 0x60], 0xffffffff
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x68]
add rsp, 0xc8
ret
Function at 0x14bc0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x28], 0xc0000001
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
mov ecx, 5
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xc0000004
je 0x14c37
mov eax, dword [rsp + 0x28]
jmp 0x14d67
mov edx, dword [rsp + 0x48]
mov r8d, 0x50726f63
mov ecx, 1
call qword [fcn.00011028]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14c62
mov eax, dword [rsp + 0x28]
jmp 0x14d67
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov ecx, 5
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x14d2c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
xor eax, eax
cmp eax, 1
je 0x14d2c
mov rcx, qword [rsp + 0x40]
add rcx, 0x38
mov r8b, 1
mov rdx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
movzx eax, al
test eax, eax
je 0x14cff
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
add rax, 0x100
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 0
jbe 0x14cff
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0
jmp 0x14d2c
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
jne 0x14d13
mov dword [rsp + 0x28], 0xc0000225
jmp 0x14d2c
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x40]
add rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x14c95
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [rsp + 0x28], 0
jl 0x14d63
cmp qword [rsp + 0x78], 0
je 0x14d63
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x38]
mov qword [rcx + 8], rax
mov eax, dword [rsp + 0x28]
add rsp, 0x68
ret
Function at 0x18b20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
cmp qword [rsp + 0xa0], 0
je 0x18b47
cmp qword [rsp + 0xa8], 0
jne 0x18b51
mov eax, 0xc000000d
jmp 0x18d00
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0x240
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea rdx, [0x00011e20]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r8, [rsp + 0x40]
mov edx, 0x20019
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x18cfc
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc0000023
je 0x18c09
cmp dword [rsp + 0x38], 0x80000005
jne 0x18cdd
mov edx, dword [rsp + 0x80]
mov r8d, 0x56616c
mov ecx, 1
call qword [fcn.00011028]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x18cd3
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x88]
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x18cc1
mov rax, qword [rsp + 0x88]
cmp dword [rax + 4], 3
jne 0x18c98
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 8]
cmp rax, 0x20
jae 0x18ca2
mov dword [rsp + 0x38], 0xc000000d
jmp 0x18cc1
mov rdx, qword [rsp + 0x88]
add rdx, 0xc
mov r8d, 0x20
mov rcx, qword [rsp + 0xa8]
call fcn.00036070
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x18cdb
mov dword [rsp + 0x38], 0xc00000a0
jmp 0x18cf1
mov eax, dword [rsp + 0x38]
shr eax, 0x1e
cmp eax, 3
je 0x18cf1
mov dword [rsp + 0x38], 0xc000003e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x38]
add rsp, 0x98
ret
Function at 0x19160
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x40], 0
lea rdi, [rsp + 0x44]
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
cmp qword [rsp + 0x180], 0
jne 0x191c2
mov eax, 0xc000000d
jmp 0x192da
mov dword [rsp + 0x40], 0x114
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
shr eax, 0x1e
cmp eax, 3
jne 0x191e9
mov eax, 0xc00000bb
jmp 0x192da
cmp dword [rsp + 0x44], 6
jne 0x191fe
cmp dword [rsp + 0x48], 0
je 0x191fe
mov byte [rsp + 0x30], 1
jmp 0x19216
cmp dword [rsp + 0x44], 5
je 0x19216
cmp dword [rsp + 0x44], 6
je 0x19216
mov eax, 0xc00000bb
jmp 0x192da
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x19235
mov dl, 2
mov rcx, qword [rsp + 0x180]
call fcn.00018ef0
mov qword [rsp + 0x20], rax
jmp 0x19287
mov rax, qword [rsp + 0x180]
sub rax, 0x30
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x18]
test eax, eax
jne 0x19261
mov qword [rsp + 0x160], 0
jmp 0x1927a
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rax + 0x18]
mov rax, qword [rsp + 0x28]
sub rax, rcx
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1929a
mov rax, qword [rsp + 0x20]
cmp qword [rax], 0
jne 0x192a1
mov eax, 0xc0000039
jmp 0x192da
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x38]
call fcn.000190c0
movzx eax, al
test eax, eax
je 0x192d5
xor eax, eax
jmp 0x192da
mov eax, 0xc0000225
add rsp, 0x170
pop rdi
ret

Function at 0x19550
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov dword [rax], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 8], 0x67452301
mov rax, qword [rsp + 0x20]
mov dword [rax + 0xc], 0xefcdab89
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0x98badcfe
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x14], 0x10325476
mov dword [rsp], 0
jmp 0x195b2
mov eax, dword [rsp]
add eax, 1
mov dword [rsp], eax
cmp dword [rsp], 0x40
jae 0x195c7
mov ecx, dword [rsp]
mov rax, qword [rsp + 0x20]
mov byte [rax + rcx + 0x58], 0
jmp 0x195a9
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x58], 0x80
add rsp, 0x18
ret
Function at 0x2afd0
Capabilities:
Check http status code
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x20], 0
mov byte [rsp + 0x130], 0
lea rcx, [0x00011f20]
jmp loc.00059be4

Function at 0x2b790
Capabilities:
Check for software breakpoints
Check http status code
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x20], 0
mov byte [rsp + 0x130], 0
lea rcx, [0x00011f30]
jmp 0x2baf6
cmp rdx, rcx
jmp loc.0007e0d5

Function at 0x2c950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 6], 0
mov byte [rsp + 4], 0
mov byte [rsp + 7], 0
mov byte [rsp + 5], 0
mov dword [rsp], 0
mov dword [rsp], 0
jmp 0x2c995
mov eax, dword [rsp]
add eax, 1
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp], eax
jge 0x2ca4c
mov eax, dword [rsp]
add eax, 1
mov byte [rsp + 6], al
movzx ecx, byte [rsp + 6]
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + rcx + 0xc]
mov byte [rsp + 4], al
movzx ecx, byte [rsp + 4]
movzx eax, byte [rsp + 7]
add eax, ecx
mov byte [rsp + 7], al
movzx r8d, byte [rsp + 7]
movzx edx, byte [rsp + 6]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + r8 + 0xc]
mov byte [rcx + rdx + 0xc], al
movzx edx, byte [rsp + 7]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rsp + 4]
mov byte [rcx + rdx + 0xc], al
movzx edx, byte [rsp + 4]
movzx ecx, byte [rsp + 6]
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rax + rcx + 0xc]
mov eax, edx
add eax, ecx
mov byte [rsp + 5], al
movzx ecx, byte [rsp + 5]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rcx + 0xc]
movsxd rcx, dword [rsp]
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + rcx]
xor edx, eax
movsxd rcx, dword [rsp]
mov rax, qword [rsp + 0x38]
mov byte [rax + rcx], dl
jmp 0x2c98c
add rsp, 0x18
ret
Function at 0x2cc10
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov byte [rsp + 0xa8], 0
cmp qword [rsp + 0xf8], 0
jne 0x2cc40
mov al, byte [rsp + 0xa8]
jmp 0x2cdf5
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0x240
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x68]
mov edx, 0x80000000
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x2cdee
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x2cde0
mov edx, dword [rsp + 0xb8]
mov r8d, 0x4c4452
mov ecx, 1
call qword [fcn.00011028]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x2cde0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x2cdd0
mov r8d, dword [rsp + 0xb8]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xf0]
call fcn.0002ce10
mov byte [rsp + 0xa8], al
xor edx, edx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, byte [rsp + 0xa8]
add rsp, 0xe8
ret

Function at 0x2d240
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov byte [rsp + 8], 0
cmp qword [rsp + 0x38], 0
jne 0x2d261
mov al, byte [rsp + 8]
jmp 0x2d2a4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x2d2a0
mov rax, qword [rsp + 0x10]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x10]
add rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp]
cmp dword [rax], 0x4550
jne 0x2d2a0
mov byte [rsp + 8], 1
mov al, byte [rsp + 8]
add rsp, 0x28
ret