joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1d10
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov r15, r8
mov r12, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea r13, [rsp + 0x30]
mov dword [r13], 0xaaaaaaaa
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x28], 0
xor esi, esi
mov rcx, rdx
mov edx, 0x8000
mov r8d, 0x40
xor r9d, r9d
call fcn.14026510c
neg eax
sbb esi, esi
or esi, dword [r13]
js 0x1400b1db1
movaps xmm6, xmmword [0x1403be790]
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x10], xmm6
movaps xmmword [rdx], xmm6
mov ecx, esi
call fcn.1400b1a40
mov ebx, 0xffffffff
xor r14d, r14d
test eax, eax
je 0x1400b1dbb
mov edi, eax
mov ebp, 0xffffffff
jmp 0x1400b1ef3
mov edi, 6
jmp 0x1400b1f18
mov dword [rsp + 0x30], 0xaaaaaaaa
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x28], 0
mov rcx, r12
mov edx, 0x8000
mov r8d, 0x40
xor r9d, r9d
call fcn.14026510c
mov ebp, dword [rsp + 0x30]
neg eax
mov r12d, 0
sbb r12d, r12d
or r12d, ebp
js 0x1400b1eda
lea rdx, [rsp + 0x30]
movaps xmmword [rdx + 0x20], xmm6
movaps xmmword [rdx + 0x10], xmm6
movaps xmmword [rdx], xmm6
mov ecx, r12d
call fcn.140261edc
mov ebx, 0xffffffff
mov edi, 6
test eax, eax
jne 0x1400b1ef0
mov r13d, dword [rsp + 0x44]
cmp r13d, dword [rsp + 0x78]
jne 0x1400b1ee4
mov rcx, r13
call fcn.140201a70
test rax, rax
je 0x1400b1eeb
mov r14, rax
mov ecx, r12d
mov rdx, rax
mov r8d, r13d
call fcn.14026437c
cmp eax, dword [rsp + 0x78]
jne 0x1400b1ef3
mov r12d, eax
call fcn.1402dfe80
movsxd rdx, r12d
mov rcx, r14
call fcn.1402dfe50
not eax
cmp dword [rsp + 0x7c], eax
jne 0x1400b1f46
lea rbx, [rsp + 0x6c]
mov dword [rbx], 0xaaaaaaaa
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 0
xor r12d, r12d
mov rcx, r15
mov edx, 0x8301
mov r8d, 0x40
xor r9d, r9d
call fcn.14026510c
mov ebx, dword [rbx]
neg eax
sbb r12d, r12d
or r12d, ebx
js 0x1400b1f4d
lea rcx, [rsp + 0x70]
mov edx, esi
mov r8, r14
mov r9d, r12d
call fcn.1400b1b30
mov edi, eax
jmp 0x1400b1ef3
mov edi, 6
mov ebp, r12d
jmp 0x1400b1ef3
mov edi, 8
jmp 0x1400b1ef0
mov edi, 1
xor r14d, r14d
mov rcx, r14
call fcn.140201ad0
mov ecx, esi
call fcn.14025ed64
test ebp, ebp
js 0x1400b1f0d
mov ecx, ebp
call fcn.14025ed64
test ebx, ebx
js 0x1400b1f18
mov ecx, ebx
call fcn.14025ed64
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14024c3c0
mov eax, edi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edi, 4
jmp 0x1400b1ef3
mov ebx, r12d
jmp 0x1400b1ef3
Function at 0x1400c6540
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov r15, r8
mov r14, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdi, [rcx + 0x10]
mov rcx, rdi
call fcn.1401fcff0
mov ebx, eax
test al, al
je 0x1400c6639
mov rax, qword [r15 + 8]
mov ecx, dword [r14 + 0x20]
mov dword [rax], ecx
mov ecx, dword [r14 + 0x18]
cmp ecx, 2
ja 0x1400c658f
mov dword [rax + 8], ecx
mov rcx, qword [r14 + 0x28]
mov rdx, qword [r14 + 0x30]
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14], rax
mov rcx, rdi
mov rdx, r14
call fcn.1400ef710
xor eax, eax
mov qword [rsp + 0x28], rax
mov r15, qword [r14]
mov qword [r14], rax
cmp r15, 0xffffffffffffffff
je 0x1400c65d9
test r15, r15
je 0x1400c65fd
call fcn.1401ee3c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400c65f5
mov qword [rsp + 0x28], r15
call fcn.1401ee3c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call fcn.140206ae0
cmp qword [rsi], 0
je 0x1400c6654
mov rcx, qword [rsi + 8]
lea rsi, [rsp + 0x30]
mov rdx, rsi
call fcn.140206a50
mov rcx, rsi
call fcn.140206b90
mov rax, qword [rsp + 0x40]
inc rax
cmp rax, 2
jae 0x1400c6657
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14024c3c0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
call fcn.1401ee3c0
mov rcx, qword [rsp + 0x40]
call fcn.140201a20
jmp 0x1400c6639

Function at 0x1400c73f0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x30]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1403be790]
movaps xmmword [r14], xmm0
mov rcx, rdx
mov rdx, r14
call fcn.1401e6ba0
mov rbx, qword [r14]
mov r14, qword [r14 + 8]
cmp rbx, r14
jne 0x1400c74bd
lea r14, [rsi + 0xf8]
mov ebx, dword [rdi + 8]
mov rcx, rdi
call fcn.1401e6b90
mov rcx, qword [rsi + 0x90]
mov qword [rsp + 0x20], r14
mov rdx, rax
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400c74ae
mov byte [rsi + 0x142], 1
mov eax, 1
lock xadd dword [rsi + 8], eax
cmp eax, 0x7fffffff
je 0x1400c74ce
mov rdi, qword [rsp + 0x30]
test rdi, rdi
jne 0x1400c74d1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14024c3c0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400c7474
jmp 0x1400c748c
mov rcx, rbx
call fcn.1402a7250
add rbx, 0x28
jmp 0x1400c743e
int3
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
cmp rsi, rdi
je 0x1400c74f4
add rsi, 0xffffffffffffffd8
mov rcx, rsi
call fcn.1402a71c0
cmp rsi, rdi
jne 0x1400c74de
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14024ac18
jmp 0x1400c7496
Function at 0x1400e0a90
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400e0ace
call fcn.1401ee3c0
cmp qword [rsi], r14
je 0x1400e0b01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e0bb8
cmp r15, 2
jb 0x1400e0af9
mov qword [rsi], r14
call fcn.1401ee3c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi + 8], 0xffffffffffffffff
lea r14, [rsi + 0x10]
xor eax, eax
mov qword [rsp + 0x28], rax
mov r15, qword [rdi]
mov qword [rdi], rax
cmp r15, 0xffffffffffffffff
je 0x1400e0b2a
test r15, r15
je 0x1400e0b4e
call fcn.1401ee3c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1400e0b46
mov qword [rsp + 0x28], r15
call fcn.1401ee3c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140312200
mov rax, qword [rbx]
inc rax
cmp rax, 2
jb 0x1400e0b7b
call fcn.1401ee3c0
mov rcx, qword [rbx]
call fcn.140201a20
mov qword [rbx], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x1400e0b9b
call fcn.1401ee3c0
mov rcx, qword [rdi]
call fcn.140201a20
mov qword [rdi], 0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401ee3c0
mov rcx, qword [rsi]
call fcn.140201a20
mov qword [rsi], 0
jmp 0x1400e0aeb
Function at 0x1400e3340
Capabilities:
Get session information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x1400e3426
lea r9, [rsp + 0x40]
mov qword [r9], 0
lea rcx, [rsp + 0x3c]
mov dword [rcx], 0
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, eax
mov r8d, 0x18
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x1400e3426
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
btr rcx, 0x3f
mov rax, qword [0x140433360]
and rax, rcx
cmp rax, qword [0x140433348]
jne 0x1400e33cf
call fcn.1401f0350
mov ecx, 0x30
call fcn.14024abdc
mov rdi, rax
lea rdx, [0x1400e4890]
lea r8, [0x1400a5b60]
mov rcx, rax
call fcn.1401edcd0
lea rax, [0x1403a3b10]
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rbx
lea rdx, [rsp + 0x28]
mov qword [rdx], rdi
lea rcx, [rsp + 0x30]
call fcn.140207880
cmp dword [rsp + 0x3c], 0xd7
ja 0x1400e342f
mov qword [rsi], 0
jmp 0x1400e3443
mov qword [rsi], 0
jmp 0x1400e344d
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0xc8]
mov rcx, rsi
call fcn.140105fa0
lea rcx, [rsp + 0x30]
call fcn.1402078b0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400e80f0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1404469e8]
test rdi, rdi
jne 0x1400e81a3
mov ecx, 0x50
call fcn.14024abdc
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14024abdc
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x1400e81c5
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 [0x1404469e8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400e81f1
mov rcx, rax
call fcn.140272ba4
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400e8200
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14024c3c0
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
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14028c680
int3
Function at 0x1400e8200
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 [0x14042f038]
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.140101b10
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400e838c
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1403ca9b8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400e83dd
lea rdx, [0x1403caa08]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e83f0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [case.0x1402ceac0.0]
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 0x1400e83f8
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x1400e8402
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14024abdc
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r15
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x1400e83b1
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1402884c0
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x1400e830c
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400e7d00
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400e835a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x1400e838c
cmp r15, rbx
je 0x1400e8384
lea rsi, [r15 - 0x18]
cmp byte [r15 - 1], 0
js 0x1400e8379
mov r15, rsi
cmp rsi, rbx
jne 0x1400e8364
jmp 0x1400e8384
mov rcx, qword [r15 - 0x18]
call fcn.14024ac18
jmp 0x1400e836f
mov rcx, rbx
call fcn.14024ac18
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14024c3c0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14028c680
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400e82b1
xor r14d, r14d
jmp 0x1400e82b4
xor r15d, r15d
xor ebx, ebx
jmp 0x1400e8333
call fcn.140264f20
int3
Function at 0x1400eafe0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400eb00f
call fcn.1401ee3c0
cmp qword [rsi], r14
je 0x1400eb03e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400eb07a
cmp r15, 2
jb 0x1400eb036
mov qword [rsi], r14
call fcn.1401ee3c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
call fcn.1401ecfb0
lea rcx, [rsi + 0x20]
call fcn.140209d60
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x28], 0
mov byte [rsi + 0x29], bl
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400eb090
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401ee3c0
mov rcx, qword [rsi]
call fcn.140201a20
mov qword [rsi], 0
jmp 0x1400eb028
call fcn.1401ee3c0
mov rcx, qword [rdi]
call fcn.140201a20
mov qword [rdi], 0
jmp 0x1400eb06a

Function at 0x1400eb0b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400fe350
mov qword [rsi], 0
test rax, rax
je 0x1400eb103
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400eb137
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400eb0fb
mov qword [rsi], rbx
call fcn.1401ee3c0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1401ecfd0
lea rcx, [rsi + 0x20]
call fcn.140209d60
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 rbp
pop rdi
pop rsi
ret
call fcn.1401ee3c0
mov rcx, qword [rsi]
call fcn.140201a20
mov qword [rsi], 0
jmp 0x1400eb0e9
Function at 0x1400eccf0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
test rcx, rcx
je 0x1400eceb3
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.14026c754
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x50], rax
movaps xmm6, xmmword [0x1403be790]
movaps xmmword [r14 + 0x40], xmm6
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.1401ee3a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fb430
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.140261eb4
mov ecx, eax
call fcn.14026296c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400eceb7
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 [case.0x1402ceac0.0]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14026c4d4
test rax, rax
je 0x1400ece56
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x1400ecec2
add r15, r12
mov rcx, rbx
call fcn.14026bcf0
test eax, eax
je 0x1400ecec6
mov r12, r15
mov rcx, rbx
call fcn.14026bd1c
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 [case.0x1402ceac0.0]
lea rcx, [rsp + 0x80]
call fcn.1401fb490
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14024c3c0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400ece88
mov r14d, 0xffff
jmp 0x1400ecdf4
xor ebx, ebx
jmp 0x1400ece66
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 [case.0x1402ceac0.0]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x1400ece19
Function at 0x1400ee200
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400ee2c0
mov eax, dword [rsi]
mov dword [0x140431c28], eax
test al, 1
jne 0x1400ee221
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x140446a80]
test rcx, rcx
jne 0x1400ee23b
mov rcx, qword [0x140446a58]
test rcx, rcx
je 0x1400ee25f
jmp 0x1400ee281
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140446a80], 0
mov rcx, qword [0x140446a58]
test rcx, rcx
jne 0x1400ee281
and byte [0x140431c28], 0xfe
mov ecx, 0x18
call fcn.14024abdc
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140446a58], rax
mov rdx, qword [rsi + 8]
call fcn.1400eeeb0
cmp dword [rsi + 0x14], 0
jne 0x1400ee2a6
mov rcx, qword [0x140446a58]
cmp byte [rcx + 0x17], 0
jns 0x1400ee2a0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1402c5a10
Function at 0x1400f96c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140431c64]
cmp ecx, 0xffffffff
je 0x1400f9789
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400f9789
mov eax, dword [0x1404484c8]
mov ecx, dword [0x140441a2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f9793
mov rbx, qword [0x1404484c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400f97d9
mov rax, qword [0x140446cb0]
inc rax
xor ecx, ecx
lea rdx, [0x140446cc0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400f97e6
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [0x140446cb0], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x1400f97fb
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400f9800
jmp 0x1400f96ea
lea rcx, [0x1404484c8]
call fcn.14024ad30
cmp dword [0x1404484c8], 0xffffffff
jne 0x1400f970f
mov ecx, 8
call fcn.14024abdc
mov rbx, rax
mov rcx, rax
call fcn.1401e5740
mov qword [0x1404484c0], rbx
lea rcx, [0x1404484c8]
call fcn.14024adc8
jmp 0x1400f970f
mov rcx, rbx
call fcn.140201960
jmp 0x1400f9727
inc rcx
cmp rcx, 0x100
jne 0x1400f973a
jmp 0x1400f976f
int3

Function at 0x1400f9800
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14024c360
sub rsp, rax
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140431c64]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400f98b4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400f98f2
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14024e4f0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14024ac4c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14024de40
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14024c3c0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.14014bf20
test al, al
je 0x1400f98f5
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400f98f8
mov eax, 0xffffffff
lock cmpxchg dword [0x140431c64], ecx
je 0x1400f9838
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140431c64]
mov dword [rsp + 0x2c], ecx
jmp 0x1400f9838
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.14014bf20
test al, al
je 0x1400f991d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400f991d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400f98cb
int3
Function at 0x1400fce10
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x1403be790]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1403cbe43]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x195
call fcn.1401ee3a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fb430
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14024e4f0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400fcec5
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1401f92e0
mov rcx, r14
call fcn.1401d0bb0
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14024e4f0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x1400fcefc
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1401f92e0
mov rcx, r14
call fcn.1401d0bb0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400fcf1e
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400fcf2a
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x1400fcf93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400fe860
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1400fcf5d
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1400fcf66
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x1400fcf96
test eax, eax
jne 0x1400fcf96
cmp ebp, 0xfffffffc
jne 0x1400fcf8d
call fcn.1402cce00
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x1400fcf96
mov dil, 1
lea rcx, [rsp + 0x450]
call fcn.1401fb490
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14024c3c0
mov eax, edi
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1403be790]
movaps xmmword [rsi + 0x40], xmm0
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, 0x1c8
call fcn.1401ee3a0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fb430
cmp byte [rdi + 0x17], 0
jns 0x1400fd054
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1401fb490
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14024c3c0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret