joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x29], rax
mov qword [rsp + 0x31], rax
mov dword [rsp + 0x28], 0x6e72656b
mov dword [rsp + 0x2c], 0x32336c65
mov dword [rsp + 0x30], 0x6c6c642e
mov byte [rsp + 0x34], al
mov qword [rsp + 0x39], rax
mov dword [rsp + 0x41], eax
mov word [rsp + 0x45], ax
mov byte [rsp + 0x47], al
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1400055c0
mov eax, 0x7373
lea rdx, [rsp + 0x28]
mov rcx, rbx
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x28], 0x6f577349
mov dword [rsp + 0x2c], 0x50343677
mov dword [rsp + 0x30], 0x65636f72
mov word [rsp + 0x34], ax
mov byte [rsp + 0x36], 0
call fcn.140003b70
mov rdi, rax
test rax, rax
je 0x1400055bb
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call rdi
cmp dword [rsp + 0x20], 0
je 0x1400055bb
mov eax, WSAGetLastError
lea rdx, [rsp + 0x28]
mov rcx, rbx
mov dword [rsp + 0x28], 0x36776f57
mov dword [rsp + 0x2c], 0x76655234
mov dword [rsp + 0x30], 0x57747265
mov dword [rsp + 0x34], 0x3436776f
mov dword [rsp + 0x38], 0x65527346
mov dword [rsp + 0x3c], 0x65726964
mov dword [rsp + 0x40], 0x6f697463
mov word [rsp + 0x44], ax
call fcn.140003b70
test rax, rax
je 0x1400055bb
mov rcx, qword [0x14014f418]
call rax
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x50
pop rbx
ret

Function at 0x1400055e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x29], rax
mov dword [rsp + 0x31], eax
mov dword [rsp + 0x20], 0
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
mov dword [rsp + 0x28], 0x6e72656b
mov dword [rsp + 0x2c], 0x32336c65
mov dword [rsp + 0x30], 0x6c6c642e
mov byte [rsp + 0x34], al
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400056bd
mov ecx, 0x7373
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x34], cx
mov rcx, rax
mov dword [rsp + 0x28], 0x6f577349
mov dword [rsp + 0x2c], 0x50343677
mov dword [rsp + 0x30], 0x65636f72
mov byte [rsp + 0x36], 0
call fcn.140003b70
mov rdi, rax
test rax, rax
je 0x1400056a1
test rbx, rbx
jne 0x14000568f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0
call rdi
mov eax, dword [rsp + 0x20]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x40
pop rbx
ret
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x40
pop rbx
ret
Function at 0x1400056e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor edx, edx
lea rcx, [rsp + 0x24]
mov dword [rsp + 0x20], 0
lea r8d, [rdx + 0x2c]
call fcn.1400167a0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx r11d, word [rsp + 0x20]
cmp r11w, 9
je 0x140005722
cmp r11w, 6
je 0x140005722
xor eax, eax
add rsp, 0x58
ret
mov eax, 1
add rsp, 0x58
ret

Function at 0x140005780
Capabilities:
Extract resource via kernel32 functions

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 ebp, r9d
mov r13, r8
mov edi, edx
mov rsi, rcx
xor ebx, ebx
call fcn.140005730
mov rcx, rax
mov r12, rax
call fcn.14000341c
test rax, rax
jne 0x1400057c4
mov ebx, 0xc1
jmp 0x14000587f
movzx edx, di
mov r8, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x1400057e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000587f
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [rsp + 0x60]
mov esi, eax
test rcx, rcx
je 0x140005802
mov dword [rcx], esi
test r13, r13
je 0x14000587f
test ebp, ebp
je 0x14000587f
test eax, eax
jne 0x140005822
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14000587f
mov ebx, 0x138e
jmp 0x14000587f
cmp ebp, esi
jae 0x14000582d
mov ebx, 0x7a
jmp 0x14000587f
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14000584b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140005871
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x140005863
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140005871
mov r8, rsi
mov rdx, rax
mov rcx, r13
call fcn.140016910
test rdi, rdi
je 0x14000587f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1400059c0
Capabilities:
Clear file content
Set file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r12
push r13
push r14
sub rsp, 0x40
xor ebx, ebx
mov r12d, r9d
mov r14, r8
mov r13, rdx
mov rbp, rcx
mov dword [rsp + 0x60], ebx
test rcx, rcx
je 0x140005b83
test r8, r8
je 0x140005b83
mov qword [rsp + 0x68], rdi
cmp dword [rsp + 0x88], ebx
je 0x140005a0b
call fcn.140005340
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [r9 + 3]
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005a76
mov qword [rsp + 0x30], rbx
lea r8d, [rax + 4]
xor r9d, r9d
mov edx, 0x40000000
mov rcx, rbp
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp dword [rsp + 0x88], ebx
je 0x140005a84
call fcn.140005490
cmp rdi, 0xffffffffffffffff
jne 0x140005aaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
cmp r13, 0xffffffffffffffff
jne 0x140005adc
lea r9d, [r13 + 3]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140005b07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140005a90
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140005b07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140005a90
lea r9, [rsp + 0x60]
mov r8d, r12d
mov rdx, r14
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140005b3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140005a90
cmp dword [rsp + 0x60], r12d
je 0x140005b58
mov rcx, rdi
mov ebx, 0x1d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140005a90
cmp dword [rsp + 0x80], ebx
je 0x140005b6a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140005a90
mov eax, 0x57
jmp 0x140005a95
Function at 0x1400067a0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0xe0
xor r13d, r13d
mov rsi, r8
mov r12, rcx
mov rbp, rdx
lea rcx, [rsp + 0x70]
lea r8d, [r13 + 0x68]
xor edx, edx
mov ebx, r9d
mov dword [rax + 0x20], r13d
call fcn.1400167a0
mov dword [rsp + 0x70], WSAGetLastError
test ebx, ebx
jne 0x1400067fe
mov dword [rsp + 0xac], 1
mov word [rsp + 0xb0], r13w
mov rdi, qword [rsp + 0x130]
test rdi, rdi
je 0x14000680e
mov dword [rdi], r13d
mov rbx, qword [rsp + 0x128]
test rbx, rbx
je 0x14000681e
mov qword [rbx], r13
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r13
mov rcx, r12
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14000686a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140006900
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140006880
mov eax, dword [rsp + 0x60]
mov dword [rdi], eax
test rbx, rbx
je 0x14000688d
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
cmp dword [rsp + 0x120], r13d
je 0x1400068e2
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x118], eax
test eax, eax
jne 0x1400068e9
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400068d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x118], eax
jmp 0x1400068e9
mov eax, r13d
mov dword [rsp + 0x118], eax
jmp 0x1400068e9
mov eax, dword [rsp + 0x118]
test rbx, rbx
jne 0x140006900
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x118]
lea r11, [rsp + 0xe0]
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 0x140006f80
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test edx, edx
je 0x140006f98
call fcn.140005340
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
test edi, edi
je 0x140006fac
call fcn.140005490
cmp ebx, 0xffffffff
jne 0x140006fce
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x140006fce
cmp eax, 5
je 0x140006fce
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400070c0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
lea rcx, [rsp + 0x41]
xor ebx, ebx
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], bl
call fcn.1400167a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000717b
test al, 0x10
je 0x14000717b
lea r9, [rsp + 0x40]
lea rdx, [0x14002583c]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x140007130
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000717b
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea r8d, [r9 + 3]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14000717b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400168a0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x1400071a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov rbx, rcx
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov qword [rsp + 0x31], rax
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x3f], al
mov eax, reloc.WS2_32.dll_WSAStartup
xor edi, edi
mov dword [rsp + 0x20], 0x676f7250
mov dword [rsp + 0x24], 0x206d6172
mov dword [rsp + 0x28], 0x656c6946
mov word [rsp + 0x2c], ax
call fcn.14000a0e0
test rax, rax
je 0x140007214
mov eax, 1
jmp 0x14000726a
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x74737953
mov dword [rsp + 0x24], 0x32336d65
mov byte [rsp + 0x28], dil
call fcn.14000a0e0
test rax, rax
jne 0x14000720d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x57737953
mov dword [rsp + 0x24], 0x3436776f
mov byte [rsp + 0x28], dil
call fcn.14000a0e0
test rax, rax
mov ecx, 1
cmovne edi, ecx
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400168a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140007290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov rbx, rcx
movsx ecx, byte [rcx]
xor edi, edi
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov qword [rsp + 0x31], rax
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x20], dil
mov byte [rsp + 0x3f], al
call fcn.140017618
test eax, eax
jne 0x1400072e7
mov ecx, 1
jmp 0x14000748d
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x746f6f42
mov byte [rsp + 0x24], dil
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x736e6977
mov dword [rsp + 0x24], 0x7378
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x6f636552
mov dword [rsp + 0x24], 0x79726576
mov byte [rsp + 0x28], dil
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x79636552
mov dword [rsp + 0x24], 0x656c63
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
mov eax, WSAGetLastError
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x74737953
mov dword [rsp + 0x24], 0x56206d65
mov dword [rsp + 0x28], 0x6d756c6f
mov dword [rsp + 0x2c], 0x6e492065
mov dword [rsp + 0x30], 0x6d726f66
mov dword [rsp + 0x34], 0x6f697461
mov word [rsp + 0x38], ax
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
mov eax, reloc.WS2_32.dll_WSAStartup
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x6576694c
mov dword [rsp + 0x24], 0x6e72654b
mov dword [rsp + 0x28], 0x65526c65
mov dword [rsp + 0x2c], 0x74726f70
mov word [rsp + 0x30], ax
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x696e694d
mov dword [rsp + 0x24], 0x706d7564
mov byte [rsp + 0x28], dil
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x66657250
mov dword [rsp + 0x24], 0x68637465
mov byte [rsp + 0x28], dil
call fcn.14000a0e0
test rax, rax
jne 0x1400072dd
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x7774654e
mov dword [rsp + 0x24], 0x4c6b726f
mov dword [rsp + 0x28], 0x747369
call fcn.14000a0e0
mov ecx, 1
test rax, rax
cmovne edi, ecx
mov ecx, edi
mov eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400168a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140007e60
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor eax, eax
mov byte [rsp + 0x30], 0
mov edi, edx
mov qword [r11 - 0x67], rax
mov qword [r11 - 0x5f], rax
mov qword [r11 - 0x57], rax
mov qword [r11 - 0x4f], rax
mov qword [r11 - 0x47], rax
mov qword [r11 - 0x3f], rax
mov qword [r11 - 0x37], rax
mov rbx, rcx
lea edx, [rax + 0x40]
lea rcx, [r11 - 0x68]
mov esi, r8d
mov dword [rsp + 0x69], eax
mov word [rsp + 0x6d], ax
mov byte [rsp + 0x6f], al
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [rsp + 0xc0]
lea rcx, [rsp + 0x30]
mov r9d, esi
mov dword [rsp + 0x28], eax
mov r8d, edi
mov rdx, rbx
mov dword [rsp + 0x20], 0
mov byte [rsp + 0x33], 0
call fcn.1400074b0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140007f90
Capabilities:
Contain obfuscated stackstrings
Get file version info

Disassembly:
push rsi
push r12
push r13
push r14
sub rsp, 0x1f8
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
xor esi, esi
mov r14d, r8d
mov r12, rcx
mov r13, rdx
lea rcx, [rsp + 0x41]
lea r8d, [rsi + 0x7f]
xor edx, edx
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x40], sil
call fcn.1400167a0
lea rcx, [rsp + 0xc1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xc0], sil
call fcn.1400167a0
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x30], rsi
test r12, r12
je 0x140008217
test r13, r13
je 0x140008217
test r14d, r14d
je 0x140008217
lea rdx, [rsp + 0x24]
mov rcx, r12
mov qword [rsp + 0x1f0], rbx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test eax, eax
jne 0x140008045
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400081f0
mov rdx, rbx
mov ecx, 0x40
mov qword [rsp + 0x1e8], rbp
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
jne 0x140008073
lea esi, [rax + 8]
jmp 0x1400081d0
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1400167a0
mov edx, dword [rsp + 0x24]
mov r9, rbp
mov r8d, ebx
mov rcx, r12
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1400080a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400081d0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov dword [rsp + 0x40], 0x7261565c
mov dword [rsp + 0x44], 0x656c6946
mov dword [rsp + 0x48], 0x6f666e49
mov dword [rsp + 0x4c], 0x6172545c
mov dword [rsp + 0x50], 0x616c736e
mov dword [rsp + 0x54], 0x6e6f6974
mov byte [rsp + 0x58], sil
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x140008100
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400081d0
test dword [rsp + 0x20], 0xfffffffc
mov dword [rsp + 0x40], 0x7274535c
mov dword [rsp + 0x44], 0x46676e69
mov dword [rsp + 0x48], 0x49656c69
mov dword [rsp + 0x4c], 0x5c6f666e
mov dword [rsp + 0x50], 0x78343025
mov dword [rsp + 0x54], 0x78343025
mov dword [rsp + 0x58], 0x6d6f435c
mov dword [rsp + 0x5c], 0x796e6170
mov dword [rsp + 0x60], 0x656d614e
mov byte [rsp + 0x64], sil
mov ebx, esi
jbe 0x1400081d0
mov rdi, rsi
nop dword [rax]
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
movzx r9d, word [rdi + rax + 2]
movzx r8d, word [rdi + rax]
call fcn.140016e00
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0xc0]
mov rcx, rbp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1400081b3
mov eax, dword [rsp + 0x20]
inc ebx
add rdi, 4
shr eax, 2
cmp ebx, eax
jb 0x140008160
jmp 0x1400081d0
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
lea rax, [r14 - 1]
cmp rax, r8
mov rcx, r13
cmovb r8, rax
call fcn.140017a38
mov rdi, qword [rsp + 0x1e0]
test rbp, rbp
je 0x1400081e6
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbp, qword [rsp + 0x1e8]
mov eax, esi
mov rbx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x1f8
pop r14
pop r13
pop r12
pop rsi
ret
mov eax, 0x57
jmp 0x1400081f8
Function at 0x140008320
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rdx
lea rcx, [rsp + 0x21]
mov r8d, 0x103
xor edx, edx
mov byte [rsp + 0x20], 0
call fcn.1400167a0
lea rdx, str.SystemCurrentControlSetServices_s
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140016e00
lea r8, str.Type
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140006580
lea r8, str.ErrorControl
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140006580
lea r8, str.Start
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140006580
lea r8, str.ImagePath
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.140006580
lea rdx, str.SystemCurrentControlSetServices_sParameters
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140016e00
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SystemCurrentControlSetServices_sSecurity
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140016e00
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SystemCurrentControlSetServices_sEnum
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140016e00
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rdx, str.SystemCurrentControlSetServices_s
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.140016e00
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x140
pop rbx
ret

Function at 0x1400087a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14014dd80]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
lea r8, [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov ecx, 0x100000
mov dword [rsp + 0x20], 0x6f6c7055
mov dword [rsp + 0x24], 0x6f546461
mov dword [rsp + 0x28], 0x6f206c6f
mov dword [rsp + 0x2c], 0x796c6e
mov dword [rsp + 0x31], eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
je 0x140008823
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x48
ret
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400168a0
add rsp, 0x48
ret