joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4cf5a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d0680
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cffa2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4d003a
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4d001e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d0012
cmp qword [rbp - 0x10], 0
je 0x2fc4d0012
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cffd8
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d003b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d0140
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d0168
mov eax, 0
jmp 0x2fc4d01b6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d0191
mov eax, 0
jmp 0x2fc4d01b6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d01b1
mov eax, 0
jmp 0x2fc4d01b6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d01bc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d023a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d0231
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d0231
mov rax, qword [rbp - 8]
jmp 0x2fc4d024f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d0204
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400010a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov byte [rsp + 0x50], 0xc3
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x68], 0x1000
call fcn.1400019e0
mov eax, dword [str.7_0E]
xor ecx, ecx
cmp dword [0x140072fb8], 2
movsd xmm0, qword [str.wNoN_Z]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x14000305c]
mov byte [rsp + 0x3c], al
movsd qword [rsp + 0x30], xmm0
jl 0x1400011f1
movdqa xmm2, xmmword [0x1400032b0]
mov ecx, 8
movdqa xmm4, xmmword [0x140003330]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400032c0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400032d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.wNoN_Z]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140003300]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140003320]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400032d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x34]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140003300]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140003320]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x140001200
mov rcx, qword [0x140070a28]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov r9d, 0x40
lea r8, [rsp + 0x68]
mov rcx, 0xffffffffffffffff
lea rax, [rsp + 0x58]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1400020bf
test eax, eax
js 0x1400012c7
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x20], 0
lea rcx, [r9 - 2]
call fcn.140002025
test eax, eax
js 0x1400012c7
mov r9d, dword [rsp + 0x58]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
call fcn.1400020bf
test eax, eax
js 0x1400012c7
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x140001990
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x20
cmp dword [0x140005ee0], 0
jne 0x140001b8e
mov rax, qword gs:[0x60]
xor r12d, r12d
mov edx, r12d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140001b9a
nop word [rax + rax]
mov r11, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x140001a0d
lea rdx, [r11 + rcx]
mov ecx, dword [r11 + rcx + 0xc]
mov eax, dword [rcx + r11]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x140001a0d
mov eax, dword [rcx + r11 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001a19
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x1400019d0
test rdx, rdx
je 0x140001b9a
mov qword [rsp + 0x30], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x38], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x40], rsi
mov esi, dword [rdx + 0x20]
mov qword [rsp + 0x18], rdi
add rsi, r11
mov qword [rsp + 0x10], r13
mov r13d, 0x775a
mov qword [rsp + 8], r14
mov r14d, dword [rdx + 0x1c]
mov edx, r12d
add r14, r11
mov qword [rsp], r15
add rbp, r11
lea r15, [0x140005ee0]
nop word [rax + rax]
lea eax, [rbx - 1]
mov r10d, dword [rsi + rax*4]
mov ebx, eax
add r10, r11
mov edi, eax
cmp word [r10], r13w
jne 0x140001ad3
mov r9d, r12d
mov r8d, 0xd397df3d
mov rax, r10
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc r9d
add ecx, eax
mov eax, r9d
add rax, r10
xor r8d, ecx
cmp byte [rax], r12b
jne 0x140001a90
mov ecx, edx
inc edx
add rcx, rcx
mov dword [r15 + rcx*8 + 8], r8d
movzx eax, word [rbp + rdi*2]
mov eax, dword [r14 + rax*4]
mov dword [r15 + rcx*8 + 0xc], eax
mov qword [r15 + rcx*8 + 0x10], r12
cmp edx, 0x258
je 0x140001ad7
test ebx, ebx
jne 0x140001a70
mov r14, qword [rsp + 8]
lea eax, [rdx - 1]
mov r13, qword [rsp + 0x10]
mov r8d, r12d
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov dword [0x140005ee0], edx
test eax, eax
je 0x140001b80
nop
mov ecx, edx
mov eax, r12d
sub ecx, r8d
cmp ecx, 1
je 0x140001b75
nop dword [rax]
lea r11d, [rax + 1]
mov r10d, eax
add r10, r10
mov r9d, r11d
add r9, r9
mov edi, dword [r15 + r10*8 + 0xc]
mov ebx, dword [r15 + r9*8 + 0xc]
cmp edi, ebx
jbe 0x140001b66
mov edx, dword [r15 + r10*8 + 8]
mov eax, dword [r15 + r9*8 + 8]
mov rcx, qword [r15 + r10*8 + 0x10]
mov dword [r15 + r10*8 + 8], eax
mov rax, qword [r15 + r9*8 + 0x10]
mov qword [r15 + r10*8 + 0x10], rax
mov dword [r15 + r10*8 + 0xc], ebx
mov dword [r15 + r9*8 + 8], edx
mov dword [r15 + r9*8 + 0xc], edi
mov qword [r15 + r9*8 + 0x10], rcx
mov edx, dword [0x140005ee0]
mov ecx, edx
mov eax, r11d
sub ecx, r8d
dec ecx
cmp r11d, ecx
jb 0x140001b10
inc r8d
lea eax, [rdx - 1]
cmp r8d, eax
jb 0x140001b00
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp]
mov eax, 1
add rsp, 0x20
pop r12
ret
xor eax, eax
add rsp, 0x20
pop r12
ret
Function at 0x140001bf0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3193073d
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001c70
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xcdd6d95b
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001cb0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x6cb0aeea
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001cf0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3aa4cac8
call fcn.140001bb0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002614
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000265e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000265e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000265e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000265e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000265e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002660
xor al, al
add rsp, 0x28
ret
Function at 0x14004b228
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push rcx
mov byte [rsp], dl
mov ebx, eax
movzx eax, byte [rsp]
cmp al, byte [rbx + 0x6a]
je 0x14004b29d
mov eax, dword [rbx + 0x5c]
test eax, eax
je 0x14004b25c
movzx edx, byte [rax + 0x58]
cmp dl, 1
jne 0x14004b253
movzx eax, byte [rsp]
mov byte [rbx + 0x6a], al
jmp 0x14004b29d
cmp dl, 2
jne 0x14004b25c
mov byte [rsp], 1
mov eax, dword [rbx + 0x50]
mov esi, dword [rax + 8]
test rsi, r14
jl 0x14004b28f
xor r15d, edi

Function at 0x1400658d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [rsp]
mov eax, dword [rsp]
mov ecx, dword [rdx + 0x98]
cmp ecx, dword [rax + 0x90]
jne 0x140065909
mov edx, dword [rsp]
cmp dword [rdx + 0x190], 0
jne 0x1400658e3
mov ecx, 1
jmp 0x1400658e5
xor ecx, ecx
mov dword [rsp + 0x90], ecx
mov eax, dword [rsp]
mov edx, dword [rax + 0x94]
mov eax, dword [rsp]
mov ecx, dword [rax + 0x9c]
add ecx, dword [rsp + 0x90]
cmp edx, ecx
ja 0x140065946
mov eax, dword [rsp]
mov edx, dword [rax + 0x1b4]
add byte [rax], al
add byte [rax], al
call qword [rdx]
test eax, eax
jne 0x14006591f
xor eax, eax
jmp 0x140066055
mov edx, dword [rsp]
mov eax, dword [rsp]
mov ecx, dword [rdx + 0x98]
cmp ecx, dword [rax + 0x90]
jl 0x140065946
mov edx, dword [rsp]
mov ecx, dword [rdx + 0x1b4]
cmp dword [rcx + 0x14], 0
je 0x1400658bc
xor eax, eax
mov dword [rsp + 0x18], eax
mov edx, dword [rsp]
mov ecx, dword [rdx + 0xd8]
mov dword [rsp + 0x40], ecx
jmp 0x14006601f

Function at 0x140065910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [rsp]
mov eax, dword [rsp]
mov ecx, dword [rdx + 0x98]
cmp ecx, dword [rax + 0x90]
jne 0x140065909
mov edx, dword [rsp]
cmp dword [rdx + 0x190], 0
jne 0x1400658e3
mov ecx, 1
jmp 0x1400658e5
xor ecx, ecx
mov dword [rsp + 0x90], ecx
mov eax, dword [rsp]
mov edx, dword [rax + 0x94]
mov eax, dword [rsp]
mov ecx, dword [rax + 0x9c]
add ecx, dword [rsp + 0x90]
cmp edx, ecx
ja 0x140065946
mov eax, dword [rsp]
mov edx, dword [rax + 0x1b4]
add byte [rax], al
add byte [rax], al
call qword [rdx]
test eax, eax
jne 0x14006591f
xor eax, eax
jmp 0x140066055
mov edx, dword [rsp]
mov eax, dword [rsp]
mov ecx, dword [rdx + 0x98]
cmp ecx, dword [rax + 0x90]
jl 0x140065946
mov edx, dword [rsp]
mov ecx, dword [rdx + 0x1b4]
cmp dword [rcx + 0x14], 0
je 0x1400658bc
xor eax, eax
mov dword [rsp + 0x18], eax
mov edx, dword [rsp]
mov ecx, dword [rdx + 0xd8]
mov dword [rsp + 0x40], ecx
jmp 0x14006601f

Function at 0x140065ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [rax], al
add byte [rcx + 0x842494], cl
add byte [rax], al
Function at 0x14008fde0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14008fe17
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14008fe17
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x14008fe17
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x14008fe16

Function at 0x140093380
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xb78], 0x8000
jne 0x140093494
mov rsi, rcx
movzx eax, word [0x14022f778]
lea rax, [rax + rax*4]
cmp dword [rcx + rax*8 + 0x60], 0x200
jne 0x140093497
lea rcx, [0x14022f730]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14009349d
cmp byte [0x14023f778], 0
je 0x14009340a
lea rcx, [0x14022f730]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg qword [0x14023f780], rsi
jne 0x14009349a
lea rax, [0x1400934c0]
mov qword [0x1402453e8], rax
add rsi, 0x48
xor eax, eax
lea rcx, [0x14023f730]
jmp 0x14009346d
cmp qword [0x1402453d8], 0
jne 0x1400934ae
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400934b1
mov dword [0x14023f720], eax
mov dword [0x1402453e0], eax
lea rax, [0x14002ea60]
mov qword [0x1402453d8], rax
mov byte [0x14023f778], 1
jmp 0x1400933cf
mov dl, 0x80
jmp 0x14009345d
cmp edx, 0x201
setb dl
shl dl, 4
add dl, 0x10
mov byte [rax + rcx], dl
inc rax
add rsi, 0x28
cmp rax, 0x48
je 0x14009348a
cmp qword [rsi], 0
je 0x140093490
mov edx, dword [rsi + 0x18]
cmp edx, 0x81
jb 0x14009344a
cmp edx, 0x101
jae 0x14009344e
mov dl, 0x40
jmp 0x14009345d
add rsp, 0x20
pop rsi
ret
xor edx, edx
jmp 0x14009345d
int3
int3
int3
lea rcx, [0x14022f730]
call fcn.1400d0a40
jmp 0x1400933c6
int3
int3
Function at 0x1400987e0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x1401fd210]
mov qword [rcx], rax
lea rax, [0x1401fc0b8]
mov qword [rcx + 0x18], rax
xor ecx, ecx
mov qword [rsi + 0x20], rcx
mov byte [rsi + 0x28], cl
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
mov byte [rsi + 0x40], cl
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140098857
cmp rcx, rdi
je 0x140098901
test rcx, rcx
jne 0x140098906
mov qword [rsi + 0x20], rdi
cmp dword [0x14023f298], 2
jg 0x140098876
test rdi, rdi
je 0x140098967
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14009889a
cmp rcx, rdi
je 0x140098901
test rcx, rcx
jne 0x140098910
mov qword [rsi + 0x38], rdi
cmp dword [0x14023f298], 2
jg 0x1400988b5
test rdi, rdi
je 0x1400989b4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400a4850]
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 0x140098917
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140146540
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.140143c00
call fcn.1400a1000
jmp 0x140098860
call fcn.1400a1000
jmp 0x14009889f
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x1b
call fcn.1400ce6a0
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.1401a0cd0
lea rdx, [0x140216880]
mov rcx, rbx
call fcn.1401b86a0
mov rcx, rbx
call fcn.14017cd20
jmp 0x1400988e3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5b
mov r9d, 2
call fcn.14019f590
lea rcx, [rsp + 0x40]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.14017f3b0
mov rcx, rdi
call fcn.14019f610
jmp 0x140098876
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.14019f590
lea rcx, [rsp + 0x40]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.14017f3b0
mov rcx, rdi
call fcn.14019f610
jmp 0x1400988b5
Function at 0x1400b71d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x30
movapd xmmword [rsp + 0x20], xmm6
mov ecx, 0x20
call fcn.140143bb8
mov rsi, rax
mov edx, 4
mov rcx, rax
call fcn.1400b6150
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
mov rax, rdx
sub rax, r8
sar rax, 2
lea rcx, [rax - 1]
cmp rcx, 2
jb 0x1400b72c8
add rax, 0xfffffffffffffffd
movq xmm0, rax
punpckldq xmm0, xmmword [0x140201a60]
subpd xmm0, xmmword [0x140201a70]
haddpd xmm0, xmm0
mov edx, 1
movdqa xmm1, xmmword [0x140201a60]
movapd xmm2, xmmword [0x140201a70]
movsd xmm3, qword [0x1401eff80]
nop
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
sub r9, r8
sar r9, 2
cmp r9, rdx
jbe 0x1400b736e
movq xmm4, rax
punpckldq xmm4, xmm1
subpd xmm4, xmm2
movapd xmm5, xmm4
unpckhpd xmm5, xmm4
addsd xmm5, xmm4
lea r9, [rdx - 1]
movq xmm4, r9
punpckldq xmm4, xmm1
subpd xmm4, xmm2
movapd xmm6, xmm4
unpckhpd xmm6, xmm4
addsd xmm6, xmm4
addsd xmm6, xmm6
addsd xmm6, xmm5
divsd xmm6, xmm0
addsd xmm6, xmm3
cvttsd2si r9d, xmm6
mov dword [r8 + rdx*4], r9d
dec rax
inc rdx
cmp rdx, rcx
jne 0x1400b7250
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, r8
je 0x1400b736e
mov dword [rdx - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, r8
je 0x1400b7381
js 0x1400b7385
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x1400b734f
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x1400b733e
lea r8, [0x14020d470]
movzx r9d, byte [rdx]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, byte [rdx + 1]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x1400b7310
mov dword [rsi + 0x18], ecx
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rsi
ret
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x14020d470]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x1400b7300
lea rcx, [0x1401fff03]
lea rdx, str....._third_partylibc_srcinclude_vector:1393:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140180910
xor ecx, ecx
jmp 0x1400b733e
int3
Function at 0x1400cda00
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x1400cda4c
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 0x1400cda57
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400cda3a
mov qword [rdi], rsi
call fcn.1400cdad0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400cdad0
mov r14, qword [rdi]
cmp qword [0x14023f388], 0
je 0x1400cda88
mov rcx, qword [0x14023f388]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x14021f820]
mov qword [rdi], 0
jmp 0x1400cda28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140212727]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400cdac9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400cdac3
call qword [0x14021f820]
mov rcx, rax
xor edx, edx
call fcn.140006000
jmp 0x1400cda69
xor ecx, ecx
mov dl, 1
jmp 0x1400cdabc
xor ecx, ecx
jmp 0x1400cdaba
Function at 0x1400ff4c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14022d028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14023f138]
mov ecx, dword [0x14023be10]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ff524
mov rax, qword [0x14023f130]
mov rsi, qword [rax + 0x58]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140146540
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14023f138]
call fcn.140143cb8
cmp dword [0x14023f138], 0xffffffff
jne 0x1400ff4fc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140148680
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140143bb8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14023f180]
mov ecx, dword [0x14023be10]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ff5e4
lea r8, [0x14023f150]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140022e60
mov qword [0x14023f130], rsi
lea rcx, [0x14023f138]
call fcn.140143c58
jmp 0x1400ff4fc
lea rcx, [0x14023f180]
call fcn.140143cb8
cmp dword [0x14023f180], 0xffffffff
jne 0x1400ff5b5
xorps xmm0, xmm0
movups xmmword [0x14023f170], xmm0
movups xmmword [0x14023f160], xmm0
movups xmmword [0x14023f150], xmm0
lea rcx, [0x14023f150]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14023f180]
call fcn.140143c58
jmp 0x1400ff5b5