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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
xor ebx, ebx
cmp qword [0x14009efc0], rbx
jne 0x14001d288
call fcn.14001e8b0
mov ecx, eax
mov eax, 0x3fab
cmp ecx, eax
jb 0x14001d288
mov dword [rbp - 9], 0xb8988b48
mov dword [rbp - 5], 0x48000000
mov word [rbp - 1], 0x1d33
je 0x14001d1bd
cmp ecx, 0x42ee
je 0x14001d1bd
cmp ecx, 0x4563
je 0x14001d1bd
lea eax, [rcx - 0x47ba]
cmp eax, 1
jbe 0x14001d1bd
lea eax, [rcx - 0x4a61]
cmp eax, 4
jbe 0x14001d1bd
cmp ecx, 0x55f0
je 0x14001d1bd
cmp ecx, 0x585d
jne 0x14001d288
mov rax, qword [0x14009ef90]
test rax, rax
jne 0x14001d258
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x17], 0x6d004d
lea rcx, [rbp + 7]
mov dword [rbp + 0x1b], 0x6e0055
mov dword [rbp + 0x1f], 0x650073
mov dword [rbp + 0x23], 0x750063
mov dword [rbp + 0x27], 0x650072
mov dword [rbp + 0x2b], 0x690056
mov dword [rbp + 0x2f], 0x740072
mov dword [rbp + 0x33], 0x610075
mov dword [rbp + 0x37], 0x4d006c
mov dword [rbp + 0x3b], 0x6d0065
mov dword [rbp + 0x3f], 0x72006f
mov dword [rbp + 0x43], 0x79
mov word [rbp + 0x47], bx
mov word [rbp + 7], bx
mov qword [rbp + 9], rax
mov dword [rbp + 0x11], eax
mov word [rbp + 0x15], ax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp + 7]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x14009ef90], rax
test rax, rax
je 0x14001d288
mov r9d, 0xa
mov byte [rsp + 0x20], bl
lea r8, [rbp - 9]
mov edx, 0x150
mov rcx, rax
call fcn.14001df34
test rax, rax
je 0x14001d288
movsxd rcx, dword [rax + 0xa]
mov rax, qword [rcx + rax + 0xe]
mov qword [0x14009efc0], rax
mov rax, qword [0x14009efc0]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret

Function at 0x14001d408
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
xor ebx, ebx
mov dword [rbp - 0x20], 0x690077
xor edx, edx
mov word [rbp - 4], bx
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1c], 0x33006e
mov dword [rbp - 0x18], 0x6b0032
mov dword [rbp - 0x14], 0x610062
mov dword [rbp - 0x10], 0x650073
mov dword [rbp - 0xc], 0x73002e
mov dword [rbp - 8], 0x730079
call fcn.140016988
mov rdi, rax
test rax, rax
je 0x14001d48c
mov rcx, rax
call fcn.140012568
test al, al
je 0x14001d48c
movdqa xmm0, xmmword [str.gTimerHashTable]
lea rdx, [rbp - 0x30]
mov rcx, rdi
movdqu xmmword [rbp - 0x30], xmm0
call fcn.14001f14c
mov rbx, rax
mov rdi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x14001d7f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14009ef88]
xor r11d, r11d
test rax, rax
jne 0x14001d881
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x6d004d
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x2c], 0x650053
mov dword [rbp - 0x28], 0x750063
mov dword [rbp - 0x24], 0x650072
mov dword [rbp - 0x20], 0x690056
mov dword [rbp - 0x1c], 0x740072
mov dword [rbp - 0x18], 0x610075
mov dword [rbp - 0x14], 0x4d006c
mov dword [rbp - 0x10], 0x6d0065
mov dword [rbp - 0xc], 0x72006f
mov dword [rbp - 8], 0x79
mov word [rbp - 4], r11w
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x14009ef88], rax
add rsp, 0x60
pop rbp
ret

Function at 0x14001d888
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14009ef98]
xor ebx, ebx
test rax, rax
jne 0x14001d97a
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x6d004d
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x3c], 0x650053
mov dword [rbp - 0x38], 0x750063
mov dword [rbp - 0x34], 0x650072
mov dword [rbp - 0x30], 0x690056
mov dword [rbp - 0x2c], 0x740072
mov dword [rbp - 0x28], 0x610075
mov dword [rbp - 0x24], 0x4d006c
mov dword [rbp - 0x20], 0x6d0065
mov dword [rbp - 0x1c], 0x72006f
mov dword [rbp - 0x18], 0x450079
mov dword [rbp - 0x14], 0x78
mov word [rbp - 0x10], bx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x14009ef98], rax
test rax, rax
jne 0x14001d97a
call fcn.14001d7f8
test rax, rax
je 0x14001d973
lea r9d, [rbx + 8]
mov dword [rbp + 0x10], 0xc0440f44
lea r8, [rbp + 0x10]
mov dword [rbp + 0x14], 0xe8c93345
lea edx, [rbx + 0x50]
mov byte [rsp + 0x20], bl
mov rcx, rax
call fcn.14001df34
test rax, rax
je 0x14001d973
movsxd rcx, dword [rax + 8]
add rax, 0xc
add rax, rcx
mov qword [0x14009ef98], rax
jmp 0x14001d97a
mov rax, qword [0x14009ef98]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x14001e140
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
call fcn.14001d9e0
mov rdi, rax
test rax, rax
je 0x14001e18f
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
lea ecx, [rbx + 4]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x14001e18f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rdi]
sub rcx, qword [rsp + 0x30]
cmp rcx, 0x800
cmova ecx, ebx
mov ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
xor r12d, r12d
mov ebx, r12d
mov dword [rbp + 0x60], ebx
mov rsi, cr8
mov byte [rbp + 0x48], r12b
call fcn.14001d9d8
mov edi, eax
lea eax, [rdi - 0x1001]
cmp eax, 0xbfff
ja 0x14001e4e5
lea rdx, [rbp + 0x50]
mov dword [rbp + 0x50], r12d
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x610068
mov dword [rbp - 0x3c], 0x2e006c
mov dword [rbp - 0x38], 0x6c0064
mov dword [rbp - 0x34], 0x6c
call fcn.140016988
mov r14, rax
cmp dword [rbp + 0x50], r12d
je 0x14001e4e5
test rax, rax
je 0x14001e4e5
lea rdx, [rbp + 0x58]
mov dword [rbp + 0x58], r12d
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x74006e
mov dword [rbp - 0x2c], 0x73006f
mov dword [rbp - 0x28], 0x72006b
mov dword [rbp - 0x24], 0x6c006e
mov dword [rbp - 0x20], 0x65002e
mov dword [rbp - 0x1c], 0x650078
mov word [rbp - 0x18], r12w
call fcn.140016988
mov r15, rax
cmp dword [rbp + 0x58], r12d
je 0x14001e4e5
test rax, rax
je 0x14001e4e5
lea ecx, [r12 + 2]
cmp sil, cl
jae 0x14001e3fc
mov rsi, cr8
mov cr8, rcx
mov byte [rbp + 0x48], 1
mov ecx, dword gs:[0x1a4]
call fcn.1400124f0
mov qword [rbp - 0x48], rax
mov rcx, rax
test rax, rax
je 0x14001e4d7
mov rax, rdi
add rax, 0xfffffffffffffff8
mov qword [rbp - 0x50], rax
je 0x14001e4d7
mov rax, r12
mov rdi, qword [rax + rcx]
mov rcx, rdi
lea rax, [rdi + 0x18]
mov qword [rbp - 0x58], rax
lea r12, [rdi + 0x58]
lea r13, [rdi + 0x5c]
call fcn.14001f944
test al, al
je 0x14001e4b5
mov rcx, rdi
call fcn.140012568
test al, al
je 0x14001e4b5
mov rcx, r12
call fcn.140012568
test al, al
je 0x14001e4b5
mov rcx, r13
call fcn.140012568
test al, al
je 0x14001e4b5
mov rdi, qword [rbp - 0x58]
mov rcx, rdi
call fcn.140012568
test al, al
je 0x14001e4b5
cmp dword [r12], 0xfe
jne 0x14001e4b5
cmp byte [r13], 0xf
jne 0x14001e4b5
mov rcx, qword [rdi]
cmp rcx, r14
jb 0x14001e4a5
mov eax, dword [rbp + 0x50]
add rax, r14
cmp rcx, rax
jb 0x14001e4c9
cmp rcx, r15
jb 0x14001e4b5
mov eax, dword [rbp + 0x58]
add rax, r15
cmp rcx, rax
jb 0x14001e4c9
add ebx, 8
mov eax, ebx
cmp rax, qword [rbp - 0x50]
jae 0x14001e4d1
mov rcx, qword [rbp - 0x48]
jmp 0x14001e42d
add ebx, 0xfffff810
jmp 0x14001e4d4
mov ebx, dword [rbp + 0x60]
xor r12d, r12d
cmp byte [rbp + 0x48], r12b
je 0x14001e4e5
movzx ecx, sil
mov cr8, rcx
mov eax, ebx
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001ee20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
and qword [rbp - 0x19], 0
mov r14, r8
mov esi, r9d
mov rdi, rdx
mov ebx, 0xc000000d
test rcx, rcx
je 0x14001ef89
test rdx, rdx
je 0x14001ef89
test r8, r8
je 0x14001ef89
mov rdx, rcx
lea rcx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rbp + 0x17], 0
lea rax, [rbp - 1]
xorps xmm0, xmm0
mov qword [rbp + 0x1f], rax
lea r8, [rbp + 0xf]
mov dword [rbp + 0xf], 0x30
mov edx, 0x20019
mov dword [rbp + 0x27], 0x40
lea rcx, [rbp - 0x19]
movdqu xmmword [rbp + 0x2f], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov ebx, eax
test eax, eax
js 0x14001ef7a
mov rdx, rdi
lea rcx, [rbp - 0x11]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rbp - 0x19]
lea rax, [rbp + 0x67]
and dword [rbp + 0x67], 0
lea rdx, [rbp - 0x11]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ecx, 0xc0000023
mov ebx, eax
cmp eax, ecx
jne 0x14001ef7a
mov edx, dword [rbp + 0x67]
lea rax, [rsi + 0xd]
cmp rax, rdx
jae 0x14001ef08
mov ebx, ecx
jmp 0x14001ef7a
mov ecx, 0x200
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdi, rax
test rax, rax
je 0x14001ef7a
mov ecx, dword [rbp + 0x67]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x11]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov rcx, qword [rbp - 0x19]
mov r8d, 2
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
test eax, eax
js 0x14001ef6f
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.140034240
mov eax, dword [rdi + 8]
lea r8, [rsi - 2]
cmp rax, r8
lea rdx, [rdi + 0xc]
mov rcx, r14
cmovb r8, rax
call fcn.140034340
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14001ef89
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001f14c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x14001f22d
test rdx, rdx
je 0x14001f22d
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rdx + rsi], dil
jne 0x14001f186
cmp esi, 0x40
ja 0x14001f22d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f22d
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14001f22d
mov ecx, 0x20b
cmp word [rax + rbx + 0x18], cx
jne 0x14001f1c8
mov ecx, dword [rax + rbx + 0x88]
jmp 0x14001f1cc
mov ecx, dword [rax + rbx + 0x78]
mov r15d, ecx
mov ebp, edi
mov ecx, dword [r15 + rbx + 0x20]
mov r12d, dword [r15 + rbx + 0x1c]
add rcx, rbx
mov r13d, dword [r15 + rbx + 0x24]
add r12, rbx
add r13, rbx
mov qword [rsp + 0x50], rcx
cmp dword [r15 + rbx + 0x14], edi
jbe 0x14001f22d
mov eax, ebp
mov ecx, dword [rcx + rax*4]
add rcx, rbx
je 0x14001f20e
mov r8d, esi
mov rdx, r14
call fcn.140022560
test eax, eax
je 0x14001f21e
inc ebp
cmp ebp, dword [r15 + rbx + 0x14]
jae 0x14001f22d
mov rcx, qword [rsp + 0x50]
jmp 0x14001f1f5
mov eax, ebp
movzx ecx, word [r13 + rax*2]
mov edi, dword [r12 + rcx*4]
add rdi, rbx
mov rbx, qword [rsp + 0x58]
mov rax, rdi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14001f250
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x14001f2a9
lea edx, [rbx + 0x40]
call fcn.14001f8e4
test al, al
je 0x14001f2a9
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14001f2a9
movsxd rax, dword [rdi + 0x3c]
cmp eax, 0x400
jg 0x14001f2a9
lea rsi, [rdi + rax]
mov edx, 0xf8
mov rcx, rsi
call fcn.14001f8e4
test al, al
je 0x14001f2a9
cmp dword [rsi], 0x4550
cmove rbx, rsi
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f2bc
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r13, rdx
mov r15, rcx
xor dil, dil
mov byte [rax - 0x28], dil
test rcx, rcx
je 0x14001f3a9
test rdx, rdx
je 0x14001f3a9
test r8, r8
je 0x14001f3a9
call fcn.14001f250
mov rsi, rax
test rax, rax
je 0x14001f3a9
mov rcx, rsi
call fcn.140012568
test al, al
je 0x14001f3a9
movzx eax, word [rsi + 0x14]
lea rbx, [rsi + 0x18]
add rbx, rax
mov qword [rsp + 0x28], rbx
je 0x14001f3a9
and dword [rsp + 0x24], 0
xor r14d, r14d
mov dword [rsp + 0x24], r14d
movzx eax, word [rsi + 6]
cmp r14d, eax
jge 0x14001f3a2
mov rcx, rbx
call fcn.140012568
test al, al
je 0x14001f3a2
lea rcx, [rbx + 0x27]
call fcn.140012568
test al, al
je 0x14001f3a2
mov eax, dword [rbx]
cmp eax, dword [0x140036020]
jne 0x14001f394
mov al, byte [rbx + 4]
cmp al, byte [0x140036024]
jne 0x14001f394
mov eax, dword [rbx + 0xc]
add rax, r15
mov qword [r13], rax
mov eax, dword [rbx + 8]
mov dword [r12], eax
mov dil, 1
mov byte [rsp + 0x20], dil
inc r14d
add rbx, 0x28
mov qword [rsp + 0x28], rbx
jmp 0x14001f33f
jmp 0x14001f3a9
mov al, dil
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x14001fb30
Capabilities:
Map section object

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0xe0
mov r14, r8
mov esi, edx
mov rdi, rcx
and qword [rsp + 0x58], 0
movups xmm0, xmmword [0x140035c50]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140035c60]
movups xmmword [r11 - 0x68], xmm1
movsd xmm0, qword [0x140035c70]
movsd qword [r11 - 0x58], xmm0
mov eax, dword [0x140035c78]
mov dword [r11 - 0x50], eax
movzx eax, word [0x140035c7c]
mov word [r11 - 0x4c], ax
and qword [r11 + 0x20], 0
lea rdx, [r11 - 0x78]
lea rcx, [r11 - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0xb0], 0x30
and qword [rsp + 0xb8], 0
mov dword [rsp + 0xc8], 0x40
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
lea r8, [rsp + 0xb0]
mov edx, 0xf001f
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov ebx, eax
test eax, eax
jne 0x14001fc89
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x48], 4
and dword [rsp + 0x40], eax
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x108]
or rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov ebx, eax
test eax, eax
jne 0x14001fc89
mov rax, qword [rsp + 0x108]
test rax, rax
je 0x14001fc89
sub edi, dword [rsp + 0x60]
mov edx, edi
add rdx, rax
mov r8d, esi
mov rcx, r14
call fcn.140034340
mov dword [rsp + 0x50], ebx
jmp 0x14001fc89
mov rax, qword [rsp + 0x108]
test rax, rax
je 0x14001fca3
mov rdx, rax
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001fcb3
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x14002000c
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, r9
mov r13, r8
mov r15, rdx
or r14d, 0xffffffff
mov dword [rax - 0x44], r14d
test rdx, rdx
je 0x14002013f
test r8, r8
je 0x14002013f
test r9, r9
je 0x14002013f
mov rcx, rdx
call fcn.14001f250
mov rsi, rax
test rax, rax
je 0x14002013f
mov rcx, rsi
call fcn.140012568
test al, al
je 0x14002013f
movzx eax, word [rsi + 0x14]
lea rdx, [rsi + 0x18]
add rdx, rax
mov qword [rsp + 0x28], rdx
je 0x14002013f
movzx eax, word [rsi + 6]
mov edi, dword [rsp + 0x90]
cmp edi, eax
ja 0x14002013f
mov dword [rsp + 0x20], edi
lea rcx, [rdi + rdi*4]
lea rbx, [rdx + rcx*8]
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rbx
movzx eax, word [rsi + 6]
cmp edi, eax
jae 0x140020138
mov rcx, rbx
call fcn.140012568
test al, al
je 0x140020138
lea rcx, [rbx + 0x27]
call fcn.140012568
test al, al
je 0x140020138
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x31], rax
mov byte [rsp + 0x39], al
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
lea r8, [rsp + 0x30]
sub r8, rax
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x14002010f
inc rax
test edx, edx
jne 0x1400200fc
test ecx, ecx
jne 0x14002012d
mov eax, dword [rbx + 0xc]
add rax, r15
mov qword [r13], rax
mov eax, dword [rbx + 8]
mov dword [r12], eax
mov r14d, edi
mov dword [rsp + 0x24], edi
jmp 0x140020138
inc edi
add rbx, 0x28
jmp 0x1400200ad
jmp 0x14002013f
mov eax, r14d
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14002333c
Capabilities:
Map section object

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x80
mov rsi, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140023441
test rdx, rdx
je 0x140023441
test r8, r8
je 0x140023441
test r9, r9
je 0x140023441
mov rax, qword [r9]
lea rcx, [r11 - 0x30]
xor edx, edx
mov qword [r11 + 8], rax
lea r8d, [rdx + 0x28]
call fcn.140034240
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x90]
and qword [rsp + 0x58], 0
lea r8, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x8000000
mov edx, 6
mov dword [rsp + 0x50], 0x30
mov rcx, rbx
mov dword [rsp + 0x68], 0x240
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
mov edi, eax
test eax, eax
js 0x14002344a
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x90], 0
mov r8, rbp
mov dword [rsp + 0x48], 4
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], 0x100000
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edi, eax
test eax, eax
js 0x14002344a
jmp 0x140023446
mov edi, 0xc000000d
test edi, edi
jns 0x14002345c
test rbx, rbx
je 0x14002345c
mov rcx, qword [rbx]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
and qword [rbx], 0
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140023478
Capabilities:
Map section object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
mov rsi, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140023553
test rdx, rdx
je 0x140023553
test r8, r8
je 0x140023553
test r9, r9
je 0x140023553
xor edx, edx
lea rcx, [rax - 0x30]
lea r8d, [rdx + 0x28]
call fcn.140034240
and qword [rsp + 0x58], 0
lea r8, [rsp + 0x50]
and qword [rbx], 0
xorps xmm0, xmm0
mov edx, 6
mov dword [rsp + 0x50], 0x30
mov rcx, rbx
mov dword [rsp + 0x68], 0x240
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rdi
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov edi, eax
test eax, eax
js 0x14002355c
mov rcx, qword [rbx]
xor r9d, r9d
mov dword [rsp + 0x48], 4
mov r8, rbp
mov dword [rsp + 0x40], 0x100000
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edi, eax
test eax, eax
js 0x14002355c
jmp 0x140023558
mov edi, 0xc000000d
test edi, edi
jns 0x14002356e
test rbx, rbx
je 0x14002356e
mov rcx, qword [rbx]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
and qword [rbx], 0
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002358c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rsp + 0x30], 0
mov rsi, rcx
test rcx, rcx
jne 0x1400235af
mov ebx, 0xc000000d
jmp 0x140023626
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ebx, eax
test eax, eax
je 0x1400235d0
cmp eax, 0xc0000004
jne 0x140023626
mov edx, dword [rsp + 0x30]
xor ecx, ecx
mov r8d, 0x746d6d6e
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
jne 0x1400235f1
mov ebx, 0xc00000a0
jmp 0x140023626
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rdx, rdi
xor ecx, ecx
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ebx, eax
test eax, eax
jne 0x140023618
mov ecx, dword [rdi + 0x14]
mov eax, dword [rdi + 8]
inc ecx
imul rcx, rax
mov qword [rsi], rcx
mov edx, 0x746d6d6e
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400236fc
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
and qword [rsp + 0x30], 0
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rdi, rax
mov ebx, 0x10
cmp rdi, rbx
je 0x140023754
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140023754
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessExitStatus]
cmp eax, 0x103
je 0x140023761
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
and qword [rsp + 0x30], 0
add rbx, 4
cmp rbx, 0x1388
jb 0x14002371a
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret