joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403a3490
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 [0x140516040]
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 0x1403a34e6
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.1403a5110
test al, al
jne 0x1403a34e2
add rdi, 0x70
cmp rdi, r15
jne 0x1403a34ca
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x1403a351f
cmp byte [rdi + 0x27], 0
js 0x1403a34f7
lea rcx, [rdi + 0x10]
jmp 0x1403a34fb
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 0x1403a3524
mov qword [rsi], rdi
xor eax, eax
jmp 0x1403a3524
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403a353b
call fcn.14029bbb0
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1403a36b0
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 [0x140516040]
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 0x1403a370a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.1403a5110
test al, al
jne 0x1403a3706
add rbx, 0x70
cmp rbx, r15
jne 0x1403a36ee
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x1403a375d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x1403a374e
cmp byte [rbx + 0x27], 0
js 0x1403a3728
lea rcx, [rbx + 0x10]
jmp 0x1403a372c
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1403a375d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x1403a375d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x1403a375d
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 [0x140516040]
je 0x1403a3774
call fcn.14029bbb0
int3
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1403b1960
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, 0x48
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x40], rax
test r8d, r8d
jle 0x1403b1bb5
mov rsi, r9
mov edi, r8d
mov rbx, rdx
lea eax, [rdi - 1]
mov qword [rsp + 0x30], rax
mov r12d, r8d
xor r13d, r13d
lea r14, [rsp + 0x3c]
mov ebp, 0x520000
mov dword [rsp + 0x2c], 0
jmp 0x1403b1b1e
cmp eax, 0x6f0
jb 0x1403b1b12
cmp dword [rsp + 0x2c], 0
jns 0x1403b19cc
or byte [rsi + 5], 0x40
mov dword [rsp + 0x2c], 1
jmp 0x1403b1b12
cmp eax, 0x660
jb 0x1403b1b12
cmp eax, 0x669
ja 0x1403b19b6
cmp dword [rsp + 0x2c], 0
jle 0x1403b19f6
or byte [rsi + 5], 0x40
mov dword [rsp + 0x2c], 0xffffffff
jmp 0x1403b1b12
lea ecx, [rax - 0x5f3]
cmp cx, 1
ja 0x1403b19d9
test r13, r13
je 0x1403b1b0e
mov dword [rsp + 0x3c], 0
movzx ecx, word [rbx + r13*2 - 2]
cmp r13, 1
je 0x1403b1a5b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x1403b1a5b
movzx eax, word [rbx + r13*2 - 4]
mov edx, eax
and edx, 0xfc00
cmp edx, 0xd800
jne 0x1403b1a5b
shl eax, 0xa
add ecx, eax
add ecx, 0xfca02400
mov rdx, r14
call fcn.14022ebf0
cmp eax, 0x13
je 0x1403b1b12
jmp 0x1403b1b0e
cmp eax, 0x375
je 0x1403b1aac
cmp eax, 0xb7
jne 0x1403b1a03
test r13, r13
je 0x1403b1b0e
cmp word [rbx + r13*2 - 2], 0x6c
sete al
cmp r13, qword [rsp + 0x30]
setb cl
and cl, al
cmp cl, 1
jne 0x1403b1b0e
cmp word [rbx + r13*2 + 2], 0x6c
je 0x1403b1b12
jmp 0x1403b1b0e
cmp r13, qword [rsp + 0x30]
jae 0x1403b1b0e
mov dword [rsp + 0x3c], 0
lea rax, [r13 + 2]
movzx ecx, word [rbx + r13*2 + 2]
mov edx, ecx
and edx, 0xfc00
cmp edx, 0xd800
setne dl
cmp rax, r12
sete al
or al, dl
jne 0x1403b1b01
movzx eax, word [rbx + r13*2 + 4]
mov edx, eax
and edx, 0xfc00
cmp edx, 0xdc00
jne 0x1403b1b01
shl ecx, 0xa
add ecx, eax
add ecx, 0xfca02400
mov rdx, r14
call fcn.14022ebf0
cmp eax, 0xe
je 0x1403b1b12
or byte [rsi + 5], 0x20
inc r13
cmp r13, r12
je 0x1403b1bb5
movzx eax, word [rbx + r13*2]
cmp eax, 0xb7
jb 0x1403b1b12
cmp eax, 0x6f9
jbe 0x1403b1a71
cmp eax, 0x30fb
jne 0x1403b1b12
mov dword [rsp + 0x3c], 0
xor r15d, r15d
jmp 0x1403b1b5e
mov r15d, eax
mov rdx, r14
call fcn.14022ebf0
cmp eax, 0x16
ja 0x1403b1b5e
bt ebp, eax
jb 0x1403b1b12
cmp r15d, edi
jge 0x1403b1b0e
lea eax, [r15 + 1]
movsxd rcx, r15d
movzx ecx, word [rbx + rcx*2]
mov edx, ecx
and edx, 0xfc00
cmp edx, 0xd800
setne dl
cmp eax, edi
sete r8b
or r8b, dl
jne 0x1403b1b49
movsxd rdx, eax
movzx edx, word [rbx + rdx*2]
mov r8d, edx
and r8d, 0xfc00
cmp r8d, 0xdc00
jne 0x1403b1b49
add r15d, 2
shl ecx, 0xa
add ecx, edx
add ecx, 0xfca02400
jmp 0x1403b1b4c
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403b1bcc
call fcn.14029bbb0
int3
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1403d1e90
Capabilities:
Read http header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov rdi, r8
mov ebx, edx
mov r14, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r12, [rsp + 0x54]
mov dword [r12], 0
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
cmp ebp, 0x8007007a
je 0x1403d1f28
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403d1f17
call fcn.14029bbb0
int3
mov eax, ebp
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x30]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x140484a40]
movaps xmmword [r15], xmm0
mov edx, dword [rsp + 0x54]
shr edx, 1
mov rcx, r15
call fcn.1402e3330
mov r9, qword [r15]
cmp r9, qword [r15 + 8]
je 0x1403d1fc8
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
mov rcx, r14
mov edx, ebx
mov r8, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1403d1fca
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebp, 0x80004005
cmovne ebp, ecx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1403d1f00
mov rax, qword [rsp + 0x38]
cmp rax, rcx
je 0x1403d1fb9
add rax, 0xfffffffffffffffe
jne 0x1403d1fac
jmp 0x1403d1fc8
mov qword [rsp + 0x38], rcx
call fcn.14029a668
jmp 0x1403d1f00
ud2
mov edx, dword [rsp + 0x54]
test dl, 1
jne 0x1403d1ffe
shr edx, 1
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d7540
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, r8
sub r9, rdx
sar r9, 1
mov rcx, rsi
call fcn.1403d2250
xor ebp, ebp
jmp 0x1403d1f99
int3

Function at 0x1403d2010
Capabilities:
Read http header

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x40], rax
or edx, 0x20000000
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, eax
xor eax, eax
test ecx, ecx
jne 0x1403d206c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
cmovne eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403d2083
call fcn.14029bbb0
int3
add rsp, 0x48
ret
Function at 0x1403d8320
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 [0x140516040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1403d834a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1403d8369
mov ecx, eax
shr ecx, 0xa
xor bl, 1
test cl, bl
jne 0x1403d83ca
and eax, 0x10
shr eax, 4
jmp 0x1403d83cc
mov ecx, 2
call fcn.140212c30
test al, al
je 0x1403d83ca
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, 0x80
mov r9d, 2
call fcn.140313cd0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401e8c50
mov rcx, rax
mov rdx, rsi
call fcn.140314fa0
mov rcx, rdi
call fcn.140313d40
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403d83e6
call fcn.14029bbb0
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x1403d8400
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1403d842b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1403d84b2
test bl, bl
je 0x1403d844f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1403d84d9
mov ecx, 2
call fcn.140212c30
test al, al
je 0x1403d84b0
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.140313cd0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401e8c50
mov rcx, rax
mov rdx, rsi
call fcn.140314fa0
mov rcx, rdi
call fcn.140313d40
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403d84cc
call fcn.14029bbb0
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.1403d8320
test al, al
jne 0x1403d84b2
mov ecx, 2
call fcn.140212c30
test al, al
je 0x1403d84b0
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.1401165d0
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140314fa0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1401e8c50
mov rcx, rdi
call fcn.140116bd0
jmp 0x1403d84b0
Function at 0x1403d8550
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1403d8577
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1403d85ae
test eax, 0x410
sete al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403d85a4
call fcn.14029bbb0
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140212c30
test al, al
je 0x1403d860f
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, 0x73
mov r9d, 2
call fcn.140313cd0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401e8c50
mov rcx, rax
mov rdx, rsi
call fcn.140314fa0
mov rcx, rdi
call fcn.140313d40
xor eax, eax
jmp 0x1403d858a

Function at 0x1403da740
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.1402d9b60
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
jne 0x1403da77c
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1403da788
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 0x1403ee2f0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x1403ee32f
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x1403ee2ff
mov dword [rsi], 7
jmp 0x1403ee2ff
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.1401720b0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1403ee30b
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1403ee30b
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x1403ee3e1
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x1403ee301
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1403ee2ff
Function at 0x1403efd00
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 [0x140535d5c]
mov ecx, dword [0x140527e80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1403efd62
cmp rdi, rsi
je 0x1403efd5e
mov eax, 0xffffffff
lea rcx, [0x14053595c]
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 0x1403efd3f
not eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x1403efd56
lea rcx, [0x140535d5c]
call fcn.14029a6ac
cmp dword [0x140535d5c], 0xffffffff
jne 0x1403efd2e
lea rbx, [0x14053595c]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d9b60
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 0x1403efd95
lea rcx, [0x140535d5c]
call fcn.14029a760
jmp 0x1403efd2e

Function at 0x14040d610
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 [0x140516040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rcx + 0x48]
mov esi, dword [rcx + 4]
cmp byte [rcx], 0
je 0x14040d659
mov dword [rsp + 0x34], 0
movzx r12d, word [rbx + 0x18]
test r12, r12
je 0x14040d6c1
xor r13d, r13d
lea r14, [rsp + 0x34]
jmp 0x14040d68f
mov rcx, rbx
call fcn.1401a7bc0
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x14040d6f1
jmp 0x14040d645
mov edx, dword [r15]
bswap edx
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov r8b, 5
mov r9d, esi
call fcn.1401acf00
inc r13
cmp r12, r13
je 0x14040d6c1
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.14040db00
cmp byte [rbx + 8], 0
jne 0x14040d687
jmp 0x14040d66f
cmp byte [rbx + 8], 0
jne 0x14040d6ed
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.1401acf00
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14040d708
call fcn.14029bbb0
int3
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14040d720
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 [0x140516040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp r9b, 4
je 0x14040d796
mov ebp, r9d
cmp byte [r14], 0
je 0x14040d786
movzx eax, word [r14 + 0x18]
xor edi, edi
mov r15d, 0
test eax, eax
je 0x14040d814
mov dword [rsp + 0x2c], eax
mov r13d, eax
xor r15d, r15d
movaps xmm6, xmmword [0x140484a40]
jmp 0x14040d8c9
mov rcx, r14
call fcn.1401a7bc0
mov edi, eax
test eax, eax
jne 0x14040d7d9
jmp 0x14040d75b
mov rax, qword [r14 + 0x50]
mov ecx, dword [rax]
bswap ecx
cmp ecx, ebx
jne 0x14040d7aa
bswap esi
mov dword [rax], esi
xor edi, edi
jmp 0x14040d7d9
lea rax, [0x1404f37d1]
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, 0x12284
call fcn.14019af90
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14040d7f0
call fcn.14029bbb0
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 0x14040d7d9
cmp bpl, 5
jne 0x14040d832
mov rax, qword [r14 + 0x50]
movzx ecx, byte [r14 + 9]
mov edx, dword [rax + rcx + 8]
bswap edx
cmp edx, ebx
je 0x14040d861
lea rax, [0x1404f37d1]
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, 0x122ac
jmp 0x14040d7d4
bswap esi
mov dword [rax + rcx + 8], esi
jmp 0x14040d7a6
lea rax, [0x1404f37d1]
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, 0x122a0
jmp 0x14040d7d4
lea rcx, [r12 + 4]
mov rdx, qword [r14 + 0x48]
mov edx, dword [rdx + 0x38]
add rax, rdx
cmp rcx, rax
ja 0x14040d86c
mov eax, dword [r12]
bswap eax
cmp eax, ebx
je 0x14040d808
inc r15
cmp r13, r15
je 0x14040d819
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 0x14040d89b
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 [0x140505c38]
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jbe 0x14040d8bd
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 0x14040d956
mov eax, dword [r12 - 4]
bswap eax
cmp eax, ebx
jne 0x14040d8bd
bswap esi
mov dword [r12 - 4], esi
jmp 0x14040d7a6
lea rax, [0x1404f37d1]
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, 0x12297
jmp 0x14040d7d4
Function at 0x14043c200
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140516040]
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 0x14043c25f
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14043c276
call fcn.14029bbb0
int3
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x14043c320
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x190
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x188], rax
movaps xmm0, xmmword [0x140484a40]
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 0x14043c3b3
mov ecx, 1
call fcn.140212c30
test al, al
je 0x14043c3b3
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.1401165d0
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.1401e8c50
mov rcx, rsi
call fcn.140116bd0
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 [0x140516040]
je 0x14043c3e2
call fcn.14029bbb0
int3
add rsp, 0x190
pop rsi
ret
Function at 0x140455330
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x140484a40]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1402da840
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.14045b290
test al, al
je 0x140455443
cmp word [rsp + 0x150], 0x5a4d
jne 0x1404553fd
mov rcx, r14
call fcn.1402da840
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14045b290
test al, al
je 0x1404554d7
cmp dword [rbx], 0x4550
jne 0x140455516
mov al, 1
test rdi, rdi
je 0x1404554ae
mov qword [rdi], r14
jmp 0x1404554ae
mov ecx, 1
call fcn.140212c30
test al, al
je 0x1404554ac
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.1401165d0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140455483
mov ecx, 1
call fcn.140212c30
test al, al
je 0x1404554ac
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.1401165d0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1401e8c50
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x140455499
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1401e8c50
mov rcx, rdi
call fcn.140116bd0
xor eax, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1404554c8
call fcn.14029bbb0
int3
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140212c30
test al, al
je 0x1404554ac
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.1401165d0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14045547d
mov ecx, 1
call fcn.140212c30
test al, al
je 0x1404554ac
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.1401165d0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140455483