joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002250
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000229c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x140002293
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x14000229e
add rax, 0x28
cmp rax, r9
jne 0x140002280
xor eax, eax
ret

Function at 0x1400022a0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140002330
mov rdx, qword [0x14001ae00]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000231e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000231e
cmp word [rax + 0x18], 0x20b
jne 0x14000231e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140002330
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140002309
add r12, 0x28
cmp r12, rsi
je 0x140002330
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140002300
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x140002340
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14001ae00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002360
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002368
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002360
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400023b5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400023ac
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002360
add rax, 0x28
cmp rax, r9
jne 0x140002398
xor eax, eax
ret

Function at 0x1400023c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001ae00]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400023e0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023e8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023e0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140002400
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14001ae00]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002420
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002428
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002420
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x140002468
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000245f
test rcx, rcx
je 0x140002420
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002450
xor eax, eax
ret
Function at 0x140002470
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001ae00]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002490
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140002498
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400024b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14001ae00]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400024d0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400024d8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400024d0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400024d0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002514
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002528
add rax, 0x28
cmp r9, rax
jne 0x140002500
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x140002540
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14001ae00]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002562
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002570
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002562
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002562
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002562
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400025bd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400025d0
add rdx, 0x28
cmp r10, rdx
jne 0x1400025a8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400025df
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400025ef
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400025c6
test ecx, ecx
jg 0x1400025d8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x140003c60
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14001ae80]
mov rax, qword [rsi]
test rax, rax
je 0x140003cf0
cmp qword [rax + 0x30], 0
jne 0x140003d10
lea rbx, [0x140019078]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140003cc0
cmp qword [rax + 0x30], 0
jne 0x140003ce0
lea rdx, [0x140019078]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je sym.pthread_tls_init.cold
add rsp, 0x28
pop rbx
pop rsi
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140003ca2
test rax, rax
jne 0x140003ce0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140003cb0
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140003c80
test rax, rax
jne 0x140003d10
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x140003c8b
Function at 0x1400078e0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14001ae80]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x1400079b0
cmp qword [rax + 0x60], 0
jne 0x1400079d0
lea rcx, [0x140019068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x1400079e0
cmp qword [rax + 0x1d8], r12
jne 0x1400079e0
test byte [rax + 0x40], 0xc
jne 0x1400079e0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x1400079e0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x1400079e0
mov rax, qword [rbx]
test rax, rax
je 0x140007a40
cmp qword [rax + 0x60], 0
jne 0x140007a60
lea rcx, [0x140019068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x140007a70
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x140007a78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x14000790b
test rax, rax
jne 0x1400079d0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007916
mov rax, qword [rbx]
test rax, rax
je 0x140007a10
cmp qword [rax + 0x60], 0
jne 0x140007a30
lea rcx, [0x140019068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x1400079ef
test rax, rax
jne 0x140007a30
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x1400079fa
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x14000797a
test rax, rax
jne 0x140007a60
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007985
xor eax, eax
jmp 0x140007a04
mov eax, 0x16
jmp 0x140007a04
Function at 0x14000d520
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140208580]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14000d555
jnp 0x14000d579
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d4e20
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140208590]
mov ecx, dword [0x1402053a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d68e
mov eax, dword [0x1402085a0]
mov ecx, dword [0x1402053a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d6c8
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x20]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x140208598]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401cc578]
ucomisd xmm1, xmm0
ja 0x14000d555
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140208588]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x1401cc580]
subpd xmm6, xmmword [0x1401cc590]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x140208580], xmm6
jmp 0x14000d555
lea rcx, [0x140208590]
call fcn.1400d2c50
cmp dword [0x140208590], 0xffffffff
jne 0x14000d5c2
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140208588], rdx
lea rcx, [0x140208590]
call fcn.1400d2be4
jmp 0x14000d5c2
lea rcx, [0x1402085a0]
call fcn.1400d2c50
cmp dword [0x1402085a0], 0xffffffff
jne 0x14000d5e7
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140208598], rax
lea rcx, [0x1402085a0]
call fcn.1400d2be4
jmp 0x14000d5e7
Function at 0x14000f350
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1402053a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
je 0x14000f40d
mov eax, dword [0x1402053a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x180], 1
je 0x14000f409
mov ecx, dword [rsi + 0x1d30]
test ecx, ecx
jne 0x14000f409
mov ecx, 1
lock xadd dword [rsi + 0x1d30], ecx
cmp ecx, 0x7fffffff
je 0x14000f417
test rsi, rsi
je 0x14000f41a
lea rbx, [rax + 0x180]
call fcn.140016600
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.1400166c0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400b25e0
mov ecx, dword [0x140208878]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1d30]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x14000f3fe
call fcn.1400d4618
jmp 0x14000f37a
int3
int3

Function at 0x140010ba0
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, [0x1401c9720]
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 0x140010c12
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x140010c1f
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140010c0a
mov qword [rsi + 0x18], rdi
call fcn.140078a00
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.140078a00
mov r14, qword [rsi + 0x18]
cmp qword [0x140208550], 0
je 0x140010c52
mov rcx, qword [0x140208550]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1401e8220]
mov qword [rsi + 0x18], 0
jmp 0x140010bf7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401da154]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140010c93
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140010c8d
call qword [0x1401e8220]
mov rcx, rax
xor edx, edx
call fcn.14002a2a0
jmp 0x140010c32
xor ecx, ecx
mov dl, 1
jmp 0x140010c86
xor ecx, ecx
jmp 0x140010c84
Function at 0x140013210
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jae 0x1400132cd
mov qword [rsi], 0
test r15, r15
je 0x140013271
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001329c
cmp r12, 2
jb 0x140013269
mov qword [rsi], r15
call fcn.140078a00
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140013318
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140078a00
mov r14, qword [rsi]
cmp qword [0x140208550], 0
je 0x1400132d7
mov rcx, qword [0x140208550]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1401e8220]
mov qword [rsi], 0
jmp 0x14001325b
call fcn.140078a00
jmp 0x14001323b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401da154]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140013325
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140013312
call qword [0x1401e8220]
mov rcx, rax
xor edx, edx
call fcn.14002a2a0
jmp 0x1400132ae
xor ecx, ecx
mov dl, 1
jmp 0x14001330b
mov rcx, rdi
call fcn.1400c89e0
jmp 0x14001328b
xor ecx, ecx
jmp 0x140013309

Function at 0x140013630
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1402047a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x140013658
test rdi, rdi
je 0x140013671
call fcn.140013680
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

Function at 0x140013680
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.1400d4dc0
sub rsp, rax
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x1402047a0]
cmp esi, 0xffffffff
je 0x140013733
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140013765
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call fcn.14010c6a0
lea rdx, [rsp + 0x23]
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call r14
mov ecx, 0x1000
call fcn.1400d2cc8
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call fcn.14010c000
mov rdx, rbx
or rdx, 3
mov ecx, esi
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400d4e20
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 0x140013768
mov esi, eax
mov eax, 0xffffffff
lock cmpxchg dword [0x1402047a0], esi
je 0x1400136b3
mov ecx, esi
call sub.KERNEL32.dll_TlsFree
mov esi, dword [0x1402047a0]
jmp 0x1400136b3
int3
int3
Function at 0x140014560
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400d4dc0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14010c6a0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140014613
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140014617
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140014670
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400d4e20
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x1400145f4
mov edi, 0x3f4
cmp eax, 2
jne 0x1400145f4
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14010c6a0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x1400145f4
lea rdx, [rsp + 0x40]
jmp 0x1400145ea
Function at 0x1400159e0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140015a5d
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 0x140015a2c
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140015a1a
mov qword [rdi], rsi
call fcn.140078a00
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.140078a00
mov r14, qword [rdi]
cmp qword [0x140208550], 0
je 0x140015a67
mov rcx, qword [0x140208550]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1401e8220]
mov qword [rdi], 0
jmp 0x140015a08
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401da154]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140015aa8
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140015aa2
call qword [0x1401e8220]
mov rcx, rax
xor edx, edx
call fcn.14002a2a0
jmp 0x140015a3e
xor ecx, ecx
mov dl, 1
jmp 0x140015a9b
xor ecx, ecx
jmp 0x140015a99
Function at 0x140018680
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400186ac
call fcn.140078a00
mov qword [rsi], 0
test r15, r15
je 0x1400186e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140018730
cmp r12, 2
jb 0x1400186da
mov qword [rsi], r15
call fcn.140078a00
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x14001871c
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.14002b300
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x1400186f9
call fcn.140078a00
mov r14, qword [rsi]
cmp qword [0x140208550], 0
je 0x140018764
mov rcx, qword [0x140208550]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1401e8220]
mov qword [rsi], 0
jmp 0x1400186cc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401da154]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400187a5
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14001879f
call qword [0x1401e8220]
mov rcx, rax
xor edx, edx
call fcn.14002a2a0
jmp 0x140018742
xor ecx, ecx
mov dl, 1
jmp 0x140018798
xor ecx, ecx
jmp 0x140018796
Function at 0x140018b50
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401c7000]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0xac
call fcn.1400916b0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400a94b0
mov qword [rsp + 0x88], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x140018c7c
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 8], rax
mov qword [rdi], 0
lea rbx, [rsp + 0x98]
mov qword [rbx], rax
mov rcx, qword [rsi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, eax
mov r14, qword [rbx]
mov rcx, rdi
call fcn.140018cb0
mov qword [rbx], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x140018c58
xor edi, edi
cmp esi, 1
sbb rdi, rdi
or rdi, r14
lea rcx, [rsp + 0x40]
call fcn.140094d00
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d4e20
mov rax, rdi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx ecx, al
lea r8, [rsp + 0x20]
mov qword [r8], 0
lea rdx, [rsp + 0x98]
mov r9d, 2
call fcn.140087840
jmp 0x140018c23
movzx ecx, al
lea r9, [rsp + 0x98]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x90]
mov qword [r8], rax
lea rdx, [rsp + 0x88]
call fcn.140130c10
jmp 0x140018bd4
Function at 0x140019250
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 [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400d2b88
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x1401f8688]
jne 0x1400192bd
mov rcx, r15
call fcn.14007c0e0
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, [0x14001d550]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140019331
test r14, r14
je 0x140019326
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d4e20
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 0x140019300
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x14001937b
cmp ebp, 0x5af
je 0x140019350
cmp ebp, 0x27b
jne 0x140019385
mov rcx, rbx
call fcn.14013abe0
test rsi, rsi
je 0x140019300
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1401f8688]
jne 0x140019371
call fcn.14007c240
mov rcx, rsi
call fcn.1400d2b80
jmp 0x140019300
cmp ebp, 8
je 0x140019350
cmp ebp, 0xe
je 0x140019350
mov eax, dword [0x140208360]
mov ecx, dword [0x1402053a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140019412
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140002010
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x1400193c9
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x140019410
sete al
test rbx, rbx
setne cl
or cl, al
je 0x140019410
mov rcx, qword [0x140208358]
lea rdx, [rsp + 0x50]
call fcn.140008a60
cmp byte [rsp + 0x4f], 0
jns 0x140019358
mov rcx, qword [rsp + 0x38]
call fcn.1400d2b80
jmp 0x140019358
ud2
lea rcx, [0x140208360]
call fcn.1400d2c50
cmp dword [0x140208360], 0xffffffff
jne 0x1400193a6
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140075c70
mov qword [0x140208358], rax
lea rcx, [0x140208360]
call fcn.1400d2be4
jmp 0x1400193a6