joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008be0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1400d3bd4]
test edx, edx
je 0x140008c04
mov ecx, eax
sub ecx, edx
cmp ecx, 0x7d0
jb 0x140008c95
xor ecx, ecx
mov dword [0x1400d3bd4], eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140008c95
lea rax, str.Clipboard
mov ecx, reloc.WS2_32.dll_listen
mov qword [0x1400d3a80], rax
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140008c8f
mov ecx, reloc.WS2_32.dll_listen
mov qword [rsp + 0x30], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x140008c8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r11, rax
test rax, rax
je 0x140008c8a
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
xor eax, eax
mov rdi, r11
repne scasw ax, word [rdi]
not rcx
lea edx, [rcx + rcx - 2]
mov rcx, r11
call fcn.140008220
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_CloseClipboard]
add rsp, 0x28
ret

Function at 0x140008dc0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [rsp + 0x3c]
mov r11d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x48], eax
xor eax, eax
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea r9d, [rax + 0x10]
xor edx, edx
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x68
ret

Function at 0x140008e70
Capabilities:
Create thread
Get system information on windows

Disassembly:
sub rsp, 0x38
cmp qword [0x1400d3918], 0
jne 0x140008ee6
call fcn.140008dc0
lea rcx, [0x1400d2670]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp qword [0x1400d3a78], 0
jne 0x140008ec0
mov edx, 0x500400
mov r9d, 4
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x200
mov qword [0x1400d3a78], rax
xor eax, eax
lea r8, [0x140008ca0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400d3918], rax
add rsp, 0x38
ret
Function at 0x1400095f0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x140080e24]
lea rcx, [0x1400d26d0]
call fcn.140054288
mov rbx, rax
test rax, rax
je 0x140009731
lea rcx, [0x1400d26a8]
mov qword [rsp + 0x80], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
call fcn.14005df78
lea rdx, [rsp + 0x38]
mov ecx, eax
call fcn.140053dcc
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x1400096bf
mov rcx, qword [0x1400d3ba0]
add eax, 0x20
movsxd rdx, eax
call fcn.14005340c
mov ecx, dword [rsp + 0x4c]
xor edx, edx
add ecx, 0x20
mov rdi, rax
mov qword [0x1400d3ba0], rax
movsxd r8, ecx
mov rcx, rax
call fcn.140054b20
movsxd r8, dword [rsp + 0x4c]
mov r9, rbx
mov edx, 1
mov rcx, rdi
call fcn.140054574
mov dword [0x1400d3b94], eax
test eax, eax
jne 0x1400096bf
mov rcx, qword [0x1400d3ba0]
xor edi, edi
mov dword [0x1400d3b94], edi
call case.0x1400292fb.0
mov qword [0x1400d3ba0], rdi
mov rcx, rbx
call fcn.14005482c
mov r11, qword [0x1400d3ba0]
test r11, r11
je 0x140009715
mov r8d, dword [0x1400d3b94]
or rcx, 0xffffffffffffffff
xor eax, eax
mov dword [rsp + 0x30], 0x70616548
mov word [rsp + 0x34], 0x57
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x30]
not rcx
mov rdx, r11
dec rcx
mov dword [rsp + 0x20], ecx
mov rcx, r11
call fcn.140003130
lea rcx, [0x1400d26a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x80]
mov byte [reloc.WS2_32.dll_accept], 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x70
pop rbx
ret
Function at 0x140009930
Capabilities:
Delete file
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x140009a3d
cmp dword [0x1400d3b94], 0
mov byte [reloc.WS2_32.dll_accept], 1
lea rcx, [0x1400d26d0]
jne 0x140009961
add rsp, 0x38
jmp 0x140054180
lea rdx, [0x140080e2c]
mov qword [rsp + 0x48], rbx
call fcn.140054288
mov rbx, rax
test rax, rax
je 0x140009a38
mov qword [rsp + 0x50], rbp
lea rcx, [0x1400d26a8]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [0x1400d3b94]
lea ecx, [rbp + 0x20]
mov edi, ecx
call fcn.1400524d8
mov r8d, edi
mov rcx, rax
xor edx, edx
mov rsi, rax
call fcn.140054b20
mov dword [rsp + 0x40], 0x70616548
mov word [rsp + 0x44], 0x57
test rsi, rsi
je 0x140009a00
mov rdx, qword [0x1400d3ba0]
or rcx, 0xffffffffffffffff
xor eax, eax
mov byte [rsp + 0x28], al
lea rdi, [rsp + 0x40]
lea r9, [rsp + 0x40]
repne scasb al, byte [rdi]
mov r8d, ebp
not rcx
dec rcx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140003130
mov rdx, rbp
mov r9, rbx
mov r8d, 1
mov rcx, rsi
call fcn.140054720
lea rcx, [0x1400d26a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.14005482c
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140054196
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140054198
xor eax, eax
test eax, eax
je 0x1400541a8
mov ecx, eax
call fcn.140056c20
or eax, 0xffffffff
jmp 0x1400541aa
xor eax, eax
add rsp, 0x28
ret

Function at 0x140009a50
Capabilities:
Reference google public dns server

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [0x1400d28d0], 0
jne 0x140009a81
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x78
ret
cmp qword [0x1400d28d8], 0
je 0x140009a6d
lea rcx, str.8.8.8.8
mov qword [rsp + 0x88], rsi
call qword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140009aae
xor al, al
jmp 0x140009b65
mov qword [rsp + 0x70], rdi
call qword [0x1400d28d0]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140009ac9
xor al, al
jmp 0x140009b60
mov rax, qword [str.Data_Buffer]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x40], rax
mov eax, dword [0x140080e40]
mov dword [rsp + 0x48], eax
xor eax, eax
lea ecx, [rax + 0x48]
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x5c], eax
call fcn.1400524d8
mov rbx, rax
test rax, rax
je 0x140009b56
mov dword [rsp + 0x38], 0x1388
mov dword [rsp + 0x30], 0x48
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
mov r9d, 0x20
mov edx, esi
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [0x1400d28d8]
mov rcx, rbx
test eax, eax
je 0x140009b51
cmp dword [rbx + 4], 0
jne 0x140009b51
call case.0x1400292fb.0
mov al, 1
jmp 0x140009b58
call case.0x1400292fb.0
xor al, al
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x78
ret
Function at 0x140009b80
Capabilities:
Get hostname

Disassembly:
sub rsp, 0x458
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x400
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x140009bcf
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x458
ret
mov qword [rsp + 0x460], rbx
mov qword [rsp + 0x450], rdi
xor ecx, ecx
lea rdi, [0x1400d3a90]
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x40]
inc rcx
mov byte [rcx + rdi - 1], al
test al, al
jne 0x140009bf0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rbx, str.ALOHABOH
repne scasb al, byte [rdi]
lea r8, [rsp + 0x40]
lea edx, [rax + 1]
not rcx
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
dec rcx
mov qword [rsp + 0x20], rbx
mov dword [0x1400d3b90], ecx
lea ecx, [rax + 0x7f]
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
je 0x140009ca2
or r9d, 0xffffffff
lea rax, str.localhost
mov r8, rbx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringA]
or r9d, 0xffffffff
mov r8, rbx
lea edx, [r9 + 2]
mov edi, eax
lea rax, str.127.0.0.1
lea ecx, [rdx + 0x7e]
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp edi, 2
je 0x140009ca2
cmp eax, 2
je 0x140009ca2
xor al, al
jmp 0x140009ca4
mov al, 1
mov rbx, qword [rsp + 0x460]
mov rdi, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x458
ret

Function at 0x140009cd0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r8, [0x1400045a0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x1400d3b94], ebx
je 0x140009dba
mov qword [rsp + 0x40], rbp
lea rcx, [0x1400d26a8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [0x1400d3b94]
lea eax, [rbp + 0x20]
mov ecx, eax
mov edi, eax
call fcn.1400524d8
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140054b20
mov rdx, qword [0x1400d3ba0]
mov r8d, ebp
mov rcx, rsi
call fcn.140052090
lea rcx, [0x1400d26a8]
mov byte [rbp + rsi], bl
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x140009dab
test ebp, ebp
je 0x140009d9e
nop dword [rax + rax]
mov edi, ebx
add rdi, rsi
mov rcx, rdi
call fcn.1400041c0
cmp eax, 1
jne 0x140009dab
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add ebx, ecx
cmp ebx, ebp
jb 0x140009d70
test ebx, ebx
je 0x140009d9e
mov ecx, ebx
call fcn.140009820
call fcn.140009930
mov rcx, rsi
call case.0x1400292fb.0
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
Function at 0x140009ec0
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x200
call fcn.140054b20
cmp qword [0x1400976c8], 0
je 0x140009fce
lea rcx, [rsp + 0x20]
call fcn.140009dc0
test al, al
je 0x140009fce
mov edi, 1
call fcn.140009930
lea rcx, [0x1400d26a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
lea rcx, [0x1400d26d0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor esi, esi
test eax, eax
mov dword [0x1400d3b94], esi
mov byte [reloc.WS2_32.dll_accept], sil
cmove edi, esi
call fcn.140009930
lea rcx, [0x1400d26a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x14000a064
lea rcx, [rsp + 0x220]
xor edx, edx
mov r8d, 0x200
call fcn.140054b20
movzx eax, byte [rsp + rsi + 0x20]
inc rsi
mov byte [rsp + rsi + 0x21f], al
test al, al
jne 0x140009f80
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x220]
repne scasb al, byte [rdi]
mov eax, dword [0x140080eb0]
lea rdx, [rsp + 0x220]
mov dword [rdi - 1], eax
movzx eax, byte [0x140080eb4]
lea rcx, [rsp + 0x20]
mov byte [rdi + 3], al
call qword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x14000a064
xor esi, esi
mov qword [rsp + 0x448], rbp
cmp dword [0x1400d3b94], esi
jne 0x140009fe4
mov ebp, esi
jmp 0x14000a048
lea rcx, [0x1400d26a8]
mov qword [rsp + 0x440], rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1400d3b94]
lea eax, [rbx + 0x20]
mov esi, ebx
mov ecx, eax
mov edi, eax
call fcn.1400524d8
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140054b20
mov rdx, qword [0x1400d3ba0]
mov r8d, ebx
mov rcx, rbp
call fcn.140052090
lea rcx, [0x1400d26a8]
mov byte [rbx + rbp], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x440]
mov ecx, esi
call fcn.140009820
call fcn.140009930
mov rcx, rbp
call case.0x1400292fb.0
mov rbp, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140051c70
mov rsi, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x14000a090
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
test cl, cl
je 0x14000a09f
call fcn.140009cd0
jmp 0x14000a108
call fcn.140009a50
test al, al
jne 0x14000a098
lea rcx, str.ALOHABOH_bootdrvAloha20160113MicrosoftWindows
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14000a0c0
call fcn.140009ec0
jmp 0x14000a108
mov eax, dword [0x1400d3b94]
cmp eax, 0x3200000
jb 0x14000a127
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x30], ecx
test eax, eax
jne 0x14000a0e0
mov ebx, ecx
jmp 0x14000a0f1
lea rcx, [rsp + 0x30]
call fcn.1400098b0
mov ecx, dword [rsp + 0x30]
mov rbx, rax
call fcn.140009820
call fcn.140009930
mov rcx, rbx
call case.0x1400292fb.0
mov rbx, qword [rsp + 0x20]
lea rcx, [0x1400d3908]
call fcn.14005355c
mov rcx, qword [0x1400d3908]
lea rdx, str.Microsoftinput_adict3.dc
call fcn.1400055f0
add rsp, 0x28
ret
Function at 0x14000a420
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x200
call fcn.140054b20
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
lea edx, [r9 + 0x15]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 5
ja 0x14000a491
xor ecx, ecx
call fcn.14005391c
int3
lea r8, [0x140080eac]
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400534e0
lea r8, str.locallocallocal
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400534e0
lea r8, str.oop.aa
lea rcx, [rsp + 0x30]
mov edx, 0x200
call fcn.1400534e0
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x14000a503
lea rcx, [rsp + 0x30]
call fcn.140004490
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140051c70
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x14000a530
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x260
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x200
call fcn.140054b20
mov eax, dword [0x140080e78]
or rcx, 0xffffffffffffffff
movups xmm0, xmmword [str.ALOHABOH_bootdrvAloha20160113MicrosoftWindows]
movups xmm1, xmmword [0x140080e58]
mov dword [rsp + 0x80], eax
xor eax, eax
lea rdi, [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x140080e68]
movaps xmmword [rsp + 0x70], xmm0
repne scasb al, byte [rdi]
mov eax, dword [str._sss]
mov dword [rdi - 1], eax
movzx eax, byte [0x140080ebc]
or rcx, 0xffffffffffffffff
mov byte [rdi + 3], al
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasb al, byte [rdi]
mov eax, dword [0x140080ec0]
lea rcx, [rsp + 0x50]
mov dword [rdi - 1], eax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14000a62d
lea rdx, [0x140080e24]
lea rcx, [rsp + 0x50]
call fcn.140054288
test rax, rax
je 0x14000a62d
mov rcx, rax
call fcn.14005df78
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.140053dcc
mov rdx, qword [0x1400d3910]
cmp qword [rsp + 0x40], rdx
jle 0x14000a62d
lea rcx, [rsp + 0x50]
call fcn.14000a420
mov rcx, qword [rsp + 0x40]
lea rdx, str.Microsoftinput_adict.dc
mov qword [0x1400d3910], rcx
call fcn.1400055f0
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x260
pop rdi
ret
Function at 0x14000a750
Capabilities:
Copy file
Move file

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
call fcn.140009b80
test al, al
je 0x14000a85d
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x200
mov qword [rsp + 0x448], rdi
call fcn.140054b20
mov eax, dword [0x140080e78]
movups xmm0, xmmword [str.ALOHABOH_bootdrvAloha20160113MicrosoftWindows]
movups xmm1, xmmword [0x140080e58]
mov dword [rsp + 0x50], eax
xor eax, eax
or rcx, 0xffffffffffffffff
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [0x140080e68]
lea rdi, [rsp + 0x20]
lea rdx, [rsp + 0x20]
xor r8d, r8d
movaps xmmword [rsp + 0x40], xmm0
repne scasb al, byte [rdi]
mov eax, dword [str._sss]
mov dword [rdi - 1], eax
movzx eax, byte [0x140080ebc]
mov rcx, rbx
mov byte [rdi + 3], al
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x14000a855
lea rcx, [rsp + 0x220]
xor edx, edx
mov r8d, 0x200
call fcn.140054b20
xor edx, edx
nop
movzx eax, byte [rsp + rdx + 0x20]
inc rdx
mov byte [rsp + rdx + 0x21f], al
test al, al
jne 0x14000a810
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x220]
repne scasb al, byte [rdi]
mov eax, dword [0x140080ec0]
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x20]
mov r8d, 1
mov dword [rdi - 1], eax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov rdi, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x430
pop rbx
ret
Function at 0x14000a880
Capabilities:
Create thread
Get common file path
Link many functions at runtime

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp qword [0x1400d3b98], 0
jne 0x14000aa1e
lea rcx, str.Iphlpapi.dll
mov qword [rsp + 0x140], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.IcmpCreateFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Iphlpapi.dll
mov qword [0x1400d28d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.IcmpSendEcho
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Rpcrt4.dll
mov qword [0x1400d28d8], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.UuidCreate
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Rpcrt4.dll
mov qword [0x1400976c8], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.UuidToStringA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Rpcrt4.dll
mov qword [0x1400d28e0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.RpcStringFreeA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
xor r8d, r8d
mov qword [0x1400d26a0], rax
lea rax, [rsp + 0x30]
lea edx, [r9 + 0x15]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, 5
ja 0x14000a9a0
xor ecx, ecx
call fcn.14005391c
int3
lea r8, str.MicrosoftMedia_PlayerTranscodedData.wm
lea rcx, [rsp + 0x30]
mov edx, 0xff
call fcn.1400534e0
xor edi, edi
lea rdx, [0x1400d26d0]
mov ecx, edi
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x30]
inc rcx
mov byte [rcx + rdx - 1], al
test al, al
jne 0x14000a9d0
lea rcx, [0x1400d26a8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.1400095f0
lea r8, [0x14000a650]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x140]
mov qword [0x1400d3b98], rax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x148
ret

Function at 0x140011460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
xor r11d, r11d
lea rdi, [0x140000000]
nop
movzx r10d, byte [r11 + rdi + 0x7f370]
inc r11
mov ecx, r10d
lea r9d, [r10 + r10]
mov r8d, r10d
shr r8d, 7
mov eax, r9d
shl eax, 0x18
mov edx, r8d
imul r8d, r8d, 0x11b
imul edx, edx, 0x1b000000
xor edx, eax
mov eax, r10d
shl eax, 8
or ecx, eax
mov eax, r9d
shl ecx, 8
or ecx, edx
mov edx, r8d
xor rdx, rax
xor rdx, r10
or rdx, rcx
shl rdx, 0x20
or rdx, rcx
mov qword [rdi + r11*8 + 0xd30e8], rdx
cmp r11, 0x100
jl 0x140011470
mov rdi, qword [rsp + 8]
mov qword [0x1400d38f8], 0
mov qword [0x1400d38f0], 0
mov byte [0x1400d3bb0], 1
ret
Function at 0x140011500
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
xor r12d, r12d
lea r13, [0x140000000]
nop word [rax + rax]
movzx ebx, byte [r12 + r13 + 0x7f470]
mov edx, ebx
mov r10d, ebx
mov esi, ebx
shr edx, 6
shr esi, 5
shr r10d, 7
mov r8d, edx
and edx, 1
mov eax, r10d
mov ebp, esi
mov r11d, esi
and esi, 1
imul r10d, r10d, 0x11b
imul eax, eax, 0x1b000000
and r11d, 2
and ebp, 4
and r8d, 2
lea ecx, [rbx + rbx]
xor ecx, ebx
lea r9d, [rcx + rcx]
shl ecx, 2
xor ecx, ebx
xor r9d, ebx
shl ecx, 8
add r9d, r9d
shl r9d, 0x18
xor r9d, eax
mov eax, esi
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, r11d
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, edx
imul edx, edx, 0x11b00
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, r8d
imul r8d, r8d, 0x11b00
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, ebp
imul eax, eax, 0x1b000000
xor r9d, eax
mov eax, esi
imul eax, eax, 0x11b00
xor ecx, eax
mov eax, r11d
imul eax, eax, 0x11b00
xor ecx, eax
mov eax, ebp
xor ecx, edx
imul eax, eax, 0x11b00
xor ecx, r8d
xor ecx, eax
mov eax, esi
or r9d, ecx
lea ecx, [rbx*8]
imul esi, esi, 0x11b
imul eax, eax, 0x11b0000
xor ecx, ebx
shl ecx, 0x10
xor ecx, eax
mov eax, r11d
imul r11d, r11d, 0x11b
imul eax, eax, 0x11b0000
xor ecx, eax
mov eax, ebp
imul eax, eax, 0x11b0000
xor ecx, eax
lea eax, [rbx*4]
xor eax, ebx
or ecx, r9d
lea edx, [rax + rax]
mov eax, r10d
xor rdx, rax
mov eax, esi
xor rdx, rax
mov eax, r11d
xor rdx, rax
imul ebp, ebp, 0x11b
inc r12
mov eax, ebp
xor rdx, rax
xor rdx, rbx
or rdx, rcx
shl rdx, 0x20
or rdx, rcx
or rdx, rbx
mov qword [r13 + r12*8 + 0xd28e8], rdx
cmp r12, 0x100
jl 0x140011530
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov byte [0x1400d3bb1], 1
pop r13
pop r12
ret

Function at 0x140012240
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqa xmm0, xmmword [rcx]
lea r11d, [r8 - 1]
mov r10, rdx
pxor xmm0, xmmword [rdx]
movdqa xmmword [rcx], xmm0
cmp r11d, 1
jbe 0x140012288
lea r9, [rdx + 0x10]
lea edx, [r11 - 2]
shr edx, 1
inc edx
movdqa xmm0, xmmword [rcx]
add r9, 0x20
dec rdx
aesenc xmm0, xmmword [r9 - 0x20]
movdqa xmmword [rcx], xmm0
aesenc xmm0, xmmword [r9 - 0x10]
movdqa xmmword [rcx], xmm0
jne 0x140012265
movdqa xmm0, xmmword [rcx]
mov eax, r11d
add rax, rax
aesenc xmm0, xmmword [r10 + rax*8]
mov eax, r8d
add rax, rax
movdqa xmmword [rcx], xmm0
aesenclast xmm0, xmmword [r10 + rax*8]
movdqa xmmword [rcx], xmm0
ret