joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d708830
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.7d708130
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x7d708851
xor eax, eax
jmp 0x7d708873
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.kernelbase.dll_LoadLibraryExW
mov esp, ebp
pop ebp
ret 0xc

Function at 0x7d708c10
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 0x7d708c38
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 0x7d708c6a
mov ecx, dword [ebp - 4]
push ecx
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d708d52
mov edx, dword [ebp + 0xc]
and edx, 0x62
je 0x7d708cf1
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 0x7d708cb1
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 0x7d708d45
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.7d708d60
add esp, 0x10
test eax, eax
je 0x7d708cdd
mov edx, dword [ebp - 0x10]
push edx
push 0
call sub.ntext.dll_LdrUnlockLoaderLock
jmp 0x7d708d45
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 0x7d708d45
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0xc0000135
jne 0x7d708d35
call sym.kernelbase.dll_GetVersion
and eax, 0x80000000
je 0x7d708d35
push 0x485
call sub.kernel32.dll_SetLastError
jmp 0x7d708d45
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 0x7d709b70
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x7d709b92
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d709cfc
push 2
lea ecx, [ebp - 0x14]
push ecx
push 0x20001009
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call sym.kernelbase.dll_GetLocaleInfoW
test eax, eax
jne 0x7d709bb4
xor eax, eax
jmp 0x7d709cfc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
and edx, 0xbfffffff
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 8
ja case.0x7d709bd3.3
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x7d709d10]
jmp dword [ecx*4 + 0x7d709d00]
mov dword [ebp - 4], 0x1f
jmp 0x7d709c03
mov dword [ebp - 4], 0x20
jmp 0x7d709c03
mov dword [ebp - 4], 0x1006
jmp 0x7d709c03
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d709cfc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
and eax, 0x40000000
or eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x7d709c3e
push 0x100
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call sym.kernelbase.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
jmp 0x7d709c5d
push 0x100
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call sym.kernelbase.dll_GetLocaleInfoA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x7d709cf7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x7d709c83
cmp dword [ebp - 8], 1
je 0x7d709cae
cmp dword [ebp - 8], 2
je 0x7d709cdd
jmp 0x7d709cf7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x7d709c97
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0xc], ecx
jmp 0x7d709ca0
lea edx, [ebp - 0x11c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
jmp 0x7d709cf7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x7d709cc2
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x10], ecx
jmp 0x7d709ccb
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
jmp 0x7d709cf7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x31c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x7d709d20
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x7d709d42
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d709e38
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
and edx, 0xbfffffff
mov dword [ebp - 0x14], edx
je 0x7d709d5b
cmp dword [ebp - 0x14], 2
je 0x7d709d64
jmp 0x7d709d6d
mov dword [ebp - 4], 0x1003
jmp 0x7d709d7b
mov dword [ebp - 4], 0x79
jmp 0x7d709d7b
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d709e38
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x40000000
or ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x7d709db7
push 0x100
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call sym.kernelbase.dll_GetLocaleInfoW
mov dword [ebp - 0x10], eax
jmp 0x7d709dd6
push 0x100
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call sym.kernelbase.dll_GetLocaleInfoA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x7d709e33
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x7d709df2
cmp dword [ebp - 8], 1
je 0x7d709e1d
jmp 0x7d709e33
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x7d709e06
lea edx, [ebp - 0x314]
mov dword [ebp - 0xc], edx
jmp 0x7d709e0f
lea eax, [ebp - 0x114]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
jmp 0x7d709e33
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x7d709e50
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 4], 0
mov eax, 2
imul eax, eax, 0
xor ecx, ecx
mov word [ebp + eax - 0xa8], cx
push 0x50
lea edx, [ebp - 0xa8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_GetLocaleInfoW
mov edx, 2
imul edx, edx, 0
movzx eax, word [ebp + edx - 0xa8]
test eax, eax
je 0x7d709ef5
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0xa8]
cmp edx, 0x3b
jne 0x7d709ef5
mov eax, 2
shl eax, 1
movzx ecx, word [ebp + eax - 0xa8]
cmp ecx, 0x30
je 0x7d709ef5
mov edx, 2
imul edx, edx, 0
movzx eax, word [ebp + edx - 0xa8]
sub eax, 0x30
imul eax, eax, 0xa
mov ecx, 2
shl ecx, 1
movzx edx, word [ebp + ecx - 0xa8]
lea eax, [eax + edx - 0x30]
mov dword [ebp - 4], eax
jmp 0x7d709f39
lea ecx, [ebp - 0xa8]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
movzx eax, word [edx]
cmp eax, 0x30
jl 0x7d709f39
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x39
jg 0x7d709f39
mov eax, dword [ebp - 4]
imul eax, eax, 0xa
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
lea eax, [eax + edx - 0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
jmp 0x7d709f05
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x7d70a050
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 0x7d70a089
mov edx, dword [ebp - 4]
push edx
call sym.kernelbase.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7d70a0bf
movzx eax, byte [ebp + 8]
cmp eax, dword [ebp - 0x90]
jbe 0x7d70a0a0
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70a0bf
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 0x7d70d230
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
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_CreateProcessA
jmp 0x7d70d279
mov esp, ebp
pop ebp
ret 0x28
Function at 0x7d70d290
Capabilities:
Create process on windows
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 0x7d70d300
Capabilities:
Create process on windows
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 0x7d70d360
Capabilities:
Create process on windows
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 0x7d70d3d0
Capabilities:
Print debug messages

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push 0x7d727438
push 0x7d727458
call sym.kernelbase.dll_GetModuleHandleA
push eax
call sym.kernelbase.dll_GetProcAddress
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d70d792
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 0x7d70d77f
mov dword [ebp - 4], 0xc0000023
cmp dword [ebp - 4], 0
jge 0x7d70d789
xor eax, eax
jmp 0x7d70d7ae
mov eax, 1
jmp 0x7d70d7ae
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 8]
jmp 0x7d70d7ae
mov esp, ebp
pop ebp
ret 8

Function at 0x7d70d7c0
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 0x7d70d7f0
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70d841
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.7d70dbc0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc0000004
jne 0x7d70d822
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70d841
cmp dword [ebp - 4], 0
je 0x7d70d83c
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 0x7d70d841
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7d70dbc0
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.kernelbase.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.7d70ea10
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 0x7d70dc5a
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call dword [sym.imp.ntext.dll_RtlFreeHeap]
mov eax, dword [ebp - 4]
jmp 0x7d70dcb1
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 8]
jb 0x7d70dc87
cmp dword [ebp + 0x14], 0
jne 0x7d70dc71
mov dword [ebp - 4], 0xc0000005
jmp 0x7d70dc85
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 0x7d70dc8e
mov dword [ebp - 4], 0xc0000004
mov eax, dword [ebp - 0xc]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call dword [sym.imp.ntext.dll_RtlFreeHeap]
cmp dword [ebp + 0x1c], 0
je 0x7d70dcae
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 0x7d70f4e0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x48]
push eax
call sym.kernelbase.dll_GetSystemInfo
push 0
push 0x20
lea ecx, [ebp - 0x24]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtQueryInformationProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x7d70f522
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 0x7d70f56d
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
push 0x20
lea ecx, [ebp - 0x24]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntext.dll_NtSetInformationProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x7d70f568
cmp dword [ebp - 4], 0xc0000061
je 0x7d70f568
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 0x7d70f56d
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x7d70f580
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7d73e4b0
push 0x7d71fcbe
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.kernelbase.dll_LocalAlloc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x7d70f5d4
push 0x5aa
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70f7a2
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 0x7d70f6f2
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
push eax
call sym.kernelbase.dll_LocalFree
cmp dword [ebp - 0x2c], 0xc0000004
je 0x7d70f626
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 0x7d70f7a2
cmp dword [ebp - 0x28], 0x120
jae 0x7d70f64f
push 0
push 0x1a7
push 0x7d727878
push str.Size___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x30], 0
jmp 0x7d70f656
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 0x7d70f694
push 0
push 0x1aa
push 0x7d727878
push str.NewSize___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x34], 0
jmp 0x7d70f69b
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x28]
jae 0x7d70f6ea
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x28]
ja 0x7d70f6cb
push 0
push 0x1ae
push 0x7d727878
push str.NewSize___Size
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x38], 0
jmp 0x7d70f6d2
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 0x7d70f7a2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x7d70f6f4
jmp 0x7d70f701
mov ecx, 1
test ecx, ecx
jne 0x7d70f5af
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x7d70f71a
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 0x7d70f74a
mov edx, dword [ebp + 0xc]
shr edx, 2
cmp dword [ebp - 0x20], edx
jae 0x7d70f74a
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 0x7d70f711
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 0x7d70f79d
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 0x7d70f820
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.kernelbase.dll_LocalAlloc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x7d70f85b
push 0xc000009a
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70f985
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 0x7d70f87a
jmp 0x7d70f8c9
mov ecx, dword [ebp - 0x14]
push ecx
call sym.kernelbase.dll_LocalFree
cmp dword [ebp - 0x18], 0xc0000004
je 0x7d70f8a3
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 0x7d70f985
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
ja 0x7d70f8b6
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jmp 0x7d70f8bc
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, 1
test eax, eax
jne 0x7d70f82f
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0x18
jae 0x7d70f8da
jmp 0x7d70f977
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 0x7d70f940
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x14]
je 0x7d70f940
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 0x7d70f952
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cmp eax, dword [ebp - 8]
jbe 0x7d70f954
jmp 0x7d70f977
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 0x7d70f8cf
mov eax, dword [ebp - 0x14]
push eax
call sym.kernelbase.dll_LocalFree
mov eax, 1
mov esp, ebp
pop ebp
ret 8