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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
sub rsp, 0x50
and qword [rax - 0x20], 0
and qword [rax - 0x28], 0
and qword [rax - 0x18], 0
and dword [rax - 0x10], 0
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rbp, r9
mov dword [rax - 0x30], 0x2001f
and dword [rax - 0x38], 0
lea rcx, [rax - 0x18]
xor r9d, r9d
call fcn.180003444
mov ebx, eax
test eax, eax
jne 0x18000a9fd
test rsi, rsi
jne 0x18000a9ce
lea ebx, [rax + 0xd]
jmp 0x18000a9fd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x40]
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp qword [rsp + 0x40], 0
je 0x18000aa10
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rsi
ret

Function at 0x18000cd4c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x490
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, rdx
mov rbp, rcx
mov rdx, rcx
lea rcx, [rsp + 0x270]
mov r13, r8
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..dll
lea rcx, [rsp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x24]
xor edi, edi
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x20], edi
call fcn.180026210
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000cddb
xor eax, eax
jmp 0x18000ce65
lea rdx, [0x1800458f8]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x18000ce41
lea rdx, [0x1800458f0]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x18000ce41
test byte [rsp + 0x20], 0x10
jne 0x18000ce41
lea rcx, [rbp + 0x410]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x410]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rbp + 0x410]
mov rcx, r13
call r12
cmp eax, edi
jne 0x18000ce55
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
je 0x18000ce5a
jmp 0x18000cddb
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x490
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000d230
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, rdx
mov rdi, rcx
mov rdx, rcx
mov rcx, rax
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, str.Lang
xor ebp, ebp
mov rcx, rdi
mov word [rax], bp
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea r8, [0x1800459d0]
lea rax, [0x1800459b8]
lea rsi, [rdi + 0x208]
lea rdx, [0x180045990]
lea rcx, [rsp + 0x40]
mov r9, r8
mov word [rdi + 0x410], bp
mov qword [rsp + 0x20], rax
mov word [rsi], bp
call qword [sym.imp.USER32.dll_wsprintfW]
lea r11, [rsp + 0x38]
lea r9d, [rbp + 1]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x18000d329
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.LangModule
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp rbx, rbp
je 0x18000d329
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov word [rsp + 0x18], r8w
push rdi
sub rsp, 0x20
mov r8d, edx
mov rbx, rcx
mov rdx, rcx
mov rcx, qword [0x18005b2c8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rsp + 0x40]
mov edx, 1
call qword [sym.imp.USER32.dll_CharLowerBuffW]
xor edi, edi
cmp word [rsp + 0x40], 0x6d
jne 0x18000e160
call fcn.18003edd0
mov rcx, rbx
lea rdx, [0x180045f18]
cmp al, dil
jne 0x18000e151
lea rdx, [0x180045f20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x180045f28]
jmp 0x18000e177
lea rdx, [0x180045f48]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.KuaiZip.exe
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbx, qword [rsp + 0x30]
cmp eax, 0xffffffff
setne dil
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x18000e214
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
setae al
add rsp, 0x28
ret
Function at 0x180010398
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edx, edx
mov rdi, rcx
lea r8, [0x180046800]
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor ebx, ebx
mov qword [rdi + 8], rax
cmp rax, rbx
jne 0x1800103c6
xor eax, eax
jmp 0x1800103ea
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp rax, rbx
mov qword [rdi + 0x10], rax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180011388
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x22]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov rbx, r9
mov word [rsp + 0x20], bp
call fcn.180026210
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp bp, word [rsp + 0x20]
jne 0x1800113f2
lea rdx, [0x180047368]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [rdi + 0x32c], ebp
je 0x180011434
lea rcx, str.Archive
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
cmp rax, rbp
jne 0x18001141a
mov ecx, 0x8007000e
call fcn.18000333c
int3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1800115a9
mov rcx, qword [rdi + 0x80]
movabs rbx, 0x6666666666666667
sub rcx, qword [rdi + 0x78]
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jbe 0x18001154c
cmp qword [rdi + 0x28], 8
jb 0x180011474
mov rcx, qword [rdi + 0x10]
jmp 0x180011478
lea rcx, [rdi + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp qword [rdi + 0x28], 8
mov rdx, rax
jb 0x18001148e
mov rax, qword [rdi + 0x10]
jmp 0x180011492
lea rax, [rdi + 0x10]
cmp rdx, rax
jne 0x180011538
mov rcx, qword [rdi + 0x80]
mov rax, rbx
sub rcx, qword [rdi + 0x78]
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1800114c1
call fcn.180028d94
mov rax, qword [rdi + 0x78]
cmp qword [rax + 0x20], 8
jb 0x1800114d2
mov rdx, qword [rax + 8]
jmp 0x1800114d6
lea rdx, [rax + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rdi + 0x80]
mov rax, rbx
sub rcx, qword [rdi + 0x78]
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x180011505
call fcn.180028d94
mov rax, qword [rdi + 0x78]
cmp qword [rax + 0x20], 8
jb 0x180011516
mov rcx, qword [rax + 8]
jmp 0x18001151a
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1800115a9
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp rax, rbp
je 0x1800115a9
jmp 0x1800115a6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
jmp 0x1800115a9
mov rcx, qword [rdi + 0x80]
mov rax, rbx
sub rcx, qword [rdi + 0x78]
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x180011572
call fcn.180028d94
mov rax, qword [rdi + 0x78]
cmp qword [rax + 0x20], 8
jb 0x180011583
mov rdx, qword [rax + 8]
jmp 0x180011587
lea rdx, [rax + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1800115a9
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov word [rax], bp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x180018c04
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov r8d, r9d
xor edx, edx
mov rcx, rsi
call fcn.180026210
mov rcx, qword [rdi]
lea r11, [rsp + 0x68]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rbx, eax
test eax, eax
je 0x180018c75
mov ecx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
cmp dword [rsp + 0x68], ecx
cmovb ecx, dword [rsp + 0x68]
mov r8d, ecx
mov rcx, rsi
call fcn.1800284d0
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180018c94
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r8d, r9d
xor edx, edx
mov rcx, rbx
call fcn.180026210
mov rcx, qword [rsi]
lea r11, [rsp + 0x68]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
cdqe
add rsp, 0x40
pop rdi
ret

Function at 0x180018d34
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
mov rcx, qword [rcx]
lea rax, [r11 + 0x20]
lea r9, [r11 - 0x18]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], r8
xor r8d, r8d
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdqe
add rsp, 0x48
ret
Function at 0x180019cec
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x890
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x880], rax
xor ebx, ebx
mov word [rsp + 0x80], bx
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x82]
call fcn.180026210
lea r11, str.Update
mov qword [rsp + 0x20], r11
lea r9, [0x180047de0]
lea r8, str.KuaiZip
lea rdx, str.software_s_s_s
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x30]
call fcn.18003ebf0
nop
lea rcx, [rsp + 0x30]
call fcn.18003ebb0
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x180019da4
mov ebx, 1
jmp 0x180019e3c
mov dword [rsp + 0x40], ebx
xor eax, eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x38], 8
lea rcx, [rsp + 0x30]
call fcn.18003eb90
mov rcx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.kernel
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r11d, word [rsp + 0x60]
cmp word [rsp + 0x48], r11w
jbe 0x180019e1c
mov ebx, 1
jmp 0x180019e3c
movzx eax, word [rsp + 0x62]
cmp word [rsp + 0x4a], ax
jbe 0x180019e2f
mov ebx, 1
jmp 0x180019e3c
movzx ecx, word [rsp + 0x66]
cmp word [rsp + 0x4e], cx
seta bl
lea rcx, [rsp + 0x30]
call fcn.18003ebd0
mov eax, ebx
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.180026540
add rsp, 0x890
pop rbx
ret
Function at 0x180019edc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xae0
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0xad0], rax
call fcn.180007814
xor esi, esi
lea rcx, [0x180047e38]
cmp eax, esi
lea rdi, [0x180047e40]
lea r8d, [rsi + 0x6c]
cmovne rdi, rcx
lea rcx, [rsp + 0x54]
xor edx, edx
mov dword [rsp + 0x50], 0x70
call fcn.180026210
lea rcx, [rsp + 0xc2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xc0], si
call fcn.180026210
lea rcx, [rsp + 0x2d2]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x2d0], si
call fcn.180026210
mov rcx, qword [0x18005b2c8]
lea rdx, [rsp + 0xc0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rbx, rax
call fcn.18003edd0
mov rcx, rbx
lea rdx, str.X64_
cmp al, sil
jne 0x180019fb4
lea rdx, str.X86_
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.KZMount2.exe
lea rcx, [rsp + 0x20]
call fcn.18003ee10
cmp qword [rax + 0x20], 8
jb 0x180019fd8
mov rdx, qword [rax + 8]
jmp 0x180019fdc
lea rdx, [rax + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp qword [rsp + 0x40], 8
jb 0x180019ff7
mov rcx, qword [rsp + 0x28]
call fcn.180025e24
lea rax, [rsp + 0xc0]
lea r8, [0x180047e78]
lea rdx, str._s__s
lea rcx, [rsp + 0x2d0]
mov r9, rdi
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r11, [rsp + 0x2d0]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x70], r11
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x54], 0x400
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.180026540
lea r11, [rsp + 0xae0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18001ad7c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, [rsp + 0x22]
xor edx, edx
lea r8d, [rbx + 0x3e]
mov word [rsp + 0x20], bx
call fcn.180026210
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
lea r9d, [rbx + 0x20]
lea r8, [rsp + 0x20]
movzx ecx, ax
mov edx, 0x1004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jne 0x18001add1
call qword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x18001addb
lea rcx, [rsp + 0x20]
call fcn.180029564
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180026540
add rsp, 0x70
pop rbx
ret

Function at 0x1800250f8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x18005b448]
test rcx, rcx
jne 0x18002504f
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x180025048
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x18002507a
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x180025044
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x18005b448], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x1800250ed
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18002509d
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x18005b448]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1800250ca
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x1800250ed
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x18005b448]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x1800250d1
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x180024fd4

Function at 0x18002d738
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18002d5ac
Function at 0x18002dc3b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180059640]
jne 0x18002655a
rol rcx, 0x10
test cx, 0xffff
jne 0x180026556
repz ret
ror rcx, 0x10
jmp 0x18002db94
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18005bd40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18005be38]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18002dc19
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18005bd40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x18002dc3b
mov rax, qword [rsp + 0x88]
mov qword [0x18005be38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18005bdd8], rax
mov rax, qword [0x18005be38]
mov qword [0x18005bcb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18005bdc0], rax
mov dword [0x18005bca0], 0xc0000409
mov dword [0x18005bca4], 1
mov rax, qword [0x180059640]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180059648]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18005bd38], eax
mov ecx, 1
call fcn.180032800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18004a6c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18005bd38], 0
jne 0x18002dcc2
mov ecx, 1
call fcn.180032800
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180038278
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.18002de18
xor ebx, ebx
mov rdi, rax
cmp qword [0x18005c728], rbx
jne 0x18003837e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180038453
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180038453
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18005c728], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18005c730], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x18005c738], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18005c748], rax
test rax, rax
je 0x180038375
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18005c740], rax
jmp 0x180038385
mov rax, qword [0x18005c740]
jmp 0x18003838c
mov rax, qword [0x18005c740]
mov r11, qword [0x18005c748]
cmp rax, rdi
je 0x1800383f4
cmp r11, rdi
je 0x1800383f4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18005c748]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1800383f4
test rax, rax
je 0x1800383f4
call rsi
test rax, rax
je 0x1800383ee
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1800383ee
test byte [rsp + 0x38], 1
jne 0x1800383f4
bts ebp, 0x15
jmp 0x180038432
mov rcx, qword [0x18005c730]
cmp rcx, rdi
je 0x180038432
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180038432
call rax
mov rbx, rax
test rax, rax
je 0x180038432
mov rcx, qword [0x18005c738]
cmp rcx, rdi
je 0x180038432
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180038432
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18005c728]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180038453
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180038455
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18003ec10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x18003ec44
xor al, al
jmp 0x18003ec83
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x20], 0
jne 0x18003ec77
mov dword [rsp + 0x30], 1
jmp 0x18003ec7f
mov dword [rsp + 0x30], 0
mov al, byte [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x18003ed30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x18003edc3
mov rcx, qword [rsp + 0x68]
call fcn.180001350
mov rbx, rax
mov rcx, qword [rsp + 0x68]
call fcn.180001180
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x40
pop rbx
ret

Function at 0x18003edd0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x20]
cmp eax, 9
je 0x18003edf3
movzx eax, word [rsp + 0x20]
cmp eax, 6
jne 0x18003edf7
mov al, 1
jmp 0x18003edf9
xor al, al
add rsp, 0x58
ret