joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032f10
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x1400baaf0]
mov qword [rcx], rax
add rcx, 8
call fcn.14003b650
lea rcx, [rsi + 0x10]
call fcn.14003b650
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.14003b650
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
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 dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x150], 0
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [0x1400bc018]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.14004e120
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], 0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.1400443f0
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400443f0
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.1400443f0
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], 0x3f800000
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.140003a60
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.14003b3b0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14003b470
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.14003b2d0
mov rcx, rsi
call fcn.1400331b0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14003315a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.14004c180
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.14004c2f0
mov qword [0x1400f30e0], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140089390
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14003a5b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ba
call fcn.1400279e0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400319f0
cmp byte [rsi + 0x17], 0
jns 0x14003a606
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140031b20
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140089390
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x14003a640
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1400f05e8]
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]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x14003a680
xor esi, esi
jmp 0x14003a6e5
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x60], 0
je 0x14003a69e
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x14003a690
jmp 0x14003a6a0
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140026380
lea rbx, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.1400274e0
mov rcx, rsi
mov rdx, rbx
call fcn.140026400
mov rcx, rbx
call fcn.1400263d0
mov rcx, rdi
call fcn.1400263d0
mov sil, 1
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140089390
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret

Function at 0x14003a710
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400f05e8]
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 0x14003a780
cmp word [rsp + 0x60], 0
je 0x14003a780
mov qword [rsp + 0x50], rdi
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x14003a760
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140026380
jmp 0x14003a7d4
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.140026330
mov rcx, rdi
call fcn.14003a640
test al, al
je 0x14003a7a8
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140026360
jmp 0x14003a7ca
lea rax, [0x1400baca2]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 3
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140026380
lea rcx, [rsp + 0x38]
call fcn.1400263d0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140089390
mov rax, rsi
add rsp, 0x278
pop rdi
pop rsi
ret
Function at 0x14003a920
Capabilities:
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, 0x558
mov r15d, r8d
mov r14, rdx
mov rdx, rcx
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov qword [rsp + 0x20], r14
xor ebp, ebp
lea rsi, [rsp + 0x290]
mov rcx, rsi
xor r8d, r8d
mov r9d, 3
call fcn.14003cf60
lea rdi, [rsp + 0x28]
mov rcx, rsi
mov rdx, rdi
call fcn.14003d090
movzx eax, byte [rsp + 0x3f]
test al, al
jns 0x14003a98c
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14003aac2
lea rsi, [rsp + 0x290]
lea rbx, [rsp + 0x40]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r13d, r13d
jmp 0x14003a9bc
mov r13d, ebp
test rax, rax
je 0x14003aac2
mov rcx, rsi
mov rdx, rbx
call fcn.14003d000
mov edx, dword [rsp + 0x40]
test dl, 1
je 0x14003a9fd
test r15b, r15b
jne 0x14003a9e5
mov rcx, rbx
call fcn.14003cda0
test al, al
jne 0x14003a9fd
mov edx, dword [rsp + 0x40]
and edx, 0xfffffffe
cmp byte [rsp + 0x3f], 0
mov rcx, rdi
jns 0x14003a9f7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call fcn.14003cda0
test al, al
je 0x14003aa50
xor ebp, ebp
test r15b, r15b
je 0x14003aa7e
mov rcx, rdi
mov rdx, r14
mov r8b, 1
call fcn.14003a920
mov ebp, eax
test eax, eax
jne 0x14003aa7e
cmp byte [rsp + 0x3f], 0
mov rcx, rdi
jns 0x14003aa33
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14003aa7e
jmp 0x14003aa68
cmp byte [rsp + 0x3f], 0
mov rcx, rdi
jns 0x14003aa5f
mov rcx, qword [rsp + 0x28]
call r12
xor ebp, ebp
test eax, eax
jne 0x14003aa7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
or eax, 1
cmp eax, 3
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, rbx
call fcn.140003a60
mov rcx, rsi
mov rdx, rbx
call fcn.14003d090
mov rcx, rdi
mov rdx, rbx
call fcn.140026400
mov rcx, rbx
call fcn.1400263d0
movzx eax, byte [rsp + 0x3f]
test al, al
jns 0x14003a9b0
mov rax, qword [rsp + 0x30]
jmp 0x14003a9b0
lea rcx, [rsp + 0x28]
call fcn.1400263d0
lea rcx, [rsp + 0x290]
call fcn.14003cf90
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.140089390
mov eax, ebp
add rsp, 0x558
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003b510
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 [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x14003b53f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b542
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14003b563
test bl, bl
je 0x14003b5b2
cmp byte [rdi + 8], 0
je 0x14003b5a4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b5a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x14003b57a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b57d
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14003b593
xor edi, edi
jmp 0x14003b62e
cmp byte [rdi + 8], 0
je 0x14003b5e6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b5e9
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
je 0x14003b5c3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b5c6
mov rcx, qword [rdi]
call fcn.140044430
mov rcx, qword [0x1400f52f0]
mov dil, 1
test rcx, rcx
je 0x14003b62e
mov edx, eax
mov r8d, esi
call fcn.140042b30
jmp 0x14003b62e
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14003b5fc
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
je 0x14003b60d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x14003b610
mov rcx, qword [rdi]
call fcn.140044430
mov rcx, qword [0x1400f52f0]
test rcx, rcx
je 0x14003b62b
mov edx, eax
mov r8d, esi
call fcn.140042b30
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140089390
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14003be20
Capabilities:
Query or enumerate registry value

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

Disassembly:
push rsi
push rdi
mov eax, 0x1048
call fcn.140089320
sub rsp, rax
mov rsi, r8
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x840]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14003bf7a
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14003bf3f
mov edi, 0x3f4
cmp eax, 1
jne 0x14003bf7a
lea rdx, [rsp + 0x840]
jmp 0x14003bf70
lea rcx, [rsp + 0x840]
lea rdx, [rsp + 0x40]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x14003bf7a
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140021cea
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140089390
mov eax, edi
add rsp, 0x1048
pop rdi
pop rsi
ret

Function at 0x14003c0f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov eax, dword [0x1400f3110]
mov ecx, dword [0x1400f5238]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003c150
lea rsi, [0x1400f3108]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140089390
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x1400f3110]
call fcn.140089140
cmp dword [0x1400f3110], 0xffffffff
jne 0x14003c12c
lea rcx, [rsp + 0x64]
mov r8d, 0x118
xor edx, edx
call fcn.14008c040
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140088fc0
mov rsi, rax
mov edi, dword [rsp + 0x2c]
mov eax, dword [0x1400f3148]
mov ecx, dword [0x1400f5238]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003c211
lea r8, [0x1400f3118]
lea rdx, [rsp + 0x60]
mov rcx, rsi
mov r9d, edi
call fcn.14003c3d0
mov qword [0x1400f3108], rsi
lea rcx, [0x1400f3110]
call fcn.1400891d8
jmp 0x14003c12c
lea rcx, [0x1400f3148]
call fcn.140089140
cmp dword [0x1400f3148], 0xffffffff
jne 0x14003c1e2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movups xmmword [0x1400f3138], xmm2
movups xmmword [0x1400f3128], xmm1
movups xmmword [0x1400f3118], xmm0
lea rcx, [0x1400f3148]
call fcn.1400891d8
jmp 0x14003c1e2
Function at 0x14003c2a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1400f3148]
mov ecx, dword [0x1400f5238]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003c32a
movzx eax, word [0x1400f3118]
cmp rax, 0xc
ja case.0x14003c2f2.1
xor esi, esi
lea rcx, [0x14003c394]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov esi, 3
jmp case.0x14003c2f2.0
mov esi, 5
jmp case.0x14003c2f2.0
mov esi, 2
jmp case.0x14003c2f2.0
mov esi, 1
jmp case.0x14003c2f2.0
mov esi, 4
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140089390
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1400f3148]
call fcn.140089140
cmp dword [0x1400f3148], 0xffffffff
jne 0x14003c2d5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movups xmmword [0x1400f3138], xmm2
movups xmmword [0x1400f3128], xmm1
movups xmmword [0x1400f3118], xmm0
lea rcx, [0x1400f3148]
call fcn.1400891d8
jmp 0x14003c2d5
Function at 0x14003de70
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1400f3178]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14003dfdf
jp 0x14003dfdf
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 [0x1400f3188]
mov ecx, dword [0x1400f5238]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003dffe
mov eax, dword [0x1400f3198]
mov ecx, dword [0x1400f5238]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003e038
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rsi, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rsi, qword [0x1400f3190]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x1400b5be0]
subpd xmm1, xmmword [0x1400b5bf0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1400baef8]
ucomisd xmm1, xmm0
ja 0x14003dfdf
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1400f3180]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1400b5be0]
subpd xmm1, xmmword [0x1400b5bf0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1400f3178], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140089390
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1400f3188]
call fcn.140089140
cmp dword [0x1400f3188], 0xffffffff
jne 0x14003def1
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1400f3180], rdx
lea rcx, [0x1400f3188]
call fcn.1400891d8
jmp 0x14003def1
lea rcx, [0x1400f3198]
call fcn.140089140
cmp dword [0x1400f3198], 0xffffffff
jne 0x14003df16
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x1400f3190], rax
lea rcx, [0x1400f3198]
call fcn.1400891d8
jmp 0x14003df16
Function at 0x14003ee03
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x104
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14003ee72
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.14003ed90
test al, al
jne 0x14003ee80
add rbx, 8
cmp rbx, 0x18
jne 0x14003ee40
xor esi, esi
jmp 0x14003ee83
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140089390
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14003f20e
Capabilities:
Get common file path
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1400f05e8]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov eax, dword [0x1400f31bc]
mov ecx, dword [0x1400f5238]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f276
mov bl, byte [0x1400f31b8]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140089390
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1400f31bc]
call fcn.140089140
cmp dword [0x1400f31bc], 0xffffffff
jne 0x14003f24f
movabs rbx, 0x7fffffffffffffef
lea rsi, [rsp + 0x40]
mov word [rsi], 0
mov rcx, rsi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov rcx, rsi
call fcn.1400a3fc0
cmp rax, rbx
ja 0x14003f388
mov rsi, rax
cmp rax, 0xb
jae 0x14003f2eb
lea r14, [rsp + 0x20]
mov byte [r14 + 0x17], sil
mov r15, r14
test rsi, rsi
jne 0x14003f31c
jmp 0x14003f32f
lea rdi, [rsi + 8]
and rdi, 0xfffffffffffffff8
js 0x14003f392
lea rcx, [rdi + rdi]
call fcn.140088fc0
mov r15, rax
lea r14, [rsp + 0x20]
mov qword [r14], rax
add rbx, 0x11
or rbx, rdi
mov qword [r14 + 0x10], rbx
mov qword [r14 + 8], rsi
mov r8, rsi
add r8, rsi
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14008bc30
mov word [r15 + rsi*2], 0
lea rdx, str.usp10.dll
lea rcx, [rsp + 0x20]
call fcn.140021b1a
xor edi, edi
cmp byte [rax + 0x17], dil
jns 0x14003f352
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [r14 + 0x17], dil
jns 0x14003f36d
mov rcx, qword [rsp + 0x20]
call fcn.14008901c
cmp esi, 0xffffffff
setne byte [0x1400f31b8]
lea rcx, [0x1400f31bc]
call fcn.1400891d8
jmp 0x14003f24f
lea rcx, [rsp + 0x20]
call fcn.14002090c
call fcn.140099204
int3
Function at 0x140043ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov eax, ecx
test r8, r8
je 0x140043b4b
mov r9d, r8d
and r9d, 1
cmp r8, 1
jne 0x140043aee
xor ecx, ecx
test r9, r9
jne 0x140043b33
jmp 0x140043b4b
sub r8, r9
xor ecx, ecx
lea r10, [0x1400bb630]
nop word [rax + rax]
movzx r11d, al
movzx esi, byte [rdx + rcx]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
movzx r11d, al
movzx esi, byte [rdx + rcx + 1]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
add rcx, 2
cmp r8, rcx
jne 0x140043b00
test r9, r9
je 0x140043b4b
movzx r8d, al
movzx ecx, byte [rdx + rcx]
xor ecx, r8d
lea rdx, [0x1400bb630]
shr eax, 8
xor eax, dword [rdx + rcx*4]
pop rsi
ret

Function at 0x140044000
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400f05f8]
cmp ecx, 0xffffffff
je 0x140044023
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
add eax, 0xffffffff
cmp eax, 2
setb al
jmp 0x140044025
xor eax, eax
add rsp, 0x28
ret

Function at 0x140044030
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov ecx, dword [0x1400f05f8]
cmp ecx, 0xffffffff
je 0x140044056
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14004405b
call fcn.140044170
mov eax, dword [0x1400f6b28]
mov ecx, dword [0x1400f5238]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140044123
mov rbx, qword [0x1400f6b20]
mov rcx, rbx
call fcn.14003b660
mov rcx, qword [0x1400f5318]
add rcx, 1
mov edx, 0x100
lea rax, [0x1400f5320]
nop word cs:[rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400440da
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400440da
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x1400440b0
jmp 0x1400440ff
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x1400f5318], rdi
mov dword [r15], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x140044169
cmp eax, 0x100
jge 0x14004416c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x1400f6b28]
call fcn.140089140
cmp dword [0x1400f6b28], 0xffffffff
jne 0x140044080
mov ecx, 8
call fcn.140088fc0
mov rbx, rax
mov rcx, rax
call fcn.14003b650
mov qword [0x1400f6b20], rbx
lea rcx, [0x1400f6b28]
call fcn.1400891d8
jmp 0x140044080
int3
int3