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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca0], 0
lea rbx, [rcx + 0x5ca8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400180e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001809a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001a480
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003270
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14009c588]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400180ef
mov rcx, rbx
call fcn.140003270
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018570
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14009c590]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400185d3
mov qword [rsp], rbx
lea rbx, [0x140044b20]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400185b3
cmp byte [r8], r9b
jne 0x1400185b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400185a0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140018607
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001860e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400185f4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140041b40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140041b8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140041b8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041b8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140041b8a
cmp dword [rcx + 0x84], 0xe
jbe 0x140041b8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140041b8c
xor al, al
add rsp, 0x28
ret
Function at 0x140001030
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x128
lea rcx, [rsp + 0x60]
lea rdx, [0x140012360]
mov r8d, 0xb9
call fcn.1400105f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x44], eax
mov r8d, dword [rsp + 0x44]
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
xor eax, eax
mov edx, eax
mov r8d, 0xb9
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov r9d, 0xb9
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
xor eax, eax
mov r8d, eax
xor eax, eax
mov rdx, r8
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.pause
call fcn.1400043e0
nop
add rsp, 0x128
ret

Function at 0x14000184c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001896
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001896
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001896
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001896
cmp dword [rcx + 0x84], 0xe
jbe 0x140001896
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001898
xor al, al
add rsp, 0x28
ret

Function at 0x140005040
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400050af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400050af
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400050af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400050af
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400050af
cmp dword [rcx + 0x84], 0xe
jbe 0x1400050af
cmp dword [rcx + 0xf8], 0
je 0x1400050af
mov ecx, ebx
call fcn.140005160
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140004f3c
nop
cmp dword [rbp + 0x20], 0
je 0x1400050fd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005108
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140005040

Function at 0x140005244
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005040
Function at 0x1400090f4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140009124
xor eax, eax
jmp 0x1400091e7
mov rbp, rbx
cmp word [rax], si
je 0x140009149
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009130
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000912c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140009014
movsxd r14, eax
test eax, eax
jne 0x140009187
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000911d
mov rcx, r14
call fcn.140009fd0
mov rdi, rax
test rax, rax
jne 0x1400091a0
xor ecx, ecx
call fcn.14000613c
jmp 0x14000917c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140009014
test eax, eax
jne 0x1400091d1
mov rcx, rdi
call fcn.14000613c
jmp 0x1400091db
xor ecx, ecx
call fcn.14000613c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000cf28
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140006fec
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000cfb2
cmp byte [rbp - 0x21], r15b
je 0x14000cfad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000cfe8
call fcn.14000a7e0
test eax, eax
jne 0x14000cfd4
cmp byte [rbp - 0x21], r15b
je 0x14000cfcc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000cfe8
cmp byte [rbp - 0x21], r15b
je 0x14000cfe5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140006e70
test eax, eax
jne 0x14000d088
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140006fec
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000d027
cmp byte [rbp - 0x21], r15b
je 0x14000d05c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000d05c
call fcn.14000a7e0
test eax, eax
jne 0x14000d048
cmp byte [rbp - 0x21], r15b
je 0x14000d041
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000d05c
cmp byte [rbp - 0x21], r15b
je 0x14000d059
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140006e70
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000d088
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000d08b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000d099
mov rcx, rdi
call fcn.14000613c
cmp byte [rbp + 0x3f], r15b
je 0x14000d0a8
mov rcx, qword [rbp + 0x27]
call fcn.14000613c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000fed0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000fef8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000fef8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000c090
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14000c10d
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 0x14000c0dc
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14000c0ca
mov qword [rdi], rsi
call fcn.140118d70
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.140118d70
mov r14, qword [rdi]
cmp qword [0x1402c5c40], 0
je 0x14000c117
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a3e88]
mov qword [rdi], 0
jmp 0x14000c0b8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288eef]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000c158
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14000c152
call qword [0x1402a3e88]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x14000c0ee
xor ecx, ecx
mov dl, 1
jmp 0x14000c14b
xor ecx, ecx
jmp 0x14000c149

Function at 0x14000c6a0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1402c2670]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
je 0x14000c75d
mov eax, dword [0x1402c2670]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x188], 1
je 0x14000c759
mov ecx, dword [rsi + 0x1928]
test ecx, ecx
jne 0x14000c759
mov ecx, 1
lock xadd dword [rsi + 0x1928], ecx
cmp ecx, 0x7fffffff
je 0x14000c767
test rsi, rsi
je 0x14000c76a
lea rbx, [rax + 0x188]
call fcn.1400181b0
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.140018270
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.140144450
mov ecx, dword [0x1402c5f90]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1928]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x14000c74e
call fcn.140191638
jmp 0x14000c6ca
int3
int3
Function at 0x14000e630
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402c59d0]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000e690
lea rsi, [0x1402c59c8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140191d80
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402c59d0]
call fcn.14018f730
cmp dword [0x1402c59d0], 0xffffffff
jne 0x14000e66c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401cdd90
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, 0x88
call fcn.14018f5b8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1402c5a18]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000e750
lea r8, [0x1402c59e8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002d680
mov qword [0x1402c59c8], rsi
lea rcx, [0x1402c59d0]
call fcn.14018f6c4
jmp 0x14000e66c
lea rcx, [0x1402c5a18]
call fcn.14018f730
cmp dword [0x1402c5a18], 0xffffffff
jne 0x14000e721
xorps xmm0, xmm0
movups xmmword [0x1402c5a08], xmm0
movups xmmword [0x1402c59f8], xmm0
movups xmmword [0x1402c59e8], xmm0
lea rcx, [0x1402c59e8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1402c5a18]
call fcn.14018f6c4
jmp 0x14000e721
Function at 0x140013450
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14026f080]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.GetLength
lea r8, [0x1402819f8]
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xac
call fcn.14012cb80
xor edi, edi
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.140159990
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14], rax
mov rcx, qword [rbx]
lea rbx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rdi, rdi
or rdi, qword [rbx]
mov rcx, rsi
call fcn.1401594a0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140191d80
mov rax, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400136a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.140191d20
sub rsp, rax
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x1402c1858]
cmp esi, 0xffffffff
je 0x140013753
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140013785
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.1401cdd90
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.14018f7a8
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call fcn.1401cd6f0
mov rdx, rbx
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140191d80
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140013788
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x1402c1858], esi
je 0x1400136d3
mov ecx, esi
call sub.KERNEL32.dll_TlsFree
mov esi, dword [0x1402c1858]
jmp 0x1400136d3
int3
int3
Function at 0x140014a60
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x140014aa6
mov r15, rbx
test r15, r15
je 0x140014ba1
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x140014b02
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x140014af1
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1401cd6f0
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x140014a82
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x140014bc7
lea rcx, [r13*8]
call fcn.14018f5b8
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x140014b67
xor r15d, r15d
mov r8, rcx
add r8, r15
je 0x140014ba1
mov r9, qword [r14 + r15]
mov qword [r8], r9
add r15, 8
cmp rdx, r15
jne 0x140014b4c
add r15, rcx
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x140014b87
add rbx, 0xfffffffffffffff8
jne 0x140014b7a
jmp 0x140014bb4
test r12, r12
je 0x140014a82
mov rcx, r12
call fcn.14018f5b0
mov r15, qword [rsi + 0x10]
jmp 0x140014a82
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401ceb00
call fcn.1401ceb00
int3
Function at 0x14001a7b0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, Ordinal_26
call fcn.14018f5b8
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x1402b5708]
jne 0x14001a81d
mov rcx, r15
call fcn.1400fd440
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14001f1c0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14001a891
test r14, r14
je 0x14001a886
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140191d80
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001a860
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x14001a8db
cmp ebp, 0x5af
je 0x14001a8b0
cmp ebp, 0x27b
jne 0x14001a8e5
mov rcx, rbx
call fcn.1401fc3f0
test rsi, rsi
je 0x14001a860
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1402b5708]
jne 0x14001a8d1
call fcn.1400fd700
mov rcx, rsi
call fcn.14018f5b0
jmp 0x14001a860
cmp ebp, 8
je 0x14001a8b0
cmp ebp, 0xe
je 0x14001a8b0
mov eax, dword [0x1402c5a38]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001a99a
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.14009de80
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14001a92d
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001a974
sete al
test rbx, rbx
setne cl
or cl, al
je 0x14001a987
mov rcx, qword [0x1402c5a30]
lea rdx, [rsp + 0x50]
call fcn.140007930
cmp byte [rsp + 0x4f], 0
jns 0x14001a8b8
mov rcx, qword [rsp + 0x38]
call fcn.14018f5b0
jmp 0x14001a8b8
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401ceb00
lea rcx, [0x1402c5a38]
call fcn.14018f730
cmp dword [0x1402c5a38], 0xffffffff
jne 0x14001a90a
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14000be50
mov qword [0x1402c5a30], rax
lea rcx, [0x1402c5a38]
call fcn.14018f6c4
jmp 0x14001a90a
Function at 0x1400218c0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov byte [rcx + 8], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
lea rax, [0x1402719a8]
mov qword [rcx], 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 0x140021932
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x14002193f
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14002192a
mov qword [rsi + 0x18], rdi
call fcn.140118d70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140118d70
mov r14, qword [rsi + 0x18]
cmp qword [0x1402c5c40], 0
je 0x140021972
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a3e88]
mov qword [rsi + 0x18], 0
jmp 0x140021917
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288eef]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400219b3
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400219ad
call qword [0x1402a3e88]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x140021952
xor ecx, ecx
mov dl, 1
jmp 0x1400219a6
xor ecx, ecx
jmp 0x1400219a4
Function at 0x140024280
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1402cc8e8]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400243b5
mov ecx, dword [0x1402c1858]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400242e1
mov rcx, qword [0x1402cc8d8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402cc8e0]
jne 0x1400242e1
add rax, rcx
cmp qword [rax], 0
jne 0x140024374
mov ecx, 4
call fcn.14018f5b8
mov rsi, rax
mov dword [rax], 0
mov ecx, dword [0x1402c1858]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400243ae
mov rcx, qword [0x1402cc8d8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402cc8e0]
jne 0x1400243ae
add rax, rcx
mov rdi, qword [rax]
mov ecx, dword [0x1402c1858]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x140024347
test rsi, rsi
je 0x14002436b
call fcn.1400136a0
mov rcx, qword [0x1402cc8d8]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1402cc8e0]
mov rdx, qword [0x1402cc8d8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test rdi, rdi
jne 0x140024408
mov ecx, dword [0x1402c1858]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400243aa
mov rcx, qword [0x1402cc8d8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402cc8e0]
jne 0x1400243aa
add rax, rcx
mov rax, qword [rax]
add rsp, 0x28
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x1400243a3
xor edi, edi
jmp 0x14002432b
lea rcx, [0x1402cc8e8]
call fcn.14018f730
cmp dword [0x1402cc8e8], 0xffffffff
jne 0x1400242ab
mov qword [0x1402cc8e0], 0
lea rcx, [0x1402cc8d8]
mov qword [0x1402cc8d8], 0xffffffffffffffff
lea rdx, [0x140066b50]
call fcn.14002d530
lea rcx, [0x1402cc8e8]
call fcn.14018f6c4
jmp 0x1400242ab
mov rcx, rdi
call fcn.14018f5b0
jmp 0x140024374