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

Disassembly:
jmp 0x7d28ffc0
sub esp, 0x3c
push esi
push 0
call fcn.7d2216ef
push eax
call fcn.7d221cd5
test al, al
je 0x7d29010e
mov esi, dword [esp + 0x44]
push 0x12
push str.RegistryMachine_
push esi
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x7d29010e
push 0xa
add esi, 0x24
push str.Components
push esi
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x7d290054
push 9
push str.Software_
push esi
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x7d29010e
push 0xc
add esi, 0x12
push str.Wow6432Node_
push esi
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x7d29003e
add esi, 0x18
push str.MicrosoftWindowsCurrentVersionSideBySide
push esi
call sub.ntdll.dll__wcsicmp
add esp, 8
test eax, eax
jne 0x7d29010e
push dword [str.hQc]
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call esi
lea eax, [esp + 0x10]
push eax
push 0x20019
lea eax, [esp + 0x4c]
push eax
call dword [0x7d2de698]
test eax, eax
je 0x7d2900b6
mov dword [esp + 0x44], 0
jmp 0x7d2900fc
cmp dword [esp + 0x44], 0
je 0x7d2900fc
push str.PreferExternalManifest
lea eax, [esp + 0xc]
push eax
call esi
lea eax, [esp + 4]
push eax
push 0x18
lea eax, [esp + 0x30]
push eax
push 2
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x58]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
je 0x7d290117
mov dword [esp + 0x2c], 0
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.PreferExternalManifest
push 0x89d
call sym.SbieDll.dll_SbieApi_Log
add esp, 8
xor al, al
pop esi
add esp, 0x3c
ret 8
cmp dword [esp + 0x2c], 4
jne 0x7d2900f2
cmp dword [esp + 0x30], 4
jne 0x7d2900f2
cmp dword [esp + 0x34], 0
je 0x7d2900f2
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
pop esi
mov dword [ecx], eax
mov al, 1
add esp, 0x3c
ret 8
Function at 0x7d221cc1
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x7d28b7f0
sub esp, 0x128
cmp dword [0x7d2b7358], 0xb
je 0x7d28b808
xor eax, eax
add esp, 0x128
ret
push esi
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0xc]
push str.REGISTRYMACHINESOFTWAREMicrosoftInternet_Explorer
push eax
call esi
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
push 0x20019
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
js 0x7d28b932
push str.svcVersion
lea eax, [esp + 0x10]
push eax
call esi
push 0x100
lea eax, [esp + 0x30]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0xfc
lea eax, [esp + 0x34]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jns 0x7d28b8f0
push 0x7d2991b0
lea eax, [esp + 0x10]
push eax
call esi
push 0x100
lea eax, [esp + 0x30]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0xfc
lea eax, [esp + 0x34]
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
js 0x7d28b91a
cmp dword [esp + 0x30], 1
jne 0x7d28b91a
lea eax, [esp + 0x38]
push eax
call sub.ntdll.dll__wtoi
add esp, 4
mov esi, eax
push dword [esp + 4]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
pop esi
add esp, 0x128
ret
push dword [esp + 4]
mov esi, dword [esp + 0xc]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
pop esi
add esp, 0x128
ret
mov esi, dword [esp + 8]
mov eax, esi
pop esi
add esp, 0x128
ret
Function at 0x7d221d4d
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x7d24ebc0
sub esp, 0x28
cmp dword [0x7d2de3c4], 0
push ebx
mov bl, byte [esp + 0x3c]
push ebp
push esi
jne 0x7d24ebf5
push 0x40
call fcn.7d2217b2
push dword [0x7d2b7344]
mov dword [0x7d2de3c4], eax
push str.GUIPROXY__08X
push 0x20
push eax
call sym.SbieDll.dll_Sbie_snwprintf
add esp, 0x10
mov eax, dword [0x7d2b7348]
and eax, 2
test bl, bl
je 0x7d24ec31
or eax, 0
je 0x7d24ec13
cmp byte [0x7d2de540], 0
jne 0x7d24ec13
xor bl, bl
jmp 0x7d24ec31
cmp dword [0x7d2de3b0], 0
je 0x7d24ec31
push 0
call fcn.7d2216ef
xor ecx, ecx
movzx ebx, bl
cmp byte [eax + 0x494], cl
cmovne ebx, ecx
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x44]
push ebp
push dword [0x7d2de3c4]
call sym.SbieDll.dll_SbieDll_QueuePutReq
mov esi, eax
test esi, esi
js 0x7d24ecf3
test bl, bl
je 0x7d24eda0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [0x7d2de35c], 0
mov ebp, eax
je 0x7d24ed96
cmp dword [0x7d2de360], 0
je 0x7d24ed96
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [eax]
call edi
sub eax, ebp
cmp eax, 0x2710
ja 0x7d24ed8c
push 0x40
push 0x2710
push 0
lea eax, [esp + 0x54]
push eax
push 1
call fcn.7d221735
mov esi, eax
cmp esi, 1
jne 0x7d24ed70
push 0
push dword [esp + 0x4c]
call ebx
test eax, eax
je 0x7d24ece0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [0x7d2de360]
jmp 0x7d24ec90
xor esi, esi
mov ebp, dword [esp + 0x3c]
pop edi
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x7d24ed38
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
push dword [0x7d2de3c4]
call sym.SbieDll.dll_SbieDll_QueueGetRpl
mov esi, eax
test esi, esi
js 0x7d24ed38
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ecx, 4
jb 0x7d24ed27
mov esi, dword [eax]
test esi, esi
jne 0x7d24ed32
cmp ecx, dword [esp + 0x40]
jae 0x7d24ed67
mov esi, 0xc0000004
push eax
call fcn.7d221537
push esi
push dword [0x7d2b7310]
push dword [ebp]
push dword [0x7d2de3c4]
push str._S__MsgId:__d____S___08X_
push 0x89b
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x18
push 0x53d
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
cmp esi, 0xffffffff
jne 0x7d24ece2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or esi, 0xff000000
jmp 0x7d24ece2
mov esi, 0x102
jmp 0x7d24ece2
mov esi, 0xc0000139
jmp 0x7d24ece2
push 0x2710
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov ecx, 0x102
cmovne esi, ecx
jmp 0x7d24ece7
Function at 0x7d221d7a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x7d275000
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
xor eax, eax
push ebp
mov ebp, dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
test esi, esi
js 0x7d275058
push 0x40
push 0x3000
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
test eax, eax
jns 0x7d27504d
xor eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jmp 0x7d275051
mov eax, dword [esp + 0x10]
dec esi
test eax, eax
je 0x7d275024
jmp 0x7d27505c
test eax, eax
je 0x7d2750c3
mov esi, dword [0x7d2de7f8]
lea ecx, [esp + 0x20]
push ecx
push esi
push dword [0x7d2de7ec]
mov dword [esp + 0x2c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x7d2750c3
cmp esi, dword [esp + 0x20]
jne 0x7d2750c3
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
push dword [0x7d2de800]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x7d2750c3
cmp esi, dword [esp + 0x20]
jne 0x7d2750c3
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x7d221d8e
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x7d2423c0
sub esp, 0x224
lea eax, [esp + 0x1c]
push 0x208
push 0
push eax
call sub.ntdll.dll_memset
mov ecx, dword [0x7d2b7324]
lea edx, [esp + 0x28]
add esp, 0xc
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x7d2423f0
push ebp
push esi
push edi
lea edi, [esp + 0x28]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x7d242410
mov eax, dword [0x7d2991ac]
mov edx, dword [esp + 0x238]
mov esi, edx
mov dword [edi], eax
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7d242430
lea edi, [esp + 0x28]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d242444
mov ecx, edx
lea eax, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call sym.SbieDll.dll_SbieDll_TranslateNtToDosPath
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
lea eax, [esp + 0x28]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call esi
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, 0xffffffff
jne 0x7d2424c1
push 0
push 0x80
push 2
push 0
push 1
push 4
lea eax, [esp + 0x40]
push eax
call esi
cmp eax, ebp
je 0x7d2424b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x224
ret 8
push ebx
push dword [esp + 0x238]
call fcn.7d221749
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x24]
sub eax, 0xffffff80
push eax
call fcn.7d2217b2
mov ebx, eax
lea eax, [esp + 0x14]
push 0
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
xor eax, eax
shr ecx, 1
mov esi, ebx
mov word [ebx + ecx*2], ax
cmp word [ebx], ax
je 0x7d2425d5
push 0xa
push esi
mov edi, esi
call sub.ntdll.dll_wcschr
add esp, 8
test eax, eax
jne 0x7d242536
push eax
push esi
call sub.ntdll.dll_wcschr
add esp, 8
mov esi, eax
jmp 0x7d242539
lea esi, [eax + 2]
sub eax, edi
sar eax, 1
cmp eax, 1
jle 0x7d24254b
cmp word [edi + eax*2 - 2], 0xd
jne 0x7d24254b
dec eax
lea ebp, [edi + eax*2]
movzx eax, word [ebp]
mov dword [esp + 0x18], eax
xor eax, eax
push 0x7c
push edi
mov word [ebp], ax
call sub.ntdll.dll_wcschr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x7d2425c3
cmp ebx, esi
ja 0x7d2425c3
xor eax, eax
mov word [ebx], ax
lea eax, [esp + 0x10]
push 0x10
push eax
lea eax, [ebx + 2]
push eax
call sub.ntdll.dll_wcstoul
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ecx, ecx
je 0x7d24259c
cmp word [ecx], 0x7c
jne 0x7d24259c
add ecx, 2
jmp 0x7d24259e
xor ecx, ecx
push ecx
push 0
push eax
push edi
push dword [esp + 0x248]
mov dword [esp + 0x24], ecx
call fcn.7d221cf8
mov eax, 0x7c
mov word [ebx], ax
mov eax, dword [esp + 0x18]
mov word [ebp], ax
cmp word [esi], 0
jne 0x7d242517
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
push ebx
call fcn.7d221537
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x224
ret 8
Function at 0x7d221e1f
Capabilities:
Terminate process

Disassembly:
jmp 0x7d234580
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp esi, 3
jb 0x7d2345a8
mov eax, dword [edi + 0x440]
lea ecx, [edi + eax*4]
mov eax, dword [ecx + 0x400]
lea esi, [eax + 3]
inc eax
mov dword [ecx + 0x400], eax
cmp esi, 4
jb 0x7d2345c0
push esi
push 0x7d29b30c
push 0x906
call sym.SbieDll.dll_SbieApi_Log
add esp, 0xc
cmp esi, 8
jb 0x7d2345cd
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [edi + 0x440]
mov eax, esi
shl eax, 4
add eax, ecx
push ebx
lea ebx, [edi + eax*4]
lea eax, [esi + 8]
shl eax, 4
add eax, ecx
lea ecx, [edi + eax*4]
mov eax, dword [esp + 0x18]
mov edi, dword [ecx]
add eax, 0x103f
and eax, 0xfffff000
cmp eax, edi
jbe 0x7d234623
mov esi, dword [ebx]
push eax
mov dword [ecx], eax
call fcn.7d2217b2
mov dword [ebx], eax
test esi, esi
je 0x7d234623
push edi
push esi
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
lea ecx, [esi - 4]
push dword [ecx]
push ecx
call fcn.7d221451
mov eax, dword [ebx]
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x7d221e29
Capabilities:
Terminate process

Disassembly:
jmp 0x7d232990
sub esp, 0x14
push ebx
push ebp
push esi
push edi
call fcn.7d2210cd
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x7d232baf
mov esi, dword [esp + 0x34]
test esi, esi
je 0x7d2329c8
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x7d2329b7
sub edi, ecx
sar edi, 1
jmp 0x7d2329ca
xor edi, edi
lea eax, [edi + edi]
mov dword [esp + 0x20], eax
add eax, 2
push eax
push ebx
call fcn.7d2214d3
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x7d232baf
lea eax, [edi + edi]
push eax
push esi
push ebp
call sub.ntdll.dll_memcpy
add esp, 0xc
lea eax, [edi + edi]
xor ecx, ecx
mov word [eax + ebp], cx
mov ecx, dword [0x7d2b7310]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d232a10
sub ecx, edx
sar ecx, 1
lea esi, [ecx*2 + 2]
push esi
push ebx
call fcn.7d2214d3
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x7d232baf
push esi
push dword [0x7d2b7310]
push ebp
call sub.ntdll.dll_memcpy
push ebp
call sub.ntdll.dll__wcslwr
add esp, 0x10
lea ecx, [ebp + 2]
mov ax, word [ebp]
add ebp, 2
test ax, ax
jne 0x7d232a54
push 0x800
sub ebp, ecx
push ebx
sar ebp, 1
call fcn.7d2214d3
mov esi, eax
test esi, esi
je 0x7d232baf
xor ebx, ebx
nop dword [eax + eax]
push 0x7f8
push esi
mov eax, ebx
or eax, 0x20000000
push eax
push dword [esp + 0x34]
push 0
call sym.SbieDll.dll_SbieApi_QueryConf
test eax, eax
js 0x7d232b82
push 0x2c
inc ebx
push esi
mov dword [esp + 0x24], ebx
call sub.ntdll.dll_wcschr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x7d232b26
xor eax, eax
mov word [ebx], ax
cmp word [esi], 0x2f
jne 0x7d232ad9
cmp word [esi + 2], 0x2f
jne 0x7d232ad9
mov eax, dword [0x7d2b7348]
and eax, 0x20
or eax, 0
lea eax, [esi + 4]
jne 0x7d232adb
mov eax, esi
push 0
push 1
push eax
push dword [esp + 0x1c]
call fcn.7d221b4f
push ebp
push dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
push eax
call fcn.7d2217d0
push dword [esp + 0x34]
test al, al
jne 0x7d232b0e
call fcn.7d22186b
mov ebx, dword [esp + 0x1c]
jmp 0x7d232a80
call fcn.7d22186b
test edi, edi
je 0x7d232b21
mov eax, 0x2c
mov word [ebx], ax
jmp 0x7d232b28
add ebx, 2
jmp 0x7d232b28
mov ebx, esi
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x7d232b30
sub esi, ecx
sar esi, 1
lea eax, [esi + edi]
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x14]
call fcn.7d2214d3
mov edi, eax
test edi, edi
je 0x7d232baf
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ebp
push eax
push edi
call sub.ntdll.dll_memcpy
lea ecx, [esi*2 + 2]
push ecx
lea eax, [edi + ebp]
push ebx
push eax
call sub.ntdll.dll_memcpy
add esp, 0x18
mov eax, edi
jmp 0x7d232b86
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x34]
shr eax, 1
push eax
push dword [esp + 0x34]
call sub.ntdll.dll_wcscpy_s
add esp, 0xc
push dword [esp + 0x10]
call fcn.7d22166d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
push 0
push 0x901
call sym.SbieDll.dll_SbieApi_Log
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x7d231d50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x234
mov eax, 0x100
push ebx
xor ebx, ebx
cmp byte [0x7d2b7350], bl
cmovne ebx, eax
mov al, byte [esp + 0x23c]
test al, al
jne 0x7d231ede
movups xmm0, xmmword [str._registryuser_]
mov edx, dword [0x7d2b7314]
push esi
movups xmmword [esp + 0x3c], xmm0
mov esi, edx
movups xmm0, xmmword [0x7d299c60]
movups xmmword [esp + 0x4c], xmm0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7d231d97
push edi
lea edi, [esp + 0x40]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d231db0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d231dd1
lea eax, [esp + 0x40]
mov ecx, 0xd
push eax
mov esi, str._softwareSandboxAutoExec
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push eax
call esi
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x2c], eax
or ebx, 0xf003f
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0
push eax
push ebx
push 0x7d2b706c
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.7d2211a4
pop edi
cmp eax, 0xc000000a
jne 0x7d231e50
mov byte [esp + 0x1c], 0
jmp 0x7d231ebf
test eax, eax
js 0x7d231e91
push 0x7d2990cc
lea eax, [esp + 0xc]
push eax
call esi
lea eax, [esp + 0x38]
push eax
push 0x10
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x18]
push eax
push dword [0x7d2b706c]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
cmp eax, 0xc0000034
jne 0x7d231e8d
mov byte [esp + 0x1c], 0
jmp 0x7d231ebf
test eax, eax
jns 0x7d231ebf
push eax
push 0xfffffffffffffffe
push str._d___08X_
lea eax, [esp + 0x48]
mov byte [esp + 0x28], 0
push 0x100
push eax
call sym.SbieDll.dll_Sbie_snwprintf
lea eax, [esp + 0x50]
push eax
push 0x89e
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x1c
cmp byte [0x7d2de6a0], 0
pop esi
je 0x7d231f44
cmp byte [0x7d2de6a1], 0
jne 0x7d231f44
xor al, al
pop ebx
add esp, 0x234
ret 4
cmp dword [0x7d2b706c], 0
je 0x7d231f44
mov byte [esp + 0x18], al
lea eax, [esp + 4]
push 0x7d2990cc
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 1
lea eax, [esp + 0x1c]
push eax
push 3
push 0
lea eax, [esp + 0x14]
push eax
push dword [0x7d2b706c]
call dword [sym.imp.ntdll.dll_NtSetValueKey]
test eax, eax
jns 0x7d231f44
push eax
push 0xfffffffffffffffd
push str._d___08X_
lea eax, [esp + 0x44]
push 0x100
push eax
call sym.SbieDll.dll_Sbie_snwprintf
lea eax, [esp + 0x4c]
push eax
push 0x89e
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x1c
mov al, byte [esp + 0x18]
pop ebx
add esp, 0x234
ret 4
Function at 0x7d233f3e
Capabilities:
Terminate process

Disassembly:
jmp 0x7d233df0
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [esp + 0x118]
lea eax, [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebp]
push eax
push 0x20
push 0xf0
push esi
mov dword [0x7d2b7364], esi
call edi
mov eax, dword [esi + 0x20]
mov ebx, eax
and al, 1
shr ebx, 0x10
mov byte [0x7d2b7350], al
and bl, 1
mov eax, dword [esi + 0x10]
mov dword [0x7d2b6958], eax
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x28]
mov byte [esp + 0x20], bl
push 5
push dword [ebp + 0x20]
call edi
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push 0x8000
push 0
push ebp
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test bl, bl
jne 0x7d233f55
call fcn.7d2338a0
cmp dword [0x7d2b7358], 1
je 0x7d233ea3
push str.SboxSession
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x7d233e9f
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x7d2b7348]
mov eax, ecx
and eax, 0x8000000
or eax, 0
je 0x7d233ece
push 0
push str.NoRestartOnPAC
push 0
call sym.SbieDll.dll_SbieApi_QueryConfBool
test al, al
jne 0x7d233f2c
mov eax, 1
jmp 0x7d233f03
and ecx, 2
or ecx, 0
je 0x7d233f2c
push 0
push str.ForceRestartAll
push 0
call sym.SbieDll.dll_SbieApi_QueryConfBool
test al, al
jne 0x7d233efe
push str.ForceRestart
push 0
push dword [0x7d2b7310]
call sym.SbieDll.dll__SbieDll_CheckStringInList_12
test al, al
je 0x7d233f2c
mov eax, 2
push eax
push str.Cleanly_restarting_forced_process__reason__d
lea eax, [esp + 0x24]
push 0x80
push eax
call sym.SbieDll.dll_Sbie_snwprintf
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
push 0xc
call sym.SbieDll.dll__SbieApi_MonitorPutMsg_8
call fcn.7d221dc0
cmp dword [0x7d2b7358], 0xa
jne 0x7d233f5e
call sym.SbieDll.dll_SbieDll_IsOpenCOM
test al, al
je 0x7d233f5e
push 0
push 0x893
call sym.SbieDll.dll_SbieApi_Log
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esp + 0x18]
call fcn.7d2217c1
push dword [esp + 0x130]
push dword [esp + 0x130]
push dword [esp + 0x130]
push dword [esp + 0x130]
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0x14
Function at 0x7d239740
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0x20], 0x18
push ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x40
mov dword [esp + 0x2c], eax
lea edx, [ecx + 2]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d239780
push 0
push 0
sub ecx, edx
mov dword [esp + 0x20], ebx
push 0x21
sar ecx, 1
push 1
push 7
push 0
lea ebp, [ecx + ecx]
movzx eax, bp
mov word [esp + 0x2c], ax
add eax, 2
mov word [esp + 0x2e], ax
lea eax, [esp + 0x34]
push 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x30], ebp
push eax
push 0x120089
lea eax, [esp + 0x34]
push eax
call dword [0x7d2dda40]
test eax, eax
js 0x7d23985a
push esi
push 0x2a0
call fcn.7d2217b2
mov ebx, dword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
mov esi, eax
mov byte [esp + 0xc], 1
push edi
push dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0
push 1
push 1
push 0x2a0
push esi
push eax
push 0
push 0
push 0
push dword [esp + 0x3c]
call ebx
mov edi, eax
mov byte [esp + 0x10], 0
test edi, edi
js 0x7d239862
mov eax, dword [esi + 0x3c]
cmp eax, 2
jne 0x7d23982e
cmp word [esi + 0x40], 0x2e
jmp 0x7d23983f
cmp eax, 4
jne 0x7d239841
cmp word [esi + 0x40], 0x2e
jne 0x7d239841
cmp word [esi + 0x42], 0x2e
je 0x7d2397f3
mov edi, 0xc0000101
push esi
call fcn.7d221537
push dword [esp + 0x14]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
cmp edi, 0x80000006
je 0x7d239872
cmp edi, 0xc000000f
jne 0x7d239846
xor edi, edi
cmp byte [esp + 0x4c], 0
jne 0x7d239846
mov byte [esp + 0x10], 1
push dword [esp + 0x10]
lea eax, [esp + 0x28]
push 0
push 1
push 1
push 0x2a0
push esi
push eax
push 0
push 0
push 0
push dword [esp + 0x3c]
call dword [0x7d2dda48]
mov ebx, eax
mov byte [esp + 0x10], 0
test ebx, ebx
js 0x7d239970
mov eax, dword [esi + 0x3c]
cmp eax, 2
jne 0x7d2398c8
cmp word [esi + 0x40], 0x2e
jne 0x7d2398df
jmp 0x7d239968
cmp eax, 4
jne 0x7d2398df
cmp word [esi + 0x40], 0x2e
jne 0x7d2398df
cmp word [esi + 0x42], 0x2e
je 0x7d239968
add eax, 4
lea ebx, [esi + 0x40]
add ebp, eax
push ebp
call fcn.7d221505
push dword [esp + 0x18]
mov edi, eax
push dword [esp + 0x4c]
mov dword [esp + 0x54], edi
push edi
call sub.ntdll.dll_memcpy
mov ecx, dword [esp + 0x24]
mov eax, 0x5c
shr ecx, 1
lea edi, [edi + ecx*2]
mov word [edi], ax
add edi, 2
push dword [esi + 0x3c]
push ebx
push edi
call sub.ntdll.dll_memcpy
mov eax, dword [esi + 0x3c]
xor ecx, ecx
shr eax, 1
add esp, 0x18
mov word [edi + eax*2], cx
mov edi, dword [esp + 0x4c]
movzx ecx, bp
mov word [esp + 0x1e], cx
mov dword [esp + 0x20], edi
lea eax, [ecx - 2]
mov word [esp + 0x1c], ax
lea eax, [esp + 0x2c]
push eax
call dword [0x7d2dda70]
push edi
mov ebx, eax
call fcn.7d221537
mov ebp, dword [esp + 0x18]
cmp ebx, 0xc0000034
je 0x7d239880
test ebx, ebx
jns 0x7d239880
push esi
call fcn.7d221537
push dword [esp + 0x14]
call dword [sym.imp.ntdll.dll_NtClose]
cmp ebx, 0x80000006
je 0x7d239990
cmp ebx, 0xc000000f
jne 0x7d239992
xor ebx, ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x34
ret 8