joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018b640
Capabilities:
Get user security identifier

Disassembly:
push r12
push r14
push r15
sub rsp, 0x60
movzx eax, word [rcx]
mov r15, r9
mov word [rsp + 0x38], ax
mov r14, r8
add ax, 2
mov r12, rdx
cmp qword [rcx], 0xfffe
mov word [rsp + 0x3a], ax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
jbe 0x14018b686
mov eax, 0xc0000106
add rsp, 0x60
pop r15
pop r14
pop r12
ret
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x50], r13
call fcn.14018b1a0
lea rcx, [rsp + 0x80]
xor r13d, r13d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x80], r13
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_LsaLookupNames2]
mov rdx, qword ds:[rsp + 0x80]
mov ebp, eax
test eax, eax
js 0x14018b807
mov ecx, dword [rdx]
sub ecx, 7
cmp ecx, 1
jbe 0x14018b802
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x58], rdi
test r12, r12
je 0x14018b752
mov rsi, qword [rdx + 8]
mov edx, 4
movzx ecx, byte [rsi + 1]
lea rdi, [rcx*4 + 8]
mov rcx, qword [0x1402c6140]
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.14020c7e0
mov rdx, qword [rsp + 0x80]
mov qword [r12], rbx
test r14, r14
je 0x14018b7e1
movsxd rax, dword ds:[rdx + 0x10]
test eax, eax
js 0x14018b7d1
lea rdx, [rax + rax*2]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
lea rax, [rcx + rdx*8]
movzx ecx, word [rcx + rdx*8]
test cx, cx
jne 0x14018b78d
nop
call sym.SystemInformer.exe_Ordinal_1430
mov rbx, rax
mov qword [r14], rax
jmp 0x14018b7d9
mov rdx, qword [0x1402c5ff0]
mov rdi, rcx
mov rsi, qword [rax + 8]
add rcx, 0x12
call sym.SystemInformer.exe_Ordinal_1240
mov rbx, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rdi], r13w
test rsi, rsi
je 0x14018b7cc
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.14020c7e0
mov qword [r14], rbx
jmp 0x14018b7d9
call sym.SystemInformer.exe_Ordinal_1430
mov qword [r14], rax
mov rdx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x88]
test r15, r15
je 0x14018b807
mov eax, dword [rdx]
mov dword [r15], eax
jmp 0x14018b807
mov ebp, 0xc0000073
mov rcx, qword [rsp + 0x30]
mov r13, qword [rsp + 0x50]
test rcx, rcx
je 0x14018b824
call qword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14018b832
mov rcx, rdx
call qword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
mov eax, ebp
mov rbp, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop r12
ret
Function at 0x14018d260
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.14018b0c0
mov edx, dword [rbx + 2]
cmp edx, dword [rax + 2]
jne 0x14018d372
movzx edx, word [rbx + 6]
cmp dx, word [rax + 6]
jne 0x14018d372
cmp dword ds:[rbx + 8], 1
jne 0x14018d372
mov eax, dword [rbx + 0xc]
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x2c], eax
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x34], eax
call sym.SystemInformer.exe_Ordinal_1621
mov rbx, rax
test rax, rax
je 0x14018d372
mov rdx, qword [0x1402c5ff0]
mov qword [rsp + 0x58], rbp
mov rbp, qword [rax + 8]
mov qword [rsp + 0x60], rsi
mov rsi, qword [rax]
and rsi, 0xfffffffffffffffe
mov qword [rsp + 0x68], rdi
sub rsi, 4
lea rcx, [rsi + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rsi
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rsi], ax
add rbp, 2
je 0x14018d335
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbp
call fcn.14020c7e0
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
cmp eax, 1
jne 0x14018d357
call fcn.140143da0
mov rax, rdi
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0x40
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0x40
pop rbx
ret

Function at 0x14018e7e0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rdx
mov qword [rsp + 0x28], 0
mov rdx, rcx
mov qword [rsp + 0x20], 0x30
mov rcx, 0xffffffffffffffff
lea r9, [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
js 0x14018e86d
mov rdx, qword [rsp + 0x38]
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14018e86d
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14018e86d
mov r8, qword [rax + rdx + 0xe8]
mov rcx, r8
shr rcx, 0x20
test r8d, r8d
je 0x14018e86d
test ecx, ecx
je 0x14018e86d
mov eax, r8d
add rax, rdx
cmp rbx, rax
jb 0x14018e86d
add ecx, r8d
add rcx, rdx
cmp rbx, rcx
jae 0x14018e86d
mov al, 1
add rsp, 0x60
pop rbx
ret
xor al, al
add rsp, 0x60
pop rbx
ret

Function at 0x14018eae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x1402ca228]
test rbx, rbx
je 0x14018eb5d
mov qword [rsp + 0x58], rdi
xor edi, edi
nop dword [rax]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], edi
mov r9d, 0x20
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x48], 0x10000
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov r8d, 0x10000
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtFlushInstructionCache]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14018eb00
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
Function at 0x14018eb80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x14018eba2
sub rbx, rax
add rbx, 0x10000
mov qword [rsp + 0x80], rsi
cmp rbx, rdi
jae 0x14018eca9
xor esi, esi
nop word [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x14018ebdb
add rbx, 0x8000000
jmp 0x14018ec9a
xorps xmm0, xmm0
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0x30
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
js 0x14018eca9
cmp dword [rsp + 0x50], 0x10000
mov rcx, qword [rsp + 0x48]
jne 0x14018ec7f
cmp rcx, 0x10000
jb 0x14018ec7f
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0x78]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], 0x10000
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x70], rbx
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
jns 0x14018ecc1
cmp eax, 0xc0000604
je 0x14018eca9
add rbx, 0x10000
jmp 0x14018ec9a
mov rbx, qword [rsp + 0x30]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14018ec9a
mov eax, 0x10000
sub rax, rcx
add rbx, rax
nop word [rax + rax]
cmp rbx, rdi
jb 0x14018ebc0
xor eax, eax
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
mov rax, qword [rsp + 0x70]
jmp 0x14018ecab

Function at 0x14018ece0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x14018ee09
xor esi, esi
nop dword [rax]
nop dword [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x14018ed3b
sub rbx, 0x8000000
jmp 0x14018edf8
xorps xmm0, xmm0
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0x30
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
js 0x14018ee09
cmp dword [rsp + 0x50], 0x10000
jne 0x14018eddc
cmp qword [rsp + 0x48], 0x10000
jb 0x14018eddc
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0x78]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], 0x10000
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x70], rbx
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
jns 0x14018ee1d
cmp eax, 0xc0000604
je 0x14018ee09
sub rbx, 0x10000
jmp 0x14018edf8
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
nop dword [rax + rax]
cmp rbx, rdi
ja 0x14018ed20
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rax, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140196f40
Capabilities:
Get file attributes

Disassembly:
push rsi
sub rsp, 0x80
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rdx
mov dword [rsp + 0x30], 0x60
mov rdx, rcx
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], 5
mov r9d, 0x80
mov r8d, 0x120089
call sym.SystemInformer.exe_Ordinal_1467
test eax, eax
jns 0x140196f98
lfence
jmp 0x14019703c
mov qword [rsp + 0xa8], rdi
lea r8, [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rdi
mov dword [rsp + 0x20], 5
mov r9d, 0x18
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x140196fed
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x48], xmm0
cmp qword [rsp + 0x50], 0
jne 0x140196fed
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, 0xc0000011
jmp 0x140197034
mov rdx, rdi
mov qword [rsp + 0xa0], rbx
call fcn.1401dc4e0
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtClose]
test rbx, rbx
je 0x140197027
cmp dword [rbx], 0
jne 0x14019701f
test rsi, rsi
je 0x14019701b
mov qword [rsi], rbx
xor eax, eax
jmp 0x14019702c
mov rcx, rbx
call fcn.1401df8a0
mov eax, 0xc0000102
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0x80
pop rsi
ret
Function at 0x140197060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov r15, rdx
lea rax, [0x1402c2690]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x39]
lea rax, [fcn.1401dedb0]
mov rdi, rcx
xor r12d, r12d
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x39], r12
mov rcx, r15
mov qword [rbp - 0x31], r12
mov r14, r8
call fcn.1401def60
test eax, eax
jns 0x1401970c4
mov ebx, 0xffffffff
jmp 0x1401970f5
mov rbx, qword [rbp - 0x39]
jle 0x1401970de
cmp rbx, qword [rbp - 0x31]
jae 0x1401970d7
mov byte [rbx], 0xa
mov rbx, qword [rbp - 0x39]
inc rbx
mov qword [rbp - 0x39], rbx
nop
cmp rbx, qword [rbp - 0x31]
jae 0x1401970ed
mov byte [rbx], r12b
mov rbx, qword [rbp - 0x39]
test ebx, ebx
je 0x14019724c
mov rcx, qword [0x1402c6140]
xor edx, edx
movsxd r8, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x14019724c
mov r9, r14
mov r8d, ebx
mov rdx, rax
mov rcx, r15
call fcn.1401dc560
movsxd r14, eax
test eax, eax
jne 0x140197136
mov ebx, 0xc0000001
jmp 0x140197236
mov rcx, rdi
mov qword [rbp + 0x7f], r14
call fcn.14016d300
mov ebx, eax
test eax, eax
js 0x140197236
movzx eax, word [rdi]
mov word [rbp - 0x29], ax
add ax, 2
cmp qword [rdi], 0xfffe
mov word [rbp - 0x27], ax
mov rax, qword [rdi + 8]
mov qword [rbp - 0x21], rax
jbe 0x140197179
mov ebx, 0xc0000106
jmp 0x140197236
mov dword ss:[rsp + 0x50], r12d
lea rax, [rbp - 0x29]
mov qword [rsp + 0x48], r12
lea r9, [rbp - 0x19]
mov dword [rsp + 0x40], 0x60
lea r8, [rbp + 7]
mov dword [rsp + 0x38], 5
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
mov dword [rsp + 0x30], r12d
lea rax, [rbp + 0x7f]
mov dword [rsp + 0x28], 0x80
mov edx, 0x120116
mov qword [rsp + 0x20], rax
mov dword [rbp + 7], 0x30
mov qword [rbp + 0xf], r12
mov dword [rbp + 0x1f], 0x40
movdqu xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
mov rdi, r12
mov ebx, eax
cmovns rdi, qword [rbp - 0x39]
js 0x140197228
mov qword ss:[rsp + 0x40], r12
lea rax, [rbp - 9]
mov qword [rsp + 0x38], r12
xor r9d, r9d
mov dword [rsp + 0x30], r14d
xor r8d, r8d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov ebx, eax
test rdi, rdi
je 0x140197236
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [0x1402c6140]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
jmp 0x140197251
mov eax, 0xc0000001
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401977c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov r9, rcx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], r8
cmp r8, 0x40
jae 0x1401977df
mov eax, 0xc000001f
add rsp, 0x28
ret
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1401978f2
lea rax, [rdx + 0x40]
cmp rax, rdx
jb 0x1401978e4
lea r10, ds:[rdx + r8]
cmp rax, r10
ja 0x1401978e4
mov eax, 0x5a4d
cmp word [rdx], ax
je 0x14019781d
mov eax, 0xc000012f
add rsp, 0x28
ret
lfence
movsxd rax, dword [rdx + 0x3c]
cmp rax, r8
jae 0x1401978da
cmp rax, 0x10000000
jae 0x1401978da
lea r8, [rax + rdx]
lea r11, [r8 + 0x18]
cmp r11, r8
jb 0x1401978cc
cmp r8, rdx
jb 0x1401978cc
cmp r11, r10
ja 0x1401978cc
movzx eax, word [r8 + 6]
lea rcx, [rax + rax*4]
movzx eax, word [r8 + 0x14]
lea rax, [rax + rcx*8]
add rax, 0x18
add rax, r8
cmp rax, r8
jb 0x1401978c1
cmp rax, r10
ja 0x1401978c1
cmp dword ds:[r8], 0x4550
jne 0x1401978da
movzx eax, word [r11]
mov word [r9 + 0x30], ax
mov ecx, 0x10b
sub ax, cx
mov ecx, 0xfeff
test cx, ax
jne 0x1401978da
mov qword [r9 + 0x18], r8
movzx eax, word [r8 + 6]
mov dword [r9 + 0x20], eax
movzx ecx, word [r8 + 0x14]
add rcx, 0x18
add rcx, r8
mov qword [r9 + 0x28], rcx
xor eax, eax
add rsp, 0x28
ret
mov ecx, 0xc0000005
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov ecx, 0xc0000005
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
nop
jmp 0x1401978f7
mov eax, 0xc000007b
add rsp, 0x28
ret
mov ecx, 0xc0000005
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
nop
jmp 0x1401978f7
mov eax, 0xc000000d
add rsp, 0x28
ret
Function at 0x140197900
Capabilities:
Get file attributes
Map section object

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r12b, r12b
mov qword [rbp - 0x49], rdx
xor r13d, r13d
mov rsi, r8
mov rdi, rdx
test rdx, rdx
jne 0x140197994
test rcx, rcx
jne 0x140197946
mov eax, 0xc0000030
jmp 0x140197b08
mov qword ss:[rsp + 0x40], r13
mov rdx, rcx
mov dword [rsp + 0x38], 0x60
lea rcx, [rbp - 0x49]
mov dword [rsp + 0x30], 1
xor r9d, r9d
mov dword [rsp + 0x28], 5
mov r8d, 0x100081
mov dword [rsp + 0x20], 0x80
call sym.SystemInformer.exe_Ordinal_1469
test eax, eax
js 0x140197b08
mov rdi, qword [rbp - 0x49]
mov r12b, 1
mov qword [rsp + 0x138], rbx
lea r8, [rbp - 1]
mov qword [rsp + 0xe8], r14
lea rdx, [rbp - 0x49]
mov r9d, 0x18
mov qword [rsp + 0xe0], r15
mov rcx, rdi
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov ebx, eax
test eax, eax
js 0x140197aa2
movups xmm0, xmmword [rbp - 1]
mov qword [rsp + 0x30], rdi
lea r9, [rbp - 0x61]
mov dword [rsp + 0x28], 0x8000000
lea r8, [rbp - 0x31]
movups xmmword [rbp - 0x49], xmm0
mov rax, qword [rbp - 0x41]
lea rcx, [rbp - 0x59]
xorps xmm0, xmm0
mov qword [rbp - 0x61], rax
mov edx, 5
mov dword [rbp - 0x31], 0x30
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x19], 0x20
mov qword [rbp - 0x21], r13
mov dword [rsp + 0x20], 2
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
test eax, eax
js 0x140197aa2
mov rax, qword ds:[rbp - 0x61]
lea r8, [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
xor r9d, r9d
mov dword [rsp + 0x48], 2
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], 2
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov qword [rbp - 0x51], r13
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rbp - 0x59]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x140197aa2
mov r14, qword ds:[rbp - 0x51]
mov r15, qword [rbp - 0x61]
jmp 0x140197aaa
mov r14, qword [rbp - 0x69]
mov r15, qword [rbp - 0x69]
test r12b, r12b
je 0x140197ab8
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x140197aee
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.1401977c0
mov ebx, eax
test eax, eax
jns 0x140197af0
cmp qword [rsi + 8], r13
je 0x140197af0
lfence
mov rdx, qword [rsi + 8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov qword [rsi + 8], r13
mov eax, ebx
mov r14, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0x138]
mov r15, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0xf0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140197b40
Capabilities:
Get file attributes
Map section object

Disassembly:
push rbp
push rdi
push r12
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xf8
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r12b, r12b
mov qword [rbp - 0x49], rdx
mov rdi, r8
mov r15, rdx
test rdx, rdx
jne 0x140197bc4
test rcx, rcx
jne 0x140197b85
mov eax, 0xc0000030
jmp 0x140197d91
mov dword [rsp + 0x30], 0x60
mov rdx, rcx
mov dword [rsp + 0x28], 1
lea rcx, [rbp - 0x49]
mov r9d, 0x80
mov dword [rsp + 0x20], 5
mov r8d, 0x100081
call sym.SystemInformer.exe_Ordinal_1467
test eax, eax
js 0x140197d91
mov r15, qword [rbp - 0x49]
mov r12b, 1
mov qword ss:[rsp + 0x138], rbx
lea r8, [rbp - 1]
mov qword [rsp + 0xf0], rsi
lea rdx, [rbp - 0x49]
mov qword [rsp + 0xe8], r13
mov r9d, 0x18
mov rcx, r15
mov qword [rsp + 0xe0], r14
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
xor r13d, r13d
mov r14d, eax
test eax, eax
js 0x140197ce2
movups xmm0, xmmword [rbp - 1]
mov qword [rsp + 0x30], r15
lea r9, [rbp - 0x61]
mov dword [rsp + 0x28], 0x8000000
lea r8, [rbp - 0x31]
movups xmmword [rbp - 0x49], xmm0
mov rax, qword [rbp - 0x41]
lea rcx, [rbp - 0x59]
xorps xmm0, xmm0
mov qword [rbp - 0x61], rax
mov edx, 5
mov dword [rbp - 0x31], 0x30
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x19], 0x20
mov qword [rbp - 0x21], r13
mov dword [rsp + 0x20], 2
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov r14d, eax
test eax, eax
js 0x140197ce2
mov rax, qword ds:[rbp - 0x61]
lea r8, [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
xor r9d, r9d
mov dword [rsp + 0x48], 2
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], 2
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov qword [rbp - 0x51], r13
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rbp - 0x59]
mov r14d, eax
call qword [sym.imp.ntdll.dll_NtClose]
test r14d, r14d
js 0x140197ce2
mov rbx, qword [rbp - 0x51]
mov rsi, qword [rbp - 0x61]
jmp 0x140197cea
mov rbx, qword [rbp - 0x69]
mov rsi, qword [rbp - 0x69]
test r12b, r12b
je 0x140197cf8
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtClose]
test r14d, r14d
js 0x140197d6e
movzx eax, word [rbx]
mov ecx, 0x457f
mov word [rdi], ax
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rsi
cmp ax, cx
je 0x140197d36
mov ecx, 0x5a4d
cmp ax, cx
je 0x140197d26
mov ebx, 0xc00001a3
jmp 0x140197d4b
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1401977c0
jmp 0x140197d45
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1401dfee0
mov ebx, eax
test eax, eax
jns 0x140197d6a
cmp qword [rdi + 8], r13
je 0x140197d6a
lfence
mov rdx, qword [rdi + 8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov qword [rdi + 8], r13
mov eax, ebx
jmp 0x140197d71
mov eax, r14d
mov r13, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x138]
mov r14, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0xf8
pop r15
pop r12
pop rdi
pop rbp
ret
Function at 0x140197dc0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
sub rsp, 0xa0
xor sil, sil
mov rbp, r8
mov rbx, rdx
test rdx, rdx
jne 0x140197e46
nop dword [rax]
test rcx, rcx
jne 0x140197df5
mov eax, 0xc0000030
add rsp, 0xa0
pop rsi
pop rbp
pop rbx
ret
mov dword [rsp + 0x30], 0x60
mov rdx, rcx
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0xc8]
mov r9d, 0x80
mov dword [rsp + 0x20], 5
mov r8d, 0x100081
call sym.SystemInformer.exe_Ordinal_1467
test eax, eax
jns 0x140197e3b
lfence
add rsp, 0xa0
pop rsi
pop rbp
pop rbx
ret
mov rbx, qword [rsp + 0xc8]
mov sil, 1
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x98], rdi
lea r9, [rsp + 0x58]
mov qword [rsp + 0x90], r14
lea r8, [rsp + 0x60]
xor r14d, r14d
mov dword [rsp + 0x28], 0x8000000
mov edx, 5
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x60], 0x30
mov dword [rsp + 0x78], 0x20
movdqu xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x58], 0x1000
mov dword [rsp + 0x20], 2
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov edi, eax
test sil, sil
je 0x140197ece
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
test edi, edi
jns 0x140197edc
lfence
mov eax, edi
jmp 0x140197f66
mov rcx, qword [rsp + 0xc0]
lea rax, [rsp + 0xd8]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0x50]
mov dword [rsp + 0x40], r14d
xor r9d, r9d
mov dword [rsp + 0x38], 2
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov qword [rsp + 0xd8], 0x1000
mov qword [rsp + 0x50], r14
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rsp + 0xc0]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x140197f51
lfence
mov eax, ebx
jmp 0x140197f66
mov r8, qword [rsp + 0xd8]
mov rcx, rbp
mov rdx, qword [rsp + 0x50]
call fcn.1401977c0
mov rdi, qword [rsp + 0x98]
mov r14, qword [rsp + 0x90]
add rsp, 0xa0
pop rsi
pop rbp
pop rbx
ret