joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14007a2b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
cmp qword [0x140097e08], 0
jne 0x140009370
mov byte [rsp + 0x40], 0x63
mov byte [rsp + 0x41], 0xff
mov byte [rsp + 0x42], 0x70
mov byte [rsp + 0x43], 0xfd
mov byte [rsp + 0x44], 0x6b
mov byte [rsp + 0x45], 0xfb
mov byte [rsp + 0x46], 0x6d
mov byte [rsp + 0x47], 0xf9
mov byte [rsp + 0x48], 0x6b
mov byte [rsp + 0x49], 0xf7
mov byte [rsp + 0x4a], 0x5c
mov byte [rsp + 0x4b], 0xf5
mov byte [rsp + 0x4c], 0x5d
mov byte [rsp + 0x4d], 0xf3
mov byte [rsp + 0x4e], 0x64
mov byte [rsp + 0x4f], 0xf1
mov byte [rsp + 0x50], 0x55
mov byte [rsp + 0x51], 0xef
mov byte [rsp + 0x52], 0x1c
mov byte [rsp + 0x53], 0xed
mov byte [rsp + 0x54], 0x51
mov byte [rsp + 0x55], 0xeb
mov byte [rsp + 0x56], 0x62
mov byte [rsp + 0x57], 0xe9
mov byte [rsp + 0x58], 0x4d
mov byte [rsp + 0x59], 0xe7
mov byte [rsp + 0x5a], 0xe6
mov byte [rsp + 0x5b], 0xe5
mov dword [rsp + 0x24], 0
jmp 0x140009307
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp rax, 0x1c
jae 0x14000933f
mov eax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x40]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x24]
movzx ecx, byte [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x24]
movzx ecx, byte [rsp + 0x20]
mov byte [rsp + rax + 0x40], cl
jmp 0x1400092fd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x28]
lea r8, [0x140097e08]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1400119b4
movzx eax, al
test eax, eax
jne 0x140009370
jmp 0x140009392
mov eax, dword [section..data]
mov rcx, qword [0x140097e08]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
xor eax, eax
test eax, eax
jne 0x140009251
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002ff90
add rsp, 0x78
ret
Function at 0x14000a300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x14007a2b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x28], 0x48
mov byte [rsp + 0x29], 0x89
mov byte [rsp + 0x2a], 0x5c
mov byte [rsp + 0x2b], 0x24
mov byte [rsp + 0x2c], 8
mov byte [rsp + 0x2d], 0x48
mov byte [rsp + 0x2e], 0x89
mov byte [rsp + 0x2f], 0x74
mov byte [rsp + 0x30], 0x24
mov byte [rsp + 0x31], 0x10
mov byte [rsp + 0x32], 0x57
mov byte [rsp + 0x33], 0x48
mov byte [rsp + 0x34], 0x83
mov byte [rsp + 0x35], 0xec
mov byte [rsp + 0x36], 0x20
mov byte [rsp + 0x37], 0x49
mov byte [rsp + 0x38], 0x8b
mov byte [rsp + 0x39], 0xf8
mov byte [rsp + 0x3a], 0x8b
mov byte [rsp + 0x3b], 0xda
mov byte [rsp + 0x3c], 0x48
mov byte [rsp + 0x3d], 0x8b
mov byte [rsp + 0x3e], 0xf1
mov byte [rsp + 0x3f], 0x85
mov byte [rsp + 0x40], 0xd2
mov byte [rsp + 0x41], 0x74
mov byte [rsp + 0x42], 0xc
mov byte [rsp + 0x43], 0x83
mov byte [rsp + 0x44], 0xfa
mov byte [rsp + 0x45], 3
mov byte [rsp + 0x46], 0x75
mov byte [rsp + 0x47], 0xc
mov byte [rsp + 0x48], 0xe8
mov byte [rsp + 0x49], 0x90
mov byte [rsp + 0x4a], 0xb
mov byte [rsp + 0x4b], 0xf9
mov byte [rsp + 0x4c], 0xff
mov byte [rsp + 0x4d], 0xff
mov byte [rsp + 0x4e], 0xeb
mov byte [rsp + 0x4f], 5
mov byte [rsp + 0x50], 0xe8
mov byte [rsp + 0x51], 0xd4
mov byte [rsp + 0x52], 0xf8
mov byte [rsp + 0x53], 0xcc
mov byte [rsp + 0x54], 0xff
mov byte [rsp + 0x55], 0xff
mov byte [rsp + 0x56], 0x48
mov byte [rsp + 0x57], 0x8b
mov byte [rsp + 0x58], 5
mov byte [rsp + 0x59], 0x4d
mov byte [rsp + 0x5a], 0x73
mov byte [rsp + 0x5b], 0x10
mov eax, dword [rsp + 0x80]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x80]
shr eax, 0x10
mov ecx, 1
imul rcx, rcx, 1
mov byte [rsp + rcx + 0x28], al
mov dword [rsp + 0x20], 0x34
mov r9d, dword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400113f0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002ff90
add rsp, 0x78
ret

Function at 0x14000a490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x18
movzx eax, byte [rsp + 0x20]
mov byte [rsp], al
mov rax, qword [rsp + 0x28]
mov qword [rsp + 8], rax
mov dword [rsp + 4], 0
jmp 0x14000a4c8
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 4], eax
jae 0x14000a521
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
sar eax, 3
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 8]
movzx ecx, byte [rdx + rcx]
shl ecx, 5
or eax, ecx
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 8]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 4]
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 8]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 8]
mov byte [rdx + rcx], al
jmp 0x14000a4be
add rsp, 0x18
ret
Function at 0x140010ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x14007a2b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x28], 0x48
mov byte [rsp + 0x29], 0x89
mov byte [rsp + 0x2a], 0x41
mov byte [rsp + 0x2b], 0x53
mov byte [rsp + 0x2c], 0x55
mov byte [rsp + 0x2d], 0x4b
mov byte [rsp + 0x2e], 0x41
mov byte [rsp + 0x2f], 0x74
mov byte [rsp + 0x30], 0x24
mov byte [rsp + 0x31], 0xfe
mov byte [rsp + 0x32], 0x57
mov byte [rsp + 0x33], 0x48
mov byte [rsp + 0x34], 0x83
mov byte [rsp + 0x35], 0xec
mov byte [rsp + 0x36], 0x20
mov byte [rsp + 0x37], 0x49
mov byte [rsp + 0x38], 0x8b
mov byte [rsp + 0x39], 0xf8
mov byte [rsp + 0x3a], 0xbe
mov byte [rsp + 0x3b], 0xda
mov byte [rsp + 0x3c], 0xca
mov byte [rsp + 0x3d], 0xfe
mov byte [rsp + 0x3e], 0xba
mov byte [rsp + 0x3f], 0xbe
mov byte [rsp + 0x40], 0xab
mov byte [rsp + 0x41], 0x74
mov byte [rsp + 0x42], 0xc
mov byte [rsp + 0x43], 0xad
mov byte [rsp + 0x44], 0xfa
mov byte [rsp + 0x45], 3
mov byte [rsp + 0x46], 0x75
mov byte [rsp + 0x47], 0xc
mov byte [rsp + 0x48], 0xe8
mov byte [rsp + 0x49], 0x90
mov byte [rsp + 0x4a], 0xb
mov byte [rsp + 0x4b], 0xf9
mov byte [rsp + 0x4c], 0xff
mov byte [rsp + 0x4d], 0xff
mov byte [rsp + 0x4e], 0xeb
mov byte [rsp + 0x4f], 5
mov byte [rsp + 0x50], 0xe8
mov byte [rsp + 0x51], 0xd4
mov byte [rsp + 0x52], 0xf8
mov byte [rsp + 0x53], 0xcc
mov byte [rsp + 0x54], 0xff
mov byte [rsp + 0x55], 0xff
mov byte [rsp + 0x56], 0xde
mov byte [rsp + 0x57], 0x8b
mov byte [rsp + 0x58], 5
mov byte [rsp + 0x59], 0x4d
mov byte [rsp + 0x5a], 0x73
mov byte [rsp + 0x5b], 0x10
mov eax, dword [rsp + 0x80]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x28], al
mov eax, dword [rsp + 0x80]
shr eax, 0x10
mov ecx, 1
imul rcx, rcx, 1
mov byte [rsp + rcx + 0x28], al
mov dword [rsp + 0x20], 0x34
mov r9d, dword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400113f0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002ff90
add rsp, 0x78
ret
Function at 0x140010e60
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x398
mov rax, qword [0x14007a2b0]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x54], 0xc0000001
mov rax, qword [rsp + 0x3b0]
cmp qword [rax], 0
je 0x140010ebf
mov rax, qword [rsp + 0x3b0]
cmp qword [rax + 8], 0
jne 0x140010ecc
mov dword [rsp + 0x50], 2
jmp 0x1400110e1
mov dword [rsp + 0x90], 0
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x170], ax
lea rax, [rsp + 0x172]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov qword [rsp + 0x80], rax
movzx r8d, byte [rsp + 0x58]
lea rdx, [0x140034810]
lea rcx, [rsp + 0x110]
call fcn.14000fdd0
mov rcx, rax
call fcn.1400111d0
mov qword [rsp + 0x88], rax
movzx r8d, byte [rsp + 0x59]
lea rdx, [0x1400346e0]
lea rcx, [rsp + 0xd0]
call fcn.140010390
mov rcx, rax
call fcn.140011150
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x80]
mov r8, rax
mov edx, 0x103
lea rcx, [rsp + 0x170]
call fcn.14000bbf0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], 0
mov dword [rsp + 0xa8], 0x240
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
lea r8, [rsp + 0x90]
mov edx, 6
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x14001101d
mov dword [rsp + 0x50], 0x12
jmp 0x1400110e1
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0x100000
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140011089
mov dword [rsp + 0x50], 0x12
jmp 0x1400110e1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400110a5
mov dword [rsp + 0x50], 0x12
jmp 0x1400110e1
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x3b0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x80]
call fcn.140010ae0
mov dword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x140010ea2
cmp qword [rsp + 0x60], 0
je 0x1400110fb
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
cmp qword [rsp + 0x68], 0
je 0x14001110e
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14002ff90
add rsp, 0x398
pop rdi
pop rsi
ret
Function at 0x1400112d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x18], rax
mov dword [rsp], 0
jmp 0x140011319
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp], eax
jge 0x1400113c6
mov eax, dword [rsp + 4]
inc eax
movzx eax, al
mov dword [rsp + 4], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
movzx eax, al
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 8]
mov rcx, qword [rsp + 0x18]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x10], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x18]
movzx edx, byte [rsp + 0x10]
mov byte [rcx + rax], dl
movsxd rax, dword [rsp + 8]
mov rcx, qword [rsp + 0x18]
movzx edx, byte [rsp + 0xc]
mov byte [rcx + rax], dl
movsxd rax, dword [rsp]
mov ecx, dword [rsp + 0x10]
mov edx, dword [rsp + 0xc]
add edx, ecx
mov ecx, edx
movzx ecx, cl
mov rdx, qword [rsp + 0x18]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x38]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
jmp 0x140011311
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 4]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 8]
mov dword [rax + 4], ecx
add rsp, 0x28
ret

Function at 0x140011640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
cmp byte [0x140099341], 0
jne 0x1400116e9
xor eax, eax
lea rcx, [rbp - 0x3f]
xor edx, edx
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], eax
lea r8d, [rax + 0x3f]
call fcn.140034240
mov eax, 0x40000000
mov byte [rbp - 0x44], 0
xor ecx, ecx
mov r8d, 1
cpuid
mov dword [rbp - 0x4c], ebx
lea rbx, [rbp - 0x50]
mov dword [rbp - 0x50], eax
lea rax, [rbp - 0x40]
mov dword [rbp - 0x48], ecx
sub rbx, rax
movsd xmm0, qword [rbp - 0x4c]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], edx
mov dword [rbp - 0x50], 0x7263694d
mov dword [rbp - 0x4c], 0x666f736f
mov dword [rbp - 0x48], 0x76482074
movzx edx, byte [rax]
movzx ecx, byte [rax + rbx]
sub edx, ecx
jne 0x1400116cd
add rax, r8
test ecx, ecx
jne 0x1400116bb
movzx eax, byte [0x140099342]
test edx, edx
mov byte [0x140099341], r8b
cmove eax, r8d
mov byte [0x140099342], al
jmp 0x1400116ef
mov al, byte [0x140099342]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x140011b70
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
and qword [rax + 0x10], 0
mov r14, r8
mov r15, rdx
mov rbp, rcx
mov esi, 0xc0000001
test rdx, rdx
je 0x140011c89
test r8, r8
je 0x140011c89
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140011c76
lea rcx, [rbp + 0x500]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140011c76
lea rdx, [rsp + 0x48]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x140011c76
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140011c76
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdx + 0x28]
test rax, 0xfff
jne 0x140011c0b
xor esi, esi
jmp 0x140011c7b
mov ebx, 0x200
mov edi, ebx
lea rcx, [rdi + rdx]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140011c76
mov rcx, qword [rsp + 0x48]
add rcx, 0x11
add rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140011c76
mov rdx, qword [rsp + 0x48]
cmp dword [rdi + rdx], 0
jne 0x140011c56
mov eax, dword [rdi + rdx + 8]
and eax, 0xfff
cmp rax, 1
jne 0x140011c56
cmp byte [rdi + rdx + 0x10], al
je 0x140011c63
add ebx, 4
cmp ebx, 0x500
jae 0x140011c7b
jmp 0x140011c10
mov eax, ebx
mov cl, byte [rax + rbp + 0x10]
mov rax, qword [rax + rbp + 8]
mov qword [r15], rax
mov byte [r14], cl
jmp 0x140011c07
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140011c89
mov rcx, rdx
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140013348
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
xor r14b, r14b
call fcn.14001d624
test rax, rax
je 0x140012ac4
mov rcx, rax
call fcn.1400118cc
mov rbx, rax
test rax, rax
je 0x140012ac4
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140012ac4
mov rcx, rbx
call fcn.140012108
test al, al
jne 0x140012ac4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r14b, 1
mov byte [rsp + 0x60], r14b
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
test rax, rax
je 0x140012ac4
mov rdi, qword [rax + 0x18]
test rdi, rdi
je 0x140012ac4
mov rdi, qword [rdi + 0x20]
mov rbx, rdi
test rdi, rdi
je 0x140012ac4
lea rsi, [rbx - 0x10]
test rsi, rsi
je 0x140012ab1
lea rdx, [0x140035b70]
mov rcx, qword [rsi + 0x60]
call fcn.1400224b0
test eax, eax
jne 0x140012ab1
mov rbx, qword [rsi + 0x30]
test rbx, rbx
je 0x140012abd
lea rdx, [0x140035b90]
mov rcx, rbx
call fcn.14001f14c
test rax, rax
je 0x1400129f9
mov rcx, rax
call fcn.1400128d8
mov qword [0x1400996f0], rax
lea rdx, [0x140035ba0]
mov rcx, rbx
call fcn.14001f14c
test rax, rax
je 0x140012a1c
mov rcx, rax
call fcn.1400128d8
mov qword [0x1400996f8], rax
lea rdx, [0x140035bb0]
mov rcx, rbx
call fcn.14001f14c
mov qword [0x140099760], rax
test rax, rax
je 0x140012a46
mov rcx, rax
call fcn.1400128d8
mov qword [0x140099700], rax
lea rdx, [0x140035bd0]
mov rcx, rbx
call fcn.14001f14c
test rax, rax
je 0x140012a69
mov rcx, rax
call fcn.1400128d8
mov qword [0x140099710], rax
lea rdx, [0x140035bf0]
mov rcx, rbx
call fcn.14001f14c
test rax, rax
je 0x140012a8c
mov rcx, rax
call fcn.1400128d8
mov qword [0x140099718], rax
lea rdx, [0x140035c10]
mov rcx, rbx
call fcn.14001f14c
test rax, rax
je 0x140012abd
mov rcx, rax
call fcn.1400128d8
mov qword [0x140099708], rax
jmp 0x140012abd
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400129a4
jmp 0x140012ac4
test r14b, r14b
je 0x140012ad4
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
sub rsp, 0x28
cmp qword [0x1400995c0], 0
jne 0x140013373
call fcn.14001e8b0
cmp eax, 0xa28
jne 0x140013373
mov ecx, 0xb2
call fcn.14001da0c
mov qword [0x1400995c0], rax
add rsp, 0x28
jmp 0x140012904
Function at 0x14001458c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov word [rbp + 0x18], 0x72
mov r11, r9
mov word [rbp - 0x1c], 0x6272
mov rbx, r8
mov byte [rbp - 0x1a], 0
mov word [rbp - 0x20], 0x77
mov word [rbp - 0x18], 0x6277
mov byte [rbp - 0x16], 0
mov word [rbp - 0x14], 0x7772
mov byte [rbp - 0x12], 0
mov dword [rbp - 0xc], 0x627772
mov word [rbp - 0x10], 0x2b61
mov byte [rbp - 0xe], 0
mov dword [rbp - 8], 0x622b61
mov dword [rbp - 4], 0x2b6261
test rdx, rdx
je 0x1400147ba
test r9, r9
je 0x1400147ba
test rbx, rbx
je 0x1400147ba
mov rdi, qword [rbp + 0x30]
test rdi, rdi
je 0x1400147ba
lea r9, [rbp + 0x18]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x140014635
inc rax
test r10d, r10d
jne 0x14001461f
test r8d, r8d
je 0x14001479d
lea r9, [rbp - 0x1c]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x14001465e
inc rax
test r10d, r10d
jne 0x140014648
test r8d, r8d
je 0x14001479d
lea r9, [rbp - 0x20]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x140014687
inc rax
test r10d, r10d
jne 0x140014671
test r8d, r8d
je 0x14001478b
lea r9, [rbp - 0x18]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x1400146b0
inc rax
test r10d, r10d
jne 0x14001469a
test r8d, r8d
je 0x14001478b
lea r9, [rbp - 0x14]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x1400146d9
inc rax
test r10d, r10d
jne 0x1400146c3
test r8d, r8d
je 0x140014783
lea r9, [rbp - 0xc]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x140014702
inc rax
test r10d, r10d
jne 0x1400146ec
test r8d, r8d
je 0x140014783
lea r9, [rbp - 0x10]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x140014727
inc rax
test r10d, r10d
jne 0x140014711
test r8d, r8d
je 0x140014771
lea r9, [rbp - 8]
mov rax, rcx
sub r9, rcx
movzx r8d, byte [rax]
movzx r10d, byte [rax + r9]
sub r8d, r10d
jne 0x14001474c
inc rax
test r10d, r10d
jne 0x140014736
test r8d, r8d
je 0x140014771
lea r9, [rbp - 4]
sub r9, rcx
movzx eax, byte [rcx]
movzx r8d, byte [rcx + r9]
sub eax, r8d
jne 0x14001476d
inc rcx
test r8d, r8d
jne 0x140014758
test eax, eax
jne 0x1400147ba
mov dword [rdx], 0x187
mov eax, 3
mov dword [r11], eax
mov dword [rbx], eax
jmp 0x1400147b0
mov dword [rdx], 0x183
jmp 0x140014777
mov dword [rdx], 0x102
and dword [r11], 0
mov dword [rbx], 2
jmp 0x1400147b0
mov dword [rdx], 0x81
mov dword [r11], 1
mov dword [rbx], 1
bts dword [rdx], 0x14
mov dword [rdi], 0x20
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
Function at 0x1400147cc
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
xor r14d, r14d
mov rbx, rcx
mov qword [rbp + 0x5f0], r14
mov esi, 1
test rcx, rcx
je 0x140014a30
xor edx, edx
lea rcx, [rbp + 0x3c0]
mov r8d, 0x208
call fcn.140034240
or rax, 0xffffffffffffffff
lea rdx, [0x140036030]
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], r14w
jne 0x140014826
mov r8d, 0x103
sub r8, rcx
inc rax
cmp word [rbx + rax*2], r14w
jne 0x140014839
cmp rax, r8
jae 0x140014a30
lea rax, [rbp + 0x3c0]
mov dword [rsp + 0x60], 0x2080000
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rax
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
xor eax, eax
mov qword [rbp - 0x80], r14
xor edx, edx
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rax
lea r8d, [rax + 0x28]
call fcn.140034240
mov dword [rsp + 0x50], r14d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], r14
lea r9, [rbp - 0x80]
mov dword [rsp + 0x40], 0x20
lea r8, [rbp - 0x70]
mov dword [rsp + 0x38], esi
lea rcx, [rbp + 0x5f0]
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov qword [rsp + 0x20], r14
mov dword [rbp - 0x70], 0x30
mov qword [rbp - 0x68], r14
mov dword [rbp - 0x58], 0x240
mov qword [rbp - 0x60], rax
movdqu xmmword [rbp - 0x50], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
js 0x140014a1e
mov ebx, 0x400
mov qword [rbp + 0x5f8], r14
mov r8d, ebx
lea rcx, [rbp - 0x40]
xor edx, edx
call fcn.140034240
mov rcx, qword [rbp + 0x5f0]
lea rax, [rbp + 0x5f8]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rax, [rbp - 0x40]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
test eax, eax
js 0x140014a1e
cmp qword [rsp + 0x78], rbx
jne 0x140014a1e
mov eax, 0x5a4d
cmp ax, word [rbp - 0x40]
jne 0x140014a1e
movsxd rax, dword [rbp - 4]
lea rbx, [rbp - 0x40]
add rbx, rax
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140014a1e
lea rax, [rbp + 0x3c0]
cmp rbx, rax
jae 0x140014a1e
cmp dword [rbx], 0x4550
jne 0x140014a1e
lea rax, [rbx + 0x108]
lea rcx, [rbp + 0x3c0]
cmp rax, rcx
jae 0x140014a1e
lea rcx, [rbx + 0x18]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140014a1e
movzx eax, word [rbx + 4]
mov ecx, 0x14c
cmp cx, ax
jne 0x1400149f5
cmp dword [rbx + 0x98], r14d
je 0x1400149f2
cmp dword [rbx + 0x9c], r14d
jne 0x1400149f5
mov sil, r14b
mov ecx, 0x200
cmp cx, ax
je 0x140014a09
mov ecx, 0x8664
cmp cx, ax
jne 0x140014a1e
cmp dword [rbx + 0xa8], r14d
je 0x140014a1b
cmp dword [rbx + 0xac], r14d
jne 0x140014a1e
mov sil, r14b
mov rcx, qword [rbp + 0x5f0]
test rcx, rcx
je 0x140014a30
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0x6d0]
mov al, sil
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret