joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401309c0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
mov rbp, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140130b0b
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call fcn.1401a85d0
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140130afe
xor r14d, r14d
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp word [rsp + 0x7c], 0
jne 0x140130a63
mov r8, r14
jmp 0x140130a7b
lea rax, [rsp + 0x7c]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140130a70
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.1400be520
nop
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rbx, qword [rsp + 0x30]
mov rcx, rbp
call fcn.1400be280
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140130acb
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401313c0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x140130ae8
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400be810
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140130a42
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140130b0e
or eax, 0xffffffff
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140164ec0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1401375e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rdi
push r14
mov eax, 0x10e8
call fcn.140165c40
sub rsp, rax
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rsp + 0x10c0], rax
mov eax, dword [rdx + 0x10]
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
lea r9d, [rax*2 + 2]
mov rax, qword [rcx]
mov dword [rax], r9d
cmp qword [rdx + 0x18], 8
jb 0x140137629
mov r14, qword [rdx]
mov rax, qword [rcx]
mov ebx, dword [rax]
test ebx, ebx
je 0x1401377a0
mov qword [rsp + 0x1120], rsi
mov qword [rsp + 0x10e0], r12
mov qword [rsp + 0x10d8], r13
xor r13d, r13d
mov qword [rsp + 0x10d0], r15
nop dword [rax]
cmp ebx, 0x1000
jbe 0x140137674
mov esi, 0x1000
mov byte [rsp + 0x30], 0x20
jmp 0x140137695
mov eax, ebp
mov esi, ebx
sub eax, 1
je 0x140137690
cmp eax, 1
je 0x140137689
mov byte [rsp + 0x30], 0x23
jmp 0x140137695
mov byte [rsp + 0x30], 0x24
jmp 0x140137695
mov byte [rsp + 0x30], 0x40
mov r8d, esi
lea rcx, [rsp + 0x31]
mov rdx, r14
mov r12d, esi
call fcn.1401a6950
mov rcx, qword [rdi + 0x10]
lea r15d, [rsi + 1]
mov r9, qword [rdi + 0x18]
lea rdx, [rsp + 0x30]
mov r8d, r15d
mov qword [rsp + 0x20], r13
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rdi + 8]
mov dword [rcx], eax
mov rax, qword [rdi + 8]
cmp dword [rax], r13d
je 0x1401376ff
mov rax, qword [rdi + 0x18]
cmp r15d, dword [rax]
jne 0x1401376ff
mov rcx, qword [rdi + 0x10]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
add r14, r12
sub ebx, esi
jne 0x140137660
jmp 0x140137780
test ebp, ebp
je 0x140137780
xor edx, edx
lea rcx, [rsp + 0x1040]
mov r8d, 0x80
call fcn.1401a85d0
mov rax, qword [rdi + 8]
cmp dword [rax], r13d
jne 0x14013775a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x7f
lea rcx, [rsp + 0x1040]
cmp eax, 0xe8
jne 0x140137749
lea r8, str.Finished_writing:_the_pipe_has_been_closed
call fcn.140136e10
jmp 0x140137780
mov r9d, eax
lea r8, str.Error_writing_to_the_pipe___d_
call fcn.140136e10
jmp 0x140137780
mov rax, qword [rdi + 0x18]
lea r8, str.Warning._Writing_to_the_pipe__d_bytes___wrote__d_bytes
mov r9d, r15d
mov edx, 0x7f
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x1040]
call fcn.140136e10
mov r13, qword [rsp + 0x10d8]
mov r12, qword [rsp + 0x10e0]
mov rsi, qword [rsp + 0x1120]
mov r15, qword [rsp + 0x10d0]
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.140164ec0
add rsp, 0x10e8
pop r14
pop rdi
pop rbp
pop rbx
ret
mov r8d, dword [r8]
add rcx, 8
jmp 0x1401375e0
Function at 0x1401386d0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 0x2f], 7
xor esi, esi
mov qword [rbp + 0x27], rsi
mov word [rbp + 0x17], si
lea r8d, [rsi + 1]
lea rdx, [0x140227e54]
lea rcx, [rbp + 0x17]
call fcn.1400be520
nop
lea r8, [rbp + 0x17]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14013f5a0
nop
mov r8, qword [rbp + 0x2f]
cmp r8, 8
jb 0x140138756
inc r8
mov rdx, qword [rbp + 0x17]
lea rcx, [rbp + 0x17]
call fcn.1400be810
mov qword [rbp + 0x2f], 7
mov qword [rbp + 0x27], rsi
mov word [rbp + 0x17], si
lea rdx, [rdi + 8]
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rsi
mov word [rbp - 9], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 9]
call fcn.1400be8c0
nop
mov ebx, esi
mov r9, qword [rbp - 0x21]
mov rdx, r9
mov r8, qword [rbp - 0x29]
sub rdx, r8
sar rdx, 5
lea rax, [rdx - 1]
test rax, rax
je 0x14013884c
mov rcx, rsi
nop
cmp rdx, rcx
jbe 0x140138846
shl rcx, 5
lea rdx, [r8 + rcx]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 9]
call fcn.1400c4cb0
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14013880b
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rax, qword [rbp - 9]
movzx ecx, word [rax + rcx*2 - 2]
cmp cx, 0x5c
je 0x14013880b
cmp cx, 0x2f
je 0x14013880b
mov edx, 1
lea r8d, [rdx + 0x5b]
lea rcx, [rbp - 9]
call fcn.1400be670
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
inc ebx
mov r9, qword [rbp - 0x21]
mov rdx, r9
mov r8, qword [rbp - 0x29]
sub rdx, r8
sar rdx, 5
mov ecx, ebx
lea rax, [rdx - 1]
cmp rcx, rax
jb 0x1401387b0
jmp 0x14013884c
call fcn.1400c4750
nop
mov rax, qword [rbp + 0xf]
cmp rax, 8
jb 0x14013886f
lea r8, [rax + 1]
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400be810
mov r9, qword [rbp - 0x21]
mov r8, qword [rbp - 0x29]
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rsi
mov word [rbp - 9], si
test r8, r8
je 0x1401388a3
mov rdx, r9
mov rcx, r8
call fcn.1400c5a10
mov r8, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x29]
sub r8, rdx
sar r8, 5
call fcn.1400c4960
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x140138b10
Capabilities:
Create directory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x28], rbx
lea rdx, [rcx + 8]
lea rcx, [rsp + 0x50]
call fcn.1400c5640
nop
lea r8, [0x140227e54]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400c5940
mov rdx, rax
mov rcx, rdi
call fcn.1400c44d0
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x140138b89
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400be810
mov qword [rsp + 0x48], 7
xor esi, esi
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140138bbb
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400be810
cmp qword [rdi + 0x18], 8
jb 0x140138bc5
mov rdi, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140138be9
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400be810
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x140138bff
mov rbx, qword [rbx]
mov word [rbx], si
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140164ec0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14013a650
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx]
mov r12d, 0xffffffe5
mov qword [rdx + 8], rax
mov rbx, rdx
cmp qword [rcx + 0x18], 8
mov edi, r12d
jb 0x14013a67a
mov rcx, qword [rcx]
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov edx, 0x80000000
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14013a768
xor edx, edx
mov qword [rsp + 0x80], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
je 0x14013a751
lea ecx, [rax + 1]
mov qword [rsp + 0x78], rbp
call fcn.1401aab10
mov rbp, rax
test rax, rax
je 0x14013a74c
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], r15d
mov r8d, esi
mov qword [rsp + 0x20], r15
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14013a744
mov ecx, dword [rsp + 0x70]
cmp ecx, esi
jne 0x14013a744
mov rax, qword [rbx + 0x10]
mov edx, ecx
sub rax, qword [rbx]
cmp rax, rcx
jae 0x14013a725
mov rcx, rbx
call fcn.14013aae0
mov ecx, dword [rsp + 0x70]
mov edx, ecx
mov rcx, rbx
call fcn.14013aa20
mov edx, dword [rsp + 0x70]
mov r8, rbp
mov rcx, qword [rbx]
mov r9d, edx
call fcn.140139910
mov edi, r15d
mov rcx, rbp
call fcn.1401aaaf0
mov rbp, qword [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x80]
test eax, eax
cmove edi, r12d
mov eax, edi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret

Function at 0x14013a780
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rbp, rcx
xor edx, edx
xor ecx, ecx
or rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
movsxd rsi, eax
test eax, eax
je 0x14013a829
mov eax, 2
mov qword [rsp + 0x30], rdi
mul rsi
lea rdx, [0x1402015a8]
cmovo rax, rbx
mov rcx, rax
call fcn.140165924
mov rdi, rax
test rax, rax
je 0x14013a812
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14013a80a
cmp word [rdi], 0
jne 0x14013a7f0
xor ebx, ebx
jmp 0x14013a7fa
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14013a7f0
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
call fcn.1400be520
xor ebx, ebx
mov rcx, rdi
call fcn.14016591c
mov eax, ebx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rbp, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x14013b060
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
xor edi, edi
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov dword [rsp + 0x40], edi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14013b11c
mov ecx, esi
call fcn.1401aab10
mov qword [rbx + 0x40], rax
test rax, rax
je 0x14013b11c
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14013b11c
mov rcx, qword [rbx + 0x40]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov dword [rsp + 0x50], edi
lea rdx, [0x140227e54]
mov qword [rsp + 0x58], rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14013b11c
mov rax, qword [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rbx + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x18], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x28], xmm0
mov eax, dword [rax + 0x30]
mov dword [rbx + 0x38], eax
cmp dword [rbx + 8], 0xfeef04bd
sete dil
mov dword [rbx + 0x58], edi
mov eax, edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rbx + 0x58]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14013c300
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0xe0
mov rdi, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1401a85d0
xor eax, eax
mov dword [rsp + 0x70], 0x68
xor ebx, ebx
mov qword [rsp + 0x50], rax
lea rcx, str.kernel32
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x100], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.Wow64DisableWow64FsRedirection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x14013c38d
mov rcx, rax
call qword [fcn.1400059b0]
lea rcx, [rsp + 0x100]
call rbp
cmp qword [rdi + 0x18], 8
jb 0x14013c397
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], 8
jb 0x14013c3a1
mov rsi, qword [rsi]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14013c3fd
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14013c405
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp qword [rsp + 0x100], 0
je 0x14013c448
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.Wow64RevertWow64FsRedirection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14013c448
mov rcx, rax
call qword [fcn.1400059b0]
mov rcx, qword [rsp + 0x100]
call rdi
test ebx, ebx
je 0x14013c46e
cmp ebx, 2
jb 0x14013c467
cmp ebx, 3
jbe 0x14013c460
cmp ebx, 5
jne 0x14013c467
lea eax, [rbx - 0x1b]
jmp 0x14013c470
mov eax, 0xffffffe4
jmp 0x14013c470
mov eax, 0xffffffe5
jmp 0x14013c470
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14013ca20
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r15
sub rsp, 0x30
or rbx, 0xffffffffffffffff
xor esi, esi
cmp qword [rdx + 0x18], 8
mov r12, r8
mov rdi, rdx
mov r15, rcx
jb 0x14013ca45
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14013cc61
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x78], r14
call fcn.140165478
mov r14, rax
test rax, rax
je 0x14013cc4e
cmp qword [rdi + 0x18], 8
jb 0x14013ca91
mov rdi, qword [rdi]
mov rcx, qword [r15]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14013cc4e
cmp dword [rsp + 0x68], 1
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x70], rbp
jne 0x14013cafd
test ecx, ecx
je 0x14013cafd
lea eax, [rcx + 4]
mov ecx, eax
mov ebp, eax
call fcn.140165478
mov rdi, rax
test rax, rax
je 0x14013caf5
mov r8d, ebp
xor edx, edx
mov rcx, rax
call fcn.1401a85d0
mov ecx, dword [rsp + 0x60]
jmp 0x14013cb02
mov ecx, dword [rsp + 0x60]
xor edi, edi
jmp 0x14013cb02
mov rdi, qword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
sub eax, 1
je 0x14013cbdf
sub eax, 1
je 0x14013cb72
cmp eax, 2
je 0x14013cb28
mov ebx, 0xffffffe1
jmp 0x14013cc39
mov ecx, reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.140165478
mov rsi, rax
test rax, rax
je 0x14013cc39
mov ecx, dword [r14]
mov r8d, 0xa
mov rdx, rax
call fcn.1401b8e74
cmp word [rax], 0
jne 0x14013cb60
xor ebx, ebx
mov rdx, rax
jmp 0x14013cc2c
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14013cb60
mov rdx, rax
jmp 0x14013cc2c
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test eax, eax
je 0x14013cc39
mov eax, 2
mul rdi
cmovo rax, rbx
mov rcx, rax
call fcn.140165478
mov rsi, rax
test rax, rax
je 0x14013cc39
mov r8d, edi
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14013cc39
cmp word [rsi], 0
jne 0x14013cbd0
xor ebx, ebx
mov rdx, rsi
jmp 0x14013cc2c
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14013cbd0
mov rdx, rsi
jmp 0x14013cc2c
test ecx, ecx
jne 0x14013cbf7
xor r8d, r8d
lea rdx, [0x1402271c4]
mov rcx, r12
call fcn.1400be520
jmp 0x14013cc39
mov r8d, ecx
mov rdx, r14
mov rcx, rdi
call fcn.1401a6950
mov rcx, r14
call fcn.14016591c
mov r14, rdi
cmp word [rdi], si
jne 0x14013cc20
xor ebx, ebx
jmp 0x14013cc29
inc rbx
cmp word [rdi + rbx*2], si
jne 0x14013cc20
mov rdx, rdi
mov r8, rbx
mov rcx, r12
call fcn.1400be520
xor ebx, ebx
mov rcx, r14
call fcn.14016591c
test rsi, rsi
je 0x14013cc4e
mov rcx, rsi
call fcn.14016591c
mov eax, ebx
mov r14, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
mov eax, ebx
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14013e110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, qword [r8 + 0x18]
mov rdi, r8
mov r13, qword [r8 + 0x10]
mov r12, rdx
mov rsi, rcx
cmp rbp, 8
jb 0x14013e146
mov r8, qword [r8]
lea r9, [r13*2]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r9, r9
je 0x14013e184
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, r9
jb 0x14013e170
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
mov rsi, qword [rsi + 8]
and rax, rdx
mov rbx, rax
add rbx, rbx
add rax, rax
mov rbx, qword [rcx + rbx*8]
mov r14, qword [rcx + rax*8]
lea r15, [rcx + rax*8]
cmp r14, rsi
jne 0x14013e1b2
mov rax, rsi
jmp 0x14013e1b9
mov rax, qword [r15 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14013e227
lea rcx, [rbx + 0x10]
cmp rbp, 8
jb 0x14013e1cd
mov r8, qword [rdi]
jmp 0x14013e1d0
mov r8, rdi
cmp qword [rcx + 0x18], 8
lea rdx, [rcx + 0x10]
jb 0x14013e1de
mov rcx, qword [rcx]
mov rdx, qword [rdx]
mov r9, r13
call fcn.1400c4840
test eax, eax
je 0x14013e1f2
mov rbx, qword [rbx]
jmp 0x14013e1a8
cmp qword [rbx + 0x28], 8
lea r8, [rbx + 0x10]
lea r9, [r8 + 0x10]
jb 0x14013e204
mov r8, qword [r8]
cmp rbp, 8
jb 0x14013e20d
mov rdi, qword [rdi]
mov r9, qword [r9]
mov rdx, r13
mov rcx, rdi
call fcn.1400c4840
test eax, eax
cmovne rbx, rsi
mov qword [r12], rbx
jmp 0x14013e22b
mov qword [r12], rsi
mov rbx, qword [rsp + 0x50]
mov rax, r12
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14013e750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rsi
mov rdi, r9
mov r14, r8
mov r12, rdx
mov r15, rcx
mov r11, qword [r8 + 0x10]
mov r10, qword [r8 + 0x18]
cmp r10, 8
jb 0x14013e792
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r9, [r11 + r11]
test r9, r9
je 0x14013e7c5
movabs rbx, 0x100000001b3
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r9
jb 0x14013e7b1
mov r13, qword [r15 + 0x30]
and r13, rdx
shl r13, 4
mov rax, qword [r15 + 0x18]
mov rsi, qword [rax + r13]
cmp rsi, qword [r15 + 8]
jne 0x14013e7e4
mov rbx, qword [r15 + 8]
jmp 0x14013e7ec
mov rbx, qword [rax + r13 + 8]
mov rbx, qword [rbx]
cmp rbx, rsi
je 0x14013e86f
mov rbx, qword [rbx + 8]
lea r8, [rbx + 0x10]
lea r9, [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14013e807
mov r8, qword [r8]
cmp r10, 8
jb 0x14013e812
mov rcx, qword [r14]
jmp 0x14013e815
mov rcx, r14
mov r9, qword [r9]
mov rdx, r11
call fcn.1400c4840
test eax, eax
je 0x14013e833
cmp rbx, rsi
mov r10, qword [r14 + 0x18]
mov r11, qword [r14 + 0x10]
jne 0x14013e7f1
jmp 0x14013e86f
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r15 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.14013e6c0
mov rcx, rdi
call fcn.140005910
mov qword [r12], rbx
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x14013e909
mov qword [rsp + 0x70], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14013e8a9
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r15 + 0x18]
add rdx, r13
mov rax, qword [rdx]
cmp rax, qword [r15 + 8]
jne 0x14013e8c7
mov qword [rdx], rdi
mov rax, qword [r15 + 0x18]
mov qword [rax + r13 + 8], rdi
jmp 0x14013e8f3
cmp rax, rbx
jne 0x14013e8d1
mov qword [rdx], rdi
jmp 0x14013e8f3
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14013e8f3
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r13 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r13 + 8], rcx
mov rcx, r15
call fcn.14013e930
nop
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14013e9f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov r9, qword [r8 + 0x20]
mov rdi, r8
add r8, 0x10
mov rsi, rdx
mov r10, rcx
cmp qword [r8 + 0x18], 8
jb 0x14013ea1f
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r9, r9
je 0x14013ea54
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x14013ea40
mov r8, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
cmp qword [rcx + 8], rdi
jne 0x14013ea91
cmp qword [rcx], rdi
jne 0x14013ea87
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x14013ea9c
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x14013ea9c
cmp qword [rcx], rdi
jne 0x14013eaa1
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r10 + 0x10]
call fcn.14013e6c0
mov rcx, rdi
call fcn.140005910
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140140a40
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1401a85d0
mov edx, 0x208
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140140a8a
or rax, 0xffffffffffffffff
jmp 0x140140af4
cmp word [rsp + 0x20], 0
jne 0x140140a97
xor r8d, r8d
jmp 0x140140aab
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140140aa0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400be520
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140140af2
cmp qword [rbx + 0x18], 8
jb 0x140140acd
mov rax, qword [rbx]
jmp 0x140140ad0
mov rax, rbx
movzx ecx, word [rax + rcx*2 - 2]
cmp cx, 0x5c
je 0x140140af2
cmp cx, 0x2f
je 0x140140af2
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x5b]
call fcn.1400be670
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140164ec0
add rsp, 0x240
pop rbx
ret