joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c2420
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x14052eb68]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x1401c2469
and rax, 0xfffffffffffffffc
je 0x1401c249c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1401c249c
mov rsi, qword [rax + rcx]
jmp 0x1401c249e
lea rdx, [0x1404fab2a]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.14026d510
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1403807e0
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x1401c24c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14052eb68]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401c24fe
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1401c24f7
call fcn.1401c22f0
jmp 0x1401c24de

Function at 0x1401c2e80
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1401c2e90
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 0x1401c2eb1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1401c2ed1
cmp byte [r14 + 0x50], 0
jne 0x1401c2f54
or edi, 0x20000000
test dil, 8
jne 0x1401c2f84
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1401c2eef
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1401c2f00
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1401c2f69
cmp byte [r14 + 0x18], 0
jne 0x1401c2f77
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1401c2fa1
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 0x1401c2f5f
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 0x1401c2ed1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401c2f3f
lea rcx, [r14 + 0x20]
call fcn.1400f9d30
mov r15, rax
jmp 0x1401c2f07
mov rcx, r14
call fcn.1400f9d30
mov r9, rax
jmp 0x1401c2f11
cmp byte [r14 + 0x68], 0
je 0x1401c2f96
or edi, 0x40000000
jmp 0x1401c2edb
or edi, 0x10000000
jmp 0x1401c2edb
cmp ebx, 4
jne 0x1401c2fb0
mov edx, 6
jmp 0x1401c2f1e
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1401c2fc2
mov edx, 7
jmp 0x1401c2f1e
cmp ebx, 1
jne 0x1401c2fd1
mov edx, 4
jmp 0x1401c2f1e
xor edx, edx
jmp 0x1401c2f1e
Function at 0x1401c2e90
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1401c2e90
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 0x1401c2eb1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1401c2ed1
cmp byte [r14 + 0x50], 0
jne 0x1401c2f54
or edi, 0x20000000
test dil, 8
jne 0x1401c2f84
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1401c2eef
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1401c2f00
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1401c2f69
cmp byte [r14 + 0x18], 0
jne 0x1401c2f77
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1401c2fa1
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 0x1401c2f5f
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 0x1401c2ed1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401c2f3f
lea rcx, [r14 + 0x20]
call fcn.1400f9d30
mov r15, rax
jmp 0x1401c2f07
mov rcx, r14
call fcn.1400f9d30
mov r9, rax
jmp 0x1401c2f11
cmp byte [r14 + 0x68], 0
je 0x1401c2f96
or edi, 0x40000000
jmp 0x1401c2edb
or edi, 0x10000000
jmp 0x1401c2edb
cmp ebx, 4
jne 0x1401c2fb0
mov edx, 6
jmp 0x1401c2f1e
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1401c2fc2
mov edx, 7
jmp 0x1401c2f1e
cmp ebx, 1
jne 0x1401c2fd1
mov edx, 4
jmp 0x1401c2f1e
xor edx, edx
jmp 0x1401c2f1e

Function at 0x1401c2fe0
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 0x1401c3018
cmp byte [r15 + 0x50], 0
jne 0x1401c30a7
or edi, 0x20000000
test dil, 8
jne 0x1401c30d7
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1401c3036
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1401c3047
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x1401c30bc
cmp byte [r15 + 0x18], 0
jne 0x1401c30ca
xor r9d, r9d
cmp ebx, 4
jne 0x1401c3098
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 0x1401c30b2
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 0x1401c30f4
mov edx, 7
jmp 0x1401c3062
or edi, 0x80000000
jmp 0x1401c3018
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401c3083
lea rcx, [r15 + 0x20]
call fcn.1400f9d30
mov r14, rax
jmp 0x1401c304e
mov rcx, r15
call fcn.1400f9d30
mov r9, rax
jmp 0x1401c3058
cmp byte [r15 + 0x68], 0
je 0x1401c30e9
or edi, 0x40000000
jmp 0x1401c3022
or edi, 0x10000000
jmp 0x1401c3022
mov edx, 1
test ebx, ebx
je 0x1401c3062
cmp ebx, 1
jne 0x1401c3110
mov edx, 4
jmp 0x1401c3062
xor edx, edx
jmp 0x1401c3062
Function at 0x1401da970
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rax, rcx
mov rcx, qword [0x14051d038]
xor rcx, rsp
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x1401da9f3
cmp byte [rax + 0x90], 0
jne 0x1401da9f3
mov sil, 1
cmp byte [rax + 0x91], 0
jne 0x1401da9de
lea rdx, [rsp + 0x27]
mov byte [rdx], 0xaa
mov r8d, 1
mov r9d, 2
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x1401da9f3
cmp esi, 0xffffffff
setne cl
cmp eax, 0x2733
sete sil
or sil, cl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402ddd70
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor esi, esi
jmp 0x1401da9de

Function at 0x1401daa00
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, SysAllocStringByteLen
mov rcx, rbx
mov dl, 0xaa
call fcn.1402e0d10
mov rcx, rbx
call fcn.1401d9a80
lea r8, [rsp + 0xa8]
mov rdx, qword [r8 + 8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1401daa9a
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.14016b400
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1402ddd70
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1401d9b40
mov esi, eax
jmp 0x1401daa7d

Function at 0x1401dfaa0
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1401e08b0
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14051d038]
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 0x1401e0910
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1401e0919
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1401e08f9
int3

Function at 0x1401e08b0
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1401e08b0
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14051d038]
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 0x1401e0910
mov esi, dword [rsp + 0x2c]
cmp rsi, rdi
je 0x1401e0919
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov rsi, 0xffffffffffffffff
jmp 0x1401e08f9
int3
Function at 0x1401e0920
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 [0x14051d038]
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 0x1401e09c3
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1401e09b2
cmp eax, 0xffffffff
je 0x1401e09d7
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402ddd70
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 0x1401e0961
mov eax, dword [rsp + 0x2c]
jmp 0x1401e0992
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1401e0994
int3

Function at 0x1401e0eb0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1401e0db0
test rax, rax
jne 0x1401e0eef
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1401e0f0b
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1402ddd70
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14026cdd0
test al, al
jne 0x1401e0f1d
xor esi, esi
jmp 0x1401e0eef
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, 0xfc
mov r9d, 2
call fcn.14037ed30
lea rcx, [rsp + 0x40]
lea rdx, [0x1404fcb42]
mov r8d, SafeArrayDestroy
call fcn.14031d7c0
mov rcx, rsi
call fcn.14037edb0
jmp 0x1401e0f19
Function at 0x1401ee4e0
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 0x1401ee4f5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1401ef510
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x140542a78]
mov ecx, dword [0x14052f0f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401ef591
lea rcx, [0x140542a68]
call fcn.1401c2420
test rax, rax
jne 0x1401ef57e
mov ecx, 4
call fcn.1402dd130
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x140542a68]
mov rcx, rbx
call fcn.1401c2420
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1401c24c0
test rsi, rsi
jne 0x1401ef5d4
lea rcx, [0x140542a68]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401c2420
lea rcx, [0x140542a78]
call fcn.1402dd290
cmp dword [0x140542a78], 0xffffffff
jne 0x1401ef538
xorps xmm0, xmm0
movups xmmword [0x140542a68], xmm0
lea rcx, [0x140542a68]
lea rdx, [0x14002b0c0]
call fcn.1401c2510
lea rcx, [0x140542a78]
call fcn.1402dd328
jmp 0x1401ef538
mov rcx, rsi
call fcn.1402dd16c
jmp 0x1401ef57e

Function at 0x1401f1b50
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x1401f1bb1
test r12, r12
je 0x1401f1cc8
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402ddd70
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1401f1c16
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x1401f1bff
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1402e0660
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x1401f1b7e
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x1401f1cf4
lea rcx, [r15*8]
call fcn.1402dd130
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x1401f1c93
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1401f1cc8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x1401f1c7b
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.140430a00
mov r12, qword [rsi + 0x10]
jmp 0x1401f1b7e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.14032ac00
call fcn.14031db10
int3
Function at 0x140204a10
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xe0
mov rdx, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
cmp byte [rcx + 0x17], 0
js 0x140204af6
je 0x140204adc
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], WSAGetLastError
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140204adc
mov rcx, qword [rsp + 0xc8]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xc0]
call rsi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1402ddd70
nop
add rsp, 0xe0
pop rsi
ret
cmp qword [rdx + 8], 0
je 0x140204adc
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], WSAGetLastError
mov rdx, qword [rdx]
jmp 0x140204a89

Function at 0x140204b90
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140204c40]
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 0x140204beb
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402ddd70
nop
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.14026d510
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.1403814d0
lea rdx, [0x1404e437a]
mov rcx, rdi
call fcn.14035a980
mov rcx, rdi
call fcn.140381500
jmp 0x140204bd6
Function at 0x1402069f0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x60], rax
add rcx, 0x68
mov rdx, r8
call fcn.14026dd40
mov rcx, qword [rbx + 0x70]
movabs r15, 0xfffffffc00000000
mov rax, rcx
and rax, r15
cmp rax, qword [0x14051e188]
je 0x140206b6e
and r15, r14
cmp r15, qword [0x14051e188]
jne 0x140206a5c
mov rcx, r14
call fcn.140222350
mov qword [rbx + 0x70], r14
lea r15, [rsp + 0x58]
mov qword [r15], 0
mov r13, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r13
mov r12, rax
mov r14, qword [r14]
call r13
xor ebp, ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 2
mov rcx, rax
mov rdx, r14
mov r8, r12
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140206b20
mov r14, qword [rsp + 0x58]
cmp qword [rbx + 8], r14
je 0x140206ae6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rbx + 8]
inc rax
cmp rax, 2
jae 0x140206b53
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140206ade
mov qword [rbx + 8], r14
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r14, [rbx + 0x10]
lea rdx, str.StartWatching
lea r8, str....._base_synchronizationwaitable_event_watcher_win.cc
lea r15, [rsp + 0x38]
mov rcx, r15
mov r9d, 0x28
call fcn.14026d510
mov rdx, qword [rsp + 0x58]
mov rcx, r14
mov r8, rbx
mov r9, r15
call fcn.140252630
mov ebp, eax
mov rcx, rdi
call fcn.14026de10
test rsi, rsi
je 0x140206b33
lock dec dword [rsi + 8]
je 0x140206b78
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14026d530
mov rcx, qword [rbx + 8]
call fcn.140252540
mov qword [rbx + 8], 0
jmp 0x140206acb
call fcn.140222490
jmp 0x140206a48
mov rcx, rsi
call fcn.14025daa0
jmp 0x140206b33
Function at 0x14022a750
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rdi, qword [rcx + 0x10]
lea rax, [rdi + r13]
test rdi, rdi
jle 0x14022a7b5
movdqa xmm0, xmmword [0x14048e530]
movdqa xmm1, xmmword [0x14048e540]
mov rcx, r13
movdqu xmm2, xmmword [rcx]
pxor xmm3, xmm3
pcmpgtb xmm3, xmm2
pand xmm3, xmm0
pxor xmm3, xmm1
movdqu xmmword [rcx], xmm3
add rcx, 0x10
cmp rcx, rax
jb 0x14022a794
mov rcx, qword [r13]
mov r8, qword [r13 + 7]
mov qword [rax + 8], r8
mov qword [rax + 1], rcx
mov byte [r13 + rdi], 0xff
test rdi, rdi
je 0x14022a8b6
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov r15, qword [rsp + 0x30]
jmp 0x14022a860
mov r11d, reloc.WS2_32.dll_recv
mov r9, r8
add r9, r11
and r9, rcx
movdqu xmm0, xmmword [rdx + r9]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r10d, xmm1
add r11, 0x10
test r10d, r10d
je 0x14022a7f6
tzcnt r10d, r10d
add r10, r9
and r10, rcx
mov r9, r10
sub r9, r8
mov r11, rbp
sub r11, r8
xor r11, r9
and r11, rdi
cmp r11, 0xf
ja 0x14022a8e6
and al, 0x7f
mov byte [rdx + rbp], al
lea r8, [rbp - 0xf]
and r8, rcx
and ecx, 0xf
add r8, rdx
mov byte [rcx + r8], al
inc rbp
add r15, r14
cmp rbp, rdi
je 0x14022a8b6
cmp byte [r13 + rbp], 0xfe
jne 0x14022a855
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [case.0x14012d181.0]
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov r9, rax
shr r9, 7
mov r8, rdx
shr r8, 0xc
xor r8, r9
and r8, rcx
movdqu xmm0, xmmword [rdx + r8]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r10d, xmm1
mov r9, r8
test r10d, r10d
jne 0x14022a818
jmp 0x14022a7ed
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov rdx, rcx
shr rdx, 3
mov r8, qword [rsi + 0x18]
shr r8, 1
add r8, rdx
sub rcx, r8
mov qword [rax - 8], rcx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, r10
imul r12, r14
add r12, qword [rsp + 0x30]
and al, 0x7f
lea r8, [r10 - 0xf]
and r8, rcx
and ecx, 0xf
add r8, rdx
cmp byte [r13 + r10], 0x80
mov byte [rdx + r10], al
mov byte [rcx + r8], al
mov rcx, rsi
je 0x14022a95d
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov rax, qword [rsp + 0x20]
call qword [case.0x14012d181.0]
mov rcx, rsi
mov rdx, r12
mov r8, r15
mov r12, qword [rsp + 0x20]
mov rax, r12
call qword [case.0x14012d181.0]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x28]
mov rax, r12
call qword [case.0x14012d181.0]
dec rbp
sub r15, r14
jmp 0x14022a855
mov rdx, r12
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [case.0x14012d181.0]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov r8b, 0x80
mov byte [rax + rbp], r8b
lea rdx, [rbp - 0xf]
and rdx, rcx
and ecx, 0xf
add rdx, rax
mov byte [rcx + rdx], r8b
jmp 0x14022a855
Function at 0x140231590
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14023168e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x14048f720]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x140231600
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x14048f730]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14023171d
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1402316f3
movdqa xmm1, xmmword [0x14048f730]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x14048f740], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret