joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400366e0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
add rsp, 0x20
pop rbp
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x140036700
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
push rdi
push r15
sub rsp, 0x40
mov edi, ecx
lea r9, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
xor ebx, ebx
mov r8d, 0x20019
mov rcx, 0xffffffff80000001
and qword [rsp + 0x30], rbx
call fcn.140012d00
test eax, eax
jne 0x140036852
lea r15d, [rbx + 1]
test r15b, dil
je 0x14003679b
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x68], ebx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
lea rdx, str.HideFileExt
xor r8d, r8d
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140036793
cmp dword [rsp + 0x78], 4
jne 0x140036793
mov eax, dword [rsp + 0x68]
jmp 0x140036795
xor eax, eax
test eax, eax
cmove ebx, r15d
test dil, 2
je 0x1400367f7
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x68], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
lea rdx, str.Hidden
xor r8d, r8d
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400367ed
cmp dword [rsp + 0x78], 4
jne 0x1400367ed
mov eax, dword [rsp + 0x68]
jmp 0x1400367ef
xor eax, eax
cmp eax, r15d
jne 0x1400367f7
or ebx, 2
test dil, 4
je 0x140036852
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x68], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
lea rdx, str.ShowSuperHidden
xor r8d, r8d
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140036849
cmp dword [rsp + 0x78], 4
jne 0x140036849
mov eax, dword [rsp + 0x68]
jmp 0x14003684b
xor eax, eax
test eax, eax
je 0x140036852
or ebx, 4
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140036868
and qword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop rdi
pop rbp
ret
Function at 0x140130adc
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
test eax, 0x41050f20
sub edi, 0xd27f21f7
neg rcx
add ecx, 0x172387e5
jg 0x140131631
test rbx, rdx
ror r12d, 0x74
ror ecx, 0xd5
movabs rdx, 0x583e8cffffff6be9
jmp rax
add byte [rsi - 1], ah
pop rsi
inc edi
test dword [rax], esi
add dword [rax], eax
add dh, dh
div dh
imul cl
xor al, byte [rdx]
add byte [rax], al
Function at 0x140133ef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
div dh
div byte [rbp + 0x10]
je 0x14013385e
jmp rcx
test esp, esi
add byte [rax], al
add byte [rbp + 0x7e], bh
jl 0x140133dfd
xchg r13, r9
mov qword [rsp + 0x20], r13
xchg r13, r9
xchg r8, r14
jmp 0x140133f65
xchg rbp, rax
mov qword [rsp + 0x10], rbp
xchg rbp, rax
jmp 0x140133fcf
mov dword [rsp + 8], 0
xchg r10, rax
mov r10, qword [rsp + 0x30]
xchg r10, rax
jne 0x140133f45
je 0x140133f45
popf
jmp rcx
jmp 0x140133f03
mov qword [rsp + 0x18], r14
xchg r14, r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rax, [0x140134260]
mov qword [rsp + 0x18], rax
je 0x140133f9b
jne 0x140133f9b
dec r14
jge 0x140133d81
mov r14d, 0x49ac7b51
movabs r10, 0xa57ffffffff71e9
xor esi, 0xe304ed21
rcr r13d, 0xbe
lea r13d, [rbx + 0x5283]
jmp 0x140133849
jmp 0x140133f11
mov eax, dword [rsp + 0x38]
xchg rsi, rcx
mov rsi, qword [rsp + 0x30]
xchg rsi, rcx
je 0x140134008
jne 0x140134008
pushfq
jmp rcx
Function at 0x496950
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x00400000], 0x5a4d
je 0x49698d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x00400000]
jmp 0x496a1b
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x4969b1
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x496a1b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x4969f8
cmp ecx, 0x20b
je 0x4969d0
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x496a1b
cmp dword [rax + 0x84], 0xe
ja 0x4969e4
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x496a1b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x496a1b
cmp dword [rax + 0x74], 0xe
ja 0x496a09
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x496a1b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x004d0400], 0xffffffffffffffff
mov qword [0x004d0408], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x004cfe8c]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x004cfe88]
mov dword [rcx], eax
call fcn.00496c00
cmp dword [0x004cf0e8], 0
jne 0x496a75
lea rcx, [fcn.00496c00]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x004989e0]
lea rcx, [0x004989d8]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x004cfe84]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x004cfe80]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x004989d0]
lea rcx, [0x00498928]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x496b16
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x496b06
cmp al, 0x22
je 0x496b06
jmp 0x496af0
cmp byte [r8], 0x22
jne 0x496b26
inc r8
mov qword [rsp + 0x30], r8
jmp 0x496b26
cmp byte [r8], 0x20
jbe 0x496b26
inc r8
mov qword [rsp + 0x30], r8
jmp 0x496b16
movzx eax, byte [r8]
test al, al
je 0x496b3c
cmp al, 0x20
ja 0x496b3c
inc r8
mov qword [rsp + 0x30], r8
jmp 0x496b26
test byte [rsp + 0x8c], 1
je 0x496b51
movzx r9d, word [rsp + 0x90]
jmp 0x496b57
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call 0x57a000
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x496b73
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x496b97
mov eax, edi
jmp 0x496ba0
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x8285b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x8285bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x8285cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x8285b5
lea eax, [rcx + 1]
jmp 0x8285db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x8285ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x8285d4
sub eax, 3
jb 0x82860e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x82865d
sar eax, 1
movsxd rbp, eax
jb 0x828644
jmp 0x82861c
add ebx, ebx
jne 0x82861a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x828644
inc ecx
add ebx, ebx
jne 0x82862a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x828644
call r11
adc ecx, ecx
add ebx, ebx
jne 0x82863d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x82862c
add ecx, 2
jmp 0x828649
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00828572
jmp 0x8285bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x127000
mov dl, 0x17
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x8286a9
cmp rsi, rcx
jae 0x8286b1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x828690
cmp al, 0x8f
ja 0x828690
cmp byte [rsi - 2], 0xf
je 0x828696
sub al, 0xe8
cmp al, 1
ja 0x82867a
cmp rsi, rcx
jae 0x8286b1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x828680
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x8286b1
lodsb al, byte [rsi]
jmp 0x828690
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x423000]
mov eax, dword [rdi]
or eax, eax
je 0x82870e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x428000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x8286be
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x828708
mov qword [rbx], rax
add rbx, 8
jmp 0x8286de
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x828752
cmp al, 0xef
ja 0x82873a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x82871a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x828729
mov eax, dword [rdi]
add rdi, 4
jmp 0x828729
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x8287a6
sub rsp, 0xffffffffffffff80
jmp 0x471560
Function at 0x140007080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
mov esi, eax
movabs eax, dword [0xda8b088900409214]
test ebx, ebx
jle 0x1400070a1
mov eax, 0xff
call fcn.140002680
xor byte [rsi], al
jne 0x140007091
pop rsi
pop rbx
ret

Function at 0x140010fb0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rcx + 0x10]
xor r14d, r14d
mov rbp, qword [rsp + 0xf0]
mov rsi, r9
mov dword [rsp + 0x20], VarBstrFromDisp
mov rdi, r8
mov dword [rsp + 0x24], 0x40
mov rbx, rdx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x50], 1
cmp byte [rax + 0x815], r14b
je 0x140011024
mov rcx, rdx
call fcn.14001ec70
mov ecx, dword [rsp + 0x50]
test al, al
cmovne ecx, r14d
mov dword [rsp + 0x50], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401e1ba0
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140018de0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
cmp qword [rdx + 0x18], 8
jb 0x140018e12
mov rcx, qword [rdx]
jmp 0x140018e15
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140018ea9
mov r8, rbx
lea rdx, str.Cant_find_ini_path:
lea rcx, [rsp + 0x28]
call fcn.14001ae10
cmp qword [rax + 0x18], 8
jb 0x140018e41
mov rax, qword [rax]
xor r9d, r9d
lea r8, str.No_Such_File_Found
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140018e74
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003790
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140018e8c
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140003790
mov qword [rbx + 0x18], 7
xor eax, eax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 8
jb 0x140018ea4
mov rbx, qword [rbx]
mov word [rbx], ax
jmp 0x140018ede
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140018ec1
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140003790
mov qword [rbx + 0x18], 7
xor eax, eax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 8
jb 0x140018ed9
mov rbx, qword [rbx]
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e1ba0
add rsp, 0x60
pop rbx
ret
Function at 0x14001eab0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rsi, r8
cmp qword [rcx + 0x18], 8
mov r14, rcx
mov dword [rsp + 0x40], r15d
jb 0x14001eae2
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14001eb79
mov r8, qword [r14 + 0x18]
cmp r8, 8
jb 0x14001eb2a
mov rdx, qword [r14]
inc r8
mov rcx, r14
call fcn.140003790
mov qword [r14 + 0x18], 7
cmp qword [r14 + 0x18], 8
mov qword [r14 + 0x10], r15
jb 0x14001eb40
mov r14, qword [r14]
mov word [r14], r15w
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14001eb5c
mov rdx, qword [rsi]
inc r8
mov rcx, rsi
call fcn.140003790
mov qword [rsi + 0x18], 7
cmp qword [rsi + 0x18], 8
mov qword [rsi + 0x10], r15
jb 0x14001eb72
mov rsi, qword [rsi]
xor al, al
jmp 0x14001ec4f
cmp qword [rsi + 0x18], 8
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x50], rdi
jb 0x14001eb92
mov r8, qword [rsi]
jmp 0x14001eb95
mov r8, rsi
mov edx, 0x95
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [r14 + 0x18]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
cmp r8, 8
jb 0x14001ec05
mov rdx, qword [r14]
inc r8
mov rcx, r14
call fcn.140003790
mov qword [r14 + 0x18], 7
cmp qword [r14 + 0x18], 8
mov qword [r14 + 0x10], r15
jb 0x14001ec1b
mov r14, qword [r14]
mov word [r14], r15w
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x14001ec37
mov rdx, qword [rsi]
inc r8
mov rcx, rsi
call fcn.140003790
mov qword [rsi + 0x18], 7
cmp qword [rsi + 0x18], 8
mov qword [rsi + 0x10], r15
jb 0x14001ec4d
mov rsi, qword [rsi]
mov al, 1
mov word [rsi], r15w
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e1ba0
add rsp, 0x58
pop r15
pop r14
pop rsi
pop rbp
ret
Function at 0x14001f0a0
Capabilities:
Set file attributes

Disassembly:
push rbx
sub rsp, 0x2a0
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r10, r8
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rax, rdx
lea rcx, [rsp + 0x180]
mov rbx, r9
mov qword [rsp + 0x20], rcx
mov r9d, 0x104
mov rcx, rax
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x14001f1ab
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
movsxd rcx, eax
cmp rcx, 0x105
jae 0x14001f1cc
mov byte [rsp + rcx + 0x180], 0
lea rax, [rsp + 0x180]
xor ecx, ecx
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rax
test rbx, rbx
je 0x14001f179
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
movsxd rcx, eax
cmp rcx, 0x104
jae 0x14001f1c6
lea rax, [rsp + 0x70]
mov byte [rsp + rcx + 0x70], 0
mov qword [rsp + 0x50], rax
jmp 0x14001f17e
mov qword [rsp + 0x50], rcx
mov eax, 0x14
lea rcx, [rsp + 0x38]
mov word [rsp + 0x58], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x14001f19b
xor al, al
jmp 0x14001f1ad
mov edx, 0x80
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1401e1ba0
add rsp, 0x2a0
pop rbx
ret
call fcn.1401e22d4
int3
call fcn.1401e22d4
int3
Function at 0x14001f1e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor ebx, ebx
mov eax, dword [rdx + rcx]
cmp dword [0x1402e6ee0], eax
jle 0x14001f27a
lea rcx, [0x1402e6ee0]
call fcn.1401e1dc8
cmp dword [0x1402e6ee0], 0xffffffff
jne 0x14001f27a
mov qword [0x1402e6f30], 7
mov qword [0x1402e6f28], rbx
mov word [0x1402e6f18], bx
lea rcx, [0x14021c670]
call fcn.1401e21b4
lea rcx, [0x1402e6ee0]
call fcn.1401e1d68
lea rsi, [0x1402e6f18]
cmp qword [0x1402e6f28], rbx
jne 0x14001f30e
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [rsp + 0x60], bx
je 0x14001f2bc
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001f2b2
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140003640
mov r8d, 5
lea rdx, [0x14028c3c0]
mov rcx, rsi
call fcn.140008010
mov rcx, rsi
cmp qword [0x1402e6f30], 8
cmovae rcx, qword [0x1402e6f18]
call fcn.1401ee444
mov r8d, SafeArrayGetDim
lea rdx, str.AsusSetup.log
mov rcx, rsi
call fcn.140008010
cmp qword [0x1402e6f30], 8
cmovae rsi, qword [0x1402e6f18]
lea rdx, [0x14028c3e8]
mov rcx, rsi
call fcn.1401e81ac
mov rbx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp qword [rdi + 0x18], 0x10
jb 0x14001f347
mov rcx, qword [rdi]
jmp 0x14001f34a
mov rcx, rdi
movzx eax, word [rsp + 0x5e]
movzx edx, word [rsp + 0x5c]
movzx r9d, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, [0x14028c3d0]
mov rcx, rbx
call fcn.14001d230
mov rcx, rbx
call fcn.1401e823c
nop
mov rcx, rdi
call fcn.1400023f0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401e1ba0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001f3c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
xor edi, edi
mov eax, dword [rcx + rdx]
cmp dword [0x1402e6f48], eax
jle 0x14001f45a
lea rcx, [0x1402e6f48]
call fcn.1401e1dc8
cmp dword [0x1402e6f48], 0xffffffff
jne 0x14001f45a
mov qword [0x1402e6ed8], 7
mov qword [0x1402e6ed0], rdi
mov word [0x1402e6ec0], di
lea rcx, [0x14021c6f0]
call fcn.1401e21b4
lea rcx, [0x1402e6f48]
call fcn.1401e1d68
lea rsi, [0x1402e6ec0]
cmp qword [0x1402e6ed0], rdi
jne 0x14001f4f9
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [rsp + 0x60], di
jne 0x14001f48e
mov r8, rdi
jmp 0x14001f4aa
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14001f4a0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140003640
mov r8d, 5
lea rdx, [0x14028c3c0]
mov rcx, rsi
call fcn.140008010
mov rcx, rsi
cmp qword [0x1402e6ed8], 8
cmovae rcx, qword [0x1402e6ec0]
call fcn.1401ee444
mov r8d, SafeArrayGetDim
lea rdx, str.AsusSetup.log
mov rcx, rsi
call fcn.140008010
cmp qword [0x1402e6ed8], 8
cmovae rsi, qword [0x1402e6ec0]
lea rdx, [0x14028c3e8]
mov rcx, rsi
call fcn.1401e81ac
mov rsi, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp qword [rbx + 0x18], 8
jb 0x14001f532
mov rdx, qword [rbx]
jmp 0x14001f535
mov rdx, rbx
movzx eax, word [rsp + 0x5e]
movzx ecx, word [rsp + 0x5c]
movzx r9d, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._02d:_02d:_02d._3d__s_n
mov rcx, rsi
call fcn.14001d1e0
mov rcx, rsi
call fcn.1401e823c
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14001f588
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140003790
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14001f5a3
mov rax, qword [rbx]
mov word [rax], di
jmp 0x14001f5a6
mov word [rbx], di
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401e1ba0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001f5d0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x1402d48f8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ebp, edx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov r8, qword [rax]
xor edi, edi
mov eax, dword [rcx + r8]
cmp dword [0x1402e6f4c], eax
jle 0x14001f66d
lea rcx, [0x1402e6f4c]
call fcn.1401e1dc8
cmp dword [0x1402e6f4c], 0xffffffff
jne 0x14001f66d
mov qword [0x1402e6f00], 7
mov qword [0x1402e6ef8], rdi
mov word [0x1402e6ee8], di
lea rcx, [0x14021c770]
call fcn.1401e21b4
lea rcx, [0x1402e6f4c]
call fcn.1401e1d68
lea rsi, [0x1402e6ee8]
cmp qword [0x1402e6ef8], rdi
jne 0x14001f709
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [rsp + 0x60], di
jne 0x14001f6a1
mov r8, rdi
jmp 0x14001f6ba
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x14001f6b0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140003640
mov r8d, 5
lea rdx, [0x14028c3c0]
mov rcx, rsi
call fcn.140008010
mov rcx, rsi
cmp qword [0x1402e6f00], 8
cmovae rcx, qword [0x1402e6ee8]
call fcn.1401ee444
mov r8d, SafeArrayGetDim
lea rdx, str.AsusSetup.log
mov rcx, rsi
call fcn.140008010
cmp qword [0x1402e6f00], 8
cmovae rsi, qword [0x1402e6ee8]
lea rdx, [0x14028c3e8]
mov rcx, rsi
call fcn.1401e81ac
mov rsi, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp qword [rbx + 0x18], 8
jb 0x14001f742
mov rdx, qword [rbx]
jmp 0x14001f745
mov rdx, rbx
movzx eax, word [rsp + 0x5e]
movzx ecx, word [rsp + 0x5c]
movzx r9d, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._02d:_02d:_02d._3d__s__d_n
mov rcx, rsi
call fcn.14001d1e0
mov rcx, rsi
call fcn.1401e823c
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14001f79c
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140003790
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14001f7b7
mov rax, qword [rbx]
mov word [rax], di
jmp 0x14001f7ba
mov word [rbx], di
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401e1ba0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x140020a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140020a64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140020a50
ret