joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001cf60
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov rbp, rcx
mov rax, qword [0x1400a52f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 3
call fcn.140024340
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x14001d19c
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x14001d009
mov rdi, rax
lea rdx, [0x14008735e]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001d01c
mov rbx, rax
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call rax
mov r15, rax
jmp 0x14001d01f
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
jmp 0x14001d028
xor r15d, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movsxd r13, dword [rsp + 0x4c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
test r13, r13
je 0x14001d13f
mov qword [rsp + 0x28], rbp
test r13d, r13d
js 0x14001d1cf
shl r13, 3
lea rsi, [r13*2]
add rsi, r13
mov rcx, rsi
call fcn.14005e874
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
add rsi, rax
mov qword [rsp + 0x40], rsi
xor r14d, r14d
xorps xmm6, xmm6
jmp 0x14001d0c0
mov byte [rbx + 0x17], dil
mov rsi, rbx
test rdi, rdi
je 0x14001d0ad
mov r8, rdi
add r8, rdi
mov rcx, rsi
mov rdx, r12
call fcn.140061500
mov word [rsi + rdi*2], 0
add rbx, 0x18
add r14, 8
cmp r13, r14
je 0x14001d135
mov r12, qword [r15 + r14]
movups xmmword [rbx], xmm6
mov qword [rbx + 0x10], 0
mov rcx, r12
call fcn.140072d88
mov rdi, rax
movabs rax, 0x7fffffffffffffef
cmp rdi, rax
ja 0x14001d1c2
cmp rdi, 0xb
jb 0x14001d090
lea rbp, [rdi + 8]
and rbp, 0xfffffffffffffff8
js 0x14001d1ca
mov rcx, rbp
add rcx, rbp
lea rcx, [rbp + rbp]
call fcn.14005e874
mov rsi, rax
mov qword [rbx], rax
movabs rax, 0x7fffffffffffffef
add rax, 0x11
or rax, rbp
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
jmp 0x14001d09c
mov qword [rsp + 0x38], rbx
mov rbp, qword [rsp + 0x28]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14001ccd0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x14001d19c
mov rax, qword [rsp + 0x38]
cmp rax, rsi
jne 0x14001d178
mov rcx, rsi
jmp 0x14001d192
mov rax, rdi
cmp rsi, rdi
je 0x14001d18d
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x14001d170
mov rcx, qword [rax - 0x18]
call fcn.14005e8b0
jmp 0x14001d170
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
call fcn.14005e8b0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005ecd0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call fcn.14001a87c
call fcn.14006cf3c
lea rcx, [rsp + 0x30]
call fcn.14001c354
int3
Function at 0x140020dc0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
mov r14, rcx
mov rax, qword [0x1400a52f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.14001d1e0
mov rdi, rax
lea rbx, [0x1400876c0]
mov rcx, rax
mov rdx, rbx
call fcn.14001d690
test al, al
jne 0x140020e15
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14001d690
test al, al
je 0x140020eba
cmp qword [0x1400a8870], 0
jne 0x140020f95
mov rax, qword [0x1400a8878]
mov qword [0x1400a8870], rax
mov ecx, 0x20
call fcn.14005e874
mov rsi, rax
lea rcx, str.vmodule
mov qword [rsp + 0x50], rcx
call fcn.1400726c0
mov qword [rsp + 0x58], rax
lea r15, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rcx, rdi
mov rdx, r15
call fcn.14001d700
mov qword [rsp + 0x28], rbx
mov rcx, rbx
call fcn.1400726c0
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 0x38]
lea r8, [rsp + 0x28]
mov rcx, rdi
mov rdx, rbx
call fcn.14001d700
lea r9, [0x1400a8880]
mov rcx, rsi
mov rdx, rbx
mov r8, r15
call fcn.1400264b0
mov qword [0x1400a8878], rsi
cmp byte [rsp + 0x4f], 0
js 0x140020eff
cmp byte [rsp + 0x77], 0
js 0x140020f10
mov eax, dword [r14]
mov dword [0x1400a52a8], eax
mov bl, 1
test al, 1
je 0x140020f77
mov rcx, qword [0x1400a88a8]
test rcx, rcx
je 0x140020f1c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400a88a8], 0
mov rcx, qword [0x1400a8888]
test rcx, rcx
jne 0x140020f4a
and byte [0x1400a52a8], 0xfe
jmp 0x140020f28
mov rcx, qword [rsp + 0x38]
call fcn.14005e8b0
cmp byte [rsp + 0x77], 0
jns 0x140020eba
mov rcx, qword [rsp + 0x60]
call fcn.14005e8b0
jmp 0x140020eba
mov rcx, qword [0x1400a8888]
test rcx, rcx
jne 0x140020f4a
mov ecx, 0x18
call fcn.14005e874
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1400a8888], rax
mov rdx, qword [r14 + 8]
call fcn.14001bc5a
cmp dword [r14 + 0x14], 0
jne 0x140020f70
mov rcx, qword [0x1400a8888]
cmp byte [rcx + 0x17], 0
jns 0x140020f6a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140020fa0
mov ebx, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005ecd0
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x140020fa0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
mov rax, qword [0x1400a52f8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14b, 1
cmp qword [0x1400a88a8], 0
jne 0x14002122f
mov rdi, qword [0x1400a8888]
test rdi, rdi
je 0x14002109f
test byte [0x1400a52a8], 1
je 0x14002122f
cmp byte [rdi + 0x17], 0
jns 0x140020ff8
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400a88a8], rax
add rax, 1
cmp rax, 1
ja 0x14002122f
mov word [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14002122c
cmp eax, 0x104
ja 0x14002122c
mov rcx, qword [0x1400a8888]
lea rdx, [rsp + 0x40]
call fcn.14001bc5a
mov rcx, qword [0x1400a8888]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x1400211a5
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
jne 0x1400211b4
jmp 0x1400211c7
movabs rbp, 0x7fffffffffffffef
mov ecx, 0x18
call fcn.14005e874
mov rdi, rax
lea rsi, [rsp + 0x40]
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rsi
call fcn.140072d88
cmp rax, rbp
ja 0x140021252
mov rbx, rax
cmp rax, 0xb
jae 0x140021101
mov byte [rdi + 0x17], bl
mov r15, rdi
test rbx, rbx
jne 0x14002112d
jmp 0x140021140
lea rsi, [rbx + 8]
and rsi, 0xfffffffffffffff8
js 0x14002125a
lea rcx, [rsi + rsi]
call fcn.14005e874
mov r15, rax
mov qword [rdi], rax
add rbp, 0x11
or rbp, rsi
mov qword [rdi + 0x10], rbp
mov qword [rdi + 8], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140061500
mov word [r15 + rbx*2], 0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140021155
mov r8, qword [rdi + 8]
mov rcx, rdi
mov dx, 0x5c
call fcn.14001be62
cmp rax, 0xffffffffffffffff
je 0x14002117d
add rax, 1
mov rcx, rdi
mov rdx, rax
mov r8, 0xffffffffffffffff
call fcn.14001bd8a
lea rdx, [0x14008747c]
mov rcx, rdi
call fcn.14001ba8a
mov qword [0x1400a8888], rdi
test byte [0x1400a52a8], 1
jne 0x140020fef
jmp 0x14002122f
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400211c7
lea rdx, [0x140087478]
call fcn.14001ba8a
mov rcx, qword [0x1400a8888]
lea rdx, [0x14008747c]
call fcn.14001ba8a
mov rcx, qword [0x1400a8888]
cmp byte [rcx + 0x17], 0
jns 0x1400211e3
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400a88a8], rax
add rax, 1
cmp rax, 1
ja 0x14002122f
mov qword [0x1400a88a8], 0
xor r14d, r14d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005ecd0
mov eax, r14d
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rdi
call fcn.14001a87c
call fcn.14006cf3c
int3
Function at 0x140023c40
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140023cc3
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x140023c8e
call fcn.1400313b0
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.140032d90
mov rcx, qword [rsi]
call fcn.140032d20
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140023cbc
mov qword [rsi], rdi
call fcn.1400313b0
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140032d50
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
stc
in al, dx
sbb rax, 0xffffffffb1db4c1f
cmp ebx, ecx
invalid
pop rdx
fldenv [rax + 0x31]
int1
xchg ecx, eax
mov r13b, 0x2d
push rcx
mov cs, word [rsi + 0x2a61b419]
sbb dword [rax + rdi*8 + 0x20], ecx
invalid

Function at 0x140023e50
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 [0x1400a52f8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x140023e7f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140023e82
mov rcx, qword [rdi]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140023ea3
test bl, bl
je 0x140023ef2
cmp byte [rdi + 8], 0
je 0x140023ee4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140023ee7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x140023eba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140023ebd
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140023ed3
xor edi, edi
jmp 0x140023f6e
cmp byte [rdi + 8], 0
je 0x140023f26
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140023f29
mov rcx, qword [rdi]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rdi + 8], 0
je 0x140023f03
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140023f06
mov rcx, qword [rdi]
call fcn.140032cf0
mov rcx, qword [0x1400a8a78]
mov dil, 1
test rcx, rcx
je 0x140023f6e
mov edx, eax
mov r8d, esi
call fcn.1400280c0
jmp 0x140023f6e
mov rcx, qword [rdi]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140023f3c
mov esi, dword [rsp + 0x24]
cmp byte [rdi + 8], 0
je 0x140023f4d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
jmp 0x140023f50
mov rcx, qword [rdi]
call fcn.140032cf0
mov rcx, qword [0x1400a8a78]
test rcx, rcx
je 0x140023f6b
mov edx, eax
mov r8d, esi
call fcn.1400280c0
mov dil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005ecd0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140029590
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 [0x1400a52f8]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1400a8aa0]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400296ff
jp 0x1400296ff
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 [0x1400a8ab0]
mov ecx, dword [0x1400a8940]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002971e
mov eax, dword [0x1400a8ac0]
mov ecx, dword [0x1400a8940]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140029758
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 [0x1400a8ab8]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x1400887a0]
subpd xmm1, xmmword [0x1400887b0]
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 [0x1400887c8]
ucomisd xmm1, xmm0
ja 0x1400296ff
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1400a8aa8]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1400887a0]
subpd xmm1, xmmword [0x1400887b0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1400a8aa0], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005ecd0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1400a8ab0]
call fcn.14005ea60
cmp dword [0x1400a8ab0], 0xffffffff
jne 0x140029611
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1400a8aa8], rdx
lea rcx, [0x1400a8ab0]
call fcn.14005eaf8
jmp 0x140029611
lea rcx, [0x1400a8ac0]
call fcn.14005ea60
cmp dword [0x1400a8ac0], 0xffffffff
jne 0x140029636
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x1400a8ab8], rax
lea rcx, [0x1400a8ac0]
call fcn.14005eaf8
jmp 0x140029636
Function at 0x140029f00
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x1400a52f8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x140088820]
mov qword [rcx], rax
add rcx, 8
call fcn.140030360
lea rcx, [rsi + 0x10]
call fcn.140030360
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.140030360
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 [0x1400890e8]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.140039670
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], 0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.140035f40
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.140035f40
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.140035f40
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.140001ea0
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.140023d60
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140023db0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.140023d10
mov rcx, rsi
call fcn.14002a1a0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14002a14a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.1400375d0
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.140037740
mov qword [0x1400a8e78], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005ecd0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14002fff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1400a52f8]
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.140031390
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140034d60
cmp byte [rsi + 0x17], 0
jns 0x140030046
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140034e90
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005ecd0
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x140030080
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1400a52f8]
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 0x1400300c0
xor esi, esi
jmp 0x140030125
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x60], 0
je 0x1400300de
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x1400300d0
jmp 0x1400300e0
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001f930
lea rbx, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.140020a30
mov rcx, rsi
mov rdx, rbx
call fcn.14001f9b0
mov rcx, rbx
call fcn.14001f980
mov rcx, rdi
call fcn.14001f980
mov sil, 1
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14005ecd0
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret

Function at 0x140030150
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400a52f8]
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 0x1400301c0
cmp word [rsp + 0x60], 0
je 0x1400301c0
mov qword [rsp + 0x50], rdi
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x1400301a0
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14001f930
jmp 0x140030214
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.14001f8f0
mov rcx, rdi
call fcn.140030080
test al, al
je 0x1400301e8
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14001f910
jmp 0x14003020a
lea rax, [0x1400889c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 3
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14001f930
lea rcx, [rsp + 0x38]
call fcn.14001f980
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14005ecd0
mov rax, rsi
add rsp, 0x278
pop rdi
pop rsi
ret
Function at 0x140031a00
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r13, rcx
mov rdi, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
jne 0x140031bd4
mov r15, qword [r13]
mov rbx, qword [r13 + 8]
mov rcx, rbx
sub rcx, r15
jbe 0x140031a92
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
add rax, 1
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, rbx
sub r15, rax
sub rdi, rbx
mov rsi, rdi
sar rsi, 3
test rdi, rdi
je 0x140031a7d
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.140061500
mov rbx, qword [r13 + 8]
lea rdi, [r15 + rsi*8]
mov qword [r13 + 0x10], rdi
lea rax, [rbx + r12*8]
mov qword [r13 + 8], rax
jmp 0x140031bd4
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov esi, 1
cmovne rsi, rcx
mov rax, rsi
shr rax, 0x3d
jne 0x140031bef
mov r12, rsi
shr r12, 2
lea rcx, [rsi*8]
call fcn.14005e874
lea r11, [rax + r12*8]
mov r9, r11
lea r8, [rax + rsi*8]
sub rdi, rbx
je 0x140031bae
lea r10, [rdi - 8]
mov ecx, r10d
shr ecx, 3
add ecx, 1
and rcx, 7
je 0x140031b18
neg rcx
mov rdx, r9
nop word cs:[rax + rax]
mov rsi, qword [rbx]
mov qword [rdx], rsi
add rdx, 8
add rbx, 8
inc rcx
jne 0x140031b00
mov rcx, rdx
jmp 0x140031b1e
mov rdx, r9
mov rcx, r9
add r11, rdi
cmp r10, 0x38
jb 0x140031baa
sar rdi, 3
shl r12, 3
lea rsi, [r12 + rdi*8]
sub rsi, rdx
mov r15, rax
add r15, rsi
lea r10, [rdx + 0x40]
xor esi, esi
nop word cs:[rax + rax]
mov rdi, qword [rbx + rsi]
mov qword [rcx], rdi
mov rcx, qword [rbx + rsi + 8]
mov qword [rdx + rsi + 8], rcx
mov rcx, qword [rbx + rsi + 0x10]
mov qword [rdx + rsi + 0x10], rcx
mov rcx, qword [rbx + rsi + 0x18]
mov qword [rdx + rsi + 0x18], rcx
mov rcx, qword [rbx + rsi + 0x20]
mov qword [rdx + rsi + 0x20], rcx
mov rcx, qword [rbx + rsi + 0x28]
mov qword [rdx + rsi + 0x28], rcx
mov rcx, qword [rbx + rsi + 0x30]
mov qword [rdx + rsi + 0x30], rcx
mov rcx, qword [rbx + rsi + 0x38]
mov qword [rdx + rsi + 0x38], rcx
lea rcx, [r10 + rsi]
add rsi, 0x40
cmp r15, rsi
jne 0x140031b50
mov r15, qword [r13]
mov qword [r13], rax
mov qword [r13 + 8], r9
mov qword [r13 + 0x10], r11
mov qword [r13 + 0x18], r8
test r15, r15
je 0x140031bd1
mov rcx, r15
call fcn.14005e8b0
mov rdi, qword [r13 + 0x10]
jmp 0x140031bd4
mov rdi, r11
mov rax, qword [r14]
mov qword [rdi], rax
add qword [r13 + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14006cf3c
int3