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

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r11, rdx
movzx eax, byte [r8 + 1]
mov rbx, r8
mov rdx, qword [r10 + 0x18]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r10 + 8]
imul r9, rcx
xor r9, rax
mov rax, qword [r10 + 0x30]
imul r9, rcx
and rax, r9
mov rcx, rax
add rcx, rcx
add rax, rax
mov rcx, qword [rdx + rcx*8]
mov r9, qword [rdx + rax*8]
lea r10, [rdx + rax*8]
cmp r9, r8
jne 0x1400df4cf
mov rax, r8
jmp 0x1400df4d6
mov rax, qword [r10 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x1400df4f3
mov eax, dword [rbx]
cmp dword [rcx + 0x10], eax
je 0x1400df4e7
mov rcx, qword [rcx]
jmp 0x1400df4c5
mov qword [r11], rcx
mov rax, r11
mov rbx, qword [rsp + 8]
ret
mov qword [r11], r8
mov rax, r11
mov rbx, qword [rsp + 8]
ret

Function at 0x1400e4470
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov dword [rsp + 0x30], 1
test eax, eax
js 0x1400e4508
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400e44f0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140006d70
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x1400e5050
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor eax, eax
mov rbx, rcx
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x20], rax
xor edx, edx
mov qword [rsp + 0x28], rax
mov r8d, 0x118
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.14019fd40
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400e50d2
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400e515b
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x1400e50fd
call rax
jmp 0x1400e5103
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rdx, qword [rsp + 0x20]
movzx ecx, dx
test ecx, ecx
je 0x1400e5137
cmp ecx, 6
je 0x1400e512b
xor r8d, r8d
mov eax, 2
cmp ecx, 9
cmovne eax, r8d
mov dword [rbx + 0x33388], eax
jmp 0x1400e5141
mov dword [rbx + 0x33388], 3
jmp 0x1400e5141
mov dword [rbx + 0x33388], 1
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400e5247
sub eax, 1
je 0x1400e5217
cmp eax, 1
je 0x1400e5162
xor eax, eax
jmp 0x1400e524c
mov eax, dword [rsp + 0x54]
cmp eax, 0xa
jne 0x1400e517c
cmp dword [rsp + 0x58], 0
jne 0x1400e515b
mov eax, InitCommonControls
jmp 0x1400e524c
cmp eax, 6
jne 0x1400e51c0
mov eax, dword [rsp + 0x58]
cmp eax, 3
jne 0x1400e5194
mov eax, InitCommonControls
jmp 0x1400e524c
cmp eax, 2
jne 0x1400e51a3
mov eax, 0xc
jmp 0x1400e524c
cmp eax, 1
jne 0x1400e51b2
mov eax, 0xb
jmp 0x1400e524c
test eax, eax
jne 0x1400e515b
mov eax, 0xa
jmp 0x1400e524c
cmp eax, 5
jne 0x1400e5207
mov eax, dword [rsp + 0x58]
cmp eax, 2
jne 0x1400e51ec
cmp byte [rsp + 0x16a], 1
jne 0x1400e51e5
cmp dx, 9
jne 0x1400e51e5
mov eax, 9
jmp 0x1400e524c
mov eax, 8
jmp 0x1400e524c
cmp eax, 1
jne 0x1400e51f8
mov eax, 7
jmp 0x1400e524c
test eax, eax
jne 0x1400e515b
mov eax, 6
jmp 0x1400e524c
cmp eax, 4
ja 0x1400e515b
mov eax, 5
jmp 0x1400e524c
cmp dword [rsp + 0x54], 4
jne 0x1400e515b
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jne 0x1400e522f
lea eax, [rcx + 2]
jmp 0x1400e524c
cmp ecx, 0xa
jne 0x1400e5239
lea eax, [rcx - 7]
jmp 0x1400e524c
cmp ecx, 0x5a
jne 0x1400e515b
lea eax, [rcx - 0x56]
jmp 0x1400e524c
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x180
pop rbx
ret
Function at 0x1400e9f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
mov r14, qword [r8 + 0x18]
mov r10, r8
mov rdi, qword [r8 + 0x10]
mov r12, rdx
mov rbx, rcx
cmp r14, 8
jb 0x1400e9fc4
mov r8, qword [r8]
lea r11, [rdi + rdi]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1400ea004
movabs rcx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor r9, rax
imul r9, rcx
cmp rdx, r11
jb 0x1400e9ff0
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x30]
mov rsi, qword [rbx + 8]
and rcx, r9
mov rax, rcx
add rax, rax
mov r11, qword [rdx + rax*8]
lea rax, [rcx + rcx]
mov r15, qword [rdx + rax*8]
lea r13, [rdx + rax*8]
nop dword [rax]
cmp r15, rsi
jne 0x1400ea03a
mov rax, rsi
jmp 0x1400ea041
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp r11, rax
je 0x1400ea0df
lea rdx, [r11 + 0x10]
mov rax, r10
cmp r14, 8
jb 0x1400ea05a
mov rax, qword [r10]
cmp qword [rdx + 0x18], 8
mov r9, rdx
jb 0x1400ea067
mov r9, qword [rdx]
mov rbx, qword [rdx + 0x10]
cmp rbx, rdi
jne 0x1400ea0ce
mov r8, rbx
test rbx, rbx
je 0x1400ea094
sub r9, rax
nop dword [rax + rax]
movzx ecx, word [rax]
cmp word [rax + r9], cx
jne 0x1400ea0ce
add rax, 2
sub r8, 1
jne 0x1400ea080
cmp qword [rdx + 0x18], 8
jb 0x1400ea09e
mov rdx, qword [rdx]
cmp r14, 8
jb 0x1400ea0a7
mov r10, qword [r10]
cmp rdi, rbx
jne 0x1400ea0d6
test rdi, rdi
je 0x1400ea0d9
sub r10, rdx
movzx eax, word [rdx]
cmp word [rdx + r10], ax
jne 0x1400ea0d6
add rdx, 2
sub rdi, 1
jne 0x1400ea0b4
mov qword [r12], r11
jmp 0x1400ea0e3
mov r11, qword [r11]
jmp 0x1400ea030
mov r11, rsi
mov qword [r12], r11
jmp 0x1400ea0e3
mov qword [r12], rsi
mov rbx, qword [rsp + 0x20]
mov rax, r12
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
pop r13
ret
Function at 0x1400ea760
Capabilities:
Check if file exists
Delete file

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x28]
call fcn.1400e3e90
nop
mov r8d, InitCommonControls
lea rdx, str.cloudchoice
lea rcx, [rsp + 0x28]
call fcn.140006aa0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400ea7d1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400ea80f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ea80a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ea836
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x38], xmm0
xor eax, eax
mov word [rsp + 0x28], ax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x58
ret
call fcn.1401a2d8c
int3
Function at 0x1400eaa60
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
lea rdx, [rbp - 0x48]
call fcn.1400e3e90
nop
mov r8d, 7
lea rdx, [0x140226168]
lea rcx, [rbp - 0x48]
call fcn.140006aa0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400eaadd
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r8d, 6
lea rdx, [0x140226178]
lea rcx, [rbp - 0x48]
call fcn.140006aa0
call fcn.14000ca20
xor esi, esi
mov qword [rsp + 0x20], rsi
mov rbx, 0xffffffffffffffff
mov r9d, ebx
mov r8d, 0xfde9
mov rdx, rdi
mov rcx, rax
call fcn.14002c0e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1401e5040]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], sil
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400eab33
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140006c20
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call fcn.14002c380
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400eaba9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eaba4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400eac2c
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5040]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400eabf6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eabf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400eac26
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], si
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
int3

Function at 0x1400eae30
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rdx, rdx
je 0x1400eae6c
cmp word [rdx], 0
je 0x1400eae6c
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400eae50
add rcx, 0x33218
add rsp, 0x20
pop rdi
jmp fcn.140006d70
add rcx, 0x608
mov qword [rsp + 0x30], rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400eaea8
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2 + 0x608], 0
jne 0x1400eae90
lea rdx, [rdi + 0x608]
jmp 0x1400eaecb
lea rdx, [rdi + 0x33138]
cmp qword [rdx + 0x18], 8
jb 0x1400eaeb9
mov rdx, qword [rdx]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400eaec0
lea rcx, [rdi + 0x33218]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140006d70
Function at 0x1400eb050
Capabilities:
Copy file

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
xor edi, edi
mov r8, rdx
lea rdx, [rsp + 0x30]
call fcn.1400e5270
nop
cmp qword [rsp + 0x40], rdi
jne 0x1400eb094
xor bl, bl
jmp 0x1400eb0c1
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x18], 8
jb 0x1400eb0a2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400eb0ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eb0fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400eb130
call fcn.1401812c4
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
call fcn.1401a2d8c
int3
Function at 0x1400ec1d0
Capabilities:
Check if file exists
Delete file

Disassembly:
sub rsp, 0x28
call fcn.14000c990
mov rcx, rax
add rsp, 0x28
jmp 0x1400ec1d0
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rbp, rcx
mov dl, 1
call fcn.1400eaef0
mov rcx, rbp
call fcn.1400eb140
mov r14, qword [rbp + 0x38]
mov r12, qword [rbp + 0x40]
cmp r14, r12
je 0x1400ec34d
nop dword [rax + rax]
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 8
movq rcx, xmm0
test cl, cl
je 0x1400ec340
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x1400ec340
cmp rsi, qword [rbp + 0x30]
je 0x1400ec340
mov rax, rcx
shr rax, 0x10
shr rcx, 8
cmp al, cl
jne 0x1400ec2a8
lea rbx, [rsi + 0x30]
cmp qword [rbx + 0x18], 8
jb 0x1400ec280
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400ec340
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400ec340
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400ec340
lea rdx, [0x1401e63b8]
mov rcx, rsi
call fcn.140130660
test rax, rax
je 0x1400ec2c7
mov rdx, rax
mov rcx, rsi
call fcn.140131e20
lea rdx, [0x1401e63b8]
lea rcx, [rsp + 0x40]
call fcn.14012f670
nop
mov rdx, rax
mov rcx, rsi
call fcn.140130950
nop
lea rcx, [rsp + 0x40]
call fcn.14012f870
lea rdx, [0x1401e63b8]
mov rcx, rsi
call fcn.140130660
mov r15, rax
movzx eax, byte [rsp + 0x29]
movzx edi, byte [rsp + 0x2a]
cmp rax, rdi
jae 0x1400ec338
lea rbx, [rax*8 + 0xd98]
add rbx, rbp
sub rdi, rax
nop
mov r8, qword [rbx]
mov rdx, r15
mov rcx, rbp
call fcn.1400e67b0
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x1400ec320
mov rcx, rsi
call fcn.140131ef0
add r14, 0x10
cmp r14, r12
jne 0x1400ec230
xor r14d, r14d
cmp byte [rbp + 0xe88], r14b
jbe 0x1400ec399
lea rsi, [rbp + 0xd98]
xor ebx, ebx
mov rdi, qword [rsi]
mov rcx, qword [rdi + rbx + 8]
call fcn.1401812c4
mov rcx, qword [rdi + rbx + 0x20]
call fcn.1401812c4
add rbx, 0x40
cmp rbx, 0x600
jl 0x1400ec362
inc r14d
add rsi, 8
movzx eax, byte [rbp + 0xe88]
cmp r14d, eax
jl 0x1400ec360
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401813e0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400f1170
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0x80000000
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400f1260
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov r8d, 0x1000002
mov qword [rsp + 0x58], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x1400f11f6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x58]
movzx eax, bx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x1400f1229
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
jmp 0x1400f1250
mov rcx, rbp
call qword [sym.imp.dbghelp.dll_ImageNtHeader]
test rax, rax
je 0x1400f123b
movzx ebx, word [rax + 4]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movzx eax, bx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140103930
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
test dl, dl
lea rax, str.runas
lea r10, str.open
cmovne r10, rax
cmp qword [rcx + 0x58], 8
lea rax, [rcx + 0x40]
jb 0x140103956
mov rax, qword [rax]
cmp qword [rcx + 0x38], 8
lea r9, [rcx + 0x20]
jb 0x140103964
mov r9, qword [r9]
cmp qword [rcx + 0x18], 8
jb 0x14010396e
mov rcx, qword [rcx]
mov r8, rcx
mov dword [rsp + 0x28], 1
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rdx, r10
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x1401069c0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x90
xor r9d, r9d
mov dword [rsp + 0x20], 4
mov rdi, rcx
mov edx, 0x110a
mov rcx, qword [rcx + 0xa0]
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xa0]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x28]
lea r9, [rsp + 0x58]
mov rcx, qword [rdi + 0xa0]
xor r8d, r8d
mov edx, 0x113e
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 6
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x7c], 2
jbe 0x140106ae6
cmp qword [rsp + 0x88], 0
je 0x140106ae6
mov qword [rsp + 0xa0], rbx
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140106ade
mov dword [rsp + 0x20], 0x22
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140106a79
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140106ab4
cmp qword [rbx + 0x18], 8
jb 0x140106a8d
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x10]
mov r9, rbx
xor r8d, r8d
mov edx, 0x835
call qword [sym.imp.USER32.dll_PostMessageW]
mov dword [rsp + 0x44], 5
mov dword [rsp + 0x48], 5
jmp 0x140106ac4
mov dword [rsp + 0x44], 6
mov dword [rsp + 0x48], 6
mov rcx, qword [rdi + 0xa0]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x113f
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x1401091a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x298
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1401092ac
cmp dword [rsp + 0x60], 2
mov dword [rsp + 0x50], 0x208
jne 0x140109267
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401e6278]
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140109267
mov eax, dword [rsp + 0x50]
mov r9d, 1
mov rdx, qword [str.Notepad_backup]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [str.Notepad_file]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [str.Notepad_file]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x298
ret
Function at 0x14010a620
Capabilities:
Query environment variable

Disassembly:
lea r8, [0x1401e5cd0]
jmp fcn.14010a630
Function at 0x14010c130
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov rsi, rdx
mov r11, rcx
movabs r10, 0xcbf29ce484222325
mov qword [rax - 0x48], r10
xor r9d, r9d
movabs rcx, 0x100000001b3
mov qword [rsp + 0x28], r9
cmp r9, 4
jae 0x14010c19a
movzx eax, byte [r9 + r8]
xor r10, rax
mov qword [rsp + 0x20], r10
imul r10, rcx
mov qword [rsp + 0x20], r10
inc r9
jmp 0x14010c174
mov r9, qword [r11 + 0x30]
and r9, r10
mov qword [rsp + 0x40], r9
mov rdi, qword [r11 + 8]
shl r9, 4
mov rcx, qword [r11 + 0x18]
cmp qword [rcx + r9], rdi
je 0x14010c1c5
mov rdi, qword [rcx + r9 + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rdi
nop word [rax + rax]
cmp rdi, qword [rcx + r9]
je 0x14010c239
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x30], rdi
mov eax, dword [rdi + 0x10]
cmp dword [r8], eax
jne 0x14010c237
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rax + 8], rcx
dec qword [r11 + 0x10]
lea rax, [rbx + 0x10]
mov qword [rsp + 0x48], rax
lea rcx, [rbx + 0x18]
call fcn.1400045c0
mov qword [rsp + 0x50], 0x38
mov edx, 0x38
mov rcx, rbx
call fcn.1401812c4
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14010c2cb
jmp 0x14010c1d0
mov rax, qword [rbx]
cmp rdi, rax
je 0x14010c26e
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r11 + 0x18]
add rdx, r9
mov rax, qword [rdx]
cmp rax, qword [r11 + 8]
jne 0x14010c28c
mov qword [rdx], rbx
mov rax, qword [r11 + 0x18]
mov qword [r9 + rax + 8], rbx
jmp 0x14010c2b8
cmp rax, rdi
jne 0x14010c296
mov qword [rdx], rbx
jmp 0x14010c2b8
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rbx
je 0x14010c2b8
mov rdx, qword [r11 + 0x18]
mov rax, qword [rdx + r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9 + 8], rcx
mov rcx, r11
call fcn.14010e7a0
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret