joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002738
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
mov rsi, qword [rcx]
test rbx, rbx
je 0x1800027ae
cmp qword [rbx], 0
je 0x1800027a1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800027a7
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800027a7
mov rdx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rsi
mov rdx, rdi
call rax
jmp 0x1800027b7
cmp dword [rbx + 8], 0
jne 0x1800027ae
mov eax, 1
jmp 0x1800027b7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180002968
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.180002880
jmp 0x1800029da
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.180002968
mov ebx, eax
test eax, eax
jne 0x180002a43
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1800029cb
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180002a31
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.180002738
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180002a53
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180086280
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180002f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdi
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.18008a090
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18000300f
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18000300f
call fcn.180002464
mov ebx, eax
jmp 0x18000311a
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180003030
call fcn.180002464
jmp 0x180003109
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180003026
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x18000306b
mov ebx, 0x8007000e
jmp 0x18000310b
mov ecx, eax
test eax, eax
je 0x18000309d
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180003152
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18000309d
lea rcx, [rsp + 0x70]
call fcn.180005a8c
jmp 0x1800030a7
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1800030b9
cmp qword [rsp + 0x70], rdi
je 0x180003061
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x180003026
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180003d34
mov ebx, eax
test rsi, rsi
je 0x18000311a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x180003131
lea rcx, [rsp + 0x70]
call fcn.1800058f4
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180086280
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.180002438
int3
Function at 0x18000b120
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x4f8], rbx
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
xor sil, sil
lea rdx, [0x1800d3e90]
lea rcx, [rsp + 0x48]
call fcn.180005ef8
nop
call fcn.18005e290
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.18005e330
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180005bf4
test rbx, rbx
jne 0x18000b1aa
mov ebx, 0x8000ffff
mov dword [rsp + 0x30], ebx
jmp 0x18000b1d4
lea rdx, str.OleInitialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000b1ca
mov ebx, 0x80004001
mov dword [rsp + 0x30], ebx
jmp 0x18000b1d4
xor ecx, ecx
call rax
mov ebx, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1800bc7b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1800bc810]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18000b31a
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000b31a
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1800bc800]
call qword [rax]
test eax, eax
js 0x18000b30d
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x18000b30d
mov rdi, qword [r14]
mov rcx, r15
call fcn.180005be4
mov rdx, rax
xor r8d, r8d
mov rcx, r14
call qword [rdi + 0x28]
test eax, eax
js 0x18000b302
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.18008a090
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.18008a090
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rsp + 0x70]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp + 0x180]
call qword [rax + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180006330
mov r8, rax
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.180006098
lea rcx, [rbp + 0x180]
call fcn.180006330
mov r8, rax
lea rdx, [rbp + 0x180]
mov rcx, r13
call fcn.180006098
mov rcx, r12
call fcn.180005e24
test al, al
sete sil
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x18000b31d
xor sil, sil
cmp ebx, 1
ja 0x18000b36f
lea rdx, [0x1800d3e90]
lea rcx, [rsp + 0x48]
call fcn.180005ef8
nop
call fcn.18005e290
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.18005e330
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180005bf4
test rbx, rbx
je 0x18000b36f
lea rdx, str.OleUninitialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000b36f
call rax
movzx eax, sil
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.180086280
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000b680
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x410
call fcn.18008a090
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x18000b6f3
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x18000b70e
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000b6f3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180086280
add rsp, 0x450
pop rbx
ret
lea rcx, [rsp + 0x30]
call fcn.18008ce34
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180006098
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000b738
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
jmp 0x18000b6f5
Function at 0x18001b450
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18001b675
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
xor bpl, bpl
lea rcx, [r11 - 0x60]
call fcn.1800079f0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x48]
call fcn.180007990
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x18001b4d9
cmp rdi, qword [rax]
je 0x18001b4c6
add rax, 0x18
cmp rax, rcx
jne 0x18001b4b6
jmp 0x18001b4d9
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.18001b680
movzx ebp, al
xor r14d, r14d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001b4f9
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001b4f4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x50]
call fcn.1800079f0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.180007990
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x18001b639
cmp rdi, qword [rbx]
je 0x18001b535
add rbx, 0x18
cmp rbx, rax
jne 0x18001b522
jmp 0x18001b639
test bpl, bpl
je 0x18001b608
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1800949c8
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001b608
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
call fcn.180015270
nop
lea rcx, [rsp + 0x68]
call fcn.180005e24
test al, al
jne 0x18001b5fe
lea rcx, [rsp + 0x68]
call fcn.180005be4
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18001b5fe
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 8
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.180005bf4
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18001b625
mov rcx, qword [rax]
test rcx, rcx
je 0x18001b620
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov rcx, rdi
test bpl, bpl
je 0x18001b631
mov dl, 1
jmp 0x18001b633
xor edx, edx
call fcn.180014e80
nop
lea rcx, [rsp + 0x50]
call fcn.1800079c0
nop
lea rcx, [rsp + 0x48]
call fcn.1800079c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180086280
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18001b459
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18001b675
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
xor bpl, bpl
lea rcx, [r11 - 0x60]
call fcn.1800079f0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x48]
call fcn.180007990
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x18001b4d9
cmp rdi, qword [rax]
je 0x18001b4c6
add rax, 0x18
cmp rax, rcx
jne 0x18001b4b6
jmp 0x18001b4d9
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.18001b680
movzx ebp, al
xor r14d, r14d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001b4f9
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001b4f4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x50]
call fcn.1800079f0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.180007990
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x18001b639
cmp rdi, qword [rbx]
je 0x18001b535
add rbx, 0x18
cmp rbx, rax
jne 0x18001b522
jmp 0x18001b639
test bpl, bpl
je 0x18001b608
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1800949c8
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001b608
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
call fcn.180015270
nop
lea rcx, [rsp + 0x68]
call fcn.180005e24
test al, al
jne 0x18001b5fe
lea rcx, [rsp + 0x68]
call fcn.180005be4
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18001b5fe
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 8
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.180005bf4
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18001b625
mov rcx, qword [rax]
test rcx, rcx
je 0x18001b620
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov rcx, rdi
test bpl, bpl
je 0x18001b631
mov dl, 1
jmp 0x18001b633
xor edx, edx
call fcn.180014e80
nop
lea rcx, [rsp + 0x50]
call fcn.1800079c0
nop
lea rcx, [rsp + 0x48]
call fcn.1800079c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180086280
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18001cba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov r8, rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18001cd3b
mov dword [rsp + 0x50], 0x2d2d4352
mov dword [rsp + 0x54], 0xf7babac9
mov dword [rsp + 0x58], 0x61726f43
mov dword [rsp + 0x5c], 0x776f7242
mov dword [rsp + 0x60], 0x2d756e45
mov dword [rsp + 0x64], 0x61746144
mov dword [rsp + 0x68], 0x37313630
mov dword [rsp + 0x6c], 0x30313032
movdqa xmm2, xmmword [0x1800d8b30]
xor eax, eax
mov ecx, 1
movd xmm3, ecx
lea rcx, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x18001cc40
mov rax, qword [rdx]
mov qword [rdx + 8], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
sub rax, rdx
test rdx, rdx
je 0x18001ccf3
lea r9, [rsp + 0x38]
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.1800284d0
mov rbx, qword [rsp + 0x38]
test al, al
je 0x18001ccf3
cmp rbx, qword [rsp + 0x40]
je 0x18001ccf3
mov rdx, rdi
mov ecx, 0xa
call fcn.180027d20
mov ecx, dword [rsp + 0x40]
sub ecx, ebx
mov rdx, rdi
call fcn.180027d20
mov r9, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.18001d090
nop
test rbx, rbx
je 0x18001cd3b
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x18001cd21
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001cd59
mov rcx, rbx
call fcn.1800862a4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180086280
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
call fcn.18008ccdc
int3
Function at 0x18001cd60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov r10, rcx
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
cmp rax, rcx
je 0x18001cf65
mov rdx, qword [rdx]
sub rcx, rax
cmp rdx, rcx
jae 0x18001cf65
lea rax, [rdx + 5]
cmp rax, rcx
ja 0x18001cf65
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18001cf65
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r9d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r9d, 0x18
movzx ecx, byte [rcx + rax]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r9d, ecx
movzx ecx, byte [rax + rdx]
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov r11, qword [r10]
shl ecx, 8
or r9d, ecx
movzx eax, byte [r11 + r8]
or r9d, eax
cmp r9d, 0xa
jne 0x18001cf65
mov rcx, qword [r10 + 8]
lea rax, [rdx + 5]
sub rcx, r11
cmp rax, rcx
ja 0x18001cf65
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18001cf65
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r11d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r11d, 0x18
movzx ecx, byte [rax + rcx]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r11d, ecx
movzx ecx, byte [rax + rdx]
shl ecx, 8
or r11d, ecx
lea rcx, [r8 + 1]
mov qword [rbx], rcx
mov rdx, qword [r10]
movzx eax, byte [rdx + r8]
or r11d, eax
mov rax, qword [r10 + 8]
sub rax, rcx
mov esi, r11d
sub rax, rdx
cmp rsi, rax
ja 0x18001cf65
movdqa xmm2, xmmword [0x1800d8b30]
mov ecx, 1
mov dword [rsp + 0x20], 0x2d2d4352
xor eax, eax
mov dword [rsp + 0x24], 0xf7babac9
mov dword [rsp + 0x28], 0x61726f43
movd xmm3, ecx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x2c], 0x776f7242
mov dword [rsp + 0x30], 0x2d756e45
mov dword [rsp + 0x34], 0x61746144
mov dword [rsp + 0x38], 0x37313630
mov dword [rsp + 0x3c], 0x30313032
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
movd xmm1, eax
add eax, 4
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp eax, 8
jl 0x18001cf00
mov rax, qword [rdi]
mov qword [rdi + 8], rax
mov rcx, qword [rbx]
mov rax, qword [r10]
lea rdx, [rcx + rax]
test rdx, rdx
jne 0x18001cf4a
xor al, al
add rcx, rsi
mov qword [rbx], rcx
jmp 0x18001cf67
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, r11d
call fcn.1800289c0
mov rcx, qword [rbx]
add rcx, rsi
mov qword [rbx], rcx
jmp 0x18001cf67
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180086280
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18004b5f0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call fcn.18008a090
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18004b653
cmp dword [rsp + 0x24], 6
jb 0x18004b653
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180086280
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180086280
add rsp, 0x158
ret

Function at 0x18004d480
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x28], 0
mov ecx, 1
call fcn.180086a58
mov qword [rsp + 0x28], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x34]
call fcn.18008a090
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18004d502
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.180068d40
test al, al
je 0x18004d52a
lea rcx, [rsp + 0x28]
call fcn.180068600
test al, al
jne 0x18004d52a
xor bl, bl
jmp 0x18004d598
lea rdx, [rbx + 8]
xor ecx, ecx
call fcn.180058820
test al, al
jne 0x18004d542
lea rcx, [rbx + 8]
call fcn.180009bf0
lea rdx, [rbx + 0x28]
mov ecx, 0x1a
call fcn.180058820
test al, al
jne 0x18004d55d
lea rcx, [rbx + 0x28]
call fcn.180009bf0
lea rdx, [rbx + 0x48]
mov ecx, 2
call fcn.180058820
test al, al
jne 0x18004d578
lea rcx, [rbx + 0x48]
call fcn.180009bf0
lea rdx, [rbx + 0x68]
mov ecx, 0xb
call fcn.180058820
test al, al
jne 0x18004d593
lea rcx, [rbx + 0x68]
call fcn.180009bf0
mov byte [rbx], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.180067f20
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180086280
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x18004d5d0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rdi, rdx
mov qword [r11 - 0x58], rdx
xor r15d, r15d
mov dword [r11 - 0x68], r15d
lea edx, [r15 + 0x25]
xor r8d, r8d
mov rcx, rsi
call fcn.18000a230
mov rdx, rsi
cmp rax, 0xffffffffffffffff
jne 0x18004d638
mov rcx, rdi
call fcn.180006d90
nop
mov dword [rsp + 0x20], 1
jmp 0x18004d6f3
lea rcx, [rsp + 0x38]
call fcn.180006d90
nop
mov rcx, rsi
call fcn.180005be4
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
jne 0x18004d66c
mov rdx, rsi
mov rcx, rdi
call fcn.180006d90
jmp 0x18004d6e1
lea ecx, [rax + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180086e04
mov r14, rax
mov rcx, rsi
call fcn.180005be4
mov rcx, rax
lea r8d, [rbp + 1]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x18004d6cc
cmp eax, ebp
ja 0x18004d6cc
mov eax, eax
mov word [r14 + rax*2], r15w
mov rcx, r14
call fcn.180006330
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.180006098
mov rcx, r14
call fcn.1800862a4
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.180005eac
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x38]
call fcn.180005bf4
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180086280
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret