joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002286a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
call fcn.1002307d
pop ecx
pop ecx
test al, al
je 0x10022889
xor al, al
jmp 0x10022914
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10254488
cmp edi, dword [esi - 0x48]
jne 0x10022902
cmp dword [esi - 0x18], 0x10
jb 0x100228a3
mov eax, dword [esi - 0x2c]
jmp 0x100228a6
lea eax, [esi - 0x2c]
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100228ef
cmp dword [esi], 0x10
mov dword [ebp - 4], 4
mov dword [ebp - 8], ebx
jb 0x100228d4
mov eax, dword [esi - 0x14]
jmp 0x100228d7
lea eax, [esi - 0x14]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10022919
cmp edi, 5
jne 0x10022902
push ebx
push 6
call fcn.1002286a
pop ecx
pop ecx
test al, al
jne 0x10022919
sub esi, 0x94
cmp esi, 0x10254110
jge 0x10022893
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x10022912

Function at 0x100230db
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push 0xf003f
push eax
call fcn.10023434
pop ecx
pop ecx
test eax, eax
jne 0x10023119
cmp dword [ebp + 8], eax
push 2
setne al
add eax, 0x30
mov word [ebp - 4], ax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x101d33c0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x10023213
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 6
pop edi
mov esi, 0x1025445c
xor ebx, ebx
cmp dword [esi + 0x14], 0x10
jb 0x10023230
mov eax, dword [esi]
jmp 0x10023232
mov eax, esi
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10023282
cmp dword [esi + 0x2c], 0x10
mov dword [ebp - 8], 4
mov dword [ebp - 4], ebx
jb 0x10023261
mov eax, dword [esi + 0x18]
jmp 0x10023264
lea eax, [esi + 0x18]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10023282
cmp dword [ebp - 4], 1
je 0x1002329d
sub esi, 0x94
dec edi
cmp esi, 0x102540e4
jge 0x10023226
mov eax, 0x102540c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
imul eax, edi, 0x94
add eax, 0x102540c8
jmp 0x10023296
Function at 0x100235b1
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x101d3020
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push edi
push 0xf003f
push 1
push edi
push edi
push 0x101d3060
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002360d
push 0xa
push str.temp
push 1
push edi
push 0x101d30d0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10023613
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
push 0x101d30d4
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10023697
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push edi
push edi
push 0x101d3114
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10023689
push dword [ebp - 4]
call fcn.10159550
pop ecx
push dword [ebp - 4]
test al, al
je 0x10023674
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x10023699
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWARE128r95e71b23o59o10t00
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 4], edi
je 0x10023697
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024480
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101be96b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1024bd20]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x100245b5
cmp byte [ebx + 0x45], 0
je 0x100245b5
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100244db
xor al, al
jmp 0x100245b7
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.10024788
and dword [esp + 0x3c], 0
lea ebp, [ebx + 0x48]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push ebp
call dword [edx + 0x20]
sub eax, 0
je 0x10024540
dec eax
je 0x10024544
dec eax
dec eax
je 0x100245a2
xor bl, bl
jmp 0x100245a4
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x10024583
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1017a376
add esp, 0x10
cmp esi, eax
jne 0x1002453c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x100245a2
test esi, esi
jne 0x10024509
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10024729
jmp 0x10024501
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.1000fc80
mov al, bl
jmp 0x100245b7
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1017868e
add esp, 0x2c
ret
Function at 0x10024a48
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101be9be
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1024bd20]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x50]
or ebx, 0xffffffff
cmp esi, ebx
jne 0x10024a8e
xor eax, eax
jmp 0x10024c07
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x10024abd
mov edx, dword [ebp + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10024abd
mov eax, dword [esp + 0x50]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [ebp + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x10024c07
cmp dword [ebp + 0x50], 0
je 0x10024c05
mov ecx, ebp
call fcn.100246c0
xor ecx, ecx
cmp dword [ebp + 0x40], ecx
jne 0x10024aea
push dword [ebp + 0x50]
push esi
call fcn.10023c50
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x10024c05
mov eax, dword [esp + 0x50]
push ecx
mov dword [esp + 0x38], ecx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
push 8
mov byte [esp + 0x1c], al
mov dword [esp + 0x40], 0xf
call fcn.10024788
and dword [esp + 0x48], 0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
cmp esi, 0x10
lea eax, [esp + 0x20]
mov esi, dword [ebp + 0x40]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x28]
cmovae ecx, edi
cmovae edx, edi
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x28]
mov ecx, esi
push eax
lea eax, [esp + 0x25]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x10024bf8
cmp eax, 1
jg 0x10024bde
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x24]
mov edi, dword [esp + 0x24]
cmp esi, 0x10
mov ecx, dword [esp + 0x20]
cmovae eax, edi
sub ecx, eax
mov dword [esp + 0x18], ecx
je 0x10024baa
push dword [ebp + 0x50]
cmp esi, 0x10
lea eax, [esp + 0x28]
push ecx
cmovae eax, edi
push 1
push eax
call fcn.1017a376
mov ecx, dword [esp + 0x28]
add esp, 0x10
cmp ecx, eax
jne 0x10024bf8
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x14]
mov byte [ebp + 0x45], 1
cmp dword [esp + 0x1c], eax
jne 0x10024bd8
test ecx, ecx
jne 0x10024b1b
cmp dword [esp + 0x34], 0x20
jae 0x10024bf8
push ecx
push 8
lea ecx, [esp + 0x2c]
call fcn.10024729
jmp 0x10024b13
mov ebx, dword [esp + 0x50]
jmp 0x10024bf8
cmp eax, 3
jne 0x10024bf8
push dword [ebp + 0x50]
push dword [esp + 0x18]
call fcn.10023c50
test al, al
pop ecx
cmovne ebx, dword [esp + 0x54]
pop ecx
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.1000fc80
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1017868e
add esp, 0x38
ret 4
Function at 0x100259d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
xor ebx, ebx
push edi
mov edi, ecx
test ebp, ebp
je 0x100259e2
mov dword [ebp], ebx
cmp dword [edi], ebx
jne 0x10025a04
mov eax, dword [esp + 0x28]
movzx eax, al
push eax
push dword [esp + 0x28]
call fcn.10025c12
mov dword [edi], eax
test eax, eax
jne 0x10025a04
xor al, al
jmp 0x10025b8c
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x20], eax
call fcn.1004214b
mov ecx, eax
mov eax, dword [esp + 0x18]
push esi
push dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov dword [ecx], eax
lea eax, [ecx + 8]
push eax
mov dword [ecx + 4], esi
call fcn.10178c00
add esp, 0x10
mov dword [esp + 0x20], ebx
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push ebx
push eax
push esi
push dword [esp + 0x38]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10025a64
cmp esi, dword [esp + 0x20]
je 0x10025aab
cmp dword [edi], ebx
je 0x10025a70
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push dword [esp + 0x2c]
mov ecx, edi
call fcn.10025c12
mov dword [edi], eax
test eax, eax
je 0x10025b7f
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
push dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10025b7f
cmp esi, dword [esp + 0x20]
jne 0x10025b7f
cmp byte [esp + 0x24], bl
jne 0x10025ac8
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
jmp 0x10025b7f
mov esi, 0x1000
cmp dword [edi + 8], ebx
jne 0x10025ae7
push esi
call fcn.1004214b
mov dword [edi + 8], eax
pop ecx
test eax, eax
je 0x10025b7f
mov dword [edi + 4], esi
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
jmp 0x10025b49
cmp dword [esp + 0x24], esi
jb 0x10025b6b
cmp esi, dword [esp + 0x24]
jne 0x10025b45
mov esi, dword [edi + 4]
mov eax, dword [edi + 8]
add esi, 0x1000
push esi
mov dword [esp + 0x2c], eax
call fcn.1004214b
mov dword [edi + 8], eax
pop ecx
test eax, eax
je 0x10025b5f
push dword [edi + 4]
push dword [esp + 0x2c]
push eax
call fcn.10178c00
mov eax, dword [edi + 4]
add esp, 0xc
add eax, dword [edi + 8]
mov dword [edi + 4], esi
mov esi, 0x1000
mov dword [esp + 0x28], eax
jmp 0x10025b49
mov eax, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x28]
push ecx
push esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10025af7
jmp 0x10025b7f
push dword [esp + 0x28]
call fcn.10042178
pop ecx
jmp 0x10025b7f
mov ecx, dword [edi + 8]
cmp dword [ecx], 1
sete bl
test bl, bl
je 0x10025b7f
test ebp, ebp
je 0x10025b7f
mov dword [ebp], ecx
push dword [esp + 0x2c]
call fcn.10042178
pop ecx
mov al, bl
pop esi
pop edi
pop ebp
pop ebx
ret 0x1c
Function at 0x10025c12
Capabilities:
Create process on windows
Read file on windows

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, ecx
mov byte [esp + 0x13], 0
xor ebx, ebx
call fcn.10025f87
mov esi, eax
push 0x12c
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x10025c85
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea ecx, [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
push 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10025d22
cmp dword [esp + 0x14], 4
jne 0x10025d22
cmp esi, 0xffffffff
jne 0x10025d1e
cmp dword [esp + 0x74], 0
je 0x10025d2c
cmp byte [esp + 0x13], 0
jne 0x10025d08
push 0x40
lea eax, [esp + 0x30]
mov byte [esp + 0x17], 1
push 0
push eax
call fcn.10179250
add esp, 0xc
mov dword [esp + 0x28], 0x44
lea eax, [esp + 0x18]
xorps xmm0, xmm0
mov ecx, ebp
movdqu xmmword [esp + 0x18], xmm0
push eax
lea eax, [esp + 0x2c]
push eax
xor eax, eax
push eax
push eax
push eax
push 1
push eax
push eax
push dword [esp + 0x90]
call fcn.10025d38
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10025d2c
cmp dword [esp + 0x18], 0
je 0x10025c28
push dword [esp + 0x18]
call edi
push dword [esp + 0x1c]
call edi
jmp 0x10025c28
cmp ebx, 0x1e
jge 0x10025d2c
push 0x12c
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10025c28
mov eax, esi
jmp 0x10025d2e
push esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push esi
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8

Function at 0x10026320
Capabilities:
Set environment variable

Disassembly:
push 4
mov eax, 0x101beb6e
call fcn.10178732
call fcn.10010450
push eax
lea ecx, [ebp - 0x10]
call fcn.1000c200
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x101d3be8
push dword [0x10254a20]
push str._s_s___s_
push eax
call fcn.10022679
mov esi, dword [ebp - 0x10]
push esi
call fcn.10026471
add esp, 0x18
test al, al
jne 0x100263c3
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x101d3c20
call esi
push 0x101d3c4c
push 0x101d3c50
call esi
push 0x10254a20
lea ecx, [ebp - 0x10]
call fcn.1000aba0
mov esi, 0x101d3c80
push esi
call fcn.1000bcd0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.1000d4a0
mov esi, dword [ebp - 0x10]
push esi
call fcn.1002661a
pop ecx
test al, al
jne 0x100263c3
push 0
push dword [ebp + 8]
call fcn.10026774
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.1000c230
call fcn.10178700
ret
Function at 0x10026471
Capabilities:
Get explorer pid

Disassembly:
push 0xffffffffffffffff
push 0x101bebcc
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1024bd20]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x100264b5
xor al, al
jmp 0x10026606
push dword [esp + 0x20]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x24], esi
and dword [esp + 0x84], 0
test esi, esi
jne 0x100264df
xor bl, bl
jmp 0x10026604
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
lea eax, [esp + 0x18]
mov byte [esp + 0x84], 2
push eax
push 0xb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100265db
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
inc ebx
push ebx
push 2
push 0
push 0x2000000
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x100265db
push 0x40
lea eax, [esp + 0x40]
push 0
push eax
call fcn.10179250
add esp, 0xc
mov dword [esp + 0x38], 0x44
xorps xmm0, xmm0
lea ecx, [esp + 0x1c]
movdqu xmmword [esp + 0x28], xmm0
push dword [esp + 0x8c]
call fcn.100224c2
push str.CreateProcessWithTokenW
push 0x101d3b7c
mov byte [esp + 0x8c], 3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x100265cb
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 4], ebx
jle 0x100265a1
push dword [ecx - 0xc]
lea ecx, [esp + 0x20]
call fcn.1000ba60
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
xor eax, eax
push eax
push eax
push eax
push ecx
push eax
push eax
push dword [esp + 0x34]
call ebp
test eax, eax
je 0x100265cb
push dword [esp + 0x28]
call edi
push dword [esp + 0x2c]
call edi
jmp 0x100265cd
xor bl, bl
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1000c230
jmp 0x100265dd
xor bl, bl
cmp dword [esp + 0x14], 0
je 0x100265ef
push dword [esp + 0x14]
call edi
and dword [esp + 0x14], 0
cmp dword [esp + 0x18], 0
je 0x10026601
push dword [esp + 0x18]
call edi
and dword [esp + 0x18], 0
push esi
call edi
mov al, bl
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x1002661a
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x1024bd20]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x60
mov eax, 0x101bebff
call fcn.10178732
mov edi, dword [ebp + 0x7c]
xor ebx, ebx
mov dword [ebp + 4], ebx
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push 1
push 0x20000
push 2
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_SaferCreateLevel]
push ebx
push 4
lea eax, [ebp + 4]
push eax
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SaferComputeTokenFromLevel]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SaferCloseLevel]
push 0x2000
push 1
lea eax, [ebp + 0x68]
mov dword [ebp + 0x68], ebx
push eax
lea eax, [ebp + 8]
mov word [ebp + 0x6c], 0x1000
push eax
call fcn.100267cd
add esp, 0x10
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x18]
push eax
push 0x19
push dword [ebp + 4]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10026742
push 0x40
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.10179250
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
xorps xmm0, xmm0
lea ecx, [ebp]
movdqu xmmword [ebp - 0x28], xmm0
push edi
call fcn.100224c2
mov eax, dword [ebp]
mov byte [ebp - 4], 2
cmp dword [eax - 4], 1
jle 0x1002670e
push dword [eax - 0xc]
lea ecx, [ebp]
call fcn.1000ba60
mov eax, dword [ebp]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp + 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x10026737
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
mov bl, 1
mov ecx, dword [ebp]
lea ecx, [ecx - 0x10]
call fcn.1000c230
lea ecx, [ebp + 8]
call fcn.100268f8
cmp dword [ebp + 4], 0
je 0x10026755
push dword [ebp + 4]
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.1017868e
lea esp, [ebp + 0x74]
pop ebp
ret

Function at 0x10026774
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.10179250
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], 0x101d3b98
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
Function at 0x100279ff
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101bee66
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1024bd20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push 0x14
mov dword [esp + 0x24], 1
call fcn.1004214b
mov esi, eax
xor edi, edi
pop ecx
test esi, esi
je 0x10027a43
mov dword [esi + 0x10], edi
jmp 0x10027a45
mov esi, edi
push edi
push dword [0x10255730]
lea ebp, [ebx + 0x1e4]
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 2
add eax, 0x3e8
push eax
push dword [ebx + 0x1f4]
push 0x20
push 0x1a4
push dword [ebx + 0x1fc]
push 9
push 0x50002004
push dword [esp + 0x4c]
push 0x101d3d2c
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
mov ecx, dword [ebp + 4]
sub ecx, dword [ebp]
test ecx, 0xfffffffc
jne 0x10027aae
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
push edi
push dword [0x10255730]
sar eax, 2
add eax, 0x7d0
push eax
push dword [ebx + 0x1f4]
mov eax, dword [ebx + 0x1fc]
push 0x3d
push 0x1a4
add eax, 0x21
push eax
push 0x1a
push 0x50000000
push dword [esp + 0x50]
push 0x101d3d3c
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [esi + 4], eax
push dword [ebx + 0x208]
push 0x30
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
push 1
mov dword [esi + 8], edi
push dword [ebx + 0x20c]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.10027f81
mov ecx, dword [esp + 0x28]
add dword [ebx + 0x1fc], 0x3f
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x1002859d
Capabilities:
Check mutex on windows

Disassembly:
push esi
push 0xa
call fcn.10028633
pop ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x100285c7
push 0x101d3f14
push 0xb
call fcn.10028647
pop ecx
pop ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov edx, 0x101d3f1c
mov ecx, 0x101d3f18
cmovne ecx, edx
push ecx
push 0xb
call fcn.10028647
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret