joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d241050
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
shr edi, 1
sub edi, 8
push edi
push esi
push dword [0x7d2b6294]
movups xmmword [esi], xmm0
call ebx
cmp word [esi], 0
je 0x7d2410c0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d241081
sub ecx, edx
sar ecx, 1
mov dword [0x7d2ddabc], ecx
lea eax, [ecx*2 + 2]
push eax
call fcn.7d2217b2
mov dword [0x7d2ddab8], eax
mov edx, esi
sub eax, esi
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x7d2410b0
push edi
push esi
push dword [0x7d2b6298]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
call ebx
cmp word [esi], 0
je 0x7d241120
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d2410e0
sub ecx, edx
sar ecx, 1
mov dword [0x7d2ddac4], ecx
lea eax, [ecx*2 + 2]
push eax
call fcn.7d2217b2
mov dword [0x7d2ddac0], eax
mov edx, esi
sub eax, esi
nop dword [eax + eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x7d241110
push edi
push esi
push dword [0x7d2b629c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
call ebx
cmp word [esi], 0
je 0x7d241180
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d241140
sub ecx, edx
sar ecx, 1
mov dword [0x7d2ddacc], ecx
lea eax, [ecx*2 + 2]
push eax
call fcn.7d2217b2
mov dword [0x7d2ddac8], eax
mov edx, esi
sub eax, esi
nop dword [eax + eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x7d241170
push edi
push esi
push dword [0x7d2b62a0]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
call ebx
cmp word [esi], 0
je 0x7d2411a5
xor eax, eax
push esi
mov word [esi + 0xbe], ax
call fcn.7d2218a7
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
push dword [0x7d2b6294]
call esi
push 0
push dword [0x7d2b6298]
call esi
push 0
push dword [0x7d2b629c]
call esi
push 0
push dword [0x7d2b62a0]
call esi
cmp dword [0x7d2ddabc], 0
pop edi
pop esi
pop ebx
je 0x7d2411ed
cmp dword [0x7d2ddac4], 0
je 0x7d2411ed
mov al, 1
ret 8
xor al, al
ret 8
Function at 0x7d241940
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push edi
push ecx
mov edi, eax
add eax, 0xfffffff0
push eax
push ebp
push 2
push dword [esp + 0x24]
shr edi, 1
push dword [esp + 0x24]
sub edi, 8
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov ebx, eax
test ebx, ebx
js 0x7d2419d0
mov ecx, dword [ebp + 8]
shr ecx, 1
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [ecx*2 + 2]
push ecx
call fcn.7d221505
mov ecx, dword [esp + 0x20]
mov esi, eax
add ecx, ecx
push ecx
lea ecx, [ebp + 0xc]
push ecx
push esi
call sub.ntdll.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
xor ecx, ecx
push edi
push ebp
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
mov dword [esp + 0x24], eax
call fcn.7d221537
mov eax, dword [esp + 0x20]
pop esi
test eax, eax
je 0x7d2419cb
cmp eax, edi
mov eax, ebx
jb 0x7d2419d0
mov eax, 0xc0000106
pop edi
pop ebp
pop ebx
ret 0x10

Function at 0x7d2422f0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.SBIE_VFS_Mutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x7d242347
push str.SBIE_VFS_Mutex
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x7d242347
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.FilePaths.dat
push 0x7d2ddaf0
call fcn.7d221d8e
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop esi
ret
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.FilePaths.dat
push 0x7d2ddaf0
call fcn.7d221d8e
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
Function at 0x7d242790
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
push 0
call fcn.7d2216ef
push dword [esp + 0x6c]
mov ebx, eax
mov dword [esp + 0x2c], 0x18
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0
push 0
push 0x21
push 1
push 7
push 0
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
push 0x120089
lea eax, [esp + 0x2c]
push eax
call dword [0x7d2dda40]
test eax, eax
js 0x7d242978
push ebp
push esi
push edi
push 0x2a0
call fcn.7d2217b2
mov ebp, dword [sym.imp.ntdll.dll_NtClose]
mov edi, eax
mov byte [esp + 0x78], 1
push dword [esp + 0x78]
lea eax, [esp + 0x30]
push 0
push 1
push 1
push 0x2a0
push edi
push eax
push 0
push 0
push 0
push dword [esp + 0x38]
call dword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
mov esi, eax
mov byte [esp + 0x78], 0
test esi, esi
js 0x7d242967
mov eax, dword [edi + 0x3c]
cmp eax, 2
jne 0x7d242865
cmp word [edi + 0x40], 0x2e
jmp 0x7d242876
cmp eax, 4
jne 0x7d242878
cmp word [edi + 0x40], 0x2e
jne 0x7d242878
cmp word [edi + 0x42], 0x2e
je 0x7d242822
push ebx
lea esi, [edi + 0x40]
call fcn.7d221a5a
mov ax, word [edi + 0x3c]
mov word [esp + 0x24], ax
mov word [esp + 0x26], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
call sym.SbieDll.dll__File_GetName_20
test eax, eax
js 0x7d2428c8
push 1
push 1
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x28]
call fcn.7d242c60
jmp 0x7d2428cd
mov eax, 0x20
test eax, eax
jne 0x7d24295c
push dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0
push 0
push 0x60
push 0
push 7
push 0
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push 0x120116
lea eax, [esp + 0x3c]
push eax
call dword [0x7d2dda40]
test eax, eax
js 0x7d24295c
push 4
push 0x28
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0x1b01234
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x58], 0xdead44a0
xorps xmm0, xmm0
push eax
push dword [esp + 0x24]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
call dword [0x7d2dda6c]
push dword [esp + 0x14]
call ebp
push ebx
call fcn.7d2217a3
jmp 0x7d242822
push edi
call fcn.7d221537
push dword [esp + 0x10]
call ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 4
Function at 0x7d242b30
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push esi
push str.SBIE_VFS_Mutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x7d242b5d
push str.SBIE_VFS_Mutex
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x7d242b69
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [esp + 0x18]
push 0x7d2ddaf0
call fcn.7d2218de
mov edi, eax
test edi, edi
je 0x7d242bd9
cmp dword [edi + 0x14], 1
jne 0x7d242bb3
cmp dword [edi + 0x10], 0
jne 0x7d242bb3
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x7d242bfe
push edi
push dword [esp + 0xc]
call fcn.7d22193d
lea eax, [edi + 8]
push eax
call fcn.7d221749
mov eax, dword [edi + 0x18]
test eax, eax
je 0x7d242bd3
push eax
call fcn.7d221537
push edi
call fcn.7d221537
push 0
push 0
push 1
push dword [esp + 0x1c]
push 0x7d2ddaf0
call fcn.7d221cf8
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.7d24ad20
pop edi
test esi, esi
je 0x7d242c11
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x7d24b930
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0xc
push ebx
push str.SBIE_VFS_Mutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ebx, eax
mov dword [esp + 4], eax
test ebx, ebx
jne 0x7d24b967
push str.SBIE_VFS_Mutex
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [esp + 4], ebx
test ebx, ebx
je 0x7d24b973
push 0x1388
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebp
push esi
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push 0
push eax
push esi
push 0x7d2ddaf0
call fcn.7d2218de
mov ebp, eax
mov byte [esp + 0x1c], 0
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x7d24b9c1
mov eax, dword [ebp + 0x14]
test al, 2
je 0x7d24b9c1
and eax, 0xfffffffd
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x7d24b9c1
mov byte [esp + 0x1c], 1
mov esi, eax
push edi
push 0
push 0
push 1
push esi
push 0x7d2ddaf0
call fcn.7d221cf8
push 1
push 0
push dword [esp + 0x2c]
push 0x7d2ddaf0
call fcn.7d2218de
cmp byte [esp + 0x20], 0
mov edi, eax
mov dword [esp + 0x14], edi
jne 0x7d24ba15
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push esi
push 0x7d2ddaf0
call fcn.7d221163
mov eax, dword [esp + 0x24]
test eax, eax
cmovne esi, eax
or dword [edi + 0x14], 2
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d24ba20
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
call fcn.7d2217b2
mov dword [edi + 0x18], eax
nop
movzx ecx, word [esi]
lea esi, [esi + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x7d24ba40
test ebp, ebp
je 0x7d24ba94
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
mov dword [esp + 0x24], eax
test edi, edi
je 0x7d24ba94
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
add eax, 8
mov dword [esp + 0x14], eax
mov ebx, eax
mov esi, dword [edi]
push edi
push ebp
call fcn.7d22193d
push edi
push 0
push ebx
call fcn.7d221997
mov edi, esi
test esi, esi
jne 0x7d24ba74
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
cmp byte [esp + 0x20], 0
pop edi
je 0x7d24baab
push dword [ebp + 0x18]
call fcn.7d221537
mov dword [ebp + 0x18], 0
push dword [0x7d2ddafc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.7d24ad20
pop esi
pop ebp
test ebx, ebx
je 0x7d24bad0
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
add esp, 0xc
ret 8
Function at 0x7d25fea0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, 0x40
cmp bl, 0xff
mov dword [esp + 4], 0
mov eax, 4
mov dword [esp + 8], 0x10000
cmove eax, ecx
push eax
push 0x103000
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov eax, dword [esp + 4]
test eax, eax
je 0x7d25ff3f
mov edx, dword [esp + 0x10]
mov ecx, 0x1fe
mov dword [eax + 0x10], ebx
mov dword [eax + 8], 0
mov word [eax + 0x14], cx
test edx, edx
je 0x7d25ff3f
push esi
push edi
lea esi, [edx + 0x44]
mov ecx, 0x20
lea edi, [eax + 0x80]
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [edx + 0x20]
inc dword [edx + 0x28]
mov dword [edx + 0x20], eax
mov dword [eax + 4], 0
mov dword [eax], ecx
pop edi
pop esi
test ecx, ecx
jne 0x7d25ff3c
mov dword [edx + 0x24], eax
pop ebx
add esp, 8
ret 8
mov dword [ecx + 4], eax
pop ebx
add esp, 8
ret 8
Function at 0x7d26d640
Capabilities:
Change registry key timestamp

Disassembly:
sub esp, 0x30
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 8
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetInformationKey]
cmp eax, 0xc0000022
jne 0x7d26d6ed
push 0x7d2990cc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x40]
mov dword [esp + 0x28], esi
push eax
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
js 0x7d26d6ed
push 8
lea eax, [esp + 8]
push eax
push 0
push dword [esp + 0x44]
call dword [sym.imp.ntdll.dll_NtSetInformationKey]
push dword [esp + 0x38]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
pop esi
add esp, 0x30
ret 4
Function at 0x7d273770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push edi
mov edi, dword [esp + 0x20]
xor ebp, ebp
mov ebx, edi
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x7d273781
sub ebx, ecx
push 0x7d2de79c
sar ebx, 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x7d2de7b4]
mov dword [esp + 0x18], edx
test edx, edx
je 0x7d273936
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp dword [edx], ecx
jbe 0x7d273936
lea ebp, [edx + 4]
mov dword [esp + 0x10], ebp
push esi
movzx eax, word [ebp + 0x1a]
xor esi, esi
add eax, 0x1c
add eax, ebp
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x7d273817
mov ebp, eax
nop dword [eax + eax]
movzx eax, word [edi + esi*2]
push eax
call sub.ntdll.dll_towlower
movzx edi, ax
movzx eax, byte [esi + ebp]
push eax
call sub.ntdll.dll_tolower
add esp, 8
cmp eax, edi
jne 0x7d273807
mov edi, dword [esp + 0x24]
inc esi
cmp esi, ebx
jb 0x7d2737e0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp esi, ebx
je 0x7d273833
inc ecx
add ebp, 0x11c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
cmp ecx, dword [edx]
jb 0x7d2737c3
jmp 0x7d273933
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
xor ebp, ebp
mov dword [esp + 0x24], esi
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x7d273843
sub ebx, ecx
mov ecx, dword [esi + 0x3c]
add ecx, esi
sar ebx, 1
mov dword [esp + 0x10], ecx
cmp dword [ecx + 0x74], ebp
je 0x7d273935
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x7d273935
cmp dword [ecx + 0x7c], ebp
je 0x7d273935
lea edx, [eax + esi]
xor ecx, ecx
mov eax, dword [edx + 0x20]
add eax, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dword [edx + 0x18], ecx
jbe 0x7d273935
mov ebp, dword [eax + ecx*4]
xor edi, edi
add ebp, esi
test ebx, ebx
je 0x7d2738d5
mov eax, dword [esp + 0x28]
movzx eax, word [eax + edi*2]
push eax
call sub.ntdll.dll_towlower
movzx esi, ax
movzx eax, byte [edi + ebp]
push eax
call sub.ntdll.dll_tolower
add esp, 8
cmp eax, esi
jne 0x7d2738c9
inc edi
cmp edi, ebx
jb 0x7d2738a2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
cmp edi, ebx
jne 0x7d2738e8
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx esi, word [eax + esi]
cmp esi, dword [edx + 0x14]
jb 0x7d2738fc
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [edx + 0x18]
jae 0x7d273933
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
jmp 0x7d273897
mov eax, dword [edx + 0x1c]
mov ecx, esi
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
mov ebp, dword [eax + ecx]
add ebp, ecx
je 0x7d273935
cmp ebp, edx
jb 0x7d273935
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x7c]
add eax, edx
cmp ebp, eax
jae 0x7d273935
push ebp
push str.EXPORT__s
push 0x89d
call sym.SbieDll.dll_SbieApi_Log
add esp, 0xc
xor ebp, ebp
pop esi
push 0x7d2de79c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x7d2739d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push edi
xor ebp, ebp
lea ecx, [ebx + 2]
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x7d2739e0
mov edi, dword [esp + 0x20]
sub ebx, ecx
sar ebx, 1
mov ecx, dword [edi + 0x3c]
add ecx, edi
mov dword [esp + 0x18], ecx
cmp dword [ecx + 0x74], ebp
je 0x7d273adc
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x7d273adc
cmp dword [ecx + 0x7c], ebp
je 0x7d273adc
lea edx, [eax + edi]
xor ecx, ecx
mov eax, dword [edx + 0x20]
add eax, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
cmp dword [edx + 0x18], ecx
jbe 0x7d273adc
push esi
nop dword [eax]
mov ebp, dword [eax + ecx*4]
xor esi, esi
add ebp, edi
test ebx, ebx
je 0x7d273a83
nop dword [eax + eax]
mov eax, dword [esp + 0x28]
movzx eax, word [eax + esi*2]
push eax
call sub.ntdll.dll_towlower
movzx edi, ax
movzx eax, byte [esi + ebp]
push eax
call sub.ntdll.dll_tolower
add esp, 8
cmp eax, edi
jne 0x7d273a77
inc esi
cmp esi, ebx
jb 0x7d273a50
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
cmp esi, ebx
jne 0x7d273a96
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx esi, word [eax + edi]
cmp esi, dword [edx + 0x14]
jb 0x7d273aa6
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [edx + 0x18]
jae 0x7d273ad9
mov eax, dword [esp + 0x18]
jmp 0x7d273a40
mov eax, dword [edx + 0x1c]
mov ecx, esi
lea eax, [eax + ecx*4]
mov ebp, dword [eax + edi]
add ebp, edi
je 0x7d273adb
cmp ebp, edx
jb 0x7d273adb
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x7c]
add eax, edx
cmp ebp, eax
jae 0x7d273adb
push ebp
push str.EXPORT__s
push 0x89d
call sym.SbieDll.dll_SbieApi_Log
add esp, 0xc
xor ebp, ebp
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x7d27c520
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push ebx
mov dword [ebp - 4], eax
xor ebx, ebx
push edi
movzx eax, word [eax]
or edi, 0xffffffff
test ax, ax
je 0x7d27c622
push esi
lea ecx, [ecx]
movzx ecx, ax
mov edx, ecx
shr edx, 1
lea eax, [ecx + ecx]
xor edx, eax
lea eax, [ecx + ecx]
and edx, 0x55555555
xor edx, eax
mov esi, edx
shr esi, 2
lea eax, [edx*4]
xor esi, eax
lea eax, [edx*4]
and esi, 0x33333333
xor esi, eax
mov eax, esi
mov ecx, esi
shr eax, 4
shl ecx, 4
xor eax, ecx
shl esi, 4
and eax, 0xf0f0f0f
xor eax, esi
lea esi, [edi + edi]
bswap eax
mov ecx, eax
xor ecx, edi
jge 0x7d27c59b
xor esi, 0x4c11db7
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x7d27c5ac
xor edx, 0x4c11db7
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x7d27c5bd
xor esi, 0x4c11db7
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x7d27c5ce
xor edx, 0x4c11db7
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x7d27c5df
xor esi, 0x4c11db7
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x7d27c5f0
xor edx, 0x4c11db7
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x7d27c601
xor esi, 0x4c11db7
add eax, eax
lea edi, [esi + esi]
xor eax, esi
jge 0x7d27c610
xor edi, 0x4c11db7
mov eax, dword [ebp - 4]
inc ebx
movzx eax, word [eax + ebx*2]
test ax, ax
jne 0x7d27c540
pop esi
not edi
mov ecx, edi
shr ecx, 1
lea eax, [edi + edi]
xor ecx, eax
lea eax, [edi + edi]
and ecx, 0x55555555
xor ecx, eax
mov edx, ecx
shr edx, 2
pop edi
lea eax, [ecx*4]
xor edx, eax
lea eax, [ecx*4]
and edx, 0x33333333
xor edx, eax
mov eax, edx
mov ecx, edx
shr eax, 4
shl ecx, 4
xor eax, ecx
shl edx, 4
and eax, 0xf0f0f0f
xor eax, edx
bswap eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7d27c680
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
mov ebx, ecx
push edi
or edi, 0xffffffff
mov al, byte [ebx]
test al, al
je 0x7d27c768
push esi
movzx ecx, al
lea esi, [edi + edi]
mov edx, ecx
shr edx, 1
lea eax, [ecx + ecx]
xor edx, eax
lea eax, [ecx + ecx]
and edx, 0x55555555
xor edx, eax
mov ecx, edx
shr ecx, 2
lea eax, [edx*4]
xor ecx, eax
lea eax, [edx*4]
and ecx, 0x33333333
xor ecx, eax
mov eax, ecx
shr ecx, 4
and eax, 0xff0f0f0f
shl eax, 4
or eax, ecx
bswap eax
mov ecx, eax
xor ecx, edi
jge 0x7d27c6e6
xor esi, 0x4c11db7
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x7d27c6f7
xor edx, 0x4c11db7
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x7d27c708
xor esi, 0x4c11db7
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x7d27c719
xor edx, 0x4c11db7
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x7d27c72a
xor esi, 0x4c11db7
add eax, eax
lea edx, [esi + esi]
mov ecx, eax
xor ecx, esi
jge 0x7d27c73b
xor edx, 0x4c11db7
add eax, eax
lea esi, [edx + edx]
mov ecx, eax
xor ecx, edx
jge 0x7d27c74c
xor esi, 0x4c11db7
add eax, eax
lea edi, [esi + esi]
xor eax, esi
jge 0x7d27c75b
xor edi, 0x4c11db7
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x7d27c692
pop esi
not edi
mov ecx, edi
shr ecx, 1
lea eax, [edi + edi]
xor ecx, eax
lea eax, [edi + edi]
and ecx, 0x55555555
xor ecx, eax
mov edx, ecx
shr edx, 2
pop edi
lea eax, [ecx*4]
xor edx, eax
lea eax, [ecx*4]
and edx, 0x33333333
xor edx, eax
mov eax, edx
mov ecx, edx
shr eax, 4
shl ecx, 4
xor eax, ecx
shl edx, 4
and eax, 0xf0f0f0f
xor eax, edx
bswap eax
pop ebx
ret

Function at 0x7d27c7c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x7d27c830
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550

Function at 0x7d27c860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov edx, ecx
xor ecx, ecx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
push eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
pop eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [eax]
mov dword [ebp - 8], ebx
cmp ebx, eax
je 0x7d27c91d

Function at 0x7d2807e0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.SBIE_ServiceManager_Mutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x7d28080c
push str.SBIE_ServiceManager_Mutex
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x7d280818
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.SbieSvc
call fcn.7d281bd0
mov eax, esi
pop esi
ret