joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140163d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r12, qword [rcx + 0x10]
test r12, r12
jne 0x140163d5f
xor esi, esi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140163d4e
call fcn.140297b50
int3
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, rcx
lea rsi, [rcx + 0x28]
cmp r12, rsi
jne 0x14016403c
mov rax, qword [rdi + 8]
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
cmp dword [rdi + 0x54], 0
jg 0x140163f6b
cmp qword [rdi + 0x48], 2
je 0x140164066
mov qword [rdi + 0x10], 0
lea rax, [rdi + 0x38]
mov qword [rdi + 8], rax
mov dword [rdi + 0x18], 0
jmp 0x140163d37
movzx ecx, byte [rdi + r9 + 4]
test cl, cl
js 0x140163f8e
add r9, 4
shl ecx, 0x1c
add edx, ecx
add edx, 0xf0000000
jmp 0x140163eb6
movzx r10d, byte [rdi + r9 + 1]
mov ecx, r10d
shl ecx, 7
add edx, ecx
add edx, 0xffffff80
lea rcx, [r9 + 2]
test r10b, r10b
jns 0x140163ede
movzx r10d, byte [rdi + rcx]
mov r11d, r10d
shl r11d, 0xe
add edx, r11d
add edx, 0xffffc000
test r10b, r10b
jns 0x140163eb9
movzx ecx, byte [rdi + r9 + 3]
mov r10d, ecx
shl r10d, 0x15
add edx, r10d
add edx, 0xffe00000
test cl, cl
js 0x140163dcc
add r9, 3
mov rcx, r9
inc rcx
jmp 0x140163ede
movzx edx, byte [rdi + r9]
test dl, dl
js 0x140163e60
inc r9
mov rcx, r9
cmp rcx, 0x38
jg 0x140163f8e
mov r9, rdi
add r9, rcx
je 0x140163f8e
test edx, edx
je 0x140163d83
and edx, 7
cmp edx, 5
ja 0x140163f8e
movsxd rdx, dword [rax + rdx*4]
add rdx, rax
jmp rdx
test r8d, r8d
sets al
cmp edx, 0x10
setge cl
or cl, al
jne 0x140163f8e
movsxd r9, edx
add r9, 0x28
lea rax, [0x1404d19a4]
jmp 0x140163ecf
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x28]
mov qword [rbx], rax
lea r14, [rdi + 0x18]
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rbx
mov r8, r14
call qword [case.0x1403053b8.0]
test al, al
je 0x140163ff0
movsxd r15, dword [rdi + 0x18]
sub dword [rdi + 0x54], r15d
cmp r15, 0x11
jge 0x140163ffc
test r15d, r15d
jle 0x140163fa4
lea rcx, [rdi + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, r15
call fcn.1402d2020
mov qword [rdi + 0x10], rsi
add r15, rsi
mov qword [rdi + 8], r15
jmp 0x140164014
mov dword [rdi + 0x54], 0
jmp 0x140163d83
lea rax, [rdi + 0x38]
mov rcx, qword [rsp + 0x28]
movups xmm0, xmmword [rcx]
movups xmmword [rdi + 0x38], xmm0
mov qword [rdi + 0x10], rcx
mov qword [rdi + 8], rax
cmp qword [rdi + 0x48], 2
jb 0x140163d37
mov qword [rdi + 0x48], 1
jmp 0x140163d37
movsxd rax, dword [rdi + 0x18]
add rax, r12
add rax, 0xfffffffffffffff0
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x48], 1
jne 0x14016405e
mov qword [rdi + 0x48], 2
mov rsi, r12
jmp 0x140163d37
mov rax, qword [rdi + 8]
sub rax, r12
mov qword [rdi + 0x48], rax
jmp 0x140163d8e
Function at 0x140164870
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x140470090]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140161670
test eax, eax
je 0x140164992
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
movzx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
cmp rsi, rax
jne 0x140164901
lea rbx, [0x1404d00d0]
test al, al
je 0x1401648df
lea rdx, [0x1404d00d4]
mov rcx, rdi
mov r8, rsi
call fcn.1402d1f20
test eax, eax
jne 0x140164901
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401648f6
call fcn.140297b50
int3
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
movzx eax, byte [reloc.OLEAUT32.dll_VariantInit]
cmp rsi, rax
jne 0x14016492e
lea rbx, [0x1404d0290]
test al, al
je 0x1401648df
lea rdx, [0x1404d0294]
mov rcx, rdi
mov r8, rsi
call fcn.1402d1f20
test eax, eax
je 0x1401648df
movzx eax, byte [reloc.OLEAUT32.dll_VariantInit]
cmp rsi, rax
jne 0x14016495b
lea rbx, [0x1404d01b0]
test al, al
je 0x1401648df
lea rdx, [0x1404d01b4]
mov rcx, rdi
mov r8, rsi
call fcn.1402d1f20
test eax, eax
je 0x1401648df
movzx eax, byte [0x1404d049d]
cmp rsi, rax
jne 0x140164999
lea rbx, [0x1404d0490]
test al, al
je 0x1401648df
lea rdx, [0x1404d0494]
mov rcx, rdi
mov r8, rsi
call fcn.1402d1f20
test eax, eax
je 0x1401648df
jmp 0x140164999
xor ebx, ebx
jmp 0x1401648df
movzx eax, byte [0x1404d03b5]
cmp rsi, rax
jne 0x140164992
lea rbx, [0x1404d03a8]
test al, al
je 0x1401648df
lea rdx, [0x1404d03ac]
mov rcx, rdi
mov r8, rsi
call fcn.1402d1f20
test eax, eax
je 0x1401648df
jmp 0x140164992
Function at 0x140165470
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x140470090]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x14016555c
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1402d26c0
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0x64]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x140165563
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.1401655d0
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x140165563
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14016556c
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401655b7
call fcn.140297b50
int3
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14016b070
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14016b080
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14016b0a1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14016b0c1
cmp byte [r14 + 0x50], 1
je 0x14016b14c
or edi, 0x20000000
test dil, 8
jne 0x14016b157
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14016b0df
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14016b0f0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14016b17e
cmp byte [r14 + 0x18], 1
je 0x14016b18f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14016b19f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14016b174
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14016b0c1
cmp byte [r14 + 0x68], 1
jne 0x14016b169
or edi, 0x40000000
jmp 0x14016b0cb
or edi, 0x10000000
jmp 0x14016b0cb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14016b137
lea rcx, [r14 + 0x20]
call fcn.1400d5270
mov r15, rax
jmp 0x14016b0fb
mov rcx, r14
call fcn.1400d5270
mov r9, rax
jmp 0x14016b109
cmp ebx, 4
jne 0x14016b1ae
mov edx, 6
jmp 0x14016b116
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14016b1c0
mov edx, 7
jmp 0x14016b116
cmp ebx, 1
jne 0x14016b1cf
mov edx, 4
jmp 0x14016b116
xor edx, edx
jmp 0x14016b116
Function at 0x14016b080
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14016b080
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x14016b0a1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14016b0c1
cmp byte [r14 + 0x50], 1
je 0x14016b14c
or edi, 0x20000000
test dil, 8
jne 0x14016b157
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14016b0df
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14016b0f0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14016b17e
cmp byte [r14 + 0x18], 1
je 0x14016b18f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14016b19f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x14016b174
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x14016b0c1
cmp byte [r14 + 0x68], 1
jne 0x14016b169
or edi, 0x40000000
jmp 0x14016b0cb
or edi, 0x10000000
jmp 0x14016b0cb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14016b137
lea rcx, [r14 + 0x20]
call fcn.1400d5270
mov r15, rax
jmp 0x14016b0fb
mov rcx, r14
call fcn.1400d5270
mov r9, rax
jmp 0x14016b109
cmp ebx, 4
jne 0x14016b1ae
mov edx, 6
jmp 0x14016b116
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14016b1c0
mov edx, 7
jmp 0x14016b116
cmp ebx, 1
jne 0x14016b1cf
mov edx, 4
jmp 0x14016b116
xor edx, edx
jmp 0x14016b116

Function at 0x14016b1e0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14016b218
cmp byte [r15 + 0x50], 1
je 0x14016b2af
or edi, 0x20000000
test dil, 8
jne 0x14016b2ba
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14016b236
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14016b247
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x14016b2e1
cmp byte [r15 + 0x18], 1
je 0x14016b2f2
xor r9d, r9d
cmp ebx, 4
jne 0x14016b2a0
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x14016b2d7
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14016b302
mov edx, 7
jmp 0x14016b26a
or edi, 0x80000000
jmp 0x14016b218
cmp byte [r15 + 0x68], 1
jne 0x14016b2cc
or edi, 0x40000000
jmp 0x14016b222
or edi, 0x10000000
jmp 0x14016b222
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14016b28b
lea rcx, [r15 + 0x20]
call fcn.1400d5270
mov r14, rax
jmp 0x14016b252
mov rcx, r15
call fcn.1400d5270
mov r9, rax
jmp 0x14016b260
mov edx, 1
test ebx, ebx
je 0x14016b26a
cmp ebx, 1
jne 0x14016b31e
mov edx, 4
jmp 0x14016b26a
xor edx, edx
jmp 0x14016b26a
Function at 0x14016bfc0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, 0xffffffff
cmp r8, rsi
cmovae r8, rsi
lea r9, [rsp + 0x34]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14016c025
mov eax, dword [rsp + 0x34]
cmp rax, rsi
je 0x14016c02e
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14016c01f
call fcn.140297b50
int3
add rsp, 0x40
pop rsi
ret
mov rax, 0xffffffffffffffff
jmp 0x14016c008
int3
mov rcx, qword [rcx + 8]
jmp 0x14016bfc0

Function at 0x14016c040
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12, qword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r15
test eax, eax
je 0x14016c0ed
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x14016c0d9
cmp eax, 0xffffffff
je 0x14016c0ea
mov eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14016c0cb
call fcn.140297b50
int3
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r12
cmp eax, 3
je 0x14016c081
mov eax, dword [rsp + 0x2c]
jmp 0x14016c0b2
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
setne al
neg rax
jmp 0x14016c0b4

Function at 0x14016c5c0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rdi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.14016c4e0
test rax, rax
jne 0x14016c5ff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x14016c625
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14016c619
call fcn.140297b50
int3
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x14016c67b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x38]
lea rdx, [0x1404d3a63]
mov r8d, ntohl
call fcn.1401e0d00
mov rcx, rsi
call fcn.14030e160
xor esi, esi
jmp 0x14016c5ff
Function at 0x14016cd60
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, 0xffffffff
cmp r8, rsi
cmovae r8, rsi
lea r9, [rsp + 0x34]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14016c025
mov eax, dword [rsp + 0x34]
cmp rax, rsi
je 0x14016c02e
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14016c01f
call fcn.140297b50
int3
add rsp, 0x40
pop rsi
ret
mov rax, 0xffffffffffffffff
jmp 0x14016c008
int3
mov rcx, qword [rcx + 8]
jmp 0x14016bfc0

Function at 0x14017a410
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14017a425
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140183900
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14051d6b0], 0
jne 0x14018393d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140183930
mov dword [rdi], eax
mov dword [0x14051d6b8], eax
mov qword [0x14051d6b0], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x14018bdb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
test r8d, r8d
je 0x14018bf32
mov ebx, r8d
mov dword [rsi], 0
test dl, 1
jne 0x14018bf52
xor edi, edi
movzx edx, dx
shr edx, 1
inc edi
mov ebp, edx
test dl, 1
je 0x14018bdda
bsr ecx, ebp
xor ecx, 0x1f
mov eax, 0x20
sub eax, ecx
imul eax, ebx
cmp eax, 0xde3
jg 0x14018bf5c
mov r8d, 1
mov eax, r8d
lea r8d, [rax + rax]
cmp ebx, eax
jge 0x14018be09
mov r14d, eax
sar r14d, 2
movzx r8d, dx
cmp eax, 4
jae 0x14018bef8
xor eax, eax
mov rdx, r8
test rdx, rdx
je 0x14018be5c
xor ecx, ecx
mov r8, rdx
mov r9d, edx
and r9d, 0xfffffff
mov dword [rsi + rcx*4 + 4], r9d
shr r8, 0x1c
inc rcx
cmp rdx, 0xfffffff
mov rdx, r8
ja 0x14018be37
mov word [rsi], cx
test al, 1
jne 0x14018bf61
test r14d, r14d
jne 0x14018bf70
movzx edx, word [rsi]
test rdx, rdx
je 0x14018beed
imul edi, ebx
movsxd rax, edi
imul rax, rax, 0xffffffff92492493
shr rax, 0x20
add eax, edi
mov ecx, eax
shr ecx, 0x1f
sar eax, 4
add eax, ecx
add word [rsi + 2], ax
cmp dx, 0x7f
jg 0x14018bf5c
test dx, dx
jle 0x14018beed
lea ecx, [rax + rax*8]
lea ecx, [rcx + rcx*2]
add ecx, eax
sub edi, ecx
mov eax, 0x1c
sub eax, edi
xor r8d, r8d
xor r9d, r9d
mov r10d, r9d
mov r11d, dword [rsi + r8*4 + 4]
mov r9d, r11d
mov ecx, eax
shr r9d, cl
mov ecx, edi
shl r11d, cl
add r11d, r10d
and r11d, 0xfffffff
mov dword [rsi + r8*4 + 4], r11d
inc r8
cmp rdx, r8
jne 0x14018bebc
test r9d, r9d
jne 0x14018bf48
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
or ecx, 0x20
xor eax, eax
mov rdx, r8
mov r9d, r14d
imul rdx, rdx
test r9d, ebx
jne 0x14018bf9b
mov r14d, r9d
sar r14d, 1
cmp r9d, 2
jb 0x14018be2d
mov r9, rdx
shr r9, 0x20
mov r9d, r14d
jne 0x14018be2d
jmp 0x14018bf03
mov word [rsi + 2], 0
mov dword [rsi + 4], 1
mov ax, 1
mov word [rsi], ax
jmp 0x14018beed
mov dword [rsi + rdx*4 + 4], r9d
lea eax, [rdx + 1]
jmp 0x14018bf43
movzx ebp, dx
xor edi, edi
jmp 0x14018bde8
call fcn.140392920
mov rcx, rsi
mov edx, ebp
call fcn.14018bd00
jmp 0x14018be64
mov rcx, rsi
call fcn.1403e4ed0
test r14d, ebx
je 0x14018bf87
mov rcx, rsi
mov edx, ebp
call fcn.14018bd00
mov eax, r14d
sar eax, 1
cmp r14d, 1
mov r14d, eax
jbe 0x14018be6d
jmp 0x14018bf70
mov r10, rdx
shr r10, cl
mov r11d, 1
test r10, r10
setne r10b
jne 0x14018bfb3
mov r11, r8
imul rdx, r11
or al, r10b
jmp 0x14018bf10
Function at 0x14018e3f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1405216f0]
mov ecx, dword [0x14050f5f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14018e471
lea rcx, [0x1405216e0]
call fcn.140235850
test rax, rax
jne 0x14018e45e
mov ecx, 4
call fcn.1402965cc
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1405216e0]
mov rcx, rbx
call fcn.140235850
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.140152ea0
test rsi, rsi
jne 0x14018e4b4
lea rcx, [0x1405216e0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140235850
lea rcx, [0x1405216f0]
call fcn.14029664c
cmp dword [0x1405216f0], 0xffffffff
jne 0x14018e418
xorps xmm0, xmm0
movups xmmword [0x1405216e0], xmm0
lea rcx, [0x1405216e0]
lea rdx, [0x1400cb140]
call fcn.140152ef0
lea rcx, [0x1405216f0]
call fcn.140296700
jmp 0x14018e418
mov rcx, rsi
call fcn.140296608
jmp 0x14018e45e

Function at 0x140193130
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401931e0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x140193194
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x14019318d
call fcn.140297b50
int3
add rsp, 0x68
pop rdi
pop rsi
ret
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r9d, 0x1b
call fcn.14020f920
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.140310db0
lea rdx, [0x140494bca]
mov rcx, rdi
call fcn.140307000
mov rcx, rdi
call fcn.140310e60
jmp 0x140193176

Function at 0x1401934b0
Capabilities:
Encode data using xor

Disassembly:
lea r9, [rcx + rdx]
imul eax, edx, 0xc6a4a793
xor eax, r8d
cmp rdx, 4
jl 0x14019351e
add eax, dword [rcx]
imul edx, eax, 0xc6a4a793
mov eax, edx
shr eax, 0x10
xor eax, edx
lea rdx, [rcx + 4]
add rcx, 8
cmp rcx, r9
mov rcx, rdx
jbe 0x1401934c3
sub r9, rdx
cmp r9, 3
je 0x1401934f8
cmp r9, 1
je 0x14019350a
cmp r9, 2
je 0x140193501
ret
movzx ecx, byte [rdx + 2]
shl ecx, 0x10
add eax, ecx
movzx ecx, byte [rdx + 1]
shl ecx, 8
add eax, ecx
movzx ecx, byte [rdx]
add ecx, eax
imul ecx, ecx, 0xc6a4a793
mov eax, ecx
shr eax, 0x18
xor eax, ecx
jmp 0x1401934f7
mov rdx, rcx
jmp 0x1401934e2
Function at 0x1401acc10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx r9d, byte [rdx + 1]
cmp r9, 9
ja case.0x1401acc33.0
movzx eax, byte [rdx]
and eax, 0x3f
lea r10, [0x1404e6380]
movsxd r9, dword [r10 + r9*4]
add r9, r10
jmp r9
movsx rax, byte [rdx + rax]
cmp qword [r8 + 0x10], rax
jg 0x1401acc61
jl 0x1401acc70
cmp word [r8 + 0x1c], 2
jb 0x1401acc76
mov r9d, 1
jmp fcn.1401aa940
xor eax, eax
jmp 0x1401acc3b
mov eax, 1
jmp 0x1401acc3b
movsx eax, byte [r8 + 0x20]
ret
mov rax, qword [rdx + rax]
bswap rax
jmp 0x1401acc3b
movsx eax, byte [r8 + 0x21]
ret
movsx eax, byte [r8 + 0x1e]
mov byte [r8 + 0x22], 1
ret
mov r9d, dword [rdx + rax + 2]
bswap r9d
movsx r10d, byte [rdx + rax]
shl r10d, 8
movzx eax, byte [rdx + rax + 1]
or eax, r10d
shl rax, 0x20
jmp 0x1401accae
movsx r9, byte [rdx + rax]
shl r9, 8
movzx eax, byte [rdx + rax + 1]
or rax, r9
jmp 0x1401acc3b
movzx r9d, byte [rdx + rax]
shl r9d, 0x18
movzx r10d, byte [rdx + rax + 1]
shl r10d, 0x10
movsxd r9, r9d
or r9, r10
movzx r10d, byte [rdx + rax + 2]
shl r10d, 8
or r10, r9
movzx eax, byte [rdx + rax + 3]
or rax, r10
jmp 0x1401acc3b
xor r9d, r9d
jmp fcn.1401aa940
movsx r9, byte [rdx + rax]
shl r9, 0x10
movzx r10d, byte [rdx + rax + 1]
shl r10d, 8
or r10, r9
movzx eax, byte [rdx + rax + 2]
jmp 0x1401accde
Function at 0x1401acd10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, r8
mov rdi, rdx
mov ebx, ecx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r14, [rdx + 1]
movzx ebp, byte [rdx + 1]
movsx r15d, bpl
and ebp, 0x7f
mov r12d, ebp
shl r12d, 0xe
shl ebp, 7
cmp r15d, 0xb
jle 0x1401acdc1
test r15b, 1
je 0x1401acdbb
movzx ecx, byte [rdi]
add r15d, 0xfffffff4
shr r15d, 1
lea eax, [r15 + rcx]
cmp eax, ebx
jg 0x1401ace2b
mov ebp, dword [rsi + 0x18]
cmp ebp, r15d
mov eax, r15d
cmovl eax, ebp
movsxd r8, eax
mov rdx, qword [rsi + 0x10]
add rcx, rdi
call fcn.1402d1f20
test eax, eax
jg 0x1401acdbb
jns 0x1401acde3
movsx eax, byte [rsi + 0x20]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1401acdac
call fcn.140297b50
int3
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movsx eax, byte [rsi + 0x21]
jmp 0x1401acd95
test r15d, r15d
jns 0x1401acd91
movzx r15d, byte [rdi + 2]
test r15b, r15b
js 0x1401ace60
or r15d, ebp
cmp r15d, 0xb
jg 0x1401acd4e
jmp 0x1401acd91
cmp r15d, ebp
jne 0x1401acdf9
cmp word [rsi + 0x1c], 2
jae 0x1401acdfd
movsx eax, byte [rsi + 0x1e]
mov byte [rsi + 0x22], 1
jmp 0x1401acd95
jle 0x1401acd91
jmp 0x1401acdbb
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140297b50
mov ecx, ebx
mov rdx, rdi
mov r8, rsi
mov r9d, 1
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1401aa940
lea rax, [0x1404dd361]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov ecx, ntohl
mov r9d, 0x15f32
call fcn.1401946f0
mov byte [rsi + 0x1f], ntohl
xor eax, eax
jmp 0x1401acd95
movsx eax, byte [rdi + 3]
test eax, eax
js 0x1401ace7e
and r15d, 0x7f
shl r15d, 7
or eax, r12d
or eax, r15d
mov r15d, eax
jmp 0x1401acdd7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x30]
mov qword [r15], rax
mov rcx, r14
mov rdx, r15
call fcn.1401a17a0
mov r15, qword [r15]
mov rax, r15
shr rax, 0x20
je 0x1401acdd7
jmp 0x1401acd91