joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c2c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14001c307
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001c312
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001c2ff
mov qword [rsi], rdi
call fcn.140068360
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140068360
mov rcx, qword [rsi]
call fcn.140061810
mov qword [rsi], 0
jmp 0x14001c2ed

Function at 0x14001c360
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001c386
call fcn.140068360
cmp qword [rsi], rbx
je 0x14001c3b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001c3c2
cmp r14, 2
jb 0x14001c3ad
mov qword [rsi], rbx
call fcn.140068360
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140068360
mov rcx, qword [rsi]
call fcn.140061810
mov qword [rsi], 0
jmp 0x14001c39f

Function at 0x14001c3e0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001c405
call fcn.140068360
cmp qword [rsi], rbx
je 0x14001c434
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001c441
cmp r14, 2
jb 0x14001c42c
mov qword [rsi], rbx
call fcn.140068360
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140068360
mov rcx, qword [rsi]
call fcn.140061810
mov qword [rsi], 0
jmp 0x14001c41e

Function at 0x14001c510
Capabilities:
Terminate process

Disassembly:
mov rcx, qword [rcx]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14001c51e
ret
xor edx, edx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
invalid
mov edx, 0x1ed7ff9f
sbb qword [r14 + 0x3386a5a6], rdx
add eax, 0xb926d47c
invalid
cmpsd dword [rsi], dword [rdi]
push rdi
lodsd eax, dword [rsi]
out dx, al
fisttp word [rdi - 0x74902c20]
out dx, al
mov dh, al
sbb al, 0x53
jnp 0x14021c65d
invalid
sbb dword [rbx + 0x8a53314], 0xdfb174d0
mov edi, 0xe2ff8b7e
invalid
Function at 0x14001e7a0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.opera_splash_done_
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.1400b9b10
movzx r8d, byte [rsi + 0x1f]
test r8b, r8b
js 0x14001e7e3
lea rdx, [rsi + 8]
and r8d, 0x7f
jmp 0x14001e7eb
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, rdi
call fcn.140031470
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
cmp byte [rsp + 0x4f], 0
jns 0x14001e823
mov rcx, qword [rsp + 0x38]
call fcn.1400879d4
cmp byte [rsp + 0x37], 0
js 0x14001e831
lea r9, [rsp + 0x20]
jmp 0x14001e836
mov r9, qword [rsp + 0x20]
xor r14d, r14d
xor ecx, ecx
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14001e873
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x14001e8ee
call fcn.140068360
mov r14, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [r14 + 1]
cmp rbx, 2
jb 0x14001e882
call fcn.140068360
cmp qword [rsi + 0x40], r14
je 0x14001e8b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14001e8f6
cmp rbx, 2
jb 0x14001e8ac
mov qword [rsi + 0x40], r14
call fcn.140068360
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x37], 0
jns 0x14001e8c5
mov rcx, qword [rsp + 0x20]
call fcn.1400879d4
mov rax, qword [rsi + 0x40]
inc rax
test rax, 0xfffffffffffffffe
setne bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140088f10
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
xor r14d, r14d
jmp 0x14001e86b
call fcn.140068360
mov rcx, qword [rsi + 0x40]
call fcn.140061810
mov qword [rsi + 0x40], 0
jmp 0x14001e89d
Function at 0x1400217f0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140021912
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140021948
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140021950
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140021954
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14002195a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x14002184c
xor eax, eax
jmp 0x1400218e1
mov dl, byte [r8 + 0x19]
jmp 0x140021941
cmp byte [r8 + 0x1a], 0
je 0x140021945
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140021945
cmp ecx, 0x666f736f
jne 0x140021945
cmp edx, 0x76482074
jne 0x140021945
mov byte [r8 + 0x19], 1
jmp 0x140021945
Function at 0x140022b00
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x140022d49
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140126fb0], rax
jne 0x140022d4c
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x1401032a0]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x1401032f0]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, [0x140102a88]
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140022ccf
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x140022cdc
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140022cc8
lea rdx, [rsi + 0x48]
bswap rcx
mov r14d, dword [rdx + r12*8 + 0x18]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x140022d4f
mov edx, ecx
and edx, 0x1fc000
je 0x140022d4f
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rsi
call fcn.1400582f0
mov ecx, dword [0x14012dd88]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140129810]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x140], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140088f10
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x140022c29
mov rcx, rbx
call fcn.140057ed0
jmp 0x140022bd9
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.140053890
test rax, rax
je 0x140022d42
mov rdi, rax
and rax, 0xffffffffffe00000
mov ecx, edi
shr ecx, 0xe
movzx ecx, cl
shl rcx, 5
or rcx, rax
mov rax, rcx
or rax, 0x1000
or rcx, 0x101e
movzx ecx, byte [rcx]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
jmp 0x140022c43
xor edi, edi
jmp 0x140022c6d
int3
int3
movaps xmm0, xmmword [0x140100d00]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.1400bc5b0
mov rcx, rsi
call fcn.1400189d0
mov rcx, r14
call fcn.1400bc620
int3
Function at 0x1400250a0
Capabilities:
Allocate thread local storage

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

Function at 0x140031b30
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140134388]
mov ecx, dword [0x140129810]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140031b6b
movzx eax, word [0x140134358]
cmp eax, 9
jne 0x140031bb3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140134388]
call fcn.140087af8
cmp dword [0x140134388], 0xffffffff
jne 0x140031b55
xorps xmm0, xmm0
movups xmmword [0x140134378], xmm0
movups xmmword [0x140134368], xmm0
movups xmmword [0x140134358], xmm0
lea rcx, [0x140134358]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140134388]
call fcn.140087b90
jmp 0x140031b55
test eax, eax
je 0x140031b66
cmp eax, 6
jne 0x140031bc3
mov eax, 2
jmp 0x140031b66
cmp eax, 0xc
jne 0x140031bcf
mov eax, 3
jmp 0x140031b66
mov eax, 4
jmp 0x140031b66

Function at 0x140032760
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400327e8
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400327d2
cmp dword [rsp + 0x38], 4
jne 0x1400327d2
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140088f10
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400327d2
Function at 0x1400327f0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140088eb0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14008b030
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 0x1400328b3
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x1400328b7
lea rcx, [rsp + 0x840]
call fcn.1400a5678
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.140031370
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140088f10
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140032894
cmp eax, 2
jne 0x14003290c
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14008b030
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
cmp eax, 0xfffffc00
jb 0x140032913
lea rcx, [rsp + 0x40]
call fcn.1400a5678
lea rdx, [rsp + 0x40]
jmp 0x140032887
mov edi, 0x3f4
jmp 0x140032894
mov edi, 0xea
jmp 0x140032894

Function at 0x140032f70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x140100d00]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x209
call fcn.140068340
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140063930
cmp byte [rdi + 0x17], 0
jns 0x140032ff0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140063b70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140088f10
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140033030
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14008b030
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400330cf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400a5678
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400684a0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140035e60
mov rcx, rsi
mov rdx, r14
call fcn.140068670
mov rcx, r14
call fcn.1400685f0
mov rcx, rbx
call fcn.1400685f0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140088f10
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140033100
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14008b030
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400331ae
cmp word [rsp + 0x70], 0
je 0x1400331ae
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400a5678
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400684a0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140088f10
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140068480
lea rcx, [rsp + 0x40]
call fcn.1400685f0
jmp 0x140033177
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140100d00]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140068370
mov rcx, rdi
call fcn.140033030
test al, al
jne 0x140033195
lea rax, [0x14010605c]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400684a0
jmp 0x1400331a2
Function at 0x140034460
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140034629
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400a23d4
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x140100d00]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.140068340
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140063930
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.14009aa0c
mov ecx, eax
call fcn.14009aa5c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14003461e
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x140140008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400a205c
test rax, rax
je 0x1400345c1
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14003462d
add r15, r12
mov rcx, rbx
call fcn.1400a18c4
test eax, eax
je 0x140034631
mov r12, r15
mov rcx, rbx
call fcn.1400a18f0
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x140140008]
lea rcx, [rsp + 0x80]
call fcn.140063b70
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140088f10
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14d, 0xffff
jmp 0x14003455f
xor ebx, ebx
jmp 0x1400345f3
xor ebx, ebx
jmp 0x1400345d1
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x140140008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140034584
Function at 0x1400368c0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140134590]
test rdi, rdi
jne 0x140036973
mov ecx, 0x50
call fcn.140087984
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140087984
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140036995
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140134590], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400369c1
mov rcx, rax
call fcn.1400a5678
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400369f0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140088f10
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
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, 0x25
call fcn.1400bb980
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400bb980
int3
Function at 0x1400369f0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140032a80
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140036b84
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140106404]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140036bbb
lea rdx, [0x140106454]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140036ba9
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140140008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x140036bb1
test r12d, r12d
js 0x140036c26
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140087984
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x140036bce
mov rdx, qword [r14 + r15]
call fcn.1400b9b10
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x140036af2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400365f0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140036b46
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140036b84
cmp r15, rbx
je 0x140036b7c
add r15, 0xffffffffffffffe8
jmp 0x140036b6a
mov rcx, qword [r15]
call fcn.1400879d4
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x140036b7c
test r15, r15
je 0x140036bfa
cmp byte [r15 + 0x17], 0
jns 0x140036b5e
jmp 0x140036b56
mov rcx, rbx
call fcn.1400879d4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140088f10
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140036aa4
xor r15d, r15d
xor ebx, ebx
jmp 0x140036b1f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140036aa1
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, 0x25
call fcn.1400bb980
lea rax, str.null_pointer_given_to_destroy_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.__loc___nullptr
mov r8d, 0x41
call fcn.1400bb980
lea rcx, [rsp + 0x30]
call fcn.1400b9af0
int3