joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010f034
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x770], rax
cmp byte [0x140340050], 0
mov rsi, rdx
movsxd rbx, ecx
je 0x14010f188
mov r12d, 0x800
lea rcx, [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.1400b7f70
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rcx, str._EWID
movsx edi, byte [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r10d, word [rsp + 0x6a]
movzx r11d, word [rsp + 0x68]
movzx ebx, word [rsp + 0x66]
movzx r9d, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x38], edx
lea rdx, str._04u__02u__02u__02u:_02u:_02u._03u_T_u___c____s_
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.14010e5b0
movsxd rsi, eax
lea rbx, [rsp + 0x70]
mov edi, r12d
lea r14, [rbp + 0x7d8]
sub rdi, rsi
add rbx, rsi
call fcn.140006940
mov r9, qword [rbp + 0x7d0]
mov r8, rdi
mov qword [rsp + 0x28], r14
mov rdx, rbx
and qword [rsp + 0x20], 0
mov rcx, qword [rax]
call fcn.1400c90fc
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [r12 - 2]
add esi, eax
movsxd rax, esi
cmp rax, rcx
cmova rax, rcx
mov byte [rsp + rax + 0x70], 0xa
lea eax, [rsi + 1]
movsxd rcx, eax
lea eax, [r12 - 1]
cmp rcx, rax
ja 0x14010f178
mov rax, rcx
cmp rcx, r12
jae 0x14010f1a7
lea rcx, [rsp + 0x70]
mov byte [rsp + rax + 0x70], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400b4b90
add rsp, 0x888
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400b5b54
int3
Function at 0x1401124f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], send
mov byte [rcx], dil
lea rdx, [0x1402d637b]
call fcn.140049d1c
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, SHFlushSFCache
lea rcx, [rbp - 0x80]
call fcn.1400b7f70
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14011261b
movdqa xmm0, xmmword [0x1402d8150]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
lea rcx, [rbp - 0x80]
call fcn.1400e2194
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000b388
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140131508
mov rdx, rax
mov rcx, rbx
call fcn.14001f714
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1401125fe
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401125f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140112642
call fcn.1400b4f0c
movdqa xmm0, xmmword [0x1402d8160]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], dil
lea rcx, [rsp + 0x58]
call fcn.14000a1f8
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400c9a68
int3

Function at 0x140112650
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
cmp byte [rdi + rcx], 0
jne 0x14011266d
mov eax, 0x1505
jmp 0x14011267d
inc edx
call fcn.140112650
movsx ecx, byte [rdi + rbx]
imul eax, eax, 0x21
xor eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14012d378
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.1400b7f70
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.CommercialId
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], send
mov rcx, rbx
mov byte [rbx], 0
call fcn.140049d1c
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b4b90
add rsp, 0x170
pop rbx
ret

Function at 0x14012d42c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.1400b7f70
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rsp + 0x50]
mov r9d, 0x10002
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], send
mov rcx, rbx
mov byte [rbx], 0
call fcn.140049d1c
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400b4b90
add rsp, 0x170
pop rbx
ret
Function at 0x140154e68
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, vtable.Microsoft::Applications::Events::HttpClient_WinInet.0
mov qword [rcx], rax
add rcx, 0x10
mov edx, 0x102
call fcn.14009135c
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x58], rbx
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, rbx
call fcn.14012763c
mov qword [rbx], rax
mov byte [rdi + 0x70], 0
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 8], rax
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140183388
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140095f10
or dword [rbx + 0x1384], 0xffffffff
lea r8, [rbx + 8]
mov dword [rbx + 4], eax
mov ecx, 1
mov r9d, 0x26f
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
inc ecx
mov dword [r8], eax
lea r8, [r8 + 4]
sub r9, 1
jne 0x1401833af
movabs rax, 0x3ff0000000000000
mov dword [rbx], 0x270
and qword [rbx + 0x1388], r9
mov qword [rbx + 0x1390], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140266dc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140266de8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140266de8
xor eax, eax
mov ecx, SHFlushSFCache
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x10001fbe8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10047aa30]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rax, qword [0x10047ab28]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10001fc6d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, [0x10047aa30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10001fc8f
mov rax, qword [rsp + 0x88]
mov qword [0x10047ab28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10047aac8], rax
xor ecx, ecx
mov rax, qword [0x10047ab28]
mov qword [0x10047a460], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10047aab0], rax
mov dword [0x10047a450], 0xc0000409
mov dword [0x10047a454], 1
mov rax, qword [0x1004946a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10047b3f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000753a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
cmp rcx, qword [0x1004946a0]
jne 0x1002d5346
rol rcx, 0x10
test cx, 0xffff
jne 0x1002d5342
repz ret
ror rcx, 0x10
jmp 0x10001fbe8

Function at 0x10001fc8f
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10047aa30]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rax, qword [0x10047ab28]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10001fc6d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, [0x10047aa30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10001fc8f
mov rax, qword [rsp + 0x88]
mov qword [0x10047ab28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10047aac8], rax
xor ecx, ecx
mov rax, qword [0x10047ab28]
mov qword [0x10047a460], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10047aab0], rax
mov dword [0x10047a450], 0xc0000409
mov dword [0x10047a454], 1
mov rax, qword [0x1004946a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10047b3f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000753a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
cmp rcx, qword [0x1004946a0]
jne 0x1002d5346
rol rcx, 0x10
test cx, 0xffff
jne 0x1002d5342
repz ret
ror rcx, 0x10
jmp 0x10001fbe8
Function at 0x100084800
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
rdtsc
shl rdx, 0x20
or rax, rdx
cdqe
mov qword [0x100495210], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
lea rbp, [0x100000000]
xor ebx, ebx
and eax, 0x80000000
cmp dword [0x10047a0e8], ebx
mov dword [0x10047a52c], eax
jne 0x10008485e
lea rcx, [0x10047a090]
call fcn.100401ebc
cmp eax, ebx
jl 0x100084a4f
mov dword [0x10047a0e8], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8d, 0x80000000
movsxd rdx, dword [0x10000003c]
lea rcx, [0x100000000]
mov edx, dword [rdx + rbp + 0x50]
mov rdi, qword [rsp + 0x28]
add rdx, rcx
lea rax, [rdi + r8]
cmp rdx, rax
jb 0x100084899
lea rdi, [rdx - 0x80000000]
lea rdx, [rdi + 0xffff]
and rdx, 0xffffffffffff0000
mov rdi, qword [rsp + 0x30]
lea rax, [rdi - 0x80000000]
cmp rcx, rax
mov qword [0x100493ee0], rdx
jbe 0x1000848c8
mov qword [0x10047a028], rdi
jmp 0x1000848d2
add rcx, r8
mov qword [0x10047a028], rcx
mov word [0x10047a028], bx
mov rax, qword [0x10047a028]
sub rax, rdx
shr rax, 0x10
mov qword [0x10047b438], rax
mov eax, ebx
cmp eax, ebx
jl 0x100084a4f
mov rax, qword [0x10047a248]
cmp rax, 1
jae 0x10008493f
lea rax, [rax + rax*4]
lea rcx, [rbp + rax*8 + 0x47a3e8]
call fcn.100540000
mov edx, eax
cmp eax, ebx
jl 0x100084938
mov rax, qword [0x10047a248]
add rax, 1
mov qword [0x10047a248], rax
cmp rax, 1
jb 0x100084905
cmp edx, ebx
jge 0x10008493f
mov eax, edx
jmp 0x100084a4f
mov eax, dword [0x10005e244]
cmp eax, ebx
je 0x1000849da
lea r9, [rsp + 0x78]
mov edx, dword [0x1002f3aa4]
lea rsi, section..data
mov eax, dword [0x10005e244]
mov r8d, 0x40
imul edx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
jne 0x10008499b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x54f
cmp eax, ebx
cmove eax, ecx
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
jmp 0x1000849dc
mov r8, rbx
mov eax, dword [0x10005e244]
cmp eax, ebx
jbe 0x1000849da
mov edi, dword [0x1002f3aa4]
mov ecx, dword [0x1002f3aa4]
mov dword [rbp + r8*4 + 0x478cb0], 0x3bd7
xor eax, eax
imul rdi, r8
add rdi, rsi
add r8, 1
rep stosb byte [rdi], al
mov eax, dword [0x10005e244]
cmp r8, rax
jb 0x1000849a8
mov ecx, ebx
cmp ecx, ebx
jge 0x1000849e4
mov eax, ecx
jmp 0x100084a4f
mov ecx, dword [0x100494f30]
cmp ecx, ebx
je 0x100084a36
mov edx, dword [0x100494f28]
lea rax, [rdx + rbp + 0x494f58]
lea rdi, [0x100494f58]
mov qword [0x100494f38], rdi
mov qword [0x100494f40], rax
mov eax, dword [0x100494f2c]
add rdx, rax
lea rax, [rdx + rbp + 0x494f58]
mov qword [0x100494f48], rax
add rcx, rdx
add rcx, rdi
mov qword [0x100494f50], rcx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
mov eax, 0xdbb6bf40
cmp dword [rsp + 0x70], ebx
cmovl ebx, dword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x100085fe4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1004946a0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
xor ebx, ebx
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100086052
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100086042
mov ebx, 0x80004005
jmp 0x10008606f
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10008606b
cmp dword [rsp + 0x30], 2
jne 0x100086067
cmp dword [rsp + 0x24], 6
jb 0x100086067
mov eax, 1
jmp 0x100086069
xor eax, eax
mov dword [rdi], eax
test ebx, ebx
jns 0x10008609f
mov rcx, qword [0x100479440]
lea rax, [0x100479440]
cmp rcx, rax
je 0x10008609f
test byte [rcx + 0x3c], 2
je 0x10008609f
mov rcx, qword [rcx + 0x30]
lea r8, [0x10005ffb0]
mov r9d, ebx
mov dx, 0x27
call fcn.100088d10
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1002d532c
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x100086ba8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x160
mov rax, qword [0x1004946a0]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x11c
xor ebx, ebx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rsi, [0x100479440]
test eax, eax
jne 0x100086c1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100086c0a
mov ebx, 0x80004005
jmp 0x100086c4d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100086c49
cmp dword [rsp + 0x34], 6
jae 0x100086c3e
cmp dword [rsp + 0x34], 5
jne 0x100086c3a
cmp dword [rsp + 0x38], 2
jne 0x100086c3a
cmp word [rsp + 0x144], 2
jae 0x100086c3e
xor eax, eax
jmp 0x100086c43
mov eax, 1
mov dword [0x1004951c8], eax
test ebx, ebx
jns 0x100086c76
mov rcx, qword [0x100479440]
cmp rcx, rsi
je 0x100086c7d
test byte [rcx + 0x3c], 2
je 0x100086c7d
mov rcx, qword [rcx + 0x30]
lea r8, [0x10005ff50]
mov r9d, ebx
mov dx, 0xe
call fcn.100088d10
mov rcx, qword [0x100479440]
test ebx, ebx
js 0x100086d2d
xor r9d, r9d
lea r8, [0x100064e88]
lea rcx, [0x100064ec8]
lea edx, [r9 + 0x64]
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
test eax, eax
je 0x100086cbe
mov ecx, eax
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x100086d26
lea rax, [0x100086d88]
lea rcx, [0x100060270]
mov r9d, 0x21
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIfEx]
test eax, eax
je 0x100086d08
mov ecx, eax
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x100086d26
lea rcx, [0x100495198]
call fcn.100088590
test eax, eax
mov ebx, eax
js 0x100086d26
mov dword [0x1004951cc], 1
jmp 0x100086d4f
mov rcx, qword [0x100479440]
cmp rcx, rsi
je 0x100086d4f
test byte [rcx + 0x3c], 2
je 0x100086d4f
mov rcx, qword [rcx + 0x30]
lea r8, [0x10005ff50]
mov r9d, ebx
mov dx, 0xa
call fcn.100088d10
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1002d532c
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rsi
ret
Function at 0x100087f14
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push r12
push r13
push r14
sub rsp, 0x40
xor r13d, r13d
mov r12, r9
mov rbp, r8
lea r9, [rax - 0x20]
lea r8d, [r13 + 1]
mov qword [rax - 0x20], r13
mov rbx, r13
call fcn.1000880d4
cmp eax, r13d
mov esi, eax
lea r14, [0x100479440]
jl 0x100088063
mov dword [rsp + 0x60], r13d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r13d
je 0x100087fa3
movzx esi, ax
or esi, 0x80070000
cmp eax, r13d
cmovle esi, eax
cmp esi, r13d
jne 0x100088061
cmp rbx, r13
jne 0x100087fe4
mov eax, dword [rsp + 0x60]
cmp eax, r13d
jbe 0x100087fdd
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp rax, r13
mov rbx, rax
jne 0x100087f61
mov rbx, r13
mov esi, 0x8007000e
jmp 0x10008805e
mov esi, 0x8000ffff
jmp 0x100088063
cmp dword [rsp + 0x30], 4
je 0x100087ff2
mov esi, 0x8007000d
jmp 0x100088063
mov edx, dword [rsp + 0x60]
mov ebp, r13d
cmp edx, 4
je 0x100088038
mov esi, 0x8007000d
mov ebp, esi
mov rcx, qword [0x100479440]
cmp rcx, r14
je 0x100088032
test byte [rcx + 0x3c], 2
je 0x100088032
mov rcx, qword [rcx + 0x30]
lea r8, [0x10005ffd0]
mov r9d, esi
mov dx, 0xd
call fcn.100088d10
mov edx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x60]
jmp 0x100088041
mov eax, dword [rbx]
mov dword [r12], eax
mov eax, r13d
cmp ebp, r13d
mov esi, ebp
jl 0x100088063
cmp eax, r13d
mov rax, qword [rsp + 0x80]
cmovne rbx, r13
cmp rax, r13
je 0x10008805e
mov dword [rax], edx
cmp esi, r13d
jge 0x10008808c
mov rcx, qword [0x100479440]
cmp rcx, r14
je 0x10008808c
test byte [rcx + 0x3c], 2
je 0x10008808c
mov rcx, qword [rcx + 0x30]
lea r8, [0x10005ffd0]
mov r9d, esi
mov dx, 0x22
call fcn.100088d10
cmp rbx, r13
je 0x1000880a5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x38], r13
je 0x1000880b7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov eax, esi
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
ret
Function at 0x10008d4e8
Capabilities:
Check mutex on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x20], 0
xor eax, eax
mov rsi, rcx
and dword [rcx + 8], eax
and qword [r11 + 8], rax
lea ebp, [rax + 1]
lea r8, [r11 + 8]
lea rcx, [0x1000659c8]
mov edx, ebp
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
xor ebx, ebx
xor edi, edi
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x10008d55c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10008d549
mov edi, 0x80004005
jmp 0x10008d600
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x10008d5fc
mov rax, qword [rsp + 0x50]
and dword [rsp + 0x30], ebx
lea r8, [0x100066a50]
lea rcx, [rsp + 0x20]
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x18
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
mov rbx, rax
jne 0x10008d5b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10008d549
lea r8, [0x100066a50]
xor edx, edx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
mov rbx, rax
je 0x10008d535
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10008d5e0
cmp eax, 0x80
je 0x10008d5d9
cmp eax, 0x102
jne 0x10008d5e3
mov edi, 0x800705b4
jmp 0x10008d600
mov edi, 0x8000ffff
jmp 0x10008d600
mov dword [rsi + 8], ebp
mov rcx, qword [rsi]
mov rbp, rbx
xor ebx, ebx
test rcx, rcx
je 0x10008d5f9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsi], rbx
mov qword [rsi], rbp
test edi, edi
jns 0x10008d63e
mov rcx, qword [0x100479440]
lea rax, [0x100479440]
cmp rcx, rax
je 0x10008d630
test byte [rcx + 0x3c], 2
je 0x10008d630
mov rcx, qword [rcx + 0x30]
lea r8, [0x10005fd70]
mov r9d, edi
mov dx, 0xb
call fcn.100088d10
test rbx, rbx
je 0x10008d63e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x10008d64e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x10008eccc
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
call fcn.1003ab9b8
nop
xor rax, 0xffffffffd088b046
cmp eax, 0x463544e0
or bh, 1
add byte [rax], ah
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.100079730
nop
rcr byte [rsi + rax*2 + 0x50], 0x58
sub al, 0x32
add byte [rbp - 0x43ffffff], ah
pop rsp
adc byte [rax + 0x3b], r9b
sti
lea rbp, [0x100479440]
mov esi, eax
jne 0x10008ee57
add byte [rax], al
call fcn.1002a2924
nop
clc
loope 0x10008ed91
loopne 0x10008ed78
outsd dx, dword [rsi]
or dword [rax], eax
add byte [rax + 0x40], dh
outsd dx, dword [rsi]
xor byte [rcx - 0x47], r8b
push rdi
add byte [rdi], al
add byte [rcx - 0x75], 0xd9
call fcn.10025c190
nop
fcom dword [rbx]
jo 0x10008ed27
adc eax, dword [rdi - 0x20]
invalid
push rsp
insd dword [rdi], dx
invalid
mov al, 0xe8
invalid
add byte [rax + rbx*8 + 0x2f7029], 0
jo 0x10008ed83
adc esi, ebp
add byte es:[rax - 0x2ffffe2c], dl
adc al, 0x50
xor dil, 0x97
xor bh, 0x97
cmp dl, al
sbb byte [rax + 0x46], dl
loopne 0x10008eda7
cmp al, 2
je 0x10008ef72
call fcn.1002fdbb0
nop
xor eax, 0x18500001
push rsp
ror byte [r8 + 0x75], 1
adc dword [rax - 0x6fb8abe4], eax
call fcn.100079730
nop
cmp byte [rdi + 0x30], r8b
add al, 0xd8
adc al, 0x70
jae 0x10008ede1
add byte [rax - 0x7fb8c7c0], dl
nop
cmp byte [rdi - 0x80], al
call fcn.1002a2924
nop
adc dl, dl
or byte [r10 + r10 + 0x47], 0x80
mov esp, 0x48a00000
adc al, byte [rdi + 0x20]
call fcn.1002fdbb0
nop
or dword [rax], eax
add byte [rax + 0x10], ah
invalid
call fcn.10008b818
nop
lodsb al, byte [rsi]
ret
jg 0x10008ef59
sal byte [rax + 0x53], 1
and byte [r11 + r10*2 + 0x47], r14b
or dword [rax], eax
add byte [rax - 0x18], dh
pop rsi
retf 0x31
add byte [rax + 0x60469884], dl
call 0x80c91d3a
cwde
mov al, 6
add byte [rax], al
xor byte [rax - 0x75], cl
add eax, 0x3ea4ce
cmp rax, rbp
je 0x10008f097
call fcn.10012835c
nop
jno 0x10008efc7
mov fs, word [rax]
cmp al, 0x22
jo 0x10008ef46
add dword [rax], eax
or ah, 0x44
invalid
cmp eax, ecx
jne 0x10008f097
call fcn.100139b00
nop
and al, byte [rax]
add byte [rax + 0x78], ah
jae 0x10008f023
nop
je 0x10008f052
sub byte [r14 + r15 + 0xd], 0xe0
call fcn.1002a2924
nop
cmp bh, ch
invalid
adc eax, dword [rax]
add byte [rax], dl
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.100079640
nop
xchg ecx, eax
lodsd eax, dword [rsi]
or byte [rax - 0x3fb6a647], dh
mov ebp, 0x65304959
add byte [rax], al
movabs al, byte [0x8778900025fec8e8]
movmskps esi, xmm4
pop rbp
invalid
pop rbp
xchg r8d, eax
mov word [rdx], es
add byte [rax - 0x18], dl
invalid
call fcn.100079640
nop
xor byte [rdi], bh
or eax, 0x47735c70
movabs al, byte [0x300000bae0477360]
call fcn.1002eef10
nop
invalid