joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007d890
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140127e50
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14012ae40
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 0x14007d943
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14007d947
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140079bd0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140127eb0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14007d924
cmp eax, 2
jne 0x14007d98f
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14012ae40
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 0x14007d996
lea rdx, [rsp + 0x40]
jmp 0x14007d91a
mov edi, 0x3f4
jmp 0x14007d924
mov edi, 0xea
jmp 0x14007d924

Function at 0x14007d9a0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.140149c34
lea eax, [rax*2 + 2]
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007e9c0
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 [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140200668]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14007e9f5
jnp 0x14007ea19
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140127eb0
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 [0x140200678]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007eb2e
mov eax, dword [0x140200688]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007eb68
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 [0x140200680]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401c1d70]
ucomisd xmm1, xmm0
ja 0x14007e9f5
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x140200670]
movq xmm6, rdi
punpckldq xmm6, xmmword [0x1401c1570]
subpd xmm6, xmmword [0x1401c1580]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x140200668], xmm6
jmp 0x14007e9f5
lea rcx, [0x140200678]
call fcn.140127460
cmp dword [0x140200678], 0xffffffff
jne 0x14007ea62
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140200670], rdx
lea rcx, [0x140200678]
call fcn.1401274f8
jmp 0x14007ea62
lea rcx, [0x140200688]
call fcn.140127460
cmp dword [0x140200688], 0xffffffff
jne 0x14007ea87
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140200680], rax
lea rcx, [0x140200688]
call fcn.1401274f8
jmp 0x14007ea87
Function at 0x14007eea0
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 [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, SafeArrayCopy
call fcn.140127300
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x1401ed748]
jne 0x14007ef0d
mov rcx, r15
call fcn.1400f0ef0
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, [0x14007f330]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14007f005
test r14, r14
je 0x14007ef7a
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140127eb0
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 0x14007ef54
mov eax, dword [0x1402006d8]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007f054
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.14008c880
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x14007efc9
and r8d, 0x7f
jmp 0x14007efd3
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.1400c9230
mov rcx, qword [0x1402006d0]
mov rdx, r14
call fcn.14009e6e0
cmp byte [rsp + 0x4f], 0
jns 0x14007f02a
mov rcx, qword [rsp + 0x38]
call fcn.14012733c
jmp 0x14007f02a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14007f022
mov ebp, eax
cmp eax, 0x5af
je 0x14007f022
cmp ebp, 0xe
jne 0x14007ef85
mov rcx, rbx
call fcn.14018cd30
test rsi, rsi
je 0x14007ef54
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1401ed748]
jne 0x14007f047
call fcn.1400f1030
mov rcx, rsi
call fcn.14012733c
jmp 0x14007ef54
lea rcx, [0x1402006d8]
call fcn.140127460
cmp dword [0x1402006d8], 0xffffffff
jne 0x14007efaa
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14009e6b0
mov qword [0x1402006d0], rax
lea rcx, [0x1402006d8]
call fcn.1401274f8
jmp 0x14007efaa

Function at 0x140081510
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140081557
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140081571
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14008154f
mov qword [rsi], rdi
call fcn.1400ec560
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140081587
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400ec560
mov rcx, qword [rsi]
call fcn.1400d72e0
mov qword [rsi], 0
jmp 0x14008153d
int3
Function at 0x140081590
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400815ba
call fcn.1400ec560
mov qword [rsi], 0
test r14, r14
je 0x1400815f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14008162b
cmp r15, 2
jb 0x1400815e8
mov qword [rsi], r14
call fcn.1400ec560
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 0x140081615
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ec560
mov rcx, qword [rdi]
call fcn.1400d72e0
mov qword [rdi], 0
jmp 0x140081606
call fcn.1400ec560
mov rcx, qword [rsi]
call fcn.1400d72e0
mov qword [rsi], 0
jmp 0x1400815da
Function at 0x140082a00
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.1400a0650
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x1401bf648]
mov qword [rsi], 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 0x140082a75
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x140082a80
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140082a6d
mov qword [rsi + 0x18], rdi
call fcn.1400ec560
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.1400ec560
mov rcx, qword [rsi + 0x18]
call fcn.1400d72e0
mov qword [rsi + 0x18], 0
jmp 0x140082a5a
Function at 0x1400838b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401bc9e0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x171
call fcn.1400ec540
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400df840
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov edx, 1
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov r8d, 2
cmove r8d, edx
test bl, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x140083b1c
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov r8d, ebx
rol r8d, 0x1a
and r8d, 0x80000100
or r8d, ecx
bt ebx, 0x12
jb 0x140083af1
mov edx, ebx
shr edx, 4
and edx, 0x10000
or edx, r8d
mov ecx, ebx
shr ecx, 8
and ecx, 3
mov r8d, ebx
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r15d, ebx
and r15d, 0x400
mov ecx, r15d
shl ecx, 0x14
mov r9d, ebx
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, ebx
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r10d, ebx
shl r10d, 0xd
and r10d, 0x4000000
or r10d, ecx
mov r9d, ebx
shl r9d, 8
and r9d, 0xa000000
or r9d, r10d
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140083a13
mov rcx, qword [rdi]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x30], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp qword [rsi], rax
je 0x140083a6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140083b03
mov rax, r14
inc rax
cmp rax, 2
jb 0x140083a62
mov qword [rsi], r14
call fcn.1400ec560
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x140083ac4
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x140083ad6
test bl, 0xa
je 0x140083a93
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x140083ae7
lea rcx, [rsp + 0x60]
call fcn.1400df8c0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140127eb0
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400837a0
mov dword [rsi + 0x24], eax
jmp 0x140083a99
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x140083a93
mov rcx, rdi
call fcn.140084fe0
jmp 0x140083a99
bt ebx, 0x15
jb 0x140083b38
or r8d, 0x20000000
jmp 0x140083991
call fcn.1400ec560
mov rcx, qword [rsi]
call fcn.1400d72e0
mov qword [rsi], 0
jmp 0x140083a4e
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.140189520
jmp 0x140083a99
int3
Function at 0x140083f00
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [0x1401bc9e0]
lea r14, [rsp + 0x30]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1401d39a1]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x280]
mov rcx, r15
mov r9d, 0x1d8
call fcn.1400ec540
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400df840
lea r14, [rsp + 0x280]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14012ae40
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140083f9f
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1400e45d0
mov rcx, r14
call fcn.1400c7f60
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14012ae40
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140083fd6
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1400e45d0
mov rcx, r14
call fcn.1400c7f60
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140083ff8
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140084004
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 0x14008405d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400837a0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140084037
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140084040
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 0x140084060
test eax, eax
jne 0x140084060
jmp 0x14008408c
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1400df8c0
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140127eb0
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 0xfffffffc
jne 0x140084098
call fcn.140182d20
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x140084060

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401bc9e0]
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.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.1400ec540
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400df840
cmp byte [rdi + 0x17], 0
jns 0x140084112
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400df8c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140127eb0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140084150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401bc9e0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x214
call fcn.1400ec540
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400df840
cmp byte [rdi + 0x17], 0
jns 0x1400841d2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140084265
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x140084248
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x140084291
call fcn.1400ec560
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140084265
call fcn.1400ec560
mov rcx, r14
call fcn.1400d72e0
lea rcx, [rsp + 0x60]
call fcn.1400df8c0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140127eb0
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140084240

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401bc9e0]
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.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.1400ec540
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400df840
cmp byte [rdi + 0x17], 0
jns 0x140084312
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.1400df8c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140127eb0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140084360
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14012ae40
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400843ff
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140149c34
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400ecfb0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140095ce0
mov rcx, rsi
mov rdx, r14
call fcn.140093f80
mov rcx, r14
call fcn.1400ed100
mov rcx, rbx
call fcn.1400ed100
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140127eb0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140084430
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14012ae40
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 0x1400844c5
cmp word [rsp + 0x70], 0
je 0x1400844c5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140149c34
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400ecfb0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400ecf30
mov rcx, rdi
call fcn.140084360
test al, al
jne 0x140084517
lea rax, [0x1401c9f86]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400ecfb0
jmp 0x140084524
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400ecf90
lea rcx, [rsp + 0x40]
call fcn.1400ed100
jmp 0x1400844a7
Function at 0x140084540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1402006f8], 0
jne 0x1400847e1
mov rsi, rcx
movaps xmm6, xmmword [0x1401bc9e0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x2b9
call fcn.1400ec540
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400df840
test rsi, rsi
je 0x1400847e5
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400ecf30
mov ecx, 0x65
mov rdx, rdi
call fcn.1400864b0
test al, al
je 0x1400846af
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.140095af0
mov rcx, rdi
mov rdx, rbx
call fcn.140093f80
mov rcx, rbx
call fcn.1400ed100
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.1400ec540
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400df840
cmp byte [rsp + 0x47], 0
jns 0x140084693
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400df8c0
cmp edi, 0xffffffff
jne 0x140084776
lea rcx, [rsp + 0x30]
call fcn.1400ed100
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400ecf30
mov ecx, 0x67
mov rdx, rdi
call fcn.1400864b0
test al, al
je 0x140084768
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.1400ec540
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400df840
cmp byte [rsp + 0x47], 0
jns 0x140084737
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400df8c0
cmp edi, 0xffffffff
je 0x140084768
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140084150
test al, al
jne 0x140084793
lea rcx, [rsp + 0x30]
call fcn.1400ed100
xor esi, esi
jmp 0x1400847ae
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140084150
test al, al
je 0x1400846af
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400ed110
mov rcx, rdi
call fcn.1400ed100
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400df8c0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140127eb0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400847b8
int3
Function at 0x140084f90
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov dword [r8], 1
movsxd rcx, ecx
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140127eb0
mov eax, ebx
add rsp, 0x30
pop rbx
ret