joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019700
Capabilities:
Get session user name

Disassembly:
jmp 0x140019700
push rbx
sub rsp, 0x20
cmp byte [0x14016df60], 0
jne 0x140019754
lea rbx, [0x14016df60]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14001974b
mov r9, 0xffffffffffffffff
lea r8, [0x140130078]
mov edx, 0x101
mov rcx, rbx
call fcn.140001aaf
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14016df60]
add rsp, 0x20
pop rbx
ret

Function at 0x140019780
Capabilities:
Get session user name

Disassembly:
jmp 0x140019780
push rbx
sub rsp, 0x20
cmp word [0x14016dd50], 0
jne 0x1400197d5
lea rbx, [0x14016dd50]
mov dword [rsp + 0x30], 0x101
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1400197cc
mov r9, 0xffffffffffffffff
lea r8, [0x140130070]
mov edx, 0x101
mov rcx, rbx
call fcn.140002e23
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14016dd50]
add rsp, 0x20
pop rbx
ret

Function at 0x140019a50
Capabilities:
Print debug messages

Disassembly:
jmp 0x140019a50
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x468
mov rax, qword [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140006ca3
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x250]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x1ff
mov rcx, qword [rax]
or rcx, 1
call fcn.140004fac
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x4e]
movzx edx, word [rsp + 0x4c]
movzx r10d, word [rsp + 0x4a]
movzx r9d, word [rsp + 0x48]
movzx r8d, word [rsp + 0x46]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], edx
lea rdx, str.__02i:_02i:_02i:_02i:_03i___5d_
mov dword [rsp + 0x20], r10d
call fcn.140004bce
lea rax, [rsp + 0x50]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140019b10
lea r8, [rsp + 0x250]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140019b30
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140002b94
add rsp, 0x468
pop rdi
pop rbx
ret
Function at 0x14001ae80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14001ae80
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
mov ebx, 1
call fcn.1400049c6
test rdi, rdi
je 0x14001af3c
mov r8, rdi
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.140004331
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001aef6
bt eax, 0xa
jb 0x14001af0f
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14000402a
test rax, rax
je 0x14001af22
mov byte [rax], 0
jmp 0x14001aee0
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathForSymLink_:_Failed__s___
call fcn.1400073bf
xor ebx, ebx
test ebx, ebx
je 0x14001af3c
mov rdx, rdi
mov rcx, rsi
call fcn.140006604
test eax, eax
je 0x14001af3c
mov eax, 1
jmp 0x14001af3e
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002b94
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001b090
Capabilities:
Delete file

Disassembly:
jmp 0x14001b090
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, r8
lea rcx, [rsp + 0x20]
mov rbx, rdx
mov r8d, 0x104
xor edx, edx
mov ebp, r9d
xor esi, esi
call fcn.1400049c6
test rbx, rbx
je 0x14001b187
mov rcx, qword [rdi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001b187
lea r9d, [rsi + 8]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
dec eax
cmp eax, 0x102
ja 0x14001b13e
lea edx, [rsi + 0x3a]
lea rcx, [rsp + 0x20]
call fcn.14000402a
test rax, rax
je 0x14001b13e
lea rcx, [rsp + 0x20]
cmp rax, rcx
jbe 0x14001b13e
lfence
lea rdx, [rax - 1]
mov rcx, rbx
call fcn.14000243c
test eax, eax
jne 0x14001b13e
mov esi, 1
mov eax, esi
jmp 0x14001b189
lea rdx, [rsp + 0x20]
lea rcx, str.CLogger::ValidatePathFromHandle_:_Failed__s___
call fcn.1400073bf
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
cmp ebp, 0xb7
je 0x14001b183
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14001b183
mov rdx, rbx
lea rcx, str.CLogger::ValidatePathFromHandle_:_DeleteFile_Failed__s___
call fcn.1400073bf
mov eax, esi
jmp 0x14001b189
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002b94
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b200
Capabilities:
Get file size
Write file on windows

Disassembly:
jmp 0x14001b200
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x868
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14016c778]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, rcx
lea r15, [rcx + 0x120]
mov qword [rsp + 0x38], r15
test r15, r15
je 0x14001b264
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12b, 1
mov byte [rsp + 0x40], r12b
jmp 0x14001b26a
movzx r12d, byte [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.1400049c6
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14001b40f
cmp byte [rsi + 0x255], r14b
je 0x14001b2b8
cmp dword [rsi + 0x18], 0x400
jb 0x14001b2b8
mov dword [rsi + 0x18], r14d
mov rcx, rsi
call fcn.1400050f1
cmp qword [rsi + 8], 0xffffffffffffffff
je 0x14001b40f
inc dword [rsi + 0x18]
mov eax, dword [rsi + 0x10]
cmp eax, dword [rsi + 0x14c]
jl 0x14001b415
lea r13, [rsp + 0x8c0]
mov dword [rsp + 0x28], eax
lea rax, [0x140130010]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140001280
mov ebx, eax
test eax, eax
jle 0x14001b38f
mov ebp, dword [rsp + 0x30]
cmp ebp, 0x800
jae 0x14001b351
mov edi, 0x800
sub rdi, rbp
lea rbx, [rsp + 0x50]
add rbx, rbp
call fcn.140006ca3
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov r9, qword [rsp + 0x8b8]
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rax]
call fcn.1400046f1
mov ebx, eax
mov eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
test ebx, ebx
jle 0x14001b393
cmp ebp, 0x800
jae 0x14001b37f
add ebp, ebx
mov eax, ebp
mov edx, 0x800
sub rdx, rax
lea rcx, [rsp + 0x50]
add rcx, rax
lea r8, [0x140130014]
call fcn.140007829
mov ebx, eax
test ebx, ebx
jle 0x14001b393
cmp ebp, 0x800
jae 0x14001b393
add ebp, ebx
jmp 0x14001b393
mov ebp, dword [rsp + 0x30]
test ebp, ebp
je 0x14001b3d8
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, ebp
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001b3d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r9d, dword [rsp + 0x30]
mov r8d, ebp
lea rcx, str.CLogger::Write_WriteFile_failed_0x_08X___d___d_
call fcn.1400073bf
cmp dword [rsi + 0x18], 0x186a0
jb 0x14001b418
lea rdx, [rsp + 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b405
cmp qword [rsp + 0x30], 0xa00000
jge 0x14001b405
mov dword [rsi + 0x18], r14d
jmp 0x14001b418
mov rcx, rsi
call fcn.1400051ff
jmp 0x14001b418
mov r14d, 0xffffffff
mov ebx, r14d
test r15, r15
je 0x14001b42b
test r12b, r12b
je 0x14001b42b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140002b94
add rsp, 0x868
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001ded0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14001dfaf
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x14001df07
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14001dfb2
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x14001df56
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x14001df60
test rax, rax
je 0x14001dfaf
lfence
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001dfa0
cmp rdx, rax
jb 0x14001df80
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140023e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140023e70
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1400240a3
xor edx, edx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], dx
jne 0x140023ea0
test rax, rax
je 0x140023ed4
xor ecx, ecx
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x1400240a3
cmp r8w, 0x2f
je 0x1400240a3
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x140023eb0
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.1400021fd
mov rsi, rax
test rax, rax
je 0x140023fce
mov qword [rsp + 0x50], r14
call fcn.140002473
mov r14, rax
test rax, rax
je 0x140023fbb
mov rcx, rsi
call fcn.14001dcd0
test eax, eax
je 0x140023fa4
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x140023f50
mov r8, rbx
mov rcx, rsi
call fcn.14000353f
test eax, eax
je 0x140023f78
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x140023f40
jmp 0x140023f87
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.140022630
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x140023fb2
mov rcx, rsi
call fcn.14001dc60
test eax, eax
je 0x140023fb2
mov rbp, rsi
xor esi, esi
jmp 0x140023fb2
mov rdx, rsi
mov rcx, r14
call fcn.140022630
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x14002406f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x140024078
mov rcx, rbx
call fcn.14001db30
mov rdi, rax
test rax, rax
je 0x140024078
mov ecx, 0x37e4
call fcn.140021530
test eax, eax
je 0x14002400d
lea rcx, [0x140130398]
call fcn.140002d24
jmp 0x140024012
call fcn.140002473
mov rbx, rax
test rax, rax
je 0x140024066
mov rdx, rdi
mov rcx, rax
call fcn.140022630
mov rbp, rax
test rax, rax
je 0x14002405d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002403f
test al, 0x50
je 0x14002405d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140024052
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x140024078
xor ecx, ecx
jmp 0x140024085
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002408b
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x140025210
Capabilities:
Get common file path

Disassembly:
jmp 0x140025210
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140025272
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140025267
cmp edi, eax
jb 0x140025267
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140025700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140025700
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov ebp, r8d
xor ecx, ecx
mov r14d, edx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x14002585e
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x140025769
cmp eax, 0x2f
je 0x140025769
mov ecx, eax
call fcn.140003486
test eax, eax
je 0x14002585e
cmp word [rbx + 2], 0x3a
jne 0x14002585e
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140025769
cmp ax, 0x2f
jne 0x14002585e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140025857
test al, 0x50
jne 0x140025857
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400257ba
lea ecx, [rax + 0x21]
jmp 0x140025863
mov rcx, rbx
call fcn.1400211b0
test eax, eax
jne 0x14002582c
test ebp, ebp
mov dword [rsp + 0x60], esi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rsi
call fcn.140004e58
test eax, eax
je 0x1400257f6
test ebp, ebp
je 0x14002582c
cmp dword [rsp + 0x60], esi
jne 0x14002582c
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140021970
test eax, eax
jne 0x14002582c
test rdi, rdi
je 0x140025828
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002586c
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rdi, rdi
je 0x140025869
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
jmp 0x140025863
mov ecx, 0x7e
jmp 0x140025863
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14002cfa0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14002cfa0
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
test rdx, rdx
je 0x14002d0ca
test r8, r8
je 0x14002d0ca
test r9, r9
je 0x14002d0ca
mov edx, dword [rcx + 0x800]
mov qword [rsp + 0x40], rbx
xor bl, bl
mov qword [rsp + 0x48], 0
test edx, edx
je 0x14002cffb
sub edx, 1
je 0x14002d079
cmp edx, 2
jne 0x14002d061
lea rdx, [rcx + 0x400]
mov r9d, 0x101
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002d051
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14002d061
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rdx, [rcx + 0x400]
mov r9d, 0x101
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14002d051
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002d051
mov bl, 1
jmp 0x14002d051
mov rbp, qword [rsp + 0x50]
xor al, al
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14002d180
Capabilities:
Set registry value

Disassembly:
jmp 0x14002d180
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbp, rdx
mov edi, r9d
mov rsi, r8
mov rdx, rcx
test rbp, rbp
je 0x14002d2d5
test r8, r8
je 0x14002d2d5
test r9d, r9d
je 0x14002d2d5
mov ecx, dword [rcx + 0x800]
xor r8d, r8d
mov qword [rsp + 0x60], rbx
xor bl, bl
mov qword [rsp + 0x68], r8
test ecx, ecx
je 0x14002d1dd
sub ecx, 1
je 0x14002d26c
cmp ecx, 2
jne 0x14002d254
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
add rdx, 0x400
mov qword [rsp + 0x30], r8
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002d244
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002d254
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
add rdx, 0x400
mov qword [rsp + 0x30], r8
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14002d244
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14002d244
mov bl, 1
jmp 0x14002d244
mov rbp, qword [rsp + 0x70]
xor al, al
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140001540
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
movaps xmm6, xmm2
lea rcx, [rsp + 0x20]
movzx edi, dl
call fcn.140001d10
xorps xmm0, xmm0
comiss xmm0, xmm6
jae 0x1400016f9
cmp byte [0x1400accf0], 0
jne 0x14000158b
addss xmm6, dword [rbx + 4]
movss xmm0, dword [0x14009e6dc]
divss xmm0, xmm6
mulss xmm0, dword [0x14009e5c4]
movss dword [rbx], xmm0
cmp byte [0x1400accf0], 0
jne 0x1400015c9
movss xmm1, dword [0x1400acd04]
movss xmm0, dword [0x14009e604]
call fcn.140001b70
addss xmm0, dword [rbx]
movss dword [rbx], xmm0
movsd xmm6, qword [0x14009e658]
cvtss2sd xmm0, xmm0
divsd xmm0, xmm6
call fcn.140044c30
lea rcx, [rsp + 0x20]
test dil, dil
je 0x14000165e
xor edi, edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140001623
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r9d, word [rsp + 0x24]
lea r8d, [rdi + 1]
movzx ecx, word [rsp + 0x20]
mov edx, 0x201
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
movss xmm0, dword [rbx]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm6
call fcn.140044c30
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400016e9
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x202
mov r8d, 1
jmp 0x1400016ce
xor edi, edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140001699
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r9d, word [rsp + 0x24]
lea r8d, [rdi + 2]
movzx ecx, word [rsp + 0x20]
mov edx, 0x204
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
movss xmm0, dword [rbx]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm6
call fcn.140044c30
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400016e9
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x205
mov r8d, 2
movzx r9d, word [rsp + 0x24]
movzx ecx, word [rsp + 0x20]
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x20]
call fcn.140001d10
inc dword [0x1400aec48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140046150
mov rbx, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x140001b70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.140046c60
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
movaps xmm6, xmm1
movaps xmm7, xmm0
call fcn.140045450
mov edx, eax
mov ecx, 1
movabs rax, 0x5555555555555555
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x13a8], rax
movabs r8, 0x5851f42d4c957f2d
mov r9d, 0x138
nop dword [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r8
add rdx, rcx
mov qword [rsp + rcx*8 + 0x28], rdx
inc rcx
cmp rcx, r9
jb 0x140001be0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x30]
xorps xmm1, xmm1
movabs r10, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r10
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140001c15
mov eax, dword [rsp + 0x20]
movabs rdx, 0x38eb3ffff6d3
xorps xmm0, xmm0
mov rcx, qword [rsp + rax*8 + 0x28]
mov rax, rcx
shr rax, 0x1d
and rax, qword [rsp + 0x13a8]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x140001caa
cvtsi2ss xmm0, rdx
jmp 0x140001cbf
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
subss xmm0, xmm1
subss xmm6, xmm7
addss xmm0, xmm1
mulss xmm0, dword [0x14009e580]
mulss xmm0, xmm6
addss xmm0, xmm7
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.140046150
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret

Function at 0x140007720
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000777d
lea rbx, [0x140077400]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140007764
cmp r10, 2
jb 0x140007764
cmp byte [r9], r8b
jne 0x140007764
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140007740
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400077bf
lea rbx, [0x140077400]
cmp r8b, 0x23
jne 0x1400077a3
cmp byte [r9], r8b
jne 0x1400077a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140007790
mov rbx, qword [rsp + 8]
not eax
ret