joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006e1b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x10]
push edx
push eax
call sym.iImportLib.dll_public:_bool___thiscall_elex::file::FileVersionInfo::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
mov ecx, esi
test al, al
je 0x1006e22b
lea eax, [esp + 0x10]
push eax
call fcn.1000f9e0
jmp 0x1006e235
push 0x100b2814
call fcn.10008550
cmp dword [esp + 0x24], 8
jb 0x1006e249
push dword [esp + 0x10]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret 8

Function at 0x1006e3e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x38
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x18], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
shrd edx, ecx, 0x14
shr ecx, 0x14
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 0x10]
shrd edx, ecx, 0x14
shr ecx, 0x14
mov ecx, dword [esp + 0x4c]
mov dword [edi], edx
pop edi
pop esi
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1006e460
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e578
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [esp + 0x1c], cx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
call fcn.10008c80
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp edx, 8
lea ecx, [esp + 0x14]
cmovae ecx, esi
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1006e502
push 1
push 0x100a21f4
lea ecx, [esp + 0x1c]
call fcn.10011f70
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x30]
push ecx
cmp edx, 8
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x1c]
cmovae eax, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
shrd edx, ecx, 0x14
shr ecx, 0x14
mov ecx, dword [esp + 0x30]
mov dword [edi], edx
mov edx, dword [esp + 0x2c]
shrd edx, ecx, 0x14
shr ecx, 0x14
cmp dword [esp + 0x28], 8
mov esi, eax
mov dword [ebx], edx
jb 0x1006e55a
push dword [esp + 0x14]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1006f850
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x21c]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x21c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push eax
mov dword [ebp - 0x224], eax
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
cmp dword [ebp + 0x20], 8
mov ebx, eax
push ebx
push dword [ebp - 0x224]
lea ecx, [ebp + 0xc]
push dword [ebp - 0x21c]
cmovae ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x100a21f4
push ebx
mov dword [ebp - 0x220], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x1006f91b
push 0x100b2814
jmp 0x1006f96d
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
movzx eax, word [edi + 0xc]
push eax
movzx eax, word [edi + 0xe]
push eax
movzx eax, word [edi + 8]
push eax
movzx eax, word [edi + 0xa]
push eax
lea eax, [ebp - 0x218]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push ebx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 0x28
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10008550
cmp dword [ebp + 0x20], 8
jb 0x1006f986
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10071250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009ca28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
push eax
push 0x100b2814
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.100089b0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x34], 0
call sym.iImportLib.dll_unsigned_long_int___cdecl_elex::func::GetLangAreaId_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
mov esi, eax
jb 0x100712d3
push dword [esp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
test esi, esi
jne 0x100712f9
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx eax, ax
jmp 0x100712fc
movzx eax, si
push dword [ebp + 0x10]
mov edx, 0xfffe
push dword [ebp + 0xc]
mov ecx, 0xffff
push dword [ebp + 8]
cmp ax, dx
cmove eax, ecx
push eax
call sym.iImportLib.dll_wchar_t____cdecl_elex::os::GetLangNationName_unsigned_short_int__wchar_t___int__unsigned_long_int_
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100713c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
test edi, edi
je 0x10071466
test edx, edx
je 0x10071466
push ebx
mov ebx, dword [edi + 0x3c]
add ebx, edi
je 0x100713eb
lea eax, [ebx + 0x78]
test eax, eax
jne 0x100713f3
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax]
add eax, edi
push esi
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
add ecx, edi
add esi, edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 4], esi
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x1007144a
lea esp, [esp]
movsx eax, word [ecx + esi*2]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push edx
mov eax, dword [eax + esi*4]
add eax, edi
push eax
call dword [sym.imp.MSVCR110.dll__stricmp]
add esp, 8
test eax, eax
je 0x10071453
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10071420
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
pop esi
mov eax, dword [ecx + eax*4]
add eax, dword [ebx + 0x34]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10072d50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ecx, ecx
mov eax, 0x104
mov edx, 2
xor bl, bl
mul edx
seto cl
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], 0x104
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10072dca
cmp word [esi], 0
jne 0x10072da9
xor eax, eax
jmp 0x10072dbf
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10072db0
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.100089b0
mov bl, 1
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x10072df0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x28
mov dword [ebp - 0x18], 0
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10072e7f
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x10072e7f
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10073200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov edi, edx
mov ebx, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x207
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1007334a
push esi
lea esi, [ebp - 0x414]
mov edx, 0x3a
mov ecx, dword [edi]
mov ax, word [esi]
imul ecx, ecx, 0x418
mov word [ecx + ebx], ax
mov eax, dword [edi]
imul eax, eax, 0x418
xor ecx, ecx
mov word [eax + ebx + 2], dx
mov eax, dword [edi]
imul eax, eax, 0x418
push 0x208
mov word [eax + ebx + 4], cx
mov ecx, dword [edi]
imul ecx, ecx, 0x418
add ecx, ebx
lea eax, [ecx + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10073330
mov eax, dword [edi]
imul eax, eax, 0x418
mov ecx, 0x5c
mov word [eax + ebx + 4], cx
mov eax, dword [edi]
imul eax, eax, 0x418
xor ecx, ecx
mov word [eax + ebx + 6], cx
mov edx, dword [edi]
mov eax, edx
imul eax, eax, 0x418
add eax, 8
add eax, ebx
mov ecx, eax
mov dword [ebp - 0x418], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x41c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100732f1
sub ecx, dword [ebp - 0x41c]
imul edx, edx, 0x20c
sar ecx, 1
add edx, ecx
cmp word [ebx + edx*2 + 6], 0x5c
je 0x1007332d
push 0x100a21f4
push 0x208
push dword [ebp - 0x418]
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
inc dword [edi]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10073330
mov edx, 0x3a
cmp word [esi], ax
jne 0x10073263
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10073680
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x82a4
call fcn.100974c0
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov dword [ebp - 0x82a4], esi
mov bl, 1
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x8298]
push eax
push 0x1000
lea eax, [ebp - 0x8294]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x100736f1
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x8298]
shr eax, 2
push edi
mov dword [ebp - 0x82a0], eax
xor eax, eax
push 0x6a68
push eax
mov word [ebp - 0x7294], ax
mov dword [ebp - 0x7292], eax
mov word [ebp - 0x728e], ax
lea eax, [ebp - 0x728c]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea edx, [ebp - 0x829c]
lea ecx, [ebp - 0x7294]
mov dword [ebp - 0x829c], 0
call fcn.10073200
xor edi, edi
cmp dword [ebp - 0x82a0], edi
jbe 0x1007384d
jmp 0x10073760
push dword [ebp - 0x829c]
mov ecx, dword [ebp + edi*4 - 0x8294]
lea eax, [ebp - 0x7294]
push eax
lea edx, [ebp - 0x414]
call fcn.100735e0
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x14
lea eax, [ebp - 0x824]
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push 0x208
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
push dword [esi + 0x10]
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
call fcn.100086e0
push eax
call dword [sym.imp.MSVCR110.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10073840
push dword [ebp + edi*4 - 0x8294]
push eax
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10073832
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10073829
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007383a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
mov esi, dword [ebp - 0x82a4]
inc edi
cmp edi, dword [ebp - 0x82a0]
jb 0x10073760
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10073860
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x38
mov byte [ebp - 0x41], al
lea eax, [ebp - 0x3c]
push 0
push eax
mov dword [ebp - 0x40], 0x3c
call sub.MSVCR110.dll_memset
mov eax, dword [0x100ebf6c]
add esp, 0xc
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x38], 0
test eax, eax
jne 0x100738c3
push eax
push 0x100ebf6c
call sym.iImportLib.dll_int___cdecl_elex::os::ISAFE_GetOSVersion_unsigned_long_int___unsigned_long_int__
mov eax, dword [0x100ebf6c]
add esp, 8
and eax, 0xff00
cmp eax, 0x1500
jb 0x100738e5
cmp byte [ebp - 0x41], 0
mov eax, str.runas
mov ecx, str.open
cmove eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x100738ec
mov dword [ebp - 0x34], str.open
cmp dword [edi + 0x14], 8
jb 0x100738f4
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30], edi
jb 0x100738ff
mov esi, dword [esi]
xor eax, eax
cmp byte [ebp + 0x1c], al
mov dword [ebp - 0x2c], esi
setne al
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x24], eax
jb 0x10073915
mov ebx, dword [ebx]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, dword [ebp - 8]
mov edi, eax
test edi, edi
je 0x10073943
cmp byte [ebp + 0x18], 0
je 0x1007393a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov ecx, dword [ebp - 4]
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10073ad0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e91b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x7ecc
call fcn.100974c0
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x7ec8], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x7ee0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x7acc], ax
lea eax, [esp + 0x7ace]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push 0x1000
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x10073cdd
mov ebx, dword [esp + 0x38]
xor eax, eax
push 0x6a68
push eax
mov word [esp + 0x105c], ax
mov dword [esp + 0x105e], eax
mov word [esp + 0x1062], ax
lea eax, [esp + 0x1064]
shr ebx, 2
push eax
mov dword [esp + 0x28], ebx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1054]
mov dword [esp + 0x14], 0
call fcn.10073200
xor edi, edi
test ebx, ebx
je 0x10073ca7
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jmp 0x10073bc0
push dword [esp + 0x14]
mov ecx, dword [esp + edi*4 + 0x58]
lea eax, [esp + 0x1058]
push eax
lea edx, [esp + 0x7acc]
call fcn.100735e0
add esp, 8
lea eax, [esp + 0x7ac4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
cmp word [edx], ax
jne 0x10073c0f
xor ecx, ecx
jmp 0x10073c23
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10073c14
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.100089b0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x7ef0], 0
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::to_lower_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov dword [esp + 0x7ee8], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x10073c66
push dword [esp + 0x20]
call ebx
add esp, 4
cmp dword [esp + 0x50], 8
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x3c]
cmovae esi, dword [esp + 0x3c]
call fcn.100086e0
push eax
push esi
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10073ccd
cmp dword [esp + 0x50], 8
jb 0x10073c9c
push dword [esp + 0x3c]
call ebx
add esp, 4
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x10073bc0
xor al, al
mov ecx, dword [esp + 0x7ee0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7ec8]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x50], 8
jb 0x10073cdd
push dword [esp + 0x3c]
call ebx
add esp, 4
mov al, 1
jmp 0x10073ca9
Function at 0x10073cf0
Capabilities:
Patch process command line

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push str.NtQueryInformationProcess
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10073df3
push 0
push 0x18
lea ecx, [esp + 0x24]
push ecx
xorps xmm0, xmm0
push 0
push edi
mov dword [esp + 0x30], 0
movq qword [esp + 0x34], xmm0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], 0
call eax
test eax, eax
jne 0x10073df3
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x10
push eax
push edi
call ebx
test eax, eax
je 0x10073df3
push 0
push 8
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x40
push eax
push edi
call ebx
test eax, eax
je 0x10073df3
movzx eax, word [esp + 0x14]
lea eax, [eax*2 + 2]
push eax
push 8
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10073ddf
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push dword [esp + 0x24]
push edi
call ebx
test eax, eax
jne 0x10073ddf
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10074880
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x234], 0
test edi, edi
jne 0x100748b6
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100748ef
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call ebx
test eax, eax
je 0x10074948
mov edi, edi
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1007493c
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call ebx
test eax, eax
jne 0x10074910
jmp 0x10074948
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x10074f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x20]
or eax, 0x20019
push eax
push 0
push ecx
push edx
xor bl, bl
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10074f9e
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x10074fac
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret