joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d711880
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
push edi
mov dword [ebp - 0xc], 0x474
mov eax, dword [ebp - 0xc]
push eax
push 0
call sym.kernel32.dll_LocalAlloc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7d7118b9
push 0x5aa
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d711a67
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0xb
call dword [sym.imp.ntext.dll_NtQuerySystemInformation]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x7d7119ce
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
push eax
call sym.kernel32.dll_LocalFree
cmp dword [ebp - 0x14], 0xc0000004
je 0x7d71190b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d711a67
cmp dword [ebp - 0xc], 0x120
jae 0x7d711931
push 0
push 0x5b
push 0x7d729e08
push str.Size___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x20], 0
jmp 0x7d711938
mov dword [ebp - 0x20], 1
mov edx, dword [ebp - 8]
imul edx, edx, 0x11c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x120
jae 0x7d711973
push 0
push 0x5e
push 0x7d729e08
push str.NewSize___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x18], 0
jmp 0x7d71197a
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
jae 0x7d7119c6
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
ja 0x7d7119a7
push 0
push 0x62
push 0x7d729e08
push str.NewSize___Size
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x1c], 0
jmp 0x7d7119ae
mov dword [ebp - 0x1c], 1
push 0xc0000004
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d711a67
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x7d711a48
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
jne 0x7d7119d8
jmp 0x7d711a55
mov dword [ebp - 0x10], 0
jmp 0x7d7119ea
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jae 0x7d711a46
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x11c
mov eax, dword [ebp - 4]
lea esi, [eax + edx + 4]
mov ecx, 0x47
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [ebp + 8]
jne 0x7d711a44
push 0x11c
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.ntext.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call sym.kernel32.dll_LocalFree
mov eax, 1
jmp 0x7d711a67
jmp 0x7d7119e1
jmp 0x7d711a55
mov edx, 1
test edx, edx
jne 0x7d711894
mov eax, dword [ebp - 4]
push eax
call sym.kernel32.dll_LocalFree
push 6
call sub.kernel32.dll_SetLastError
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x7d711e50
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.GetMappedFileNameA__p___p___p___lu__n
call sub.ntext.dll_DbgPrint
add esp, 0x14
mov ecx, dword [ebp + 0x14]
shl ecx, 1
push ecx
push 0
call sym.kernel32.dll_LocalAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d711e8f
xor eax, eax
jmp 0x7d711ef4
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernel32.dll_K32GetMappedFileNameW
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x14]
jae 0x7d711eba
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x7d711ec0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
push 0
call sym.kernel32.dll_WideCharToMultiByte
test eax, eax
jne 0x7d711ee8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
call sym.kernel32.dll_LocalFree
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x7d711f00
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.GetMappedFileNameW__p___p___p___lu__n
call sub.ntext.dll_DbgPrint
add esp, 0x14
cmp dword [ebp + 0x14], 0
jne 0x7d711f3c
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d711fdd
lea ecx, [ebp - 4]
push ecx
push 0x210
lea edx, [ebp - 0x21c]
push edx
push 2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntext.dll_NtQueryVirtualMemory]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x7d711f79
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d711fdd
movzx eax, word [ebp - 0x21c]
shr eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 1
cmp edx, dword [ebp + 0x14]
jbe 0x7d711fae
mov eax, dword [ebp + 0x14]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], ecx
push 0x7a
call sub.kernel32.dll_SetLastError
jmp 0x7d711fb5
push 0
call sub.kernel32.dll_SetLastError
mov edx, dword [ebp - 8]
shl edx, 1
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call sub.ntext.dll_memcpy
add esp, 0xc
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x7d7131e0
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
cmp dword [ebp + 0xc], 0
jne 0x7d7131fb
mov eax, 0x57
jmp 0x7d713340
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.7d716540
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d71321e
mov eax, 6
jmp 0x7d713340
mov edx, dword [ebp + 0x10]
and edx, 0x300
mov dword [ebp + 0x10], edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
or ecx, 0x10000
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernel32.dll_RegOpenKeyExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d7132bf
call fcn.7d716640
test eax, eax
jne 0x7d7132a2
mov dword [ebp - 0x10], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x114]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call sym.kernel32.dll_RegEnumKeyExA
test eax, eax
jne 0x7d7132a2
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sym.kernel32.dll_RegDeleteKeyExA
test eax, eax
je 0x7d7132a0
jmp 0x7d7132a2
jmp 0x7d713260
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntext.dll_NtDeleteKey]
push eax
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call fcn.7d712cb0
mov ecx, dword [0x7d729fd0]
movzx edx, byte [ecx]
and edx, 8
je 0x7d71333d
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp ecx, 0x2e
jne 0x7d7132ea
mov dword [ebp - 0xc], 0x12
jmp 0x7d7132f1
mov dword [ebp - 0xc], 0x21
push 0x7d7262d0
push 0x42e
push 0x7d72a324
mov edx, dword [ebp - 0xc]
add edx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push edx
mov eax, dword [0x7d729fd0]
push eax
push 3
call fcn.7d721620
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71333d
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.7d716410
add esp, 4
push eax
push str._s_ret_08x_n
call fcn.7d721690
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x7d713350
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x7d713368
mov eax, 0x57
jmp 0x7d71345b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.7d716540
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d71338b
mov eax, 6
jmp 0x7d71345b
mov edx, dword [ebp + 0x10]
and edx, 0x300
mov dword [ebp + 0x10], edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
or ecx, 0x10000
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernel32.dll_RegOpenKeyExW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7d7133da
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntext.dll_NtDeleteKey]
push eax
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call fcn.7d712cb0
mov eax, dword [0x7d729fd0]
movzx ecx, byte [eax]
and ecx, 8
je 0x7d713458
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x7d713404
mov dword [ebp - 0xc], 0x12
jmp 0x7d71340b
mov dword [ebp - 0xc], 0x21
push 0x7d7262d0
push 0x40d
push 0x7d72a304
mov ecx, dword [ebp - 0xc]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x7d729fd0]
push edx
push 3
call fcn.7d721620
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d713458
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.7d716430
add esp, 4
push eax
push str._s_ret_08x_n
call fcn.7d721690
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x7d713470
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.7d716540
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d7134a0
mov eax, 6
jmp 0x7d71352a
cmp dword [ebp + 0xc], 0
je 0x7d7134cf
lea ecx, [ebp - 4]
push ecx
push 2
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernel32.dll_RegOpenKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x7d7134c9
mov eax, dword [ebp - 0xc]
jmp 0x7d71352a
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntext.dll_RtlInitAnsiString]
push 1
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.ntext.dll_RtlAnsiStringToUnicodeString]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d713511
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntext.dll_NtDeleteValueKey]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.ntext.dll_RtlFreeUnicodeString]
cmp dword [ebp - 4], 0
je 0x7d713520
mov eax, dword [ebp - 4]
push eax
call fcn.7d712cb0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7d713540
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.7d716540
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d71356d
mov eax, 6
jmp 0x7d7135d4
cmp dword [ebp + 0xc], 0
je 0x7d71359c
lea ecx, [ebp - 4]
push ecx
push 2
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernel32.dll_RegOpenKeyExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x7d713596
mov eax, dword [ebp - 8]
jmp 0x7d7135d4
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntext.dll_RtlInitUnicodeString]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtDeleteValueKey]
push eax
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x7d7135d1
mov eax, dword [ebp - 4]
push eax
call fcn.7d712cb0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7d715a10
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [0x7d729fd0]
movzx ecx, byte [eax]
and ecx, 8
je 0x7d715aba
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp eax, 0x2e
jne 0x7d715a4d
mov dword [ebp - 0xc], 0x12
jmp 0x7d715a54
mov dword [ebp - 0xc], 0x21
push 0x7d7262d0
push 0x25e
push 0x7d72a258
mov ecx, dword [ebp - 0xc]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push ecx
mov edx, dword [0x7d729fd0]
push edx
push 3
call fcn.7d721620
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d715aba
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.7d716410
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.7d716410
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
push str.__p__s__s__d__p__d__n
call fcn.7d721690
add esp, 0x1c
cmp dword [ebp + 0xc], 0
je 0x7d715b04
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax]
test edx, edx
je 0x7d715b04
push 0
lea eax, [ebp - 4]
push eax
push 0
push 2
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernel32.dll_RegCreateKeyExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x7d715afe
mov eax, dword [ebp - 8]
jmp 0x7d715b34
mov eax, dword [ebp - 4]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x7d715b31
mov eax, dword [ebp - 4]
push eax
call fcn.7d712cb0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x7d715c70
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x7d715c88
mov eax, dword [ebp + 0x18]
shr eax, 0x10
test eax, eax
je 0x7d715c94
cmp dword [ebp + 0x18], 0
jne 0x7d715c9e
cmp dword [ebp + 0x1c], 0
je 0x7d715c9e
mov eax, 0x3e6
jmp 0x7d715d33
cmp dword [ebp + 0x1c], 0
je 0x7d715ce4
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.7d716600
add esp, 4
test eax, eax
je 0x7d715ce4
mov edx, dword [ebp + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x1c]
shr eax, 1
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x7d715ce4
mov eax, dword [ebp + 0x1c]
shr eax, 1
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + eax*2]
test edx, edx
jne 0x7d715ce4
mov eax, dword [ebp + 0x1c]
add eax, 2
mov dword [ebp + 0x1c], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.7d716540
add esp, 8
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x7d715d02
mov eax, 6
jmp 0x7d715d33
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntext.dll_RtlInitUnicodeString]
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtSetValueKey]
push eax
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x7d719520
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
cmp dword [ebp + 8], 0
je 0x7d71955c
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x7d71955c
mov dword [ebp - 8], 2
jmp 0x7d719563
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
or ecx, 0x80
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x7d719580
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
jmp 0x7d719587
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 0x14], 0
je 0x7d7195b6
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntext.dll_RtlInitUnicodeString]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], ecx
call fcn.7d719f80
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntext.dll_NtCreateSemaphore]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push str.CreateSemaphoreExW_::_NtCreateSemaphore_Status:__0x_08x_n
call sub.ntext.dll_DbgPrint
add esp, 8
cmp dword [ebp - 4], 0x40000000
jne 0x7d7195f9
push 0xb7
call sub.kernel32.dll_SetLastError
jmp 0x7d719609
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x7d719ea0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.7d71a040
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.ntext.dll_RtlSleepConditionVariableSRW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7d719ef8
mov edx, dword [ebp - 4]
push edx
push 0x7d7370c8
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d719efd
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x7d71a9e0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x20
push 0
call sym.kernel32.dll_LocalAlloc
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x7d71aa02
mov eax, 0x8007000e
jmp 0x7d71aa4b
call sym.kernel32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
je 0x7d71aa33
push str.Cant_get_other_thread_description_n
call sub.ntext.dll_DbgPrint
add esp, 4
mov eax, 2
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
xor ecx, ecx
mov word [eax + edx], cx
mov eax, 0x10000000
jmp 0x7d71aa4b
mov edx, 2
imul edx, edx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
xor eax, eax
mov word [edx + ecx], ax
mov eax, 0x10000000
pop ebp
ret 8
Function at 0x7d71b020
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.kernel32.dll_SetThreadPriority
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
push str.SetThreadPriorityInternal_::_SetThreadPriority_returned:__d_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x7d71c930
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_BaseThreadInitThunk___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x7d737ae8
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d737bc4
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71c9b0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.WARNING:_calling_stub_ClosePrivateNamespace_0x_p_0x_lx__n
call sub.ntext.dll_DbgPrint
add esp, 0xc
xor eax, eax
pop ebp
ret 8

Function at 0x7d71c9e0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.WARNING:_calling_stub_CreateBoundaryDescritorW__ws_0x_lx__n
call sub.ntext.dll_DbgPrint
add esp, 0xc
xor eax, eax
pop ebp
ret 8

Function at 0x7d71ca10
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push str.WARNING:_calling_stub_GetCurrentTransaction___n
call sub.ntext.dll_DbgPrint
add esp, 4
xor eax, eax
pop ebp
ret

Function at 0x7d71ca30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_GetEraNameCountedString___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x7d737ae8
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d737c0c
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71cab0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_GetProductName___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x7d737ae8
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d737af8
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]
Function at 0x7d71cb30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_LoadStringBaseExW___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x7d737ae8
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d737c50
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71cbb0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_LoadStringByReference___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x7d737ae8
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d737c94
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71cc30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push str.WARNING:_calling_stub_SetCurrentTransaction_0x_p__n
call sub.ntext.dll_DbgPrint
add esp, 8
xor eax, eax
pop ebp
ret 4

Function at 0x7d71cc60
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_WerpNotifyLoadStringResourceEx___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x7d737ae8
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d737b74
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]