joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055960
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp], rax
mov r15, qword [r8 + 0x18]
mov r11, r8
mov rbx, qword [r8 + 0x10]
mov r12, rdx
mov rdi, rcx
cmp r15, 8
jb 0x14005599f
mov r8, qword [r8]
lea r10, [rbx + rbx]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400559d4
movabs rcx, 0x100000001b3
nop
movzx eax, byte [rdx + r8]
inc rdx
xor r9, rax
imul r9, rcx
cmp rdx, r10
jb 0x1400559c0
mov rax, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x30]
mov rsi, qword [rdi + 8]
and rdx, r9
shl rdx, 4
mov qword [rsp + 0x40], rbp
mov r14, qword [rdx + rax]
lea r13, [rdx + rax]
mov rcx, r14
cmp r14, rsi
jne 0x140055a01
mov rax, rsi
jmp 0x140055a08
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140055ad8
lea r10, [rcx + 0x10]
mov rax, r11
cmp r15, 8
jb 0x140055a21
mov rax, qword [r11]
mov rbp, qword [r10 + 0x18]
mov rdi, qword [r10 + 0x10]
cmp rbp, 8
jb 0x140055a32
mov r10, qword [r10]
cmp rdi, rbx
jne 0x140055a73
mov r9, rdi
test rdi, rdi
je 0x140055a7b
movzx edx, word [r10]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140055a73
sub r10, rax
cmp dx, r8w
ja 0x140055a73
cmp r9, 1
je 0x140055a7b
movzx edx, word [rax + r10 + 2]
add rax, 2
dec r9
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140055a54
mov rcx, qword [rcx]
jmp 0x1400559f7
lea rax, [rcx + 0x10]
cmp rbp, 8
jb 0x140055a88
mov rax, qword [rax]
cmp r15, 8
jb 0x140055a91
mov r11, qword [r11]
cmp rbx, rdi
jne 0x140055acf
test rbx, rbx
je 0x140055ad2
movzx edx, word [r11]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140055acf
sub r11, rax
cmp dx, r8w
ja 0x140055acf
cmp rbx, 1
je 0x140055ad2
movzx edx, word [rax + r11 + 2]
add rax, 2
dec rbx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140055ab0
mov rcx, rsi
mov qword [r12], rcx
jmp 0x140055adc
mov qword [r12], rsi
mov rbp, qword [rsp + 0x40]
mov rax, r12
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140160a40
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140059630
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
imul rbx, rdx, 0x4090
mov rsi, rdx
mov rdi, rcx
add rbx, rcx
mov rdx, rbx
mov rcx, qword [rbx + 0x40]
mov dword [rbx + 0x4054], 0
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x140059692
mov byte [rbx + 0x48], 0
mov dword [rbx + 0x4054], 1
mov rcx, qword [rdi + 0x8198]
test rcx, rcx
je 0x140059692
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1400596be
cmp eax, 0x3e5
je 0x1400596b8
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov byte [rbx + 0x48], 1
jmp 0x1400596c8
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rsi, qword [rsp + 0x38]
mov al, 1
mov byte [rbx + 0x49], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400596e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 8], 0xffffffffffffffff
mov rdi, rdx
mov rbx, rcx
je 0x140059764
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x140059734
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14005974c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x140059764
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], 0xffffffffffffffff
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x40000000
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400597a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x14005985f
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400597b0
lea rcx, [rbx + 0x20]
mov rdx, rdi
call fcn.14000d810
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x40], 2
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400597f8
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
cmp byte [rbx + 0x40], 0
mov qword [rbx + 0x10], rax
jne 0x14005985d
lea rax, [rsp + 0x44]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14005a170]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call fcn.1401c6b24
mov qword [rbx], rax
test rax, rax
jne 0x14005985d
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140059859
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
jmp 0x14005985f
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140160a40
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140059d00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
imul rdi, rdx, 0x4090
mov rsi, rdx
mov dword [rsp + 0x30], 0
add rdi, rcx
mov rbx, rcx
cmp byte [rdi + 0x48], 0
je 0x140059e11
mov rcx, qword [rdi + 0x40]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edx, dword [rdi + 0x4054]
test edx, edx
je 0x140059de5
cmp edx, 1
jne 0x140059e11
test eax, eax
je 0x140059daa
movsxd rax, dword [rsp + 0x30]
test eax, eax
je 0x140059daa
mov dword [rdi + 0x4c], eax
mov rcx, qword [rbx + 0x8198]
test rcx, rcx
je 0x140059e11
mov r10, qword [rcx]
lea r9, [rdi + 0x54]
mov qword [rsp + 0x28], 0
mov r8d, esi
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [r10 + ILClone]
jmp 0x140059e11
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rdx, rsi
mov rcx, rbx
call fcn.140059630
mov rcx, qword [rbx + 0x8198]
test rcx, rcx
je 0x140059e8c
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x140059ec2
test eax, eax
je 0x140059ec0
mov dword [rdi + 0x4054], 1
mov rcx, qword [rbx + 0x8198]
test rcx, rcx
je 0x140059e11
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
call qword [rax]
xor edx, edx
lea rcx, [rdi + 0x54]
mov r8d, 0x2000
call fcn.1401afc90
mov rcx, qword [rdi + 0x40]
lea r9, [rdi + 0x4c]
mov r8d, 0x2000
mov qword [rsp + 0x20], rdi
lea rdx, [rdi + 0x54]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140059e47
xor al, al
jmp 0x140059e56
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140059e90
mov al, 1
mov byte [rdi + 0x48], al
test al, al
jne 0x140059e8c
mov rcx, qword [rbx + 0x8198]
test rcx, rcx
je 0x140059e8c
movsxd rax, dword [rdi + 0x4c]
lea r9, [rdi + 0x54]
mov r10, qword [rcx]
mov r8d, esi
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [r10 + ILClone]
mov al, 1
jmp 0x140059ec2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rdx, rsi
mov rcx, rbx
call fcn.140059630
mov rcx, qword [rbx + 0x8198]
test rcx, rcx
je 0x140059ec0
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140160a40
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005a340
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
lea r9, [rsp + 0x30]
mov rbx, rcx
mov dword [rsp + 0x30], eax
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14005a389
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005a39e
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + ILCombine]
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x40
pop rbx
ret

Function at 0x14005a3c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
imul rbx, rdx, 0x4090
mov r11, r9
mov dword [rsp + 0x30], 0
add rbx, rcx
lea r9, [rsp + 0x30]
mov r10, r8
mov rsi, rdx
mov rdi, rcx
mov r8d, r11d
mov rdx, r10
mov rcx, qword [rbx + 0x40]
lea rax, [rbx + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14005a41b
xor al, al
jmp 0x14005a42a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14005a46d
mov al, 1
mov byte [rbx + 0x49], al
cmp al, 0
jne 0x14005a456
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rdi + 0x8198]
test rcx, rcx
je 0x14005a456
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
call qword [rax + ILCombine]
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rdx, rsi
mov rcx, rdi
call fcn.140059630
test al, al
jne 0x14005a456
jmp 0x14005a458
Function at 0x140068960
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetNtVersionNumbers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140068bf8
lea r8, [0x1402b7fbc]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x24]
call rax
mov ecx, dword [0x1402b7fbc]
and ecx, 0xfffffff
cmp dword [rsp + 0x24], 0xa
mov dword [0x1402b7fbc], ecx
jb 0x140068bf8
cmp ecx, 0x4563
je 0x1400689e8
lea eax, [rcx - 0x47ba]
cmp eax, 1
jbe 0x1400689e8
cmp ecx, 0x4a61
jb 0x140068bf8
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, 0x800
lea rcx, [0x140202530]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x140068bf3
mov edx, 0x31
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x68
mov rcx, rbx
mov qword [0x1402b7fa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x6a
mov rcx, rbx
mov qword [0x1402b7f88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x84
mov rcx, rbx
mov qword [0x1402b7f98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x85
mov rcx, rbx
mov qword [0x1402b7f68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x87
mov rcx, rbx
mov qword [0x1402b7f70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1402b7fbc], 0x47ba
jae 0x140068a9a
mov qword [0x1402b7f78], rax
jmp 0x140068aa1
mov qword [0x1402b7fb0], rax
mov edx, 0x89
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.user32.dll
mov qword [0x1402b7f90], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetWindowCompositionAttribute
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1402b7fa0], 0
mov qword [0x1402b7f60], rax
je 0x140068bf3
cmp qword [0x1402b7f88], 0
je 0x140068bf3
cmp qword [0x1402b7f68], 0
je 0x140068bf3
cmp qword [0x1402b7f70], 0
je 0x140068bf3
mov rdx, qword [0x1402b7f78]
mov rax, qword [0x1402b7fb0]
test rdx, rdx
jne 0x140068b2e
test rax, rax
je 0x140068bf3
cmp qword [0x1402b7f90], 0
je 0x140068bf3
mov byte [0x1402b7fb8], 1
test rdx, rdx
je 0x140068b4e
mov cl, 1
call rdx
jmp 0x140068b5a
test rax, rax
je 0x140068b5a
mov ecx, 1
call rax
call qword [0x1402b7f88]
call qword [0x1402b7f68]
test al, al
je 0x140068b77
call fcn.140069b80
test al, al
jne 0x140068b77
mov al, 1
jmp 0x140068b79
xor al, al
xor edx, edx
mov byte [0x1402b7fb9], al
mov r8d, 0x800
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140068bf3
mov r8d, 0x31
lea rdx, str.uxtheme.dll
mov rcx, rax
call fcn.140066520
mov rbx, rax
test rax, rax
je 0x140068bf3
mov edx, 8
lea r9, [rsp + 0x20]
mov rcx, rax
lea r8d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140068bf3
mov r8d, dword [rsp + 0x20]
lea rax, [0x140063bc0]
lea r9, [rsp + 0x20]
mov qword [rbx], rax
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x48
ret
Function at 0x140069f10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [0x1401f5800]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
xor ebx, ebx
lea rcx, [rsp + 0x48]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
lea r8d, [rbx + 0x3c]
call fcn.14000d810
cmp qword [rsp + 0x60], 8
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rax
cmovae rdx, qword [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140069fe4
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppsUseLightTheme
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x3c], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140069fd7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140069fe4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], ebx
sete bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14006a022
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a01d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006a038
call fcn.1401606e8
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x70
pop rbx
ret
call fcn.1401b3260
int3
Function at 0x14006eef0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x14006ef08
mov eax, 0x40101
add rsp, 0x20
pop rbx
ret
test r8b, 3
je 0x14006ef27
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
jae 0x14006ef27
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0xc], 1
mov eax, 0x40100
add rsp, 0x20
pop rbx
ret

Function at 0x1400710a0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x70], rax
movdqa xmm0, xmmword [0x1401f5800]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
xor ebx, ebx
lea rcx, [rsp + 0x50]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea r8d, [rbx + 0x3c]
call fcn.14000d810
cmp qword [rsp + 0x68], 8
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
cmovae rdx, qword [rsp + 0x50]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007117e
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AppsUseLightTheme
mov dword [rsp + 0x48], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], rbx
lea r9, str.Environment
mov dword [rsp + 0x28], 0x3e8
lea edx, [rbx + 0x1a]
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400711bc
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400711b7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400711d2
call fcn.1401606e8
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x80
pop rbx
ret
call fcn.1401b3260
int3
Function at 0x140077910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov r11, r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x20], rcx
mov rsi, qword [r8 + 0x10]
mov r12, qword [r8 + 0x18]
cmp r12, 8
jb 0x14007795e
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r9, [rsi + rsi]
xor ecx, ecx
test r9, r9
je 0x140077994
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x140077980
mov r13, qword [r15 + 0x30]
and r13, rdx
mov rdx, r13
shl rdx, 4
add rdx, qword [r15 + 0x18]
mov rbx, qword [r15 + 8]
mov rax, qword [rdx]
cmp rbx, rax
je 0x140077a69
mov rbx, qword [rdx + 8]
mov rbx, qword [rbx]
nop dword [rax]
cmp rbx, rax
je 0x140077a69
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x10]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1400779df
mov rcx, qword [rcx]
mov r10, r11
cmp r12, 8
jb 0x1400779eb
mov r10, qword [r11]
cmp rsi, rdx
jne 0x1400779c0
mov r9, rsi
test rsi, rsi
je 0x140077a2d
movzx edx, word [r10]
movzx r8d, word [rcx]
cmp dx, r8w
jb 0x1400779c0
sub r10, rcx
cmp dx, r8w
ja 0x1400779c0
cmp r9, 1
je 0x140077a2d
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140077a0d
jmp 0x1400779c0
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rdx], rcx
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
dec qword [r15 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.14000d500
mov edx, 0x30
mov rcx, rdi
call fcn.1401606e8
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140077ac4
mov rax, qword [rdi]
cmp rbx, rax
je 0x140077a9e
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 r8, qword [rbx + 8]
mov rdx, qword [rax + 8]
mov qword [rbx + 8], rdx
mov rdx, qword [rdi + 8]
mov qword [rax + 8], rdx
mov qword [rdi + 8], r8
mov r9, r13
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.14008aed0
nop
mov rcx, r15
call fcn.14008a2a0
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140077af0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r11, r8
mov r15, rdx
mov r13, rcx
mov rdi, qword [r8 + 0x10]
mov r9, r8
mov rsi, qword [r8 + 0x18]
cmp rsi, 8
jb 0x140077b40
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r8, [rdi + rdi]
xor ecx, ecx
test r8, r8
je 0x140077b74
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r8
jb 0x140077b60
mov r12, qword [r13 + 0x30]
and r12, rdx
mov rbx, r12
shl rbx, 4
add rbx, qword [r13 + 0x18]
mov r14, qword [r13 + 8]
mov rax, qword [rbx]
cmp rax, r14
jne 0x140077b97
mov rbx, r14
jmp 0x140077ba0
mov rbx, qword [rbx + 8]
mov rbx, qword [rbx]
nop
cmp rbx, rax
je 0x140077c19
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x10]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140077bbb
mov rcx, qword [rcx]
mov r10, r11
cmp rsi, 8
jb 0x140077bc7
mov r10, qword [r11]
cmp rdi, rdx
jne 0x140077ba0
mov r9, rdi
test rdi, rdi
je 0x140077c09
movzx edx, word [r10]
movzx r8d, word [rcx]
cmp dx, r8w
jb 0x140077ba0
sub r10, rcx
cmp dx, r8w
ja 0x140077ba0
cmp r9, 1
je 0x140077c09
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140077be9
jmp 0x140077ba0
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x140077cc5
mov rsi, qword [r14]
mov r14, qword [rsi + 8]
mov r9, r11
mov r8, r14
mov rdx, rsi
lea rcx, [r13 + 8]
call fcn.140063c80
mov rdx, rax
mov rax, qword [r13 + 0x10]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jb 0x140077ced
inc rax
mov qword [r13 + 0x10], rax
mov qword [rsi + 8], rdx
mov qword [r14], rdx
mov rdi, qword [r13 + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140077c9f
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 r9, r12
mov r8, rbx
mov rdx, rdi
mov rcx, r13
call fcn.14008aed0
nop
mov rcx, r13
call fcn.14008a2a0
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140160a40
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.1400b4db0
int3
Function at 0x140080c40
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push r14
sub rsp, 0x40
mov rbx, qword [rcx + 0x310]
mov rsi, rcx
cmp rbx, qword [rcx + 0x318]
je 0x140080d24
mov qword [rsp + 0x50], rdi
nop dword [rax]
cmp qword [rbx + 0x18], 8
mov rdi, rbx
mov rax, qword [rbx + 0x10]
jb 0x140080c81
mov rdi, qword [rbx]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140034220
test al, al
jne 0x140080cf3
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140080cf3
lea rdx, str.ftp:
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140080cf3
mov rdx, qword [rsi + 0x318]
lea rcx, [rbx + 0x20]
mov r8, rbx
call fcn.140078320
mov rcx, qword [rsi + 0x318]
sub rcx, 0x20
call fcn.14000d500
add qword [rsi + 0x318], 0xffffffffffffffe0
jmp 0x140080cf7
add rbx, 0x20
mov rax, qword [rsi + 0x318]
cmp rbx, rax
jne 0x140080c70
mov rdi, qword [rsp + 0x50]
lea rax, [rsi + 0x310]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
mov rbx, qword [rsp + 0x58]
lea rax, [rcx + 0x310]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret