joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e44b0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov r12, rdx
mov rdi, rcx
lea r15, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x1400e45b8
lea rbx, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x1400e45d1
mov qword [rsp + 0x20], rbx
lea rcx, [0x1402fe1c8]
lea r9, [0x14037ddb8]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rsi, qword [rbx]
test eax, eax
js 0x1400e45ea
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400e4602
mov rax, qword [rsi]
mov rax, qword [rax + 0x90]
mov rcx, rsi
mov rdx, r15
call qword [0x1403de008]
test eax, eax
js 0x1400e461b
cmp rdi, r12
je 0x1400e4565
cmp byte [rdi + 0x17], 0
movzx r8d, byte [r12 + 0x17]
js 0x1400e4597
test r8b, r8b
jns 0x1400e4584
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, rdi
call fcn.14005d220
add rdi, 0x18
mov rcx, rdi
mov rdx, r14
call fcn.14015ebc0
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [r12 + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [r12]
movups xmmword [rdi], xmm0
jmp 0x1400e4565
test r8b, r8b
jns 0x1400e45a7
mov r8, qword [r12 + 8]
mov r12, qword [r12]
jmp 0x1400e45ab
and r8d, 0x7f
mov rcx, rdi
mov rdx, r12
call fcn.14005d100
jmp 0x1400e4565
mov qword [r15], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403de008]
jmp 0x1400e44d7
mov qword [rbx], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403de008]
jmp 0x1400e44e8
test rsi, rsi
je 0x1400e4637
mov qword [rbx], 0
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
jmp 0x1400e4631
mov qword [r15], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403de008]
jmp 0x1400e4520
mov rcx, qword [r15]
test rcx, rcx
je 0x1400e4637
mov qword [r15], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403de008]
xor eax, eax
jmp 0x1400e4576
Function at 0x1400e91b0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14032f5c0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400e929b
lea r14, [rsp + 0x6c]
xor ebx, ebx
mov r8d, 0x110
mov rcx, r14
xor edx, edx
call fcn.1401bd200
mov dword [r14 - 0xc], 0x11c
mov rdi, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov qword [r14 - 8], 6
mov word [r14 + 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 0x1400e92a2
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.1400e9300
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400e92a2
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400e92ab
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.1401bb0d0
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400f3d50
Capabilities:
Read http header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14, r9
mov r12, r8
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r13, [rsp + 0x4c]
mov dword [r13], 0
mov qword [rsp + 0x20], r13
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 ebx, 0x80004005
cmovne ebx, ecx
cmp ebx, 0x8007007a
jne 0x1400f3eb7
mov ebx, dword [rsp + 0x4c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
cmp rbx, 2
jae 0x1400f3de8
xor r15d, r15d
xor edi, edi
jmp 0x1400f3e16
and ebx, 0xfffffffe
mov rcx, rbx
call fcn.1401b9cac
mov rdi, rax
mov qword [rsp + 0x30], rax
lea r15, [rax + rbx]
mov qword [rsp + 0x40], r15
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.1401bd200
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], 0
mov rcx, rsi
mov edx, ebp
mov r8, r12
mov r9, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400f3e67
mov edx, dword [rsp + 0x4c]
shr rdx, 1
mov rax, r15
sub rax, rdi
sar rax, 1
cmp rax, rdx
jae 0x1400f3e85
sub rdx, rax
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.14004f650
mov rdi, qword [rsi]
mov r15, qword [rsi + 8]
jmp 0x1400f3e90
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov ebx, 0x80004005
cmovne ebx, ecx
jmp 0x1400f3ea5
jbe 0x1400f3e90
lea r15, [rdi + rdx*2]
mov qword [rsp + 0x38], r15
mov rcx, r14
mov rdx, rdi
mov r8, r15
call fcn.1400f3ee0
xor ebx, ebx
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400f3eb7
mov qword [rsp + 0x38], rdi
mov rcx, rdi
call fcn.1401b9ce8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400f40c0
Capabilities:
Read http header

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x38], rax
or edx, 0x20000000
lea rax, [rsp + 0x34]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor esi, esi
test eax, eax
jne 0x1400f411b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov esi, 0x80004005
cmovne esi, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x1400f4bd0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f4c30
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400f4c39
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401bb0d0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400f4c19
int3
mov rcx, qword [rcx + 8]
jmp 0x1400f4bd0

Function at 0x1400f4c40
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 [0x1403a0028]
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 0x1400f4ce3
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400f4cd2
cmp eax, 0xffffffff
je 0x1400f4cf7
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401bb0d0
mov rax, rsi
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 0x1400f4c81
mov eax, dword [rsp + 0x2c]
jmp 0x1400f4cb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400f4cb4
int3

Function at 0x1400f51c0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400f50e0
test rax, rax
jne 0x1400f51ff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1400f521b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140160660
test al, al
jne 0x1400f522d
xor esi, esi
jmp 0x1400f51ff
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
call fcn.140224610
lea rcx, [rsp + 0x40]
lea rdx, [0x140381f3d]
mov r8d, ntohl
call fcn.1401f9cc0
mov rcx, rsi
call fcn.140224690
jmp 0x1400f5229

Function at 0x1400f5710
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0xffffffff
cmp r8, rdi
cmovae r8, rdi
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f4c30
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1400f4c39
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401bb0d0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1400f4c19
int3
mov rcx, qword [rcx + 8]
jmp 0x1400f4bd0
Function at 0x1400fd1f0
Capabilities:
Allocate thread local storage

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

Function at 0x1400fe0b0
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 0x1400fe0c5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x1400febe0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.1400d3d10
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x14032d7c0]
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400fec55
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1400fec60
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400fec4d
mov qword [rsi + 0x18], rdi
call fcn.140160650
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140160650
mov rcx, qword [rsi + 0x18]
call fcn.14016ddf0
mov qword [rsi + 0x18], 0
jmp 0x1400fec3a

Function at 0x140101ab0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1403c2350]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140101aed
lea rcx, [0x1403c2340]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140180560
lea rcx, [0x1403c2350]
call fcn.1401b9e00
cmp dword [0x1403c2350], 0xffffffff
jne 0x140101ad9
xorps xmm0, xmm0
movups xmmword [0x1403c2340], xmm0
lea rcx, [0x1403c2340]
xor edx, edx
call fcn.1400d1820
lea rcx, [0x1403c2350]
call fcn.1401b9e98
jmp 0x140101ad9

Function at 0x140101b30
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403c2350]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140101b65
lea rcx, [0x1403c2340]
add rsp, 0x28
jmp fcn.140180520
lea rcx, [0x1403c2350]
call fcn.1401b9e00
cmp dword [0x1403c2350], 0xffffffff
jne 0x140101b55
xorps xmm0, xmm0
movups xmmword [0x1403c2340], xmm0
lea rcx, [0x1403c2340]
xor edx, edx
call fcn.1400d1820
lea rcx, [0x1403c2350]
call fcn.1401b9e98
jmp 0x140101b55
Function at 0x1401030c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x1403c2388]
cmp rdi, 1
jbe 0x1401030e9
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140180560
lea rcx, [0x1403c2388]
call fcn.140075b10
test al, al
je 0x14010312e
xorps xmm0, xmm0
movups xmmword [0x1403c2390], xmm0
lea rbx, [0x1403c2388]
lea rdi, [0x1403c2390]
mov rcx, rdi
xor edx, edx
call fcn.1400d1820
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140075bb0
jmp 0x1401030d7
mov rdi, qword [0x1403c2388]
jmp 0x1401030d7
Function at 0x140119530
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x1403c44e8]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140119596
cmp rdi, rsi
je 0x14011958a
mov eax, 0xffffffff
lea rcx, [0x1403c40e8]
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 0x140119571
not eax
jmp 0x14011958c
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1403c44e8]
call fcn.1401b9e00
cmp dword [0x1403c44e8], 0xffffffff
jne 0x140119560
lea r14, [0x1403c40e8]
mov r8d, 0x400
mov rcx, r14
mov dl, 0xaa
call fcn.1401bd200
xor r10d, r10d
mov r8d, 0xedb88320
mov ecx, r10d
shr ecx, 1
mov edx, r10d
and edx, 1
neg edx
and edx, r8d
xor edx, ecx
mov ebx, edx
shr ebx, 1
mov ecx, r10d
shl ecx, 0x1e
sar ecx, 0x1f
and ecx, r8d
xor ecx, ebx
mov r9d, ecx
shr r9d, 6
mov ebx, r10d
shl ebx, 0x1d
sar ebx, 0x1f
and ebx, 0x76dc419
mov eax, r10d
shl eax, 0x1c
sar eax, 0x1f
and eax, 0xedb8832
xor eax, ebx
mov ebx, r10d
shl ebx, 0x1b
sar ebx, 0x1f
and ebx, 0x1db71064
xor ebx, eax
mov eax, r10d
shl eax, 0x1a
sar eax, 0x1f
and eax, 0x3b6e20c8
xor eax, ebx
xor eax, r9d
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
xor edx, eax
shl ecx, 0x1a
sar ecx, 0x1f
and ecx, r8d
xor ecx, edx
mov dword [r14], ecx
inc r10
add r14, 4
cmp r10, 0x100
jne 0x1401195cb
lea rcx, [0x1403c44e8]
call fcn.1401b9e98
jmp 0x140119560
Function at 0x14011adb0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r13, rcx
mov rsi, qword [rcx + 0x10]
cmp rsi, qword [rcx + 0x18]
jne 0x14011aeb5
mov r15, qword [r13]
mov rbx, qword [r13 + 8]
mov rax, rbx
sub rax, r15
jbe 0x14011ae21
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea rdi, [rax + rcx]
inc rdi
shr rdi, 1
shl rdi, 3
mov rcx, rbx
sub rcx, rdi
mov r8, rsi
sub r8, rbx
mov rdx, rbx
call fcn.1401bcb50
sub rsi, rdi
mov qword [r13 + 0x10], rsi
sub qword [r13 + 8], rdi
jmp 0x14011aeb5
mov rax, rsi
sub rax, r15
sar rax, 2
cmp rsi, r15
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x14011aed0
lea rcx, [r12*8]
call fcn.1401b9cac
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
lea r8, [rax + r12*8]
mov r9, rcx
sub rsi, rbx
je 0x14011ae91
mov rdi, rsi
sar rdi, 3
and rsi, 0xfffffffffffffff8
mov r9, rsi
add r9, rcx
shl rdi, 3
xor esi, esi
mov rdx, qword [rbx + rsi]
mov qword [rcx + rsi], rdx
add rsi, 8
cmp rdi, rsi
jne 0x14011ae80
mov qword [r13], rax
mov qword [r13 + 8], rcx
mov qword [r13 + 0x10], r9
mov qword [r13 + 0x18], r8
mov rsi, r9
test r15, r15
je 0x14011aeb5
mov rcx, r15
call fcn.1401b9ce8
mov rsi, qword [r13 + 0x10]
mov rax, qword [r14]
mov qword [rsi], rax
add qword [r13 + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401f9cb0
int3

Function at 0x14011aee0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r13, rcx
mov rdi, qword [rcx + 8]
cmp rdi, qword [rcx]
je 0x14011af06
mov rbx, rdi
jmp 0x14011aff0
mov r15, qword [r13 + 0x10]
mov rax, qword [r13 + 0x18]
cmp r15, rax
jae 0x14011af5b
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea rbx, [r15 + r12*8]
sub r15, rdi
je 0x14011af4a
sub rbx, r15
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.1401bcb50
mov rdi, qword [r13 + 0x10]
mov qword [r13 + 8], rbx
lea rax, [rdi + r12*8]
mov qword [r13 + 0x10], rax
jmp 0x14011aff0
mov rcx, rax
sub rcx, rdi
sar rcx, 2
cmp rax, rdi
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x14011b00c
lea rcx, [r12*8]
call fcn.1401b9cac
lea rbx, [r12 + r12]
add rbx, 6
and rbx, 0xfffffffffffffff8
add rbx, rax
lea r8, [rax + r12*8]
mov r9, rbx
sub r15, rdi
je 0x14011afcf
mov rcx, r15
sar rcx, 3
and r15, 0xfffffffffffffff8
mov r9, r15
add r9, rbx
shl rcx, 3
xor edx, edx
mov rsi, qword [rdi + rdx]
mov qword [rbx + rdx], rsi
add rdx, 8
cmp rcx, rdx
jne 0x14011afbe
mov qword [r13], rax
mov qword [r13 + 8], rbx
mov qword [r13 + 0x10], r9
mov qword [r13 + 0x18], r8
test rdi, rdi
je 0x14011aff0
mov rcx, rdi
call fcn.1401b9ce8
mov rbx, qword [r13 + 8]
mov rax, qword [r14]
mov qword [rbx - 8], rax
add qword [r13 + 8], 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401f9cb0
int3
Function at 0x140122fa0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1403c45c0]
mov ecx, dword [0x1403b1c84]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140123021
lea rcx, [0x1403c45b0]
call fcn.140180520
test rax, rax
jne 0x14012300e
mov ecx, 4
call fcn.1401b9cac
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1403c45b0]
mov rcx, rbx
call fcn.140180520
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.140180560
test rsi, rsi
jne 0x140123064
lea rcx, [0x1403c45b0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140180520
lea rcx, [0x1403c45c0]
call fcn.1401b9e00
cmp dword [0x1403c45c0], 0xffffffff
jne 0x140122fc8
xorps xmm0, xmm0
movups xmmword [0x1403c45b0], xmm0
lea rcx, [0x1403c45b0]
lea rdx, [0x140051250]
call fcn.1400d1820
lea rcx, [0x1403c45c0]
call fcn.1401b9e98
jmp 0x140122fc8
mov rcx, rsi
call fcn.1401b9ce8
jmp 0x14012300e

Function at 0x140124560
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
push rbx
mov r8, rcx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
xchg rbx, rsi
cpuid
xchg rbx, rsi
test eax, eax
jle 0x140124672
mov esi, eax
mov eax, 1
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r9d, ecx
mov r10d, edx
mov r11d, eax
cmp esi, 7
jb 0x1401245ad
mov eax, 7
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
and ebx, 0x20
mov dword [r8], r11d
mov eax, r11d
and eax, 0xf
mov dword [r8 + 8], eax
shr r11d, 0xc
and r11d, 3
mov dword [r8 + 4], r11d
mov eax, r10d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r10d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r10d, 0x1a
and r10b, 1
mov byte [r8 + 0xe], r10b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x19], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x1401246a9
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov eax, 0x80000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp eax, 0x80000006
jle 0x1401246ad
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
shr edx, 8
and dl, 1
mov byte [r8 + 0x18], dl
test dl, dl
je 0x1401246b3
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x140124645
mov dl, byte [r8 + 0x18]
jmp 0x1401246a1
cmp byte [r8 + 0x19], 0
je 0x1401246a5
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp ebx, 0x7263694d
jne 0x1401246a5
cmp ecx, 0x666f736f
jne 0x1401246a5
cmp edx, 0x76482074
jne 0x1401246a5
mov byte [r8 + 0x18], 1
jmp 0x1401246a5
Function at 0x140128420
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401284c0]
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 0x140128479
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401bb0d0
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.140291d50
mov rcx, rsi
call fcn.140291d70
lea rdx, [0x14033f092]
mov r8d, ntohl
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rsi
call fcn.140291d80
jmp 0x140128465
Function at 0x140142640
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14014267c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140142686
add rdi, rbx
sub rsi, rbx
jne 0x14014265a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x140150cb0
Capabilities:
Decompress data using quicklz

Disassembly:
mov r8d, dword [rdx]
mov eax, r8d
and eax, 0xf800d000
cmp eax, 0xf0008000
sete r9b
mov eax, r8d
not eax
test eax, 0x3c00000
setne r10b
and r10b, r9b
test cl, 1
sete r9b
lea eax, [rcx + 0x100000]
cmp eax, 0x200000
setb al
and al, r9b
and al, r10b
cmp al, 1
jne 0x140150d4c
mov r9d, ecx
shr r9d, 1
and r9d, 0x7ff
and r8d, 0xfbc0d000
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 0x140150df0
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, edx
or eax, ecx
test al, 1
jne 0x140150e9a
sub edx, ecx
lea ecx, [rdx - 4]
and ecx, 1
lea r9d, [rcx + rdx]
add r9d, 0xffffc
xor eax, eax
cmp r9d, 0x1fffff
ja 0x140150e99
add ecx, edx
add ecx, 0xfffffffc
mov edx, ecx
and edx, 1
jne 0x140150e99
mov r9d, dword [r8]
mov edx, r9d
and edx, 0xf800d000
cmp edx, 0xf0008000
jne 0x140150e99
mov edx, r9d
and edx, 0x3c00000
cmp edx, 0x3c00000
je 0x140150e99
mov r10d, ecx
shr r10d, 1
and r10d, 0x7ff
and r9d, 0xfbc0d000
mov edx, ecx
shl edx, 6
and edx, 0x4000000
mov eax, ecx
shl eax, 4
and eax, 0x3f0000
or eax, edx
mov edx, ecx
shr edx, 5
and edx, 0x2000
or edx, eax
shr ecx, 8
and ecx, 0x800
or ecx, edx
or ecx, r10d
or ecx, r9d
mov dword [r8], ecx
mov al, 1
ret
xor eax, eax
ret

Function at 0x140156330
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140156378
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140156381
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140156368
mov qword [rdi], rsi
call fcn.140160650
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140160650
mov rcx, qword [rdi]
call fcn.14016ddf0
mov qword [rdi], 0
jmp 0x140156356