joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003dbf0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, [0x1401114c0]
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x16f
call fcn.140071770
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400717a0
mov eax, edi
and eax, 1
neg eax
and eax, 3
test dil, 2
mov edx, 1
cmove edx, eax
test dil, 4
mov ecx, 4
cmovne edx, ecx
test dil, 8
mov r8d, 2
cmove r8d, edx
test dil, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x14003de57
mov edx, edi
and edx, 0x40
shl edx, 0x18
test dil, 0x80
cmove ecx, edx
mov edx, edi
rol edx, 0x1a
mov r8d, edi
shl r8d, 0xb
and r8d, 0x20000000
mov r9d, edi
shr r9d, 4
and r9d, 0x10000
and edx, 0x80000100
or edx, r8d
or edx, r9d
or edx, ecx
mov ecx, edi
shr ecx, 8
and ecx, 3
mov r8d, edi
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r14d, edi
and r14d, 0x400
mov ecx, r14d
shl ecx, 0x14
mov r9d, edi
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, edi
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r9d, edi
shl r9d, 0xd
and r9d, 0x4000000
or r9d, ecx
mov ecx, edi
shl ecx, 8
and ecx, 0xa000000
or ecx, r9d
cmp byte [rbx + 0x17], 0
jns 0x14003dd6c
mov rbx, qword [rbx]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp qword [rsi], rax
je 0x14003ddc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003de3e
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14003ddbd
mov qword [rsi], rbx
call fcn.140071790
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi]
inc rbx
cmp rbx, 2
jb 0x14003de1b
shr r14d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r14b
test dil, 4
jne 0x14003de2d
test dil, 0xa
je 0x14003ddf0
mov byte [rsi + 0x28], 1
lea rcx, [rsp + 0x60]
call fcn.140071800
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14008c940
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003da80
mov dword [rsi + 0x24], eax
jmp 0x14003ddf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x14003ddf0
call fcn.140071790
mov rcx, qword [rsi]
call fcn.140072ac0
mov qword [rsi], 0
jmp 0x14003dda9
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
jmp 0x14003ddf0
Function at 0x14003e060
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14003d910
mov qword [rsi], 0
test rax, rax
je 0x14003e0b3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003e0e7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14003e0ab
mov qword [rsi], rbx
call fcn.140071790
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400664d0
lea rcx, [rsi + 0x20]
call fcn.14007d510
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140071790
mov rcx, qword [rsi]
call fcn.140072ac0
mov qword [rsi], 0
jmp 0x14003e099
Function at 0x14003f310
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [rcx], 0
je 0x14003f31d
mov ecx, dword [rcx + 4]
jmp fcn.14004f140
ret

Function at 0x14003f6e0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r12d, dword [rsp + 0xc0]
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x58], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.14008b4ac
mov rsi, rax
mov rax, qword [0x140129720]
and rax, r15
cmp rax, qword [0x140129708]
je 0x14003f7a4
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r12d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14003fbd0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14003f7ae
test r14, r14
je 0x14003f7f9
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r15
call fcn.14006b810
jmp 0x14003f73d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003f7c7
mov ebp, eax
cmp eax, 0x5af
je 0x14003f7c7
cmp ebp, 0xe
jne 0x14003f807
mov rcx, rbx
call fcn.1400dee30
test rsi, rsi
je 0x14003f780
mov rcx, qword [rsi]
mov rax, qword [0x140129720]
and rax, rcx
cmp rax, qword [0x140129708]
jne 0x14003f7ef
call fcn.14006b960
mov rcx, rsi
call fcn.14008b4e8
jmp 0x14003f780
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003f780
mov eax, dword [0x14013a600]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f87f
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.14003e200
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x14013a5f8]
call fcn.14007c760
cmp byte [rbx + 0x17], 0
jns 0x14003f7cf
mov rcx, qword [rsp + 0x30]
call fcn.14008b4e8
jmp 0x14003f7cf
lea rcx, [0x14013a600]
call fcn.14008b600
cmp dword [0x14013a600], 0xffffffff
jne 0x14003f828
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14004d960
mov qword [0x14013a5f8], rax
lea rcx, [0x14013a600]
call fcn.14008b698
jmp 0x14003f828
Function at 0x1400401c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x14010b268]
mov qword [rcx], rax
add rcx, 8
call fcn.14006b790
lea rcx, [rsi + 0x10]
call fcn.14006b790
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14006b790
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
mov qword [rsi + 0xc0], rbx
movups xmmword [rsi + 0xc8], xmm6
movups xmmword [rsi + 0xd8], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xe8], ebp
mov dword [rsi + 0xf0], ebx
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], ebp
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], ebp
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], ebp
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebp
mov qword [rsi + 0x1b0], rbx
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], ebx
mov eax, dword [0x140115cdc]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.140052060
lea rcx, [rsi + 0x310]
movups xmmword [rsi + 0x2f8], xmm6
mov qword [rsi + 0x308], rbx
xor edx, edx
call fcn.14004cca0
lea rcx, [rsi + 0x320]
xor edx, edx
call fcn.14004cca0
lea rcx, [rsi + 0x330]
xor edx, edx
call fcn.14004cca0
movups xmmword [rsi + 0x340], xmm6
movups xmmword [rsi + 0x350], xmm6
mov dword [rsi + 0x360], ebp
movups xmmword [rsi + 0x368], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
mov byte [rsi + 0x398], bl
mov dword [rsi + 0x39c], edi
mov byte [rsi + 0x3a0], bl
movups xmmword [rsi + 0x3a8], xmm6
movups xmmword [rsi + 0x3b8], xmm6
call fcn.140019c10
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x1a8], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.1400403f0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400403db
call fcn.140051c20
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140051cd0
mov qword [0x14013a9e8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x14014d008]
jmp 0x1400403a9
Function at 0x140041fd0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x140042000
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14004200e
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14003c4c0
lea rax, [rdx - 1]
test rdx, rax
jne 0x140042024
mov rdi, rdx
jmp 0x140041fe5
jae 0x140042111
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x140042031
cvtsi2ss xmm0, rax
jmp 0x140042046
mov rcx, rdx
call fcn.140063360
mov rdi, rax
jmp 0x140041fe5
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1400be1b0
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14010c8cc]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x1400420f9
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x1400420f9
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x140042101
mov rcx, rdx
call fcn.140063360
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x140041fee
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140044900
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x140044933
mov rax, qword [rsi + 8]
test rax, rax
je 0x140044a2b
mov eax, ebx
not eax
test eax, 0x300
je 0x140044a2b
cmp edi, 2
lea rax, [0x14013e020]
lea rcx, [0x14013e220]
cmove rcx, rax
cmp word [rcx], 0
jne 0x140044a2b
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x140044a2b
cmp byte [0x14013e010], 0
setne al
bt ebx, 8
jb 0x140044a2b
shr ebx, 9
and ebx, 1
or bl, al
je 0x140044a2b
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx ebp, byte [rsi + 0x17]
test bpl, bpl
jns 0x140044a87
mov r14, qword [rsi]
mov rbp, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov r13, rbp
sub r13, r15
jb 0x140044a18
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400a64f4
test eax, eax
je 0x140044a4a
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400449f8
cmp dword [rsp + 0x2c], 0
jne 0x140044a8f
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008c940
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x140044a58
test ecx, ecx
jne 0x140044a18
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x140044ab8
cmp dword [rsp + 0x2c], 2
jne 0x140044ac9
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x140044ac9
mov r14, rsi
jmp 0x1400449db
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x140044a9b
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.1400d5a30
jmp 0x140044a2b
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x140044ae2
lea r14, [rax + 2]
dec r13
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x140044acf
jmp 0x140044ae5
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov rbp, r13
jmp 0x140044a1f
Function at 0x140046b00
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140046b27
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140046b61
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140046b80
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008c940
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140046c50
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008c940
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140070920
test al, al
jne 0x140046b92
xor esi, esi
jmp 0x140046b64
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x266
mov r9d, 2
call fcn.1400dc610
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400bec30
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140069940
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140046c18
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x140046c1c
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bec30
cmp byte [rsp + 0x4f], 0
jns 0x140046c38
mov rcx, qword [rsp + 0x38]
call fcn.14008b4e8
lea rcx, [rsp + 0x50]
call fcn.1400dc690
jmp 0x140046b8e
Function at 0x140046c50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x140046c77
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140046ca9
mov dil, 1
test al, 0x10
je 0x140046d48
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14008c940
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140070920
test al, al
je 0x140046d56
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x251
mov r9d, 2
call fcn.1400dc610
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bec30
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140069940
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140046dda
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
jmp 0x140046dde
mov ecx, 2
call fcn.140070920
test al, al
jne 0x140046d5d
xor edi, edi
jmp 0x140046c8d
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x255
mov r9d, 2
call fcn.14003b3a0
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bec30
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140069940
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140046e09
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
jmp 0x140046e0d
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bec30
cmp byte [rsp + 0x5f], 0
jns 0x140046dfa
mov rcx, qword [rsp + 0x48]
call fcn.14008b4e8
lea rcx, [rsp + 0x60]
call fcn.1400dc690
jmp 0x140046d56
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bec30
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1400bec30
cmp byte [rsp + 0x5f], 0
jns 0x140046e3e
mov rcx, qword [rsp + 0x48]
call fcn.14008b4e8
lea rcx, [rsp + 0x60]
call fcn.14003b890
jmp 0x140046d56
Function at 0x140049410
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r8]
cmovns rax, r8
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
cmovs rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.14002e640
cmp byte [rsi + 0x17], 0
jns 0x140049470
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.14002e640
cmp byte [rdi + 0x17], 0
jns 0x140049495
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x1400494b4
mov rcx, qword [rsp + 0x48]
call fcn.14008b4e8
cmp byte [rsp + 0x87], 0
jns 0x1400494c8
mov rcx, qword [rsp + 0x70]
call fcn.14008b4e8
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140049570
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.14002e640
cmp byte [rdi + 0x17], 0
jns 0x1400495b1
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x1400495d2
mov rcx, qword [rsp + 0x58]
call fcn.14008b4e8
test rsi, rsi
je 0x140049679
test edi, edi
je 0x140049679
mov ecx, edi
add rcx, rcx
call fcn.14008b51c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.14002e640
cmp byte [r14 + 0x17], 0
jns 0x140049615
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x140049635
mov rcx, qword [rsp + 0x58]
call fcn.14008b4e8
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x140049697
mov rcx, rbx
call fcn.1400ab050
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.140069940
cmp byte [rsi + 0x17], 0
js 0x14004969a
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14008b524
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008c940
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
mov rcx, qword [rsi]
call fcn.14008b4e8
jmp 0x140049660
Function at 0x1400496b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14013e688]
mov ecx, dword [0x140136f4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400496eb
movzx eax, word [0x14013e658]
cmp eax, 9
jne 0x140049733
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14013e688]
call fcn.14008b600
cmp dword [0x14013e688], 0xffffffff
jne 0x1400496d5
xorps xmm0, xmm0
movups xmmword [0x14013e678], xmm0
movups xmmword [0x14013e668], xmm0
movups xmmword [0x14013e658], xmm0
lea rcx, [0x14013e658]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14013e688]
call fcn.14008b698
jmp 0x1400496d5
test eax, eax
je 0x1400496e6
cmp eax, 6
jne 0x140049743
mov eax, 2
jmp 0x1400496e6
cmp eax, 0xc
jne 0x14004974f
mov eax, 3
jmp 0x1400496e6
mov eax, 4
jmp 0x1400496e6
Function at 0x14004ac30
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x140127038]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14010bbe0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x14004ad1c
lea rdi, [rsp + 0x6c]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.14008ea70
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 + 0x60]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x14004ad23
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.14004ad80
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x14004ad23
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14004ad2c
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 rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14008c940
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret