joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14031c340
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1402b6a10
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x14031c3cf
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14029c474
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.14021c580
mov rcx, rsi
mov rdx, rbx
call fcn.14010ff50
mov rcx, rbx
call fcn.14021c6c0
test edi, edi
setns al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14031c3ee
call fcn.140278ca0
int3
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14031d4d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rdi, r15
je 0x14031d526
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.14031cd20
test al, al
jne 0x14031d522
add rdi, 0x70
cmp rdi, r15
jne 0x14031d50a
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x14031d55f
cmp byte [rdi + 0x27], 0
js 0x14031d537
lea rcx, [rdi + 0x10]
jmp 0x14031d53b
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
test eax, eax
jne 0x14031d564
mov qword [rsi], rdi
xor eax, eax
jmp 0x14031d564
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14031d57b
call fcn.140278ca0
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14031d6f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x14031d74a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.14031cd20
test al, al
jne 0x14031d746
add rbx, 0x70
cmp rbx, r15
jne 0x14031d72e
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x14031d79d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x14031d78e
cmp byte [rbx + 0x27], 0
js 0x14031d768
lea rcx, [rbx + 0x10]
jmp 0x14031d76c
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14031d79d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x14031d79d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x14031d79d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14031d7b4
call fcn.140278ca0
int3
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14031d920
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x190], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x48]
mov qword [rbx], r14
mov rdx, rbx
call fcn.14013b9b0
mov r12, qword [rbx]
test r12, r12
je 0x14031da10
lea rcx, [rsp + 0x30]
mov qword [rcx + 0x10], r14
movaps xmm0, xmmword [0x1403d4b30]
movaps xmmword [rcx], xmm0
call fcn.14021c520
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x50], xmm0
mov r15, qword [r12 + 0x50]
mov rbx, qword [r12 + 0x58]
cmp r15, rbx
je 0x14031d9c2
lea r14, [rsp + 0x50]
mov rcx, r15
mov rdx, r14
call fcn.14031cd20
test al, al
jne 0x14031d9bd
add r15, 0x70
cmp r15, rbx
jne 0x14031d9a5
mov rbx, qword [r12 + 0x58]
cmp r15, rbx
jne 0x14031da17
mov esi, 1
lea rcx, [rsp + 0x30]
call fcn.14021c6c0
lea rcx, [rsp + 0x48]
call fcn.14013c410
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14031d9fa
call fcn.140278ca0
int3
mov eax, esi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 3
jmp 0x14031d9d6
lea rdx, [r15 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14021c6d0
mov r13, qword [r12 + 0x58]
cmp r13, r15
je 0x14031dba7
lea rax, [r12 + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [r15 + 0x70]
mov rdx, r15
cmp rax, r13
je 0x14031da53
xor ebp, ebp
mov rbx, r15
jmp 0x14031db07
sub rdx, r15
add rdx, r15
mov rcx, qword [rsp + 0x28]
call fcn.14031e9f0
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x47], 0
lea rcx, [rsp + 0x30]
jns 0x14031da7a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14031db31
mov rcx, rdi
mov rdx, rsi
call fcn.140333350
xor esi, esi
jmp 0x14031d9cc
mov rcx, qword [r14]
call fcn.1402776c8
mov rax, qword [rbx + 0xa8]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rbx + 0x98]
movups xmmword [r14], xmm0
mov byte [rbx + 0xaf], bpl
mov byte [rbx + 0x98], bpl
movups xmm0, xmmword [rbx + 0xb0]
movups xmm1, xmmword [rbx + 0xc0]
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm1
mov rax, qword [rbx + 0xd0]
mov qword [rbx + 0x60], rax
mov eax, dword [rbx + 0xd8]
mov dword [rbx + 0x68], eax
lea rdx, [rbx + 0x70]
add rbx, 0xe0
cmp rbx, r13
mov rbx, rdx
je 0x14031da53
movups xmm0, xmmword [rbx + 0x70]
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x10]
lea rdx, [rbx + 0x80]
call fcn.14010ff50
lea r14, [rbx + 0x28]
cmp byte [rbx + 0x3f], 0
jns 0x14031daa2
jmp 0x14031da9a
mov esi, 2
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14031d9cc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x50]
mov esi, 2
mov rcx, rdi
mov r8d, 0x36f
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, recv
call fcn.1401f8290
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1402f7400
mov rcx, rdi
call fcn.1402f63a0
jmp 0x14031d9cc
ud2
Function at 0x14032fed0
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.1402b6a10
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
jne 0x14032ff0c
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x14032ff18
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140334ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x140334f0a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140334f52
test bl, bl
jne 0x140334f4a
mov ecx, eax
and ecx, 0x400
je 0x140334f4a
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x140334f3f
call fcn.140278ca0
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
and eax, 0x10
shr eax, 4
jmp 0x140334f25
mov ecx, 2
call fcn.14021c050
test al, al
je 0x140334f23
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, Ordinal_133
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, reloc.WS2_32.dll_select
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.1402f7400
mov rcx, rdi
call fcn.1402f63a0
jmp 0x140334f23
Function at 0x140334fc0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x140334feb
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140335072
test bl, bl
je 0x14033500f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140335099
mov ecx, 2
call fcn.14021c050
test al, al
je 0x140335070
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, reloc.WS2_32.dll_recv
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.1402f7400
mov rcx, rdi
call fcn.1402f63a0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14033508c
call fcn.140278ca0
int3
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.140334ee0
test al, al
jne 0x140335072
mov ecx, 2
call fcn.14021c050
test al, al
je 0x140335070
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.1402f7400
lea rdx, str._not_a_directory
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rax
call fcn.1401f8290
mov rcx, rdi
call fcn.14010e2d0
jmp 0x140335070

Function at 0x140335110
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140335137
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14033516e
test eax, 0x410
sete al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x140335164
call fcn.140278ca0
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1403351cf
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_WSAStartup
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, reloc.WS2_32.dll_select
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.1402f7400
mov rcx, rdi
call fcn.1402f63a0
xor eax, eax
jmp 0x14033514a
Function at 0x1403351e0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140335207
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
not eax
test eax, 0x410
setne al
or al, cl
je 0x1403352c6
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140335231
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x1403352a2
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1403352a0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, reloc.WLDAP32.dll_Ordinal_147
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x38]
lea rdx, str.DeleteFile
mov r8d, recv
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.1402f7400
mov rcx, rdi
call fcn.1402f63a0
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x1403352bc
call fcn.140278ca0
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140278ca0
mov rcx, rsi
add rsp, 0x168
pop rdi
pop rsi
jmp fcn.1403352f0

Function at 0x1403352f0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x140335318
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
je 0x14033534e
test edi, edi
setne al
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x140335343
call fcn.140278ca0
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14021c050
test al, al
je 0x140335324
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x2f
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x40]
lea rdx, str.RemoveDirectory
mov r8d, reloc.WS2_32.dll_recv
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.1402f7400
mov rcx, rbx
call fcn.1402f63a0
jmp 0x140335324
Function at 0x1403401e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x14044c640]
mov ecx, dword [0x14043f8b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140340242
cmp rdi, rsi
je 0x14034023e
mov eax, 0xffffffff
lea rcx, [0x14044c240]
mov dl, byte [rdi]
xor dl, al
movzx edx, dl
shr eax, 8
xor eax, dword [rcx + rdx*4]
inc rdi
cmp rdi, rsi
jne 0x14034021f
not eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x140340236
lea rcx, [0x14044c640]
call fcn.14027770c
cmp dword [0x14044c640], 0xffffffff
jne 0x14034020e
lea rbx, [0x14044c240]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.1402b6a10
xor eax, eax
mov ecx, 0xedb88320
mov r8d, eax
shr r8d, 1
mov edx, eax
and edx, 1
neg edx
and edx, ecx
xor edx, r8d
mov r9d, edx
shr r9d, 1
mov r8d, eax
shl r8d, 0x1e
sar r8d, 0x1f
and r8d, ecx
xor r8d, r9d
mov r9d, r8d
shr r9d, 6
mov r10d, eax
shl r10d, 0x1d
sar r10d, 0x1f
and r10d, 0x76dc419
mov r11d, eax
shl r11d, 0x1c
sar r11d, 0x1f
and r11d, 0xedb8832
xor r11d, r10d
mov r10d, eax
shl r10d, 0x1b
sar r10d, 0x1f
and r10d, 0x1db71064
xor r10d, r11d
mov r11d, eax
shl r11d, 0x1a
sar r11d, 0x1f
and r11d, 0x3b6e20c8
xor r11d, r10d
xor r11d, r9d
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
xor edx, r11d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, ecx
xor r8d, edx
mov dword [rbx], r8d
inc rax
add rbx, 4
cmp rax, 0x100
jne 0x140340275
lea rcx, [0x14044c640]
call fcn.1402777c0
jmp 0x14034020e

Function at 0x14035d2d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x48]
mov esi, dword [rcx + 4]
cmp byte [rcx], 0
je 0x14035d319
mov dword [rsp + 0x34], 0
movzx r12d, word [rbx + 0x18]
test r12, r12
je 0x14035d381
xor r13d, r13d
lea r14, [rsp + 0x34]
jmp 0x14035d34f
mov rcx, rbx
call fcn.1401bb810
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x14035d3b1
jmp 0x14035d305
mov edx, dword [r15]
bswap edx
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov r8b, 5
mov r9d, esi
call fcn.1401c0b30
inc r13
cmp r12, r13
je 0x14035d381
mov rax, qword [rbx + 0x60]
movzx r15d, word [rax + r13*2]
rol r15w, 8
movzx eax, word [rbx + 0x1a]
and r15d, eax
add r15, qword [rbx + 0x50]
mov rcx, rbx
mov rdx, rbx
mov r8, r15
mov r9, r14
call fcn.14035d7c0
cmp byte [rbx + 8], 0
jne 0x14035d347
jmp 0x14035d32f
cmp byte [rbx + 8], 0
jne 0x14035d3ad
mov rax, qword [rbx + 0x50]
movzx ecx, byte [rbx + 9]
mov edx, dword [rax + rcx + 8]
bswap edx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8b, 5
mov r9d, esi
call fcn.1401c0b30
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14035d3c8
call fcn.140278ca0
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14035d3e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov esi, r8d
mov ebx, edx
mov r14, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp r9b, 4
je 0x14035d456
mov ebp, r9d
cmp byte [r14], 0
je 0x14035d446
movzx eax, word [r14 + 0x18]
xor edi, edi
mov r15d, 0
test eax, eax
je 0x14035d4d4
mov dword [rsp + 0x2c], eax
mov r13d, eax
xor r15d, r15d
movaps xmm6, xmmword [0x1403d4b30]
jmp 0x14035d589
mov rcx, r14
call fcn.1401bb810
mov edi, eax
test eax, eax
jne 0x14035d499
jmp 0x14035d41b
mov rax, qword [r14 + 0x50]
mov ecx, dword [rax]
bswap ecx
cmp ecx, ebx
jne 0x14035d46a
bswap esi
mov dword [rax], esi
xor edi, edi
jmp 0x14035d499
lea rax, [0x14040f811]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x12291
call fcn.1401aeb90
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14035d4b0
call fcn.140278ca0
int3
mov eax, edi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, esi
bswap eax
mov dword [r12], eax
mov eax, dword [rsp + 0x2c]
cmp r15d, eax
jne 0x14035d499
cmp bpl, 5
jne 0x14035d4f2
mov rax, qword [r14 + 0x50]
movzx ecx, byte [r14 + 9]
mov edx, dword [rax + rcx + 8]
bswap edx
cmp edx, ebx
je 0x14035d521
lea rax, [0x14040f811]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x122b9
jmp 0x14035d494
bswap esi
mov dword [rax + rcx + 8], esi
jmp 0x14035d466
lea rax, [0x14040f811]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x122ad
jmp 0x14035d494
lea rcx, [r12 + 4]
mov rdx, qword [r14 + 0x48]
mov edx, dword [rdx + 0x38]
add rax, rdx
cmp rcx, rax
ja 0x14035d52c
mov eax, dword [r12]
bswap eax
cmp eax, ebx
je 0x14035d4c8
inc r15
cmp r13, r15
je 0x14035d4d9
movzx ecx, word [r14 + 0x1a]
mov rax, qword [r14 + 0x60]
movzx r12d, word [rax + r15*2]
rol r12w, 8
mov rax, qword [r14 + 0x50]
and r12d, ecx
add r12, rax
cmp bpl, 3
jne 0x14035d55b
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [r14 + 0x80]
mov rcx, r14
mov rdx, r12
lea r8, [rsp + 0x30]
call qword [str._a_]
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jbe 0x14035d57d
movzx eax, word [rsp + 0x46]
add r12, rax
mov rax, qword [r14 + 0x48]
mov eax, dword [rax + 0x38]
add rax, qword [r14 + 0x50]
cmp r12, rax
ja 0x14035d616
mov eax, dword [r12 - 4]
bswap eax
cmp ebx, eax
jne 0x14035d57d
bswap esi
mov dword [r12 - 4], esi
jmp 0x14035d466
lea rax, [0x14040f811]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov edi, ntohl
mov ecx, ntohl
mov r9d, 0x122a4
jmp 0x14035d494
Function at 0x14038bb80
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x3c]
mov dword [rdi], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete al
jne 0x14038bbdf
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14038bbf6
call fcn.140278ca0
int3
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x14038bca0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x190
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x188], rax
movaps xmm0, xmmword [0x1403d4b30]
lea rsi, [rsp + 0x150]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x14038bd33
mov ecx, 1
call fcn.14021c050
test al, al
je 0x14038bd33
lea rdx, str....._third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x10a
mov r9d, 1
call fcn.14010dcd0
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, Ordinal_46
call fcn.1401f8290
mov rcx, rsi
call fcn.14010e2d0
mov ecx, dword [rsp + 0x170]
cmp ecx, 0x100
mov eax, 0xff
cmovb eax, ecx
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14038bd62
call fcn.140278ca0
int3
add rsp, 0x190
pop rsi
ret
Function at 0x1403a0e40
Capabilities:
Decompress data using quicklz

Disassembly:
mov r8d, dword [rdx]
mov eax, r8d
and eax, 0xf800d000
xor eax, 0xf0008000
mov r9d, r8d
not r9d
test r9d, 0x3c00000
setne r9b
mov r10d, ecx
and r10d, 1
or r10d, eax
sete r10b
lea eax, [rcx + 0x100000]
cmp eax, 0x200000
setb al
and al, r9b
and al, r10b
cmp al, 1
jne 0x1403a0edf
mov r9d, ecx
shr r9d, 1
and r9d, 0x7ff
and r8d, 0xf3c08000
mov r10d, ecx
shl r10d, 6
and r10d, 0x4000000
mov r11d, ecx
shl r11d, 4
and r11d, 0x3f0000
or r11d, r10d
mov r10d, ecx
shr r10d, 5
and r10d, 0x2000
or r10d, r11d
shr ecx, 8
and ecx, 0x800
or ecx, r10d
or ecx, r9d
or ecx, r8d
mov dword [rdx], ecx
ret

Function at 0x1403a0ee0
Capabilities:
Decompress data using quicklz

Disassembly:
test cl, 1
jne 0x1403a0f0a
mov eax, edx
and eax, 0xf800d000
cmp eax, 0xf0008000
setne al
mov r9d, edx
not r9d
test r9d, 0x3c00000
sete r9b
or r9b, al
je 0x1403a0f0d
xor eax, eax
ret
mov eax, edx
shr eax, 4
and eax, 0x3f000
mov r9d, edx
and r9d, 0x7ff
lea eax, [rax + r9*2]
mov r9d, edx
shr r9d, 6
and r9d, 0x100000
mov r10d, edx
shl r10d, 8
and r10d, 0x80000
or r10d, r9d
shl edx, 5
and edx, 0x40000
or edx, r10d
or edx, eax
shl edx, 0xb
sar edx, 0xb
lea eax, [rcx + rdx]
add eax, 4
and eax, 0xfffffffe
mov dword [r8], eax
mov al, 1
jmp 0x1403a0f0c

Function at 0x1403a0f70
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, edx
or eax, ecx
test al, 1
je 0x1403a0f7b
xor eax, eax
ret
sub edx, ecx
mov eax, edx
and eax, 1
lea ecx, [rdx + rax]
add ecx, 0xfffffffc
mov rdx, r8
jmp fcn.1403a0e40