joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100896d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0x10089d8
push 0
push 0x10050f0
push 0x80000001
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10094c3
push 0x330
push edi
push 3
push 0
push 0x1005164
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x10094cd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
leave
ret
call fcn.0100dd64
jmp 0x10089d2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10094c3

Function at 0x1008a85
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x10050f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1008ad6
push 0x64
push 0x101f350
push 3
push esi
push 0x100517c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1008acd
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x10095ba
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x10050f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x1009616
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1005164
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x100963a
pop esi
mov eax, ebx
pop ebx
leave
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0x330
call esi
test ax, ax
jge 0x10063a1
push 0x12
call esi
test ax, ax
jge 0x10063a1
push 0x11
call esi
test ax, ax
jge 0x10063a1
push ebx
push ebx
push 0xc3b4
push ebx
call fcn.010055be
push eax
call fcn.0101af4e
inc ebx
jmp 0x100967f
xor ecx, ecx
mov edi, 0xffff
mov esi, 0x80070000
cmp eax, ebx
je 0x100962e
jle 0x100962c
and eax, edi
or eax, esi
mov ecx, eax
mov ebx, ecx
test ecx, ecx
jge 0x10063c1
jmp 0x100967e
xor ecx, ecx
test eax, eax
je 0x1009648
jle 0x1009646
and eax, edi
or eax, esi
mov ecx, eax
mov ebx, ecx
test ecx, ecx
jl 0x100967e
cmp dword [ebp - 0x10], 3
jne 0x1009679
cmp dword [ebp - 0xc], 0x330
jne 0x1009679
mov eax, dword [0x101e0d8]
lea ecx, [eax - 1]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], ecx
jg 0x1009679
cmp dword [eax + 4], 0
jne 0x100967e
cmp dword [eax + 0xc], 3
je 0x100967e
mov ebx, 0x80004005
pop edi
cmp dword [ebp - 4], 0
je 0x100968e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jl 0x100969b
cmp ebx, 1
jne 0x10063e1
mov ecx, dword [ebp - 8]
call fcn.01007d3d
jmp 0x10063e1
Function at 0x100cb4c
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
je 0x1007441
lea eax, [ebp - 0xc]
push eax
push 0x20019
push edi
push 0x10050f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100742b
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push 0x100517c
push dword [ebp - 0xc]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007408
cmp dword [ebp - 0x10], 3
jne 0x1007408
cmp dword [ebp - 8], esi
jne 0x1007408
mov eax, dword [ebx]
mov dword [ebp - 4], 1
xor ecx, ecx
cmp eax, dword [0x101f350]
jne 0x100743c
mov edx, dword [ebx + 4]
cmp edx, dword [0x101f354]
jne 0x100743c
inc ecx
cmp ecx, 5
jb 0x10073ef
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], edi
je 0x100742b
mov eax, dword [ebp - 0x14]
push 0x19
pop ecx
mov esi, ebx
mov edi, 0x101f350
rep movsd dword es:[edi], dword [esi]
and dword [eax + 8], 0
xor edi, edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x100cb97
pop edi
pop esi
leave
ret
mov dword [ebp - 4], edi
jmp 0x1007408
mov eax, dword [ebp - 4]
pop ebx
jmp 0x1007438
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
xor edi, edi
push 0x10
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
call esi
test ax, ax
jge 0x100cb86
push 0x12
call esi
test ax, ax
jge 0x100cb86
push 0x11
call esi
test ax, ax
jge 0x100cb86
xor eax, eax
jmp 0x1007438
push ebx
push 0x64
pop esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x100738b
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1007441

Function at 0x100d97f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
push dword [0x101e098]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x101e094]
cmp eax, esi
je 0x100d9c0
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x101e094]
cmp eax, esi
je 0x100d9c0
cmp eax, 0xffffffff
je 0x100d9c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x101e094], 0xffffffff
cmp dword [0x101fdcc], esi
jne 0x100d9eb
push esi
push esi
push dword [ebp + 8]
push 0x100d949
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x101fdcc], eax
cmp eax, esi
jne 0x100d9eb
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebp
ret 4
Function at 0x100de8d
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100e040
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x101e094], eax
test eax, eax
jne 0x100dee8
call ebx
mov esi, 0xffff
mov edi, 0x80070000
test eax, eax
je 0x100dedb
jle 0x100dee0
and eax, esi
or eax, edi
jmp 0x100dee0
mov eax, 0x80004005
mov dword [ebp - 0x210], eax
jmp 0x100df08
call ebx
xor ecx, ecx
mov esi, 0xffff
mov edi, 0x80070000
test eax, eax
je 0x100df02
jle 0x100df00
and eax, esi
or eax, edi
mov ecx, eax
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x210], 0
jge 0x100e027
mov eax, dword [ebp - 0x210]
and eax, esi
cmp eax, 0xb7
jne 0x100e027
cmp dword [ebp + 8], 0
jne 0x100df49
push dword [0x101e094]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x210], 1
jmp 0x100e027
push 0x2710
push dword [0x101e094]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x2713
push dword [0x101e0a4]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x100df84
and dword [ebp - 0x210], 0
jmp 0x100dfa5
call ebx
test eax, eax
je 0x100df92
jle 0x100df97
and eax, esi
or eax, edi
jmp 0x100df97
mov eax, 0x80004005
mov dword [ebp - 0x210], eax
test eax, eax
jl 0x100e027
lea eax, [ebp - 0x20c]
push eax
push 0x8002
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x100e027
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea eax, [ebp - 0x218]
push eax
push 0x2710
push 2
push 0
push 0
push 0x40b
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x100e010
call ebx
test eax, eax
jle 0x100e00e
and eax, esi
or eax, edi
test eax, eax
jl 0x100e020
cmp dword [ebp - 0x218], 0x40b
je 0x100df3a
and dword [ebp - 0x210], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret 4
Function at 0x100f08c
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x40
mov esi, ecx
mov dword [ebp - 0x30], 0x2d
mov dword [ebp - 0x2c], 0x6b756843
mov dword [ebp - 0x28], 0x10
pop ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [esi + 8]
jbe 0x100f0fe
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x100f0e6
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ecx
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x100f159
mov ecx, dword [ebp - 8]
mov dword [esi + 8], ecx
mov ebx, dword [esi + 4]
lea eax, [ebp - 8]
push eax
push 0x14
lea eax, [ebp - 0x30]
push eax
push 0x4f
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
xor edx, edx
cmp eax, edx
jle 0x100f133
and eax, 0xffff
or eax, 0x80070000
cmp eax, edx
mov dword [ebp - 4], eax
jge 0x100f165
cmp eax, 0x800700ea
jne 0x100f237
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
ja 0x100f0c4
mov ecx, dword [ebp - 0xc]
jmp 0x100f0c1
mov dword [ebp - 4], 0x8007000e
jmp 0x100f237
cmp dword [ebx], 1
je 0x100f176
mov dword [ebp - 4], 0x8007051a
jmp 0x100f237
mov ecx, dword [ebx + 8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
test ecx, ecx
jbe 0x100f1c4
lea eax, [ebx + 0x28]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax - 0xc]
add edx, ecx
mov ecx, dword [eax + 0x14]
adc dword [ebp - 0x18], ecx
mov ecx, dword [eax - 0x10]
add ecx, dword [eax - 8]
adc ebx, dword [eax - 4]
add ecx, dword [eax]
adc ebx, dword [eax + 4]
add esi, ecx
mov ecx, dword [eax + 8]
adc edi, ebx
add dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0xc]
adc dword [ebp - 0x10], ecx
add eax, 0x30
dec dword [ebp - 0xc]
jne 0x100f190
push 0
push dword [0x101e0e8]
mov eax, esi
add eax, edx
mov ecx, edi
adc ecx, dword [ebp - 0x18]
push ecx
push eax
call fcn.010021fd
push dword [ebp - 0x10]
mov ecx, eax
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
shrd ecx, edx, 0x14
shr edx, 0x14
push 0
mov dword [eax], ecx
mov dword [eax + 4], edx
push dword [0x101e0e8]
call fcn.010021fd
mov ecx, eax
mov eax, dword [ebp + 0xc]
shrd ecx, edx, 0x14
shr edx, 0x14
add esi, dword [ebp - 0x14]
push 0
adc edi, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
push dword [0x101e0e8]
push edi
push esi
call fcn.010021fd
mov ecx, eax
mov eax, dword [ebp + 0x10]
shrd ecx, edx, 0x14
shr edx, 0x14
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100f47f
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
push edi
push 0
push 0x148
lea eax, [ebp - 0x148]
push eax
push 2
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
test eax, eax
jle 0x100f4b6
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jl 0x100f55d
mov eax, dword [0x101e0e8]
shr eax, 0xa
mov ecx, eax
imul ecx, dword [ebp - 0x118]
and dword [0x101fddc], 0
and dword [0x101fdd4], 0
mov edx, dword [0x101e118]
mov dword [0x101fdd8], ecx
mov ecx, eax
imul eax, dword [ebp - 0x11c]
imul ecx, dword [ebp - 0x114]
mov dword [0x101fdd0], ecx
xor ecx, ecx
sub edx, eax
mov eax, dword [0x101e11c]
sbb eax, ecx
mov dword [0x101e114], eax
mov eax, dword [0x101e0ec]
push 0x7cf
push eax
inc eax
push eax
mov dword [0x101e110], edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
push 0
push 0x64
push dword [0x101e114]
push dword [0x101e110]
call fcn.010021fd
push dword [0x101e11c]
push dword [0x101e118]
push edx
push eax
call fcn.01001aad
mov ecx, dword [0x101e0ec]
mov byte [ecx], al
mov eax, edi
pop edi
leave
ret

Function at 0x1010596
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0xa
push 0x64
lea eax, [ebp - 0xcc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.msvcrt.dll__ui64tow_s
add esp, 0x14
push dword [ebp + 0x14]
lea eax, [ebp - 0xcc]
push ebx
push 0
push eax
push 0
mov edi, 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov esi, 0x101e4cc
cmp ax, word [0x101e4cc]
jne 0x1010601
push 4
push esi
push 0xe
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push ebx
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
test eax, eax
je 0x1010617
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001679
leave
ret 0x10
Function at 0x101270e
Capabilities:
Get local ipv4 addresses

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x10]
xor ebx, ebx
push ebx
push ebx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
xor ecx, ecx
mov edi, 0xffff
cmp eax, ebx
je 0x1012748
jle 0x1012746
and eax, edi
or eax, 0x80070000
mov ecx, eax
mov eax, ecx
and eax, edi
mov dword [ebp - 4], ecx
cmp eax, 0x6f
jne 0x10127a3
push dword [esi + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0xc]
mov dword [esi + 0x14], ebx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x101277c
mov dword [ebp - 4], 0x8007000e
jmp 0x1012895
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push ebx
push ebx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
xor ecx, ecx
cmp eax, ebx
je 0x10127a0
jle 0x101279e
and eax, edi
or eax, 0x80070000
mov ecx, eax
mov dword [ebp - 4], ecx
cmp ecx, ebx
jl 0x1012895
xor edi, edi
cmp dword [esi + 4], ebx
jbe 0x1012831
mov dword [ebp - 8], 1
mov eax, dword [esi + 0x10]
jmp 0x10127dc
cmp dword [eax + 0x40], 0x18
je 0x10127d9
cmp dword [eax + 0xd8], ebx
jne 0x10127d9
mov ecx, dword [esi]
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx + 8]
cmp ecx, dword [eax + 4]
je 0x1012836
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x10127be
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 8]
jbe 0x1012818
mov ecx, dword [esi]
sub eax, edi
lea eax, [eax*4 - 4]
lea ecx, [ecx + edi*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + eax*4 - 4], ebx
dec dword [esi + 4]
dec edi
dec dword [ebp - 8]
inc edi
inc dword [ebp - 8]
cmp edi, dword [esi + 4]
jb 0x10127b9
mov edi, dword [esi + 0x10]
jmp 0x101288c
or dword [eax + 4], 0xffffffff
jmp 0x1012828
cmp dword [edi + 0x40], 0x18
je 0x1012889
cmp dword [edi + 0xd8], ebx
jne 0x1012889
cmp dword [edi + 4], 0xffffffff
je 0x1012889
mov eax, dword [esi + 4]
cmp eax, 0x20
jae 0x1012889
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.01010300
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x1012895
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea ecx, [ecx + eax*4]
push edi
inc eax
push ecx
mov ecx, esi
mov dword [esi + 4], eax
call fcn.010116ec
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x1012895
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x101283c
cmp dword [ebp - 4], ebx
jge 0x1012898
mov dword [esi + 4], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10135a9
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push 0xd
push 1
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov byte [ebp - 1], 1
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
leave
ret 4
Function at 0x1013a19
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov eax, 0x47e0
push eax
push 0
mov ebx, eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x1013a81
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test ebx, ebx
je 0x1013a65
push dword [ebp - 4]
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebp - 4], 0
cmp ebx, 0xc0000004
jne 0x1013a8f
mov eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 4
lea ebx, [ecx + eax + 0x2000]
push ebx
push 0
call esi
push eax
call edi
mov dword [ebp - 4], eax
test eax, eax
jne 0x1013a3d
xor eax, eax
jmp 0x1013a96
test ebx, ebx
jl 0x1013a8b
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10141ee
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010140d2
mov esi, eax
test esi, esi
jl 0x101428e
push 0x38
lea eax, [ebp - 0x244]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov eax, dword [0x101e098]
mov dword [ebp - 0x240], eax
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0x400c
mov dword [ebp - 0x23c], 0x10142a0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0
push 0
push 0x86
push dword [0x101e098]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001679
leave
ret 0xc
Function at 0x10142bb
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push 0x38
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x24c]
push edi
push eax
mov dword [ebp - 0x250], edi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
mov dword [ebp - 0x210], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0xffff
mov ebx, 0x80070000
test eax, eax
jne 0x1014337
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x101432b
and eax, esi
or eax, ebx
mov edi, eax
test edi, edi
jl 0x1014434
xor edi, edi
mov dword [ebp - 0x250], 0x3c
mov dword [ebp - 0x24c], 0x400
mov dword [ebp - 0x244], 0x100d5d0
cmp dword [ebp + 0xc], edi
jne 0x1014364
mov dword [ebp - 0x244], 0x100d5dc
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x248], eax
mov eax, dword [0x101e094]
mov dword [ebp - 0x23c], 0x101445c
mov dword [ebp - 0x234], 1
cmp eax, edi
je 0x10143a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x101e094], edi
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1014434
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x10143c5
and eax, esi
or eax, ebx
mov edi, eax
test edi, edi
jge 0x1014434
push 0
call fcn.0100de8d
mov ecx, edi
and ecx, esi
mov eax, 0x4ec
cmp ecx, eax
jne 0x1014434
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x210]
push ecx
push edi
push eax
push edi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
ja 0x1014419
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x101440e
jle 0x1014413
and eax, esi
or eax, ebx
jmp 0x1014413
mov eax, 0x80004005
mov edi, eax
test eax, eax
jl 0x1014434
push 0x10
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push dword [0x101e098]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x210], 0
je 0x1014449
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret 8
Function at 0x101569f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x14], esi
jne 0x101577f
lea ebx, [edi + 0x260]
push ebx
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push dword [ebp + 8]
push dword [edi + 0xc]
call fcn.01002d04
mov esi, eax
test esi, esi
je 0x1015713
mov ecx, esi
call fcn.01013366
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x9c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1015703
mov eax, dword [eax + 8]
jmp 0x1015706
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
movzx eax, word [esi + 0xa0]
mov dword [ebp - 0x14], eax
push ebx
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
xor ebx, ebx
cmp esi, ebx
jne 0x1015728
push 0x57
pop eax
jmp 0x10157f7
mov ecx, edi
cmp dword [ebp - 0xc], ebx
je 0x1015745
push 0x273b
push 0x273d
push 0x273a
push 0x273c
jmp 0x1015755
push ebx
push 0x2731
push 0x2730
push 0x272f
push 0x2713
call fcn.01014806
cmp eax, 1
je 0x101576b
xor eax, eax
jmp 0x10157f7
cmp dword [ebp - 0x10], ebx
je 0x101577d
push dword [ebp - 0x14]
push dword [ebp - 8]
call sub.VDMDBG.dll_VDMTerminateTaskWOW
jmp 0x10157f7
xor esi, esi
push dword [ebp + 8]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x10157cb
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101405e
test eax, eax
jl 0x10157c2
cmp dword [ebp - 0x18], esi
je 0x10157c2
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x10157cb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
jmp 0x10157d4
mov dword [ebp - 4], 6
jmp 0x10157d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, esi
je 0x10157df
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], esi
je 0x10157f4
push dword [ebp - 4]
push 0x2721
push dword [edi + 4]
call fcn.0100ed25
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1015803
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 0x2739
push 0x2738
push 0x2737
mov esi, ecx
push 0x2713
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x418], ebx
call fcn.01014806
cmp eax, 1
jne 0x1015947
push dword [ebp + 8]
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1015947
push edi
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0101405e
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jl 0x101591d
cmp dword [ebp - 0x418], ebx
je 0x101591d
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push dword [esi + 0x3c]
push 0x101595c
push 0x208
push eax
call fcn.0100196b
mov esi, eax
add esp, 0x14
cmp esi, ebx
jne 0x1015922
push 0x40
lea eax, [ebp - 0x470]
push ebx
push eax
mov dword [ebp - 0x474], 0x44
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x474]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x101590b
call fcn.0100dd64
mov esi, eax
jmp 0x1015922
push dword [ebp - 0x42c]
call edi
push dword [ebp - 0x430]
call edi
jmp 0x1015922
mov esi, 0x80070006
push dword [ebp - 0x420]
call edi
pop edi
cmp esi, ebx
je 0x1015947
mov eax, dword [ebp - 0x41c]
push esi
push 0x2722
push dword [eax + 4]
call fcn.0100ed25
mov eax, esi
jmp 0x1015949
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret 0xc