joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68919020
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 0x6891908f
lea eax, [ebp - 0x14]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
call sym.kernelbase.dll_GetNumaNodeProcessorMask
test eax, eax
jne 0x68919067
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_AllocateUserPhysicalPages
jmp 0x689190d6
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
call sym.kernelbase.dll_GetCurrentThread
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sym.kernelbase.dll_SetThreadAffinityMask
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6891908f
xor eax, eax
jmp 0x689190d6
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 0x689190be
call sym.kernelbase.dll_GetCurrentThread
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sym.kernelbase.dll_SetThreadAffinityMask
cmp dword [ebp - 0xc], 0
jl 0x689190cb
mov eax, 1
jmp 0x689190d6
mov ecx, dword [ebp - 0xc]
push ecx
call sym.kernelbase.dll_BaseSetLastNTError
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x68919a20
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.68919320
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x68919a41
xor eax, eax
jmp 0x68919a63
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 0x68919e00
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 0x68919e28
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 0x68919e5a
mov ecx, dword [ebp - 4]
push ecx
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x68919f42
mov edx, dword [ebp + 0xc]
and edx, 0x62
je 0x68919ee1
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 0x68919ea1
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 0x68919f35
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.68919f50
add esp, 0x10
test eax, eax
je 0x68919ecd
mov edx, dword [ebp - 0x10]
push edx
push 0
call sub.ntext.dll_LdrUnlockLoaderLock
jmp 0x68919f35
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 0x68919f35
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0xc0000135
jne 0x68919f25
call sym.kernelbase.dll_GetVersion
and eax, 0x80000000
je 0x68919f25
push 0x485
call sub.kernel32.dll_SetLastError
jmp 0x68919f35
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 0x6891ad60
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 0x6891ad82
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6891aeec
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 0x6891ada4
xor eax, eax
jmp 0x6891aeec
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.0x6891adc3.3
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x6891af00]
jmp dword [ecx*4 + 0x6891aef0]
mov dword [ebp - 4], 0x1f
jmp 0x6891adf3
mov dword [ebp - 4], 0x20
jmp 0x6891adf3
mov dword [ebp - 4], 0x1006
jmp 0x6891adf3
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6891aeec
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 0x6891ae2e
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 0x6891ae4d
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 0x6891aee7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x6891ae73
cmp dword [ebp - 8], 1
je 0x6891ae9e
cmp dword [ebp - 8], 2
je 0x6891aecd
jmp 0x6891aee7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x6891ae87
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0xc], ecx
jmp 0x6891ae90
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 0x6891aee7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x6891aeb2
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x10], ecx
jmp 0x6891aebb
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 0x6891aee7
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 0x6891af10
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 0x6891af32
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6891b028
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
and edx, 0xbfffffff
mov dword [ebp - 0x14], edx
je 0x6891af4b
cmp dword [ebp - 0x14], 2
je 0x6891af54
jmp 0x6891af5d
mov dword [ebp - 4], 0x1003
jmp 0x6891af6b
mov dword [ebp - 4], 0x79
jmp 0x6891af6b
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6891b028
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 0x6891afa7
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 0x6891afc6
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 0x6891b023
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x6891afe2
cmp dword [ebp - 8], 1
je 0x6891b00d
jmp 0x6891b023
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x6891aff6
lea edx, [ebp - 0x314]
mov dword [ebp - 0xc], edx
jmp 0x6891afff
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 0x6891b023
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 0x6891b040
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 0x6891b0e5
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0xa8]
cmp edx, 0x3b
jne 0x6891b0e5
mov eax, 2
shl eax, 1
movzx ecx, word [ebp + eax - 0xa8]
cmp ecx, 0x30
je 0x6891b0e5
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 0x6891b129
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 0x6891b129
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x39
jg 0x6891b129
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 0x6891b0f5
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x6891b240
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 0x6891b279
mov edx, dword [ebp - 4]
push edx
call sym.kernelbase.dll_BaseSetLastNTError
xor eax, eax
jmp 0x6891b2af
movzx eax, byte [ebp + 8]
cmp eax, dword [ebp - 0x90]
jbe 0x6891b290
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6891b2af
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 0x689203a0
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 0x689203e9
mov esp, ebp
pop ebp
ret 0x28
Function at 0x68920400
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 0x68920470
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 0x689204d0
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 0x68920540
Capabilities:
Print debug messages

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push 0x6893ba40
push 0x6893ba60
call sym.kernelbase.dll_GetModuleHandleA
push eax
call sym.kernelbase.dll_GetProcAddress
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6892096b
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 0x6892094f
mov dword [ebp - 4], 0xc0000023
cmp dword [ebp - 4], 0
jge 0x68920962
mov ecx, dword [ebp - 4]
push ecx
call sym.kernelbase.dll_BaseSetLastNTError
xor eax, eax
jmp 0x68920987
mov eax, 1
jmp 0x68920987
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 8]
jmp 0x68920987
mov esp, ebp
pop ebp
ret 8

Function at 0x689209a0
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 0x689209d0
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x68920a21
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.68920ed0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc0000004
jne 0x68920a02
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x68920a21
cmp dword [ebp - 4], 0
je 0x68920a1c
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 0x68920a21
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x68920a30
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 0x68920a52
movzx ecx, word [ebp + 8]
cmp ecx, 0xffff
je 0x68920a52
xor eax, eax
jmp 0x68920ab4
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 0x68920a78
mov eax, dword [ebp - 0xc]
push eax
call sym.kernelbase.dll_BaseSetLastNTError
xor eax, eax
jmp 0x68920ab4
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jmp 0x68920a91
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x20
jge 0x68920ab1
mov edx, 1
mov ecx, dword [ebp - 4]
shl edx, cl
and edx, dword [ebp - 0x14]
je 0x68920aaf
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x68920a88
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x68920ed0
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.68921da0
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 0x68920f6a
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 0x68920fc1
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 8]
jb 0x68920f97
cmp dword [ebp + 0x14], 0
jne 0x68920f81
mov dword [ebp - 4], 0xc0000005
jmp 0x68920f95
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 0x68920f9e
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 0x68920fbe
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 0x68922880
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 0x689228c2
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 0x6892290d
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 0x68922908
cmp dword [ebp - 4], 0xc0000061
je 0x68922908
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 0x6892290d
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x68922920
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68952b90
push 0x68933e0e
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 0x68922974
push 0x5aa
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x68922b42
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 0x68922a92
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 0x689229c6
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 0x68922b42
cmp dword [ebp - 0x28], 0x120
jae 0x689229ef
push 0
push 0x1a7
push 0x6893be68
push str.Size___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x30], 0
jmp 0x689229f6
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 0x68922a34
push 0
push 0x1aa
push 0x6893be68
push str.NewSize___sizeof_RTL_PROCESS_MODULES_
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x34], 0
jmp 0x68922a3b
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x28]
jae 0x68922a8a
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x28]
ja 0x68922a6b
push 0
push 0x1ae
push 0x6893be68
push str.NewSize___Size
call dword [sym.imp.ntext.dll_RtlAssert]
mov dword [ebp - 0x38], 0
jmp 0x68922a72
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 0x68922b42
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x68922a94
jmp 0x68922aa1
mov ecx, 1
test ecx, ecx
jne 0x6892294f
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x68922aba
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 0x68922aea
mov edx, dword [ebp + 0xc]
shr edx, 2
cmp dword [ebp - 0x20], edx
jae 0x68922aea
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 0x68922ab1
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 0x68922b3d
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