joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180018800
Capabilities:
Create thread
Terminate process

Disassembly:
sub rsp, 0x38
mov ecx, gethostname
call fcn.180018118
mov ecx, 0x27
cmp ax, 1
jne 0x18001883a
call fcn.180018118
cmp ax, 1
jne 0x180018831
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180018824
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
call fcn.180018118
cmp ax, 1
jne 0x180018875
mov r8, qword [sym.imp.KERNEL32.dll_ExitProcess]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x180018c58
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rbp - 8], rax
lea rax, [rbp - 0x18]
lea rcx, [rbp - 0x10]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
mov dword [rbp - 0x10], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x180018ce9
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18001a200
add rsp, 0x80
pop rbp
ret
Function at 0x180018d00
Capabilities:
Impersonate user

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.180018a7c
lea rax, [0x180042770]
mov qword [rsp + 0x28], rax
mov r9d, 9
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], 3
call qword [sym.imp.ADVAPI32.dll_LogonUserA]
test eax, eax
jne 0x180018d69
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x18
mov edx, eax
call fcn.18000d3d4
jmp 0x180018e56
mov rcx, qword [0x180042770]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x180018d87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x19
jmp 0x180018d5d
mov ecx, 0x800
call fcn.180014120
mov edx, 0x200
mov rcx, rax
mov qword [0x180042790], rax
call fcn.18001423c
mov rcx, qword [0x180042790]
mov edx, 0x200
mov qword [0x180042778], rax
call fcn.18001423c
mov rcx, qword [0x180042790]
mov edx, 0x400
mov qword [0x180042780], rax
call fcn.18001423c
mov rdx, qword [0x180042780]
mov r8d, 0x100
mov rcx, rbx
mov qword [0x180042788], rax
call fcn.18000ed44
mov rdx, qword [0x180042778]
mov r8d, 0x100
mov rcx, rsi
call fcn.18000ed44
mov rdx, qword [0x180042788]
mov r8d, 0x200
mov rcx, rdi
call fcn.18000ed44
mov rcx, qword [0x180042770]
mov r8d, 0x400
mov rdx, rbx
mov dword [0x180042798], 1
call fcn.180018ecc
test eax, eax
je 0x180018e56
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rbx + rdx], 0
jne 0x180018e42
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180019054
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov esi, r8d
mov rdi, rdx
mov rbp, rcx
test r8d, r8d
je 0x1800190ae
xor r9d, r9d
mov edx, ebx
mov rcx, rbp
lea r8d, [r9 + 1]
add rdx, rdi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1800190ae
add ebx, eax
cmp ebx, 2
jb 0x1800190aa
lea eax, [rbx - 1]
cmp byte [rax + rdi], 0xa
jne 0x1800190aa
lea eax, [rbx - 2]
cmp byte [rax + rdi], 0xd
je 0x1800190c6
cmp ebx, esi
jb 0x180019078
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea ecx, [rbx - 2]
mov eax, ebx
mov byte [rcx + rdi], 0
jmp 0x1800190b1

Function at 0x18001aa00
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.18001a868

Function at 0x180022160
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180022176
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180022178
xor eax, eax
test eax, eax
je 0x180022188
mov ecx, eax
call fcn.18001bc54
or eax, 0xffffffff
jmp 0x18002218a
xor eax, eax
add rsp, 0x28
ret
Function at 0x180022190
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1800221a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800221aa
xor eax, eax
test eax, eax
je 0x1800221ba
mov ecx, eax
call fcn.18001bc54
or eax, 0xffffffff
jmp 0x1800221bc
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800221c4
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1800221da
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800221dc
xor eax, eax
test eax, eax
je 0x1800221ec
mov ecx, eax
call fcn.18001bc54
or eax, 0xffffffff
jmp 0x1800221ee
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800188f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x138
mov rax, qword [0x180034008]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r10, rcx
test rcx, rcx
je 0x180018a3b
mov eax, 0xff
lea rdx, [rsp + 0x20]
nop
mov byte [rdx], 0
lea rdx, [rdx + 1]
sub rax, 1
jne 0x180018920
movzx eax, byte [rcx]
xor edx, edx
mov r9d, edx
test al, al
je 0x180018957
lea r8, [rsp + 0x20]
sub r8, r10
cmp al, 0x2e
je 0x180018957
mov byte [r8 + rcx], al
inc r9d
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x180018941
movsxd rax, r9d
lea r8, [rax + r10]
test r8, r8
je 0x180018a3b
mov word [rsp + rax + 0x20], 0x642e
inc r8
lea eax, [r9 + 2]
movsxd rcx, eax
movzx eax, byte [r8]
mov word [rsp + rcx + 0x20], 0x6c6c
cmp al, 0x23
jne 0x1800189f8
movzx eax, byte [r8 + 1]
mov r10d, 1
cmp al, 0x2d
jne 0x1800189a1
movzx eax, byte [r8 + 2]
mov r10d, 0xffffffff
mov r9, rdx
sete r9b
inc r9
add r9, r8
cmp al, 0x30
jl 0x1800189cd
cmp al, 0x39
ja 0x1800189cd
movzx eax, al
lea edx, [rdx + rdx*4]
inc r9
lea edx, [rdx - 0x18]
lea edx, [rax + rdx*2]
movzx eax, byte [r9]
cmp al, 0x30
jge 0x1800189b2
imul r10d, edx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, r10d
call fcn.180018a60
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180019ee0
add rsp, 0x138
ret
test al, al
je 0x180018a14
nop dword [rax]
rol edx, 7
lea r8, [r8 + 1]
movsx eax, al
xor edx, eax
movzx eax, byte [r8]
test al, al
jne 0x180018a00
mov r8d, edx
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.180018a60
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180019ee0
add rsp, 0x138
ret
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180019ee0
add rsp, 0x138
ret
Function at 0x180018e60
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov rax, qword [0x18004bbc0]
test rax, rax
je 0x180018eaf
cmp r9d, 0x2bc
jg 0x180018eaf
mov qword [rsp + 0x20], rbx
movsxd rbx, r9d
mov rax, qword [rax + rbx*8]
test rax, rax
jne 0x180018ea5
lea edx, [rax + 1]
xor ecx, ecx
call fcn.180018a60
mov rcx, rax
mov rax, qword [0x18004bbc0]
mov qword [rax + rbx*8], rcx
mov rax, rcx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov edx, 1
xor ecx, ecx
add rsp, 0x28
jmp fcn.180018a60
Function at 0x180019e30
Capabilities:
Create thread
Terminate process

Disassembly:
sub rsp, 0x38
call fcn.180018ec0
xor eax, eax
lea r8, [0x180019e10]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [section.bss], 0
jne 0x180019e75
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [section.bss], 0
je 0x180019e61
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140019b40
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x140019b7d
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14007fde0
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140019c7c
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14007fde0
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x140019bf0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140019ce0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x140019cbb
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x140019cbb
call fcn.140061b00
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x140019ca2
mov rcx, r14
call fcn.140061b00
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x140026250
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14009cb48]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov ebx, 1
test dl, dl
jne 0x140026291
cmp qword [rcx + 0x10], 0
jne 0x1400262e1
xor eax, eax
jmp 0x140026406
and dword [rsp + 0x28], 0
lea rax, str.TargetNtMapViewOfSection64
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtMapViewOfSection
lea rdx, [0x140085750]
call fcn.140025a40
lea rax, str.TargetNtUnmapViewOfSection64
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtUnmapViewOfSection
mov rcx, rdi
lea rdx, [0x140085750]
call fcn.140025a40
mov rax, qword [rdi]
xor edx, edx
mov r9d, 0x2000
mov dword [rsp + 0x20], ebx
mov r8d, 0x10000
mov rbp, qword [rax]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, qword [rdi + 0x10]
mov rbx, rax
shl rsi, 6
add rsi, 0x60
mov rcx, rsi
call fcn.140025d50
mov r14, rax
mov dword [rsp + 0x20], 0x40
mov rdx, rax
lea r8, [rsi + 0xfff]
mov rax, 0xfffffffffffff000
mov r9d, 0x1000
and rdx, rax
and r8, rax
add rdx, rbx
mov rcx, rbp
and r14d, 0xfff
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x14002635a
int3
and dword [rsp + 0x58], 0
lea rbx, [r14 + rax]
mov r14d, 0x20
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x48], r14
mov r8d, 0x150
lea rcx, [sym.QtWebEngineProcess.exe_g_originals]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140025f60
test eax, eax
jne 0x140026406
lea rax, [rsp + 0x38]
mov r9d, r14d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140026401
cmp qword [rsp + 0x38], r14
jne 0x140026401
lea rax, [rsp + 0x30]
mov r9d, r14d
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi]
lea r8, [sym.QtWebEngineProcess.exe_g_originals]
mov r9d, 0x150
lea rdx, str.g_originals
call fcn.14003ec30
jmp 0x140026406
mov eax, 0x2a
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400801e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140027850
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x98]
or rbp, 0xffffffffffffffff
mov r11d, r9d
mov r10, r8
mov qword [rbx], rbp
cmp ecx, 3
jne 0x140027922
cmp qword [r8 + 0x18], 8
jb 0x14002788c
mov r10, qword [r8]
and qword [rsp + 0x38], 0
mov rcx, r10
mov eax, dword [rsp + 0x90]
mov rsi, qword [rdx]
mov edx, r11d
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
cmp rax, rbp
jne 0x1400278d9
mov rcx, rbp
jmp 0x140027916
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
lea r9, [rsp + 0x98]
and dword [rsp + 0x28], 0
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x98]
test eax, eax
cmove rcx, rbp
mov qword [rbx], rcx
cmp rcx, rbp
je 0x140027922
xor eax, eax
jmp 0x140027927
mov eax, 5
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002cc70
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14009cb48]
xor rax, rsp
mov qword [rbp], rax
mov r14d, dword [rbp + 0x70]
mov r13, r9
mov r12, rdx
mov rbx, rcx
cmp r14d, 0x4000
ja 0x14002ce8c
xor edi, edi
test r8d, r8d
jne 0x14002ce8c
test rcx, rcx
je 0x14002cccd
cmp word [rcx], di
je 0x14002ce8c
call fcn.140035180
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003ed90
test al, al
je 0x14002ce85
call fcn.140035a10
mov r15, rax
test rax, rax
je 0x14002ce85
xorps xmm0, xmm0
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001b710
mov rsi, qword [rsp + 0x50]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002cd5d
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
jmp 0x14002cd62
mov rdi, qword [rsp + 0x58]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002ce57
xor ecx, ecx
test rdi, rdi
je 0x14002ce57
movdqa xmm0, xmmword [0x140085330]
mov word [rsp + 0x78], cx
mov qword [rsp + 0x48], rcx
movdqu xmmword [rbp - 0x78], xmm0
test rbx, rbx
je 0x14002cdb5
cmp word [rbx], cx
jne 0x14002cda6
mov ebx, 0xc000000d
jmp 0x14002ce4b
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14002d010
jmp 0x14002cdba
mov qword [rsp + 0x48], r12
xor edx, edx
lea rcx, [rbp - 0x60]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14003afa0
cmp qword [rbp - 0x70], 8
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x40], r14d
cmovae rax, qword [rsp + 0x78]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], rax
mov edx, 0x1a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14002c5a0
test eax, eax
je 0x14002ce36
mov ebx, 0xc0000022
jmp 0x14002ce4b
mov ebx, dword [rbp - 0x58]
test ebx, ebx
jne 0x14002ce4b
mov r8, r14
mov rdx, rdi
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x78]
call fcn.14001b8c0
jmp 0x14002ce5c
mov ebx, 0xc000000d
test rdi, rdi
je 0x14002ce6a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14002ce81
call fcn.140047460
mov rcx, rsi
call fcn.140047470
mov eax, ebx
jmp 0x14002ce91
mov eax, 0xc0000022
jmp 0x14002ce91
mov eax, 0xc000000d
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400801e0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdx
xor edx, edx
jmp 0x14002cc70
Function at 0x14002d0c0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xd0
mov rax, qword [0x14009cb48]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov qword [rbp - 0x51], rdx
mov r14, r8
test r9d, r9d
je 0x14002d0fe
mov eax, 0xc000000d
jmp 0x14002d238
call fcn.140035180
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003ed90
test al, al
je 0x14002d233
call fcn.140035a10
mov rbx, rax
test rax, rax
je 0x14002d233
and qword [rsp + 0x28], 0
xorps xmm0, xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 0x1000
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
movdqu xmmword [rbp - 0x61], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.14001b710
mov rdi, qword [rbp - 0x61]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002d193
xor r9d, r9d
mov qword [rsp + 0x20], 0x1000
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
jmp 0x14002d197
mov rsi, qword [rbp - 0x59]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002d205
test rsi, rsi
je 0x14002d205
mov r8d, 0x1000
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
lea rcx, [rbp - 0x31]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14003afa0
lea rax, [rbp - 0x31]
mov qword [rbp - 0x61], rdi
lea r9, [rbp - 0x61]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x51]
mov edx, 0x1d
lea rcx, [rbp - 0x49]
call fcn.14002c1e0
test eax, eax
je 0x14002d200
mov ebx, 0xc0000022
jmp 0x14002d20a
mov ebx, dword [rbp - 0x29]
jmp 0x14002d20a
mov ebx, 0xc000000d
test rsi, rsi
je 0x14002d218
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [rdi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14002d22f
call fcn.140047460
mov rcx, rdi
call fcn.140047470
mov eax, ebx
jmp 0x14002d238
mov eax, 0xc0000022
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400801e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14002d5e0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14009cb48]
xor rax, rsp
mov qword [rbp], rax
mov r14d, dword [rbp + 0x70]
mov r13, r9
mov r12, rdx
mov rbx, rcx
cmp r14d, 0x4000
ja 0x14002ce8c
xor edi, edi
test r8d, r8d
jne 0x14002ce8c
test rcx, rcx
je 0x14002cccd
cmp word [rcx], di
je 0x14002ce8c
call fcn.140035180
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003ed90
test al, al
je 0x14002ce85
call fcn.140035a10
mov r15, rax
test rax, rax
je 0x14002ce85
xorps xmm0, xmm0
mov qword [rsp + 0x28], rdi
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001b710
mov rsi, qword [rsp + 0x50]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002cd5d
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
jmp 0x14002cd62
mov rdi, qword [rsp + 0x58]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002ce57
xor ecx, ecx
test rdi, rdi
je 0x14002ce57
movdqa xmm0, xmmword [0x140085330]
mov word [rsp + 0x78], cx
mov qword [rsp + 0x48], rcx
movdqu xmmword [rbp - 0x78], xmm0
test rbx, rbx
je 0x14002cdb5
cmp word [rbx], cx
jne 0x14002cda6
mov ebx, 0xc000000d
jmp 0x14002ce4b
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14002d010
jmp 0x14002cdba
mov qword [rsp + 0x48], r12
xor edx, edx
lea rcx, [rbp - 0x60]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14003afa0
cmp qword [rbp - 0x70], 8
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x48]
mov dword [rsp + 0x40], r14d
cmovae rax, qword [rsp + 0x78]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], rax
mov edx, 0x1a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14002c5a0
test eax, eax
je 0x14002ce36
mov ebx, 0xc0000022
jmp 0x14002ce4b
mov ebx, dword [rbp - 0x58]
test ebx, ebx
jne 0x14002ce4b
mov r8, r14
mov rdx, rdi
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x78]
call fcn.14001b8c0
jmp 0x14002ce5c
mov ebx, 0xc000000d
test rdi, rdi
je 0x14002ce6a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14002ce81
call fcn.140047460
mov rcx, rsi
call fcn.140047470
mov eax, ebx
jmp 0x14002ce91
mov eax, 0xc0000022
jmp 0x14002ce91
mov eax, 0xc000000d
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400801e0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdx
xor edx, edx
jmp 0x14002cc70
Function at 0x14002d7c0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14009cb48]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, r9
mov qword [rbp - 0x59], rdx
mov r15, r8
call fcn.140035180
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003ed90
test al, al
je 0x14002d93a
call fcn.140035a10
mov rbx, rax
test rax, rax
je 0x14002d93a
and qword [rsp + 0x28], 0
xorps xmm0, xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 0x1010
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
movdqu xmmword [rbp - 0x69], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.14001b710
mov rsi, qword [rbp - 0x69]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002d885
xor r9d, r9d
mov qword [rsp + 0x20], 0x1010
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
jmp 0x14002d889
mov rdi, qword [rbp - 0x61]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002d90c
test rdi, rdi
je 0x14002d90c
mov r8d, 0x1010
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor edx, edx
lea rcx, [rbp - 0x39]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.14003afa0
lea rax, [rbp - 0x39]
mov qword [rbp - 0x69], rsi
lea r9, [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x59]
mov edx, 0x1e
lea rcx, [rbp - 0x51]
call fcn.14002c1e0
test eax, eax
je 0x14002d8f2
mov ebx, 0xc0000022
jmp 0x14002d911
mov ebx, dword [rbp - 0x31]
test ebx, ebx
jne 0x14002d911
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14002d911
mov ebx, 0xc000000d
test rdi, rdi
je 0x14002d91f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14002d936
call fcn.140047460
mov rcx, rsi
call fcn.140047470
mov eax, ebx
jmp 0x14002d93f
mov eax, 0xc0000022
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400801e0
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret