joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454036
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push 0x4b8
mov eax, 0x4e4ce8
call fcn.004d631c
mov dword [ebp - 0x4b8], ecx
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x4b4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x454220
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4b0], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x454211
push dword [ebp - 0x4a8]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x454204
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401a11
mov ecx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x248]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00454828
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.004080c5
lea ecx, [ebp - 0x284]
call fcn.00401f5a
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.00401f5a
push 0x40
call fcn.004d5fd2
pop ecx
mov dword [ebp - 0x4c4], eax
test eax, eax
je 0x454176
and dword [ebp - 0x220], 0
xor ecx, ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x26c]
or ebx, 1
push ecx
push dword [ebp - 0x4a8]
mov ecx, eax
mov dword [ebp - 0x4b4], ebx
call fcn.00453f33
jmp 0x454178
xor eax, eax
push dword [ebp - 0x4c4]
and dword [ebp - 0x4c0], 0
lea ecx, [ebp - 0x4c0]
and dword [ebp - 0x4bc], 0
push eax
mov dword [ebp - 4], 7
call fcn.00453ed4
mov dword [ebp - 4], 9
test bl, 1
je 0x4541bf
and ebx, 0xfffffffe
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x4b4], ebx
call fcn.00401f5a
mov ecx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ecx + 4]
call fcn.0041e129
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4bc]
test ecx, ecx
je 0x4541ea
call fcn.00404cae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00402dce
lea ecx, [ebp - 0x26c]
call fcn.00401f5a
lea eax, [ebp - 0x4b0]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x454082
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004d62c6
ret
Function at 0x454226
Capabilities:
Get process image filename

Disassembly:
push 0x290
mov eax, 0x4e4d6e
call fcn.004d631c
mov esi, ecx
mov dword [ebp - 0x288], esi
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
cmp dword [esi + 0x10], ebx
jne 0x45426c
push str.NtQuerySystemInformation
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
je 0x45445a
push 4
push 0x3000
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov dword [ebp - 0x298], esi
test esi, esi
je 0x45445a
mov eax, dword [ebp - 0x288]
mov edi, esi
push 0
push 0x100000
push esi
push 5
call dword [eax + 0x10]
test eax, eax
js 0x45444c
cmp dword [esi], ebx
je 0x45444c
mov esi, dword [ebp - 0x288]
push dword [edi + 0x44]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x288], eax
test eax, eax
je 0x45443b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x288]
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401a11
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x284]
mov ecx, esi
push eax
call fcn.00454828
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.004080c5
lea ecx, [ebp - 0x284]
call fcn.00401f5a
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.00401f5a
push 0x40
call fcn.004d5fd2
pop ecx
mov dword [ebp - 0x29c], eax
test eax, eax
je 0x4543ae
and dword [ebp - 0x220], 0
xor ecx, ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x26c]
or ebx, 1
push ecx
push dword [edi + 0x44]
mov ecx, eax
mov dword [ebp - 0x28c], ebx
call fcn.00453f33
jmp 0x4543b0
xor eax, eax
push dword [ebp - 0x29c]
and dword [ebp - 0x294], 0
lea ecx, [ebp - 0x294]
and dword [ebp - 0x290], 0
push eax
mov dword [ebp - 4], 7
call fcn.00453ed4
mov dword [ebp - 4], 9
test bl, 1
je 0x4543f7
and ebx, 0xfffffffe
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x28c], ebx
call fcn.00401f5a
lea eax, [ebp - 0x294]
push eax
lea ecx, [esi + 4]
call fcn.0041e129
push dword [ebp - 0x288]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x290]
test ecx, ecx
je 0x454421
call fcn.00404cae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00402dce
lea ecx, [ebp - 0x26c]
call fcn.00401f5a
add edi, dword [edi]
cmp dword [edi], 0
jne 0x4542bb
mov esi, dword [ebp - 0x298]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.004d62c6
ret
Function at 0x454828
Capabilities:
Get disk information

Disassembly:
push 0x244
mov eax, 0x4e4e6d
call fcn.004d631c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x41
mov dword [ebp - 0x18], esi
pop edi
push 0x3a
pop eax
mov word [ebp - 0x16], ax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x220]
push eax
mov word [ebp - 0x18], di
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x454897
push 0
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.00436db8
test eax, eax
je 0x4548b4
inc edi
cmp di, 0x5a
jbe 0x454843
push 0x4ebbc4
mov ecx, esi
call fcn.00401a11
mov eax, esi
call fcn.004d62c6
ret 8
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0x228], 0
xor ecx, ecx
push 0xffffffffffffffff
push eax
mov word [ebp - 0x238], cx
lea ecx, [ebp - 0x238]
push ebx
mov dword [ebp - 0x224], 7
call fcn.00408458
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x250]
call fcn.00401a11
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
push ecx
push eax
push esi
call fcn.00403119
add esp, 0xc
lea ecx, [ebp - 0x250]
call fcn.00401f5a
lea ecx, [ebp - 0x238]
call fcn.00401f5a
jmp 0x4548aa

Function at 0x454b2e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x454b47
cmp dword [edi], 2
jae 0x454b47
push 0x7a
pop eax
jmp 0x454ba6
mov eax, dword [edi]
push ebx
add eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
mov dword [edi], ebx
push eax
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x454ba5
cmp dword [ebp + 0x10], 7
jne 0x454ba2
mov ecx, dword [ebp + 0xc]
test esi, esi
je 0x454b9a
test cl, 1
jne 0x454ba2
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x454ba2
cmp word [esi + eax*2 - 2], bx
jne 0x454ba2
cmp eax, 1
jbe 0x454b9a
cmp word [esi + eax*2 - 4], bx
jne 0x454ba2
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
jmp 0x454ba5
push 0xd
pop eax
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x455766
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5037
mov eax, dword fs:[0]
push eax
mov eax, 0x204c
call fcn.004d6520
mov eax, dword [0x566f9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x204c], ecx
mov esi, dword [ebp + 0xc]
mov eax, esi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x4557ad
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4558b2
and dword [ebp - 0x2044], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4557ce
mov eax, dword [esi]
lea ecx, [ebp - 0x2044]
push ecx
push 0xf003f
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
test eax, eax
je 0x45585f
cmp eax, 2
cmove eax, ecx
jmp 0x4558b2
push 0x4ebfb4
lea eax, [ebp - 0x2040]
push esi
push eax
call fcn.00403164
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2010]
push ecx
push eax
lea eax, [ebp - 0x2028]
push eax
call fcn.004029e1
add esp, 0x18
mov ecx, dword [ebp - 0x204c]
push eax
push edi
mov byte [ebp - 4], 1
call fcn.00455766
lea ecx, [ebp - 0x2028]
mov dword [ebp - 0x2050], eax
call fcn.00401f5a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2040]
call fcn.00401f5a
mov eax, dword [ebp - 0x2050]
test eax, eax
jne 0x4558b2
xor ecx, ecx
lea eax, [ebp - 0x2058]
mov dword [ebp - 0x2048], 0x1000
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x2048]
push eax
lea eax, [ebp - 0x2010]
push eax
push ecx
push dword [ebp - 0x2044]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4557f5
push dword [ebp - 0x2044]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x14], 8
jb 0x4558aa
mov esi, dword [esi]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d62a0
leave
ret 8
Function at 0x457015
Capabilities:
Enumerate services

Disassembly:
push 0xec
mov eax, 0x4e53a6
call fcn.004d631c
mov esi, ecx
mov dword [ebp - 0x48], esi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push 5
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x4570c0
push 1
push 3
lea ecx, [ebp - 0xf8]
call fcn.004038fa
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xe8]
push str.OpenSCManager__error
push eax
call fcn.00402f9e
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea eax, [ebp - 0xf8]
push eax
push str.ServiceList::getServiceNames
push 0x22
push str.C:workprojects_rubilnik_src_systemServiceList.cpp
push 0
call fcn.00405a66
mov ecx, eax
call fcn.0040f202
lea ecx, [ebp - 0x90]
call fcn.00403ad6
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x4571a3
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
lea ecx, [ebp - 0x2c]
xor edx, edx
push edx
push edx
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edx
push ecx
push edx
push edx
push 3
push dword [esi]
mov dword [ebp - 0x2c], edx
push edx
push eax
call edi
mov esi, dword [ebp - 0x30]
add esi, 0xa
push esi
call fcn.004d63c4
pop ecx
xor edx, edx
mov dword [ebp - 0x40], eax
push edx
push edx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push esi
mov esi, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push 3
push dword [eax]
push edx
push esi
call edi
test eax, eax
jne 0x45715a
push 1
push 3
lea ecx, [ebp - 0xf8]
call fcn.004038fa
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xe8]
push str.EnumServicesStatusEx__error
push eax
call fcn.00402f9e
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea eax, [ebp - 0xf8]
push eax
push str.ServiceList::getServiceNames
push 0x33
jmp 0x457091
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor edi, edi
cmp dword [ebp - 0x2c], edi
jbe 0x45719a
mov esi, dword [ebp - 0x40]
push dword [esi]
lea ecx, [ebp - 0x28]
call fcn.00401a11
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403837
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401f5a
inc edi
lea esi, [esi + 0x2c]
cmp edi, dword [ebp - 0x2c]
jb 0x45716b
push dword [ebp - 0x40]
call fcn.004d63cd
pop ecx
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.0040d0e0
lea ecx, [ebp - 0x3c]
call fcn.00402dce
mov eax, ebx
call fcn.004d62c6
ret 4
Function at 0x45796d
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.00457944
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [edi + 0x60]
push esi
push 0x547234
push 1
push ebx
push 0x547294
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4579a1
mov dword [esi], ebx
xor al, al
jmp 0x457a16
mov ecx, dword [esi]
lea ebx, [edi + 0x64]
push ebx
push 0x547264
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jns 0x4579c5
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
and dword [esi], 0
and dword [ebx], 0
jmp 0x45799d
lea esi, [edi + 0xc]
push esi
call fcn.0040afc0
pop ecx
test al, al
je 0x457a14
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4579dd
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4579fd
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4579f2
mov ecx, dword [esi]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
jb 0x457a05
mov esi, dword [esi]
mov eax, dword [ebx]
push 2
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x45799d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x457abc
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00457a7a
mov ax, word [ebp + 0xc]
mov ecx, esi
mov word [esi + 0x18], ax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
call fcn.00457b21
test al, al
je 0x457b1a
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
call sub.WS2_32.dll_socket
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
je 0x457b1a
push 0x10
lea ecx, [esi + 0x2c]
push ecx
push eax
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x457b1a
mov al, 1
jmp 0x457b1c
xor al, al
pop esi
pop ebp
ret 0x14

Function at 0x457b21
Capabilities:
Resolve dns

Disassembly:
push esi
push edi
mov edi, ecx
push 0x10
push 0
lea esi, [edi + 0x2c]
push esi
call sub.VCRUNTIME140.dll_memset
mov ax, word [edi + 0x1c]
add esp, 0xc
mov word [esi], ax
movzx eax, word [edi + 0x18]
push eax
call sub.WS2_32.dll_htons
mov word [edi + 0x2e], ax
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x457b54
mov eax, dword [edi]
push eax
call sub.WS2_32.dll_inet_addr
lea esi, [edi + 0x30]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x457b83
cmp dword [edi + 0x14], 0x10
jb 0x457b6c
mov edi, dword [edi]
push edi
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x457b7a
xor al, al
jmp 0x457b85
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi], eax
mov al, 1
pop edi
pop esi
ret
Function at 0x4594fc
Capabilities:
Set environment variable

Disassembly:
push 0xc8
mov eax, 0x4e5a43
call fcn.004d631c
mov edi, ecx
mov dword [ebp - 0xbc], edi
call fcn.00455499
mov ecx, eax
call fcn.00458475
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401a11
and dword [ebp - 4], 0
lea eax, [ebp - 0x94]
push eax
call fcn.00455499
mov ecx, eax
call fcn.004594d4
mov eax, dword [edi + 4]
mov ebx, dword [edi]
mov byte [ebp - 4], 1
mov dword [ebp - 0xc4], eax
jmp 0x459606
mov esi, ebx
lea edi, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0xcc], 0
mov edi, dword [ebp - 0xbc]
je 0x459603
push dword [ebp - 0xcc]
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045920c
xor ecx, ecx
mov byte [ebp - 0xc0], cl
push dword [ebp - 0xc0]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x58]
push eax
call fcn.00402bfb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401f5a
push dword [ebp - 0xc8]
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
call fcn.00402c23
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.00402c9e
test al, al
jne 0x4595e9
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x58]
push eax
call fcn.0040d2f0
lea ecx, [ebp - 0x40]
call fcn.00401f5a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401f5a
mov eax, dword [ebp - 0xc4]
add ebx, 0x10
cmp ebx, eax
jne 0x459553
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004503a4
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.004080c5
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.00408584
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00408923
cmp dword [eax + 0x14], 8
jb 0x45964f
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push eax
push str.USERPROFILE
call esi
lea ecx, [ebp - 0x28]
call fcn.00401f5a
lea ecx, [ebp - 0x4c]
call fcn.00402dce
lea ecx, [ebp - 0x64]
call fcn.00401f5a
lea ecx, [ebp - 0xa0]
call fcn.00402dce
lea ecx, [ebp - 0xb8]
call fcn.00401f5a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401f5a
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041dcbd
cmp dword [eax + 0x14], 8
jb 0x4596aa
mov eax, dword [eax]
push eax
push str.LOCALAPPDATA
call esi
lea ecx, [ebp - 0x28]
call fcn.00401f5a
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004288aa
cmp dword [eax + 0x14], 8
jb 0x4596cd
mov eax, dword [eax]
push eax
push str.APPDATA
call esi
lea ecx, [ebp - 0x28]
call fcn.00401f5a
lea ecx, [ebp - 0x94]
call fcn.00401f5a
lea ecx, [ebp - 0x7c]
call fcn.00401f5a
call fcn.004d62c6
ret
Function at 0x459737
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x566f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [ebp - 0x114]
pop esi
cmp ecx, 0xa
jb 0x459786
push 3
pop eax
jmp 0x4597ab
cmp ecx, 6
jb 0x4597a0
push 2
pop eax
cmp dword [ebp - 0x110], eax
jae 0x4597ab
cmp ecx, 6
jne 0x4597a0
xor eax, eax
inc eax
jmp 0x4597ab
xor eax, eax
xor edx, edx
inc eax
cmp ecx, 5
cmove eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d62a0
leave
ret

Function at 0x459e8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x459e9a
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
push str.taskbarunpin
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
pop ebp
ret

Function at 0x45a73c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xc
mov eax, 0x4e5ce0
call fcn.004d62e8
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push 0x5474d8
push 1
push ebx
push 0x5474e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x45a782
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp + 8]
mov dword [esi], ebx
jmp 0x45a80e
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push str.ROOTCIMV2
mov byte [ebp - 4], 1
call fcn.00452e3e
mov ecx, dword [eax]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x45a7a7
mov ecx, dword [ecx]
jmp 0x45a7a9
mov ecx, ebx
mov eax, dword [esi]
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x18]
mov esi, eax
test ecx, ecx
je 0x45a7cb
call fcn.00452e9c
mov dword [ebp - 0x18], ebx
test esi, esi
jns 0x45a7ec
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
mov dword [esi], ebx
test eax, eax
je 0x45a80e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x45a80e
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x45a7cf
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45a81f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.004d62b1
ret 4
Function at 0x4604ac
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x18c
mov eax, 0x4e6a2b
call fcn.004d631c
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp eax, 0x100
jne 0x46051d
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebx, 0x8000
test bx, ax
je 0x460668
push 0x10
call edi
test bx, ax
je 0x460668
cmp dword [esi + 8], 0x70
jne 0x460668
xor eax, eax
mov dword [ebp - 0x14], eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004022e2
mov ecx, eax
call fcn.0045f1d0
lea ecx, [ebp - 0x38]
call fcn.0040d5ae
jmp 0x460668
cmp eax, 0x400
jbe 0x460668
cmp eax, 0x409
jne 0x46059f
xor edi, edi
lea ecx, [ebp - 0xe8]
inc edi
push edi
push 3
call fcn.004038fa
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], edi
push str.PreTranslateMessage_:_WM_CONFIG_ACCEPTED
push eax
call fcn.00402f9e
pop ecx
pop ecx
lea eax, [ebp - 0xe8]
push eax
push str.MessageFilter::PreTranslateMessage
push 0x54
push str.C:workprojects_rubilnik_srccoreCore.cpp
push edi
call fcn.00405a66
mov ecx, eax
call fcn.0040f202
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00403ad6
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
push dword [esi + 8]
call fcn.00402ec2
mov ecx, eax
call fcn.0045fd61
jmp 0x460668
cmp eax, 0x40b
jne 0x4605c2
cmp dword [esi + 8], 0
setne al
movzx eax, al
push eax
call fcn.00402ec2
mov ecx, eax
call fcn.00461b06
jmp 0x460668
cmp eax, 0x40c
jne 0x4605da
call fcn.00402ec2
mov ecx, eax
call fcn.0046196b
jmp 0x460668
cmp eax, 0x40e
jne 0x460655
xor edi, edi
lea ecx, [ebp - 0x198]
inc edi
push edi
push 3
call fcn.004038fa
lea eax, [ebp - 0x188]
mov dword [ebp - 4], 2
push str.PreTranslateMessage_:_WM_CONFIG_LOADED
push eax
call fcn.00402f9e
pop ecx
pop ecx
lea eax, [ebp - 0x198]
push eax
push str.MessageFilter::PreTranslateMessage
push 0x64
push str.C:workprojects_rubilnik_srccoreCore.cpp
push edi
call fcn.00405a66
mov ecx, eax
call fcn.0040f202
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00403ad6
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
call fcn.00402ec2
mov ecx, eax
call fcn.0045fe69
jmp 0x460668
cmp eax, 0x410
jne 0x460668
call fcn.00402ec2
mov ecx, eax
call fcn.00461b1a
xor eax, eax
call fcn.004d62c6
ret 4