joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d705b30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
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
call dword [sym.imp.ntext.dll_RtlSetHeapInformation]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x7d705b5e
mov eax, 1
jmp 0x7d705b76
push str.HeapSetInformation_::_Status_unsuccess__return_FALSE_n
call sub.ntext.dll_DbgPrint
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call sym.kernel32.dll_BaseSetLastNTError
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x7d705b90
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x20], 0
je 0x7d705bab
push str.unexpected_version_parameter_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x24], 0
je 0x7d705bbe
push str.unexpected_reserved_value_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x28], 0
je 0x7d705bd1
push str.unexpected_lParam_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x7d705bdd
cmp dword [ebp + 0x18], 0
jne 0x7d705beb
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d705c8d
mov eax, dword [ebp + 0xc]
and eax, 0xaffceff8
je 0x7d705c06
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d705c8d
mov ecx, dword [ebp + 0xc]
and ecx, 0x10000000
je 0x7d705c1e
push str.Ignoring_unknown_flags_0x10000000_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x14], 0
jge 0x7d705c33
mov edx, dword [ebp + 0x10]
push edx
call sub.ntext.dll_wcslen
add esp, 4
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x1c], 0
jge 0x7d705c48
mov eax, dword [ebp + 0x18]
push eax
call sub.ntext.dll_wcslen
add esp, 4
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.7d717a30
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7d705c88
cmp dword [ebp - 4], 0
jge 0x7d705c7c
mov dword [ebp - 8], 1
jmp 0x7d705c83
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
jmp 0x7d705c8d
mov eax, 2
mov esp, ebp
pop ebp
ret 0x24

Function at 0x7d707090
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernel32.dll_GetUserDefaultLCID
push eax
call sym.kernel32.dll_LCIDToLocaleName
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
push str.GetUserDefaultLocaleName_::_Default_Locale:__s_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
push eax
push str.GetUserDefaultLocaleName_::_Return_value:__d_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x7d707d10
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push str.AllocateUserPhysicalPagesNuma_called_n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0xffffffff
je 0x7d707d7f
lea eax, [ebp - 0x14]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
call sym.kernel32.dll_GetNumaNodeProcessorMask
test eax, eax
jne 0x7d707d57
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernel32.dll_AllocateUserPhysicalPages
jmp 0x7d707dc6
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
call sym.kernel32.dll_GetCurrentThread
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sym.kernel32.dll_SetThreadAffinityMask
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7d707d7f
xor eax, eax
jmp 0x7d707dc6
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.ntext.dll_NtAllocateUserPhysicalPages
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x7d707dae
call sym.kernel32.dll_GetCurrentThread
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sym.kernel32.dll_SetThreadAffinityMask
cmp dword [ebp - 0xc], 0
jl 0x7d707dbb
mov eax, 1
jmp 0x7d707dc6
mov ecx, dword [ebp - 0xc]
push ecx
call sym.kernel32.dll_BaseSetLastNTError
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x7d7086c0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.7d707fc0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7d7086e1
xor eax, eax
jmp 0x7d708703
mov ecx, dword [ebp + 8]
push ecx
push str.LoadLibraryExInternalA::_Module_Name:__s_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sym.kernel32.dll_LoadLibraryExW
mov esp, ebp
pop ebp
ret 0xc

Function at 0x7d708aa0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0x90
mov eax, dword [ebp + 0xc]
and eax, dword [ebp - 0x14]
je 0x7d708ac8
mov ecx, dword [ebp + 0xc]
push ecx
push str.load_library_::_unsupported_flag_s__used__08x_n
call sub.ntext.dll_DbgPrint
add esp, 8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ntext.dll_LdrGetDllPath]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x7d708afa
mov ecx, dword [ebp - 4]
push ecx
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d708be2
mov edx, dword [ebp + 0xc]
and edx, 0x62
je 0x7d708b81
lea eax, [ebp - 0x10]
push eax
push 0
push 0
call sub.ntext.dll_LdrLockLoaderLock
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.ntext.dll_LdrGetDllHandle
test eax, eax
jne 0x7d708b41
mov ecx, dword [ebp - 8]
push ecx
push 0
call sub.ntext.dll_LdrAddRefDll
mov edx, dword [ebp - 0x10]
push edx
push 0
call sub.ntext.dll_LdrUnlockLoaderLock
jmp 0x7d708bd5
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.7d708bf0
add esp, 0x10
test eax, eax
je 0x7d708b6d
mov edx, dword [ebp - 0x10]
push edx
push 0
call sub.ntext.dll_LdrUnlockLoaderLock
jmp 0x7d708bd5
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.ntext.dll_LdrUnlockLoaderLock
mov ecx, dword [ebp + 0xc]
or ecx, 1
mov dword [ebp + 0xc], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call sub.ntext.dll_LdrLoadDll
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7d708bd5
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0xc0000135
jne 0x7d708bc5
call sym.kernel32.dll_GetVersion
and eax, 0x80000000
je 0x7d708bc5
push 0x485
call sub.kernel32.dll_SetLastError
jmp 0x7d708bd5
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 - 0xc]
push eax
call dword [sym.imp.ntext.dll_RtlReleasePath]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x7d709ee0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
lea eax, [ebp - 8]
push eax
push 0x88
lea ecx, [ebp - 0x90]
push ecx
push 0x37
call dword [sym.imp.ntext.dll_NtQuerySystemInformation]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x7d709f19
mov edx, dword [ebp - 4]
push edx
call sym.kernel32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7d709f4f
movzx eax, byte [ebp + 8]
cmp eax, dword [ebp - 0x90]
jbe 0x7d709f30
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d709f4f
movzx ecx, byte [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + ecx*8 - 0x88]
mov dword [edx], eax
mov ecx, dword [ebp + ecx*8 - 0x84]
mov dword [edx + 4], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x7d70ece0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
mov ecx, 0x11
mov esi, dword [ebp + 0x28]
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
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
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push str.CreateProcessW_::_returned_value_is__d_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28

Function at 0x7d70ed50
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x34]
push eax
mov ecx, dword [ebp + 0x30]
push ecx
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
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
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.kernel32.dll_CreateProcessInternalA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push str.CreateProcessInternalA_::_returned_value_is__d_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x30
Function at 0x7d70edb0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x34]
push eax
mov ecx, dword [ebp + 0x30]
push ecx
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
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
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.kernel32.dll_CreateProcessInternalW
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push str.CreateProcessInternalW_::_returned_value_is__d_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x30

Function at 0x7d70ee20
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7d758530]
mov dword [ebp - 4], eax
mov ecx, dword [0x7d758530]
add ecx, 1
mov dword [0x7d758530], ecx
cmp dword [ebp - 4], 0
jne 0x7d70ee50
push str.FlushProcessWriteBuffers_is_stub_n
call sub.ntext.dll_DbgPrint
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x7d70f1c0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push 0x7d7299e0
push 0x7d729a00
call sym.kernel32.dll_GetModuleHandleA
push eax
call sym.kernel32.dll_GetProcAddress
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d70f222
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x49
call dword [sym.imp.ntext.dll_NtQuerySystemInformation]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc0000004
jne 0x7d70f20f
mov dword [ebp - 4], 0xc0000023
cmp dword [ebp - 4], 0
jge 0x7d70f219
xor eax, eax
jmp 0x7d70f23e
mov eax, 1
jmp 0x7d70f23e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 8]
jmp 0x7d70f23e
mov esp, ebp
pop ebp
ret 8

Function at 0x7d70f250
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.__u__p__p__n
call sub.ntext.dll_DbgPrint
add esp, 0x10
cmp dword [ebp + 0x10], 0
jne 0x7d70f280
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70f2d1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 4
lea ecx, [ebp + 8]
push ecx
push 1
call fcn.7d70f700
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc0000004
jne 0x7d70f2b2
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70f2d1
cmp dword [ebp - 4], 0
je 0x7d70f2cc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70f2d1
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x7d70f2e0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, word [ebp + 8]
test eax, eax
je 0x7d70f302
movzx ecx, word [ebp + 8]
cmp ecx, 0xffff
je 0x7d70f302
xor eax, eax
jmp 0x7d70f364
push 0
push 0x2c
lea edx, [ebp - 0x38]
push edx
push 0
call dword [sym.imp.ntext.dll_NtQuerySystemInformation]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x7d70f328
mov eax, dword [ebp - 0xc]
push eax
call sym.kernel32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7d70f364
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jmp 0x7d70f341
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x20
jge 0x7d70f361
mov edx, 1
mov ecx, dword [ebp - 4]
shl edx, cl
and edx, dword [ebp - 0x14]
je 0x7d70f35f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x7d70f338
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x7d70f700
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xc0000002
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
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._0x_08x__p__u__p__u__p__stub_n
call sub.ntext.dll_DbgPrint
add esp, 0x1c
mov dword [ebp - 8], 0xe4
mov eax, dword [ebp - 8]
push eax
push 0
call sym.kernel32.dll_GetProcessHeap
push eax
call dword [sym.imp.ntext.dll_RtlAllocateHeap]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
call fcn.7d710550
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push str.NtQuerySystemInformationExInternal::_Status:__0x_08x_n
call sub.ntext.dll_DbgPrint
add esp, 8
cmp dword [ebp - 4], 0
je 0x7d70f79a
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call sym.kernel32.dll_GetProcessHeap
push eax
call dword [sym.imp.ntext.dll_RtlFreeHeap]
mov eax, dword [ebp - 4]
jmp 0x7d70f7f1
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 8]
jb 0x7d70f7c7
cmp dword [ebp + 0x14], 0
jne 0x7d70f7b1
mov dword [ebp - 4], 0xc0000005
jmp 0x7d70f7c5
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call sub.ntext.dll_memcpy
add esp, 0xc
jmp 0x7d70f7ce
mov dword [ebp - 4], 0xc0000004
mov eax, dword [ebp - 0xc]
push eax
push 0
call sym.kernel32.dll_GetProcessHeap
push eax
call dword [sym.imp.ntext.dll_RtlFreeHeap]
cmp dword [ebp + 0x1c], 0
je 0x7d70f7ee
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x7d7110c0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7d740a40
push 0x7d7219ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x28], 0x474
mov eax, dword [ebp - 0x28]
push eax
push 0
call sym.kernel32.dll_LocalAlloc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x7d711114
push 0x5aa
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d7112e2
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0xb
call dword [sym.imp.ntext.dll_NtQuerySystemInformation]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x7d711232
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
push eax
call sym.kernel32.dll_LocalFree
cmp dword [ebp - 0x2c], 0xc0000004
je 0x7d711166
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d7112e2
cmp dword [ebp - 0x28], 0x120
jae 0x7d71118f
push 0
push 0x1a7
push 0x7d729e08
push str.Size___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x30], 0
jmp 0x7d711196
mov dword [ebp - 0x30], 1
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x11c
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x120
jae 0x7d7111d4
push 0
push 0x1aa
push 0x7d729e08
push str.NewSize___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x34], 0
jmp 0x7d7111db
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x28]
jae 0x7d71122a
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x28]
ja 0x7d71120b
push 0
push 0x1ae
push 0x7d729e08
push str.NewSize___Size
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x38], 0
jmp 0x7d711212
mov dword [ebp - 0x38], 1
push 0xc0000004
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d7112e2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x7d711234
jmp 0x7d711241
mov ecx, 1
test ecx, ecx
jne 0x7d7110ef
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x7d71125a
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jae 0x7d71128a
mov edx, dword [ebp + 0xc]
shr edx, 2
cmp dword [ebp - 0x20], edx
jae 0x7d71128a
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x11c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + eax + 0xc]
mov dword [edx + ecx*4], eax
jmp 0x7d711251
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
shl edx, 2
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x7d7112dd
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7d711360
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0xc], 0x1000
mov eax, dword [ebp - 0xc]
push eax
push 0
call sym.kernel32.dll_LocalAlloc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x7d71139b
push 0xc000009a
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d7114c5
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x12
call dword [sym.imp.ntext.dll_NtQuerySystemInformation]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x7d7113ba
jmp 0x7d711409
mov ecx, dword [ebp - 0x14]
push ecx
call sym.kernel32.dll_LocalFree
cmp dword [ebp - 0x18], 0xc0000004
je 0x7d7113e3
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d7114c5
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
ja 0x7d7113f6
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jmp 0x7d7113fc
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, 1
test eax, eax
jne 0x7d71136f
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0x18
jae 0x7d71141a
jmp 0x7d7114b7
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x14
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
push 0x3a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
call sub.ntext.dll_wcschr
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x7d711480
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x14]
je 0x7d711480
mov eax, dword [ebp - 0x10]
sub eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x7d711492
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cmp eax, dword [ebp - 8]
jbe 0x7d711494
jmp 0x7d7114b7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
sub edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, 1
test edx, edx
jne 0x7d71140f
mov eax, dword [ebp - 0x14]
push eax
call sym.kernel32.dll_LocalFree
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x7d7116f0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7d740a08
push 0x7d7219ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x28], 0x7fff
mov eax, dword [ebp - 0x28]
push eax
push 0
call sym.kernel32.dll_LocalAlloc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x7d71173a
xor eax, eax
jmp 0x7d71185d
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 5
call dword [sym.imp.ntext.dll_NtQuerySystemInformation]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xc0000004
jne 0x7d71176f
mov eax, dword [ebp - 0x1c]
push eax
call sym.kernel32.dll_LocalFree
mov ecx, dword [ebp - 0x28]
add ecx, 0x7fff
mov dword [ebp - 0x28], ecx
jmp 0x7d711771
jmp 0x7d71177a
mov edx, 1
test edx, edx
jne 0x7d71171f
cmp dword [ebp - 0x2c], 0
jge 0x7d7117a0
mov eax, dword [ebp - 0x1c]
push eax
call sym.kernel32.dll_LocalFree
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d71185d
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
shr eax, 2
cmp dword [ebp - 0x24], eax
jae 0x7d7117d7
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x44]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
jne 0x7d7117e1
jmp 0x7d7117f5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, 1
test edx, edx
jne 0x7d7117b4
mov eax, dword [ebp - 0x24]
shl eax, 2
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x7d71184f
mov ecx, dword [ebp - 0x1c]
push ecx
call sym.kernel32.dll_LocalFree
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc