joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a260
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdx, str.DeleteFileAfterReboot
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov r9d, 0x18e
call fcn.140036f60
lea rcx, [rsp + 0x48]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.14004eca0
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14003a2c1
mov rcx, qword [rsi + 8]
cmp rcx, 0x103
ja 0x14003a2e8
test al, al
jns 0x14003a2d1
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x48]
call fcn.14004edc0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov r9d, 0x1cd
call fcn.140036f60
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004eca0
cmp byte [rsi + 0x17], 0
jns 0x14003a36c
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.14004edc0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov r9d, 0x1df
call fcn.140036f60
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004eca0
cmp byte [rsi + 0x17], 0
jns 0x14003a3fc
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.14004edc0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003a440
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x60]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x14003a4ff
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x60], 0
je 0x14003a4fb
xor eax, eax
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x14003a48e
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140034db0
lea rbx, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.140036740
mov rcx, rsi
mov rdx, rbx
call fcn.140034ed0
mov rcx, rbx
call fcn.140034ea0
mov rcx, rdi
call fcn.140034ea0
mov sil, 1
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14003a49a
xor esi, esi
jmp 0x14003a4de

Function at 0x14003a510
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdi, [rsp + 0x60]
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 0x14003a598
cmp word [rsp + 0x60], 0
je 0x14003a598
mov qword [rsp + 0x50], rdi
xor eax, eax
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x14003a55e
lea rdx, [rsp + 0x50]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140034db0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400d8ee0
mov rax, rsi
add rsp, 0x278
pop rdi
pop rsi
ret
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.140034d60
mov rcx, rdi
call fcn.14003a440
test al, al
je 0x14003a5c0
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140034d90
jmp 0x14003a5df
lea rax, [0x140109adc]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140034db0
lea rcx, [rsp + 0x38]
call fcn.140034ea0
jmp 0x14003a57b
Function at 0x14003a9c0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x100
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rdx, str.CreateDirectoryAndGetError
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0xa8]
mov rcx, rbx
mov r9d, 0x269
call fcn.140036f60
lea rcx, [rsp + 0x38]
mov rdx, rbx
xor r8d, r8d
call fcn.14004eca0
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14003aa29
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003aa6f
mov bl, 1
test al, 0x10
je 0x14003ab63
lea rcx, [rsp + 0x38]
call fcn.14004edc0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, ebx
add rsp, 0x100
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rbp, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbp
call fcn.140035870
movzx ecx, byte [rbp + 0x17]
mov rax, rcx
test cl, cl
jns 0x14003aa8f
mov rax, qword [rsp + 0x28]
movzx esi, byte [rdi + 0x17]
mov rdx, rsi
test sil, sil
jns 0x14003aa9f
mov rdx, qword [rdi + 8]
cmp rax, rdx
je 0x14003ab82
lea rcx, [rsp + 0x20]
mov rdx, r12
call fcn.14003a9c0
test al, al
je 0x14003abcc
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x14003aadd
lea rcx, [rsp + 0x20]
call fcn.140034ea0
jmp 0x14003aa41
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0xb7
jne 0x14003ab4d
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbp, [rsp + 0x88]
mov rcx, rbp
mov r9d, 0x1df
call fcn.140036f60
lea r15, [rsp + 0xa8]
mov rcx, r15
mov rdx, rbp
xor r8d, r8d
call fcn.14004eca0
cmp byte [rdi + 0x17], 0
jns 0x14003ab30
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, r15
call fcn.14004edc0
cmp edi, 0xffffffff
je 0x14003ab4d
and edi, 0x10
jne 0x14003aace
test r12, r12
je 0x14003ab5e
mov ecx, r14d
call fcn.14003b3d0
mov dword [r12], eax
mov ecx, r14d
jmp 0x14003abc6
test r12, r12
je 0x14003ab70
mov dword [r12], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14003aa41
test rax, rax
je 0x14003abb4
test cl, cl
jns 0x14003ab90
mov rbp, qword [rsp + 0x20]
mov rcx, rdi
test sil, sil
jns 0x14003ab9b
mov rcx, qword [rdi]
xor edx, edx
movzx esi, word [rbp + rdx*2]
cmp si, word [rcx + rdx*2]
jne 0x14003aaa8
inc rdx
cmp rax, rdx
jne 0x14003ab9d
test r12, r12
je 0x14003abc1
mov dword [r12], 0xfffffffc
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14003aace
Function at 0x14003acf0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov r14d, r8d
mov rsi, rdx
mov rdx, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x560], rax
mov qword [rsp + 0x20], rsi
xor ebx, ebx
lea rbp, [rsp + 0x298]
mov rcx, rbp
xor r8d, r8d
mov r9d, 3
call fcn.14003ca30
lea rdi, [rsp + 0x30]
mov rcx, rbp
mov rdx, rdi
call fcn.14003cc10
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14003ad5b
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14003ae1a
lea r15, [rsp + 0x298]
lea rbp, [rsp + 0x48]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r13d, r13d
mov rcx, r15
mov rdx, rbp
call fcn.14003cb80
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x14003ae57
mov rcx, rbp
call fcn.14003c930
test al, al
jne 0x14003ae79
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003adb2
mov rcx, qword [rsp + 0x30]
call r12
test eax, eax
jne 0x14003aedf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebx, eax
test r13d, r13d
cmovne ebx, r13d
mov rcx, rbp
call fcn.140004510
mov rcx, r15
mov rdx, rbp
call fcn.14003cc10
mov rcx, rdi
mov rdx, rbp
call fcn.140034ed0
mov rcx, rbp
call fcn.140034ea0
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14003ae0e
mov rax, qword [rsp + 0x38]
mov r13d, ebx
test rax, rax
jne 0x14003ad7b
lea rcx, [rsp + 0x30]
call fcn.140034ea0
lea rcx, [rsp + 0x298]
call fcn.14003cb10
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, ebx
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r14b, r14b
je 0x14003aec3
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003ae6e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14003ad93
xor ebx, ebx
test r14b, r14b
je 0x14003add3
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.14003acf0
mov ebx, eax
test eax, eax
jne 0x14003add3
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003aeab
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, 0
test eax, eax
jne 0x14003add3
jmp 0x14003adbd
mov rcx, rbp
call fcn.14003c930
test al, al
je 0x14003aee6
mov rcx, rbp
call fcn.14003c930
test al, al
je 0x14003ada3
xor ebx, ebx
jmp 0x14003add3
mov edx, dword [rsp + 0x48]
jmp 0x14003ae5c
Function at 0x14003b010
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, str.ReadAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x57
call fcn.140036f60
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.14004eca0
test esi, esi
js 0x14003b0d7
lea rcx, [rsp + 0x30]
call fcn.140040e20
call fcn.140042270
test al, al
jne 0x14003b0de
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003b0f7
mov esi, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.1400422e0
lea rcx, [rsp + 0x50]
call fcn.14004edc0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov esi, 0xffffffff
jmp 0x14003b0ae
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140042310
jmp 0x14003b07f
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14003b0a4

Function at 0x14003b110
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, str.WriteAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x88
call fcn.140036f60
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.14004eca0
test esi, esi
js 0x14003b1db
lea rcx, [rsp + 0x30]
call fcn.140040e20
call fcn.140042270
test al, al
jne 0x14003b1e2
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea rdi, [rsp + 0x2c]
mov rdx, r14
mov r8d, esi
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rdi]
lea rcx, [rsp + 0x30]
call fcn.1400422e0
lea rcx, [rsp + 0x50]
call fcn.14004edc0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov esi, 0xffffffff
jmp 0x14003b1b2
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140042310
jmp 0x14003b17f
Function at 0x14003b200
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, str.GetLength
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x9c
call fcn.140036f60
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.14004eca0
lea rcx, [rsp + 0x30]
call fcn.140040e20
call fcn.140042270
test al, al
jne 0x14003b2af
mov rcx, qword [rsi]
lea rsi, [rsp + 0x28]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edi, edi
cmp eax, 1
sbb rdi, rdi
or rdi, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.1400422e0
lea rcx, [rsp + 0x50]
call fcn.14004edc0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d8ee0
mov rax, rdi
add rsp, 0xa8
pop rdi
pop rsi
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.140042310
jmp 0x14003b262
Function at 0x14003c2c0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14003c2ef
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003c2f2
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14003c313
test bl, bl
je 0x14003c35f
cmp byte [rdi + 8], 0
je 0x14003c351
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003c354
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x14003c32a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003c32d
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14003c340
xor edi, edi
jmp 0x14003c37c
cmp byte [rdi + 8], 0
je 0x14003c393
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003c396
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
jne 0x14003c3c8
mov rcx, qword [rdi]
call fcn.14004f2b0
mov rcx, qword [0x140139158]
mov dil, 1
test rcx, rcx
jne 0x14003c3d3
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14003c3a9
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
jne 0x14003c3df
mov rcx, qword [rdi]
call fcn.14004f2b0
mov rcx, qword [0x140139158]
test rcx, rcx
jne 0x14003c3ea
mov dil, 1
jmp 0x14003c37c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003c368
mov edx, eax
mov r8d, esi
call fcn.14004c010
jmp 0x14003c37c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003c3b2
mov edx, eax
mov r8d, esi
call fcn.14004c010
jmp 0x14003c3c3
Function at 0x14003dfc0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov r14, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14003e042
mov esi, eax
test rsi, rsi
je 0x14003e042
mov rbx, rsi
add rsi, 0xffffffffffffffff
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x14003e00b
cmp byte [r14 + 0x17], 0
mov rcx, r14
jns 0x14003e02c
mov rcx, qword [r14]
lea r8, [rsi + 1]
lea rdx, [rsp + 0x20]
call fcn.1400ed290
test eax, eax
je 0x14003e12b
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x103
jae 0x14003e0a6
mov ebx, eax
inc rbx
cmp rbx, 1
je 0x14003e0a6
mov rsi, rbx
add rbx, 0xffffffffffffffff
cmp word [rsp + rsi*2 + 0x1c], 0x5c
je 0x14003e06f
cmp byte [r14 + 0x17], 0
mov rcx, r14
jns 0x14003e091
mov rcx, qword [r14]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400ed290
test eax, eax
je 0x14003e15d
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14003e10a
mov esi, eax
inc rsi
cmp rsi, 1
je 0x14003e10a
mov rbx, rsi
add rsi, 0xffffffffffffffff
cmp word [rsp + rbx*2 + 0x1c], 0x5c
je 0x14003e0d3
cmp byte [r14 + 0x17], 0
mov rcx, r14
jns 0x14003e0f5
mov rcx, qword [r14]
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.1400ed290
test eax, eax
je 0x14003e190
xor edi, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400d8ee0
mov eax, edi
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [r14 + 0x17]
mov rcx, rax
test al, al
jns 0x14003e13b
mov rcx, qword [r14 + 8]
dec rcx
mov dil, 1
cmp rcx, rsi
je 0x14003e10c
mov rcx, r14
test al, al
jns 0x14003e150
mov rcx, qword [r14]
cmp word [rcx + rbx*2], 0x5c
jne 0x14003e042
jmp 0x14003e10c
movzx eax, byte [r14 + 0x17]
mov rcx, rax
test al, al
jns 0x14003e16d
mov rcx, qword [r14 + 8]
mov dil, 1
cmp rcx, rbx
je 0x14003e10c
mov rcx, r14
test al, al
jns 0x14003e17f
mov rcx, qword [r14]
cmp word [rcx + rsi*2 - 2], 0x5c
jne 0x14003e0a6
jmp 0x14003e10c
movzx eax, byte [r14 + 0x17]
mov rcx, rax
test al, al
jns 0x14003e1a0
mov rcx, qword [r14 + 8]
mov dil, 1
cmp rcx, rsi
je 0x14003e10c
test al, al
jns 0x14003e1b3
mov r14, qword [r14]
cmp word [r14 + rbx*2 - 2], 0x5c
jne 0x14003e10a
jmp 0x14003e10c
Function at 0x140044c80
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140138d58]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140044cb4
jnp 0x140044cd7
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d8ee0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
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 ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140138d68]
mov ecx, dword [0x140138c48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140044e0f
mov eax, dword [0x140138d78]
mov ecx, dword [0x140138c48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140044e49
rdtsc
mov r14, rax
mov r15, rdx
xor esi, esi
lea rdi, [rsp + 0x20]
mov qword [rdi], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rdi], rsi
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbx, qword [0x140138d70]
movq xmm1, rbx
punpckldq xmm1, xmmword [0x140105920]
subpd xmm1, xmmword [0x140105930]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x14010d4e0]
ucomisd xmm1, xmm0
ja 0x140044cb4
shl r15, 0x20
or r14, r15
sub r14, qword [0x140138d60]
movq xmm1, r14
punpckldq xmm1, xmmword [0x140105920]
subpd xmm1, xmmword [0x140105930]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x140138d58], xmm6
jmp 0x140044cb4
lea rcx, [0x140138d68]
call fcn.1400d8c90
cmp dword [0x140138d68], 0xffffffff
jne 0x140044d20
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140138d60], rdx
lea rcx, [0x140138d68]
call fcn.1400d8d28
jmp 0x140044d20
lea rcx, [0x140138d78]
call fcn.1400d8c90
cmp dword [0x140138d78], 0xffffffff
jne 0x140044d45
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140138d70], rax
lea rcx, [0x140138d78]
call fcn.1400d8d28
jmp 0x140044d45
Function at 0x1400455e0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x140135388]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x14010d538]
mov qword [rcx], rax
add rcx, 8
call fcn.140040e20
lea rcx, [rsi + 0x10]
call fcn.140040e20
xor edi, edi
mov byte [rsi + 0x18], dil
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], edi
call fcn.140040e20
mov byte [rsi + 0x48], dil
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rdi
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebx, 0x3f800000
mov dword [rsi + 0xd0], ebx
mov dword [rsi + 0xd8], edi
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebx
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebx
mov qword [rsi + 0x150], rdi
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x158], ebx
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], ebx
mov qword [rsi + 0x1a0], rdi
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], edi
mov eax, dword [0x1401103e8]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.140059e70
lea rcx, [rsi + 0x2f8]
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], rdi
xor edx, edx
call fcn.1400584c0
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400584c0
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.1400584c0
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], ebx
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.140004510
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.14003c160
lea rbx, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
call fcn.14003c230
mov rax, qword [rbx]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.14003c080
mov rcx, rsi
call fcn.140045850
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14004583c
call fcn.1400576d0
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
call fcn.140057830
mov qword [0x140139130], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d8ee0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x1400457f5