joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001aaac
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov r10d, r9d
mov eax, dword [rsp + 0x88]
mov r11d, r8d
mov r9d, dword [rsp + 0x70]
mov rbx, rdx
mov dword [rsp + 0x30], eax
mov rdi, rcx
mov eax, dword [rsp + 0x80]
mov r8d, r10d
mov dword [rsp + 0x28], eax
mov edx, r11d
mov eax, dword [rsp + 0x78]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
or rsi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rsi
jne 0x14001ab10
mov rax, rsi
jmp 0x14001ab50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
lea r9, [rsp + 0x90]
and dword [rsp + 0x28], 0
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x90]
test eax, eax
cmove rcx, rsi
mov rax, rcx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14001eeac
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor eax, eax
mov edi, edx
mov qword [rcx], rax
mov rbx, rcx
mov qword [rcx + 8], rax
xor r9d, r9d
mov qword [rsp + 0x28], rax
or rcx, 0xffffffffffffffff
xor edx, edx
mov dword [rsp + 0x20], edi
mov r8d, 0x8000004
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
mov rcx, rbx
call fcn.140009b10
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001ef13
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140021e80
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x298]
mov rbx, r8
mov r14, qword [rbp + 0x2a0]
mov r12, r9
mov r13, qword [rbp + 0x280]
mov rdi, rdx
mov rsi, qword [rbp + 0x2b0]
mov r15, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], r14
call fcn.140025d04
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
cmp byte [rax + 4], 0
je 0x140021f5b
mov rax, qword [rsp + 0x58]
mov r9, r13
mov qword [rsp + 0x48], rsi
mov r8, r12
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rax, qword [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x290]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x288]
mov dword [rsp + 0x20], eax
call r15
xor r15d, r15d
test eax, eax
je 0x140021f5e
mov eax, 1
jmp 0x140022073
xor r15d, r15d
mov rdx, rdi
lea rcx, [0x14002ebd0]
call fcn.14000d754
call fcn.140025d04
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
cmp dword [rax], 1
jle 0x140022071
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 1
mov rcx, rsi
mov r14d, eax
lea r12d, [r8 + 0x17]
mov edx, r12d
call fcn.1400267d4
test al, al
je 0x140022068
call fcn.140026484
mov rbx, rax
test rax, rax
je 0x140022068
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x80], rbx
dec eax
lea r8d, [r12 + 0x40]
cmp eax, 0x102
cmova rcx, r15
xor edx, edx
mov qword [rsp + 0x50], rcx
mov rcx, qword [rbx + 0x10]
add rcx, rbx
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x70]
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x80]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400217ec
test eax, eax
jne 0x140022068
mov ebx, dword [rbp - 0x68]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x140022071
mov rdx, rdi
lea rcx, [0x14002ebd0]
call fcn.14000d634
jmp 0x140021f51
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140005c90
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140022748
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov rdi, qword [rsp + 0xb8]
xor esi, esi
mov qword [rax - 0x10], rdi
mov r10, r9
mov rax, qword [rsp + 0xb0]
mov r11, r8
mov qword [rsp + 0x40], rax
mov ebp, edx
mov rax, qword [rsp + 0xa8]
mov r14, rcx
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov rdx, r10
mov rcx, r11
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400227be
xor eax, eax
jmp 0x14002284a
mov eax, ebp
neg eax
sbb ebx, ebx
and ebx, 0xfe3fe
add ebx, 0x101c01
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi]
mov r9, rdi
mov dword [rsp + 0x30], 1
mov rcx, rax
mov dword [rsp + 0x28], esi
mov r8, r14
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140022808
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400227b7
neg ebp
sbb ebx, ebx
and ebx, 0xff3bc
add ebx, 0x100c43
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi + 8]
lea r9, [rdi + 8]
mov dword [rsp + 0x30], 1
mov rcx, rax
mov dword [rsp + 0x28], esi
mov r8, r14
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne sil
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x140022964
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rbx, rcx
mov eax, dword [rsp + 0x70]
mov rcx, qword [rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
jne 0x1400229a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400229dd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9, qword [rsp + 0x80]
mov rdx, rdi
mov r8, qword [rbx]
mov rcx, rax
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
sbb eax, eax
not eax
and eax, 5
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400245b8
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor edi, edi
mov r13, rdx
mov r14, rcx
cmp byte [rcx + 0x54], dil
jne 0x1400245f9
mov eax, 0x3f0
jmp 0x1400246cf
lea rdx, [rcx + 0x48]
mov r8d, 2
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x20]
call fcn.1400250e4
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x140024625
mov edi, dword [rsp + 0x20]
jmp 0x1400246cd
mov esi, edi
cmp dword [rbx], edi
jbe 0x1400246c5
mov ebp, esi
add rbp, rbp
test dword [rbx + rbp*8 + 0x10], 0xc0000020
jne 0x1400246bb
mov r12b, dil
test r13, r13
je 0x140024693
mov r15d, edi
mov rcx, qword [r13 + 8]
movabs rax, 0x7878787878787879
sub rcx, qword [r13]
imul rcx
mov r8d, r15d
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jae 0x140024693
mov rdx, qword [rbx + rbp*8 + 8]
imul rcx, r8, 0x44
add rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x140024690
inc r15d
jmp 0x140024649
mov r12b, 1
test r12b, r12b
jne 0x1400246bb
mov r8, qword [rbx + rbp*8 + 8]
lea rdx, [rsp + 0x30]
mov ecx, 0x44
call qword [sym.imp.ADVAPI32.dll_CopySid]
lea rcx, [r14 + 0x30]
lea rdx, [rsp + 0x30]
call fcn.140024394
inc esi
cmp esi, dword [rbx]
jb 0x14002462f
mov rcx, rbx
call fcn.140006c90
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140005c90
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400246fc
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor edi, edi
mov r13, rdx
mov r14, rcx
cmp byte [rcx + 0x54], dil
jne 0x14002473f
mov eax, 0x3f0
jmp 0x140024805
lea rdx, [rcx + 0x48]
mov r8d, 2
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x20]
call fcn.1400250e4
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x14002476b
mov edi, dword [rsp + 0x20]
jmp 0x140024803
mov esi, edi
cmp dword [rbx], edi
jbe 0x1400247fb
mov ebp, esi
add rbp, rbp
test dword [rbx + rbp*8 + 0x10], 0xc0000020
jne 0x1400247f1
mov r15d, edi
mov rcx, qword [r13 + 8]
movabs rax, 0x7878787878787879
sub rcx, qword [r13]
imul rcx
mov r8d, r15d
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jae 0x1400247f1
mov rdx, qword [rbx + rbp*8 + 8]
imul rcx, r8, 0x44
add rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400247ce
inc r15d
jmp 0x140024787
mov r8, qword [rbx + rbp*8 + 8]
lea rdx, [rsp + 0x30]
mov ecx, 0x44
call qword [sym.imp.ADVAPI32.dll_CopySid]
lea rcx, [r14 + 0x30]
lea rdx, [rsp + 0x30]
call fcn.140024394
inc esi
cmp esi, dword [rbx]
jb 0x140024775
mov rcx, rbx
call fcn.140006c90
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140005c90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140029f20
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
and qword [rax - 0x30], 0
lea rsi, [rcx + 0x28]
mov r14, r8
mov dword [rax - 0x38], 0x10000
mov r15, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
mov rcx, rsi
call fcn.140009b10
mov rbp, qword [rsi]
lea rax, [rbp - 1]
cmp rax, 0xfffffffffffffffd
setbe al
test al, al
jne 0x140029f8d
mov ebx, 0x19
jmp 0x14002a09c
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x60]
and dword [rsp + 0x28], 0
mov rcx, rax
mov r8, rbx
mov dword [rsp + 0x20], 7
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140029fc8
lea ebx, [rax + 0x1a]
jmp 0x14002a09c
mov rcx, qword [rsi]
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x140029ff1
lea ebx, [rax + 0x1b]
jmp 0x14002a09c
lea r8, [rax + 0x2000]
mov rcx, r14
call fcn.140029c54
mov r8, qword [rsp + 0x60]
lea rdx, [0x14002f0e8]
mov qword [sym.firefox.exe_g_shared_section], r8
mov ebp, 8
lea r8, [sym.firefox.exe_g_shared_section]
mov r9d, ebp
mov rcx, rdi
call fcn.14002a12c
and qword [sym.firefox.exe_g_shared_section], 0
mov ebx, eax
test eax, eax
jne 0x14002a09c
mov r9d, ebp
mov qword [sym.firefox.exe_g_shared_IPC_size], 0x2000
lea r8, [sym.firefox.exe_g_shared_IPC_size]
mov rcx, rdi
lea rdx, [0x14002f0d0]
call fcn.14002a12c
and qword [sym.firefox.exe_g_shared_IPC_size], 0
mov ebx, eax
test eax, eax
jne 0x14002a09c
mov r9d, ebp
mov qword [sym.firefox.exe_g_shared_policy_size], 0xe000
lea r8, [sym.firefox.exe_g_shared_policy_size]
mov rcx, rdi
lea rdx, [0x14002f0b8]
call fcn.14002a12c
and qword [sym.firefox.exe_g_shared_policy_size], 0
mov ebx, eax
test eax, eax
je 0x14002a0b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov eax, ebx
jmp 0x14002a113
mov ecx, 0x38
call fcn.140005f80
mov r9, qword [rdi + 0x40]
mov rcx, rax
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r15
call fcn.140027d54
mov rcx, qword [rdi + 0x38]
mov qword [rdi + 0x38], rax
test rcx, rcx
je 0x14002a0e4
call fcn.140029b7c
mov rcx, qword [rdi + 0x38]
mov rdx, rsi
call fcn.140027f84
test al, al
jne 0x14002a0fb
mov eax, 4
jmp 0x14002a113
and dword [rdi + 0x14], 0
lea rcx, [rdi + 8]
call fcn.14000db88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14002a5ac
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov rbx, qword [0x140038f90]
test rbx, rbx
jne 0x14002a614
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14002a5f5
xor al, al
jmp 0x14002a637
lea rdx, str.GetUserDefaultLocaleName
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140038f90], rax
mov rbx, rax
test rax, rax
je 0x14002a5f1
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0xaa
call sub.VCRUNTIME140.dll_memset
mov edx, 0xaa
lea rcx, [rsp + 0x20]
call rbx
test eax, eax
setne al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140005c90
add rsp, 0xe0
pop rbx
ret
Function at 0x14002b250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, rcx
call fcn.14002b1b4
xor r14d, r14d
test al, al
je 0x14002b297
mov eax, 0x1126
jmp 0x14002b41c
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x30], r14
mov rcx, rbx
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r14w
call fcn.14002b0e0
lea rcx, [rsp + 0x20]
mov sil, al
call fcn.14002b9bc
lea rdx, [rsp + 0x20]
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.14002b00c
mov dil, al
test bl, bl
jne 0x14002b307
test al, al
jne 0x14002b2f0
test sil, sil
jne 0x14002b2f0
mov ebx, 0x7b
jmp 0x14002b410
mov r9d, 4
lea r8, str.._
lea rcx, [rsp + 0x20]
call fcn.140015808
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x14002b343
neg dil
mov ebx, 0x7b
sbb eax, eax
and eax, 0x10ab
add ebx, eax
jmp 0x14002b410
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14002b34c
dec rdi
lea rdx, [rsp + 0x40]
mov r8, rdi
lea rcx, [rsp + 0x20]
call fcn.14002ad94
mov ebx, 0x7b
test al, al
je 0x14002b410
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002b3aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 1]
cmp ecx, 2
jbe 0x14002b3b0
cmp eax, ebx
je 0x14002b3b0
mov ebx, eax
jmp 0x14002b410
bt eax, 0xa
jb 0x14002b40d
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov r9, qword [rsp + 0x30]
cmovae rcx, qword [rsp + 0x20]
mov rdx, r9
call fcn.14000c44c
lea rcx, [rsp + 0x20]
cmp rax, r9
ja 0x14002b3f0
cmp qword [rsp + 0x38], 8
mov qword [rsp + 0x30], rax
cmovae rcx, qword [rsp + 0x20]
mov word [rcx + rax*2], r14w
jmp 0x14002b3fb
sub rax, r9
mov rdx, rax
call fcn.14000ead0
cmp qword [rsp + 0x30], rdi
ja 0x14002b378
mov ebx, 0x1126
jmp 0x14002b410
mov ebx, r14d
lea rcx, [rsp + 0x20]
call fcn.140009944
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140005c90
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14002ba14
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], r9
push rsi
push rdi
push r14
sub rsp, 0x40
mov r9d, 8
lea rax, [r11 + 0x20]
mov rbp, r8
mov qword [r11 - 0x38], rax
mov rdi, rdx
mov rsi, rcx
lea r14d, [r9 + 8]
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor ebx, ebx
test eax, eax
je 0x14002baa2
lea rax, [rsp + 0x30]
mov r9, r14
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14002ba7e
cmp qword [rsp + 0x30], r14
jne 0x14002ba7e
mov bl, 1
mov r9d, dword [rsp + 0x78]
lea rax, [rsp + 0x78]
mov r8, r14
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
neg eax
sbb al, al
and al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1800014e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
movaps xmmword [rsp + 0x30], xmm6
lea rcx, [rsp + 0x60]
lea rdx, str.SDL3.dll
call fcn.1800024b0
lea r8, str.SDL_PeepEvents
mov rcx, rax
lea rdx, [rsp + 0x68]
call fcn.1800030e0
mov rcx, rax
mov rdx, qword [rax]
test rdx, rdx
je 0x180001539
add rdx, 3
mov qword [rax], rdx
test rdx, rdx
je 0x180001539
movsxd rax, dword [rdx]
add rdx, 4
add rdx, rax
mov qword [rcx], rdx
mov qword [rbx], rdx
lea rax, [0x180009288]
xor edi, edi
lea rdx, str.client.dll
mov qword [rbx + 8], rdi
lea rcx, [rsp + 0x60]
mov byte [rbx + 0x10], dil
mov qword [0x180009288], 0xf4240
mov qword [0x180009290], rdi
mov qword [rbx + 0x18], rax
call fcn.1800024b0
mov esi, 0x5a4d
mov r8, qword [rax]
test r8, r8
je 0x1800015e4
cmp word [r8], si
jne 0x1800015e4
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
cmovne rdx, rdi
test rdx, rdx
je 0x1800015e4
movzx ecx, word [rdx + 0x14]
movzx eax, word [rdx + 6]
add rcx, 0x18
add rcx, rdx
lea rax, [rax + rax*4]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1800015e4
nop dword [rax]
test dword [rcx + 0x24], 0x20000000
je 0x1800015db
cmp dword [rcx], 0x7865742e
jne 0x1800015db
cmp byte [rcx + 4], 0x74
je 0x1800016fa
add rcx, 0x28
cmp rcx, rdx
jne 0x1800015c0
xorps xmm6, xmm6
lea rdx, str.USER32.dll
lea rcx, [rsp + 0x68]
call fcn.1800024b0
lea r8, str.MessageBoxA
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.1800030e0
lea rdx, str.panorama.dll
lea rcx, [rsp + 0x60]
mov rax, qword [rax]
mov qword [rbx + 0x30], rax
movups xmmword [rbx + 0x20], xmm6
call fcn.1800024b0
mov r8, qword [rax]
test r8, r8
je 0x180001694
cmp word [r8], si
jne 0x180001694
movsxd rcx, dword [r8 + 0x3c]
add rcx, r8
cmp dword [rcx], 0x4550
cmovne rcx, rdi
test rcx, rcx
je 0x180001694
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rax, rcx
movzx ecx, word [rcx + 6]
lea rcx, [rcx + rcx*4]
lea rdx, [rax + rcx*8]
cmp rax, rdx
je 0x180001694
nop dword [rax + rax]
test dword [rax + 0x24], 0x20000000
je 0x18000168b
cmp dword [rax], 0x7865742e
jne 0x18000168b
cmp byte [rax + 4], 0x74
je 0x180001718
add rax, 0x28
cmp rax, rdx
jne 0x180001670
xorps xmm6, xmm6
lea rdx, str.USER32.dll
lea rcx, [rsp + 0x68]
call fcn.1800024b0
lea r8, str.MessageBoxA
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.1800030e0
mov rax, qword [rax]
mov qword [rbx + 0x48], rax
mov rax, rbx
movups xmmword [rbx + 0x38], xmm6
mov byte [rbx + 0xd8], dil
movaps xmm6, xmmword [rsp + 0x30]
mov byte [rbx + 0x138], dil
mov byte [rbx + 0x238], dil
mov byte [rbx + 0x268], dil
mov byte [rbx + 0x270], dil
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [rcx + 0xc]
add rax, r8
mov qword [rsp + 0x20], rax
mov eax, dword [rcx + 8]
mov qword [rsp + 0x28], rax
movdqu xmm6, xmmword [rsp + 0x20]
jmp 0x1800015e7
mov ecx, dword [rax + 0xc]
add rcx, r8
mov qword [rsp + 0x20], rcx
mov ecx, dword [rax + 8]
mov qword [rsp + 0x28], rcx
movdqu xmm6, xmmword [rsp + 0x20]
jmp 0x180001697
Function at 0x1800024b0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword gs:[0x60]
mov rbp, rdx
mov r14, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x180002556
movzx ebx, word [rdi + 0x58]
xor eax, eax
shr rbx, 1
je 0x180002545
mov r10, qword [rdi + 0x60]
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [r10]
movsx r11d, byte [rax + rbp]
movzx r9d, r11w
lea ecx, [rdx - 0x61]
cmp cx, 0x19
lea r8d, [rdx - 0x20]
lea ecx, [r9 - 0x61]
cmova r8w, dx
cmp cx, 0x19
lea edx, [r9 - 0x20]
cmova dx, r11w
cmp r8w, dx
jne 0x18000254e
test r11b, r11b
je 0x18000254e
inc rax
add r10, 2
cmp rax, rbx
jb 0x180002500
mov rax, qword [rdi + 0x30]
mov qword [r14], rax
jmp 0x18000255d
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x1800024e5
mov qword [r14], 0
mov rbx, qword [rsp + 0x10]
mov rax, r14
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret

Function at 0x1800030e0
Capabilities:
Parse pe header

Disassembly:
push rbx
push r13
sub rsp, 0x18
mov r11, qword [rcx]
xor r9d, r9d
mov r13, r8
mov rbx, rdx
test r11, r11
je 0x180003219
mov qword [rsp + 0x30], rbp
mov eax, 0x5a4d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
cmp word [r11], ax
jne 0x1800031ee
movsxd rax, dword [r11 + 0x3c]
add rax, r11
cmp dword [rax], 0x4550
cmovne rax, r9
test rax, rax
je 0x1800031ee
add rax, 0x18
mov ecx, 0x20b
cmp word [rax], cx
jne 0x1800031ee
test rax, rax
je 0x1800031ee
cmp dword [rax + 0x6c], r9d
jbe 0x1800031ee
lea r14, [rax + 0x70]
test r14, r14
je 0x1800031ee
mov r15d, dword [r14]
mov r10d, r9d
mov edi, dword [r11 + r15 + 0x18]
lea rsi, [r11 + r15]
test edi, edi
je 0x1800031ee
mov r12d, dword [rsi + 0x20]
nop dword [rax]
mov ebp, r10d
mov r8, r13
lea rax, [r12 + rbp*4]
mov eax, dword [rax + r11]
add rax, r11
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800031b7
inc rax
test ecx, ecx
jne 0x1800031a4
test edx, edx
je 0x1800031c5
inc r10d
cmp r10d, edi
jb 0x180003190
jmp 0x1800031ee
mov ecx, dword [rsi + 0x24]
add rcx, r11
movzx edx, word [rcx + rbp*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r11
mov r8d, dword [rcx + rdx*4]
cmp r8d, r15d
jb 0x1800031ea
mov eax, r8d
sub eax, r15d
cmp eax, dword [r14 + 4]
jb 0x1800031ee
lea r9, [r11 + r8]
mov qword [rbx], r9
mov rax, rbx
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x18
pop r13
pop rbx
ret
mov qword [rdx], r9
mov rax, rbx
add rsp, 0x18
pop r13
pop rbx
ret