joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417dbc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004112b3
xor ebx, ebx
cmp dword [0x444620], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x417e91
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x417dfc
xor eax, eax
jmp 0x417f55
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41f1e0
push edi
call esi
cmp eax, ebx
je 0x417df5
push eax
call fcn.00411250
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x444620], eax
call esi
push eax
call fcn.00411250
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444624], eax
call esi
push eax
call fcn.00411250
mov dword [0x444628], eax
lea eax, [ebp - 8]
push eax
call fcn.0040faf7
test eax, eax
pop ecx
pop ecx
je 0x417e5f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040c97e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x417e91
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00411250
cmp eax, ebx
pop ecx
mov dword [0x444630], eax
je 0x417e91
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411250
pop ecx
mov dword [0x44462c], eax
mov eax, dword [0x44462c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x417f0a
cmp dword [0x444630], esi
je 0x417f0a
push eax
call fcn.004112bc
pop ecx
call eax
cmp eax, ebx
je 0x417ed7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x444630]
call fcn.004112bc
pop ecx
call eax
test eax, eax
je 0x417ed7
test byte [ebp - 0x18], 1
jne 0x417f0a
lea eax, [ebp - 0xc]
push eax
call fcn.0040fb6a
test eax, eax
pop ecx
je 0x417ef2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040c97e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x417f01
or dword [ebp + 0x10], 0x200000
jmp 0x417f3b
or dword [ebp + 0x10], 0x40000
jmp 0x417f3b
mov eax, dword [0x444624]
cmp eax, esi
je 0x417f3b
push eax
call fcn.004112bc
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x417f3b
mov eax, dword [0x444628]
cmp eax, esi
je 0x417f3b
push dword [ebp - 4]
push eax
call fcn.004112bc
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x444620]
call fcn.004112bc
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401cd3
Capabilities:
Enumerate process modules

Disassembly:
push 0x46c
mov eax, 0x45d424
call fcn.00446e42
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x474], ecx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
push eax
push 8
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401da2
lea eax, [ebp - 0x470]
push eax
push esi
mov dword [ebp - 0x470], 0x428
call sub.KERNEL32.dll_Module32FirstW
cmp eax, ebx
je 0x401d9b
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401bc2
push dword [ebp - 0x474]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040179b
test eax, eax
jne 0x401d7c
lea eax, [ebp - 0x250]
push eax
call fcn.00446eee
pop ecx
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ad2
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004017bc
lea eax, [ebp - 0x470]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x401d3a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00401ca2
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017bc
mov eax, edi
call fcn.00446ec5
ret
Function at 0x401dc0
Capabilities:
Check os version
Enumerate process modules
Get process image filename

Disassembly:
push 0x358
mov eax, 0x45d457
call fcn.00446e42
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
push 0x118
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x34c]
push esi
push eax
mov dword [ebp - 0x360], esi
call fcn.004468a0
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
mov dword [ebp - 0x350], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x358], eax
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.004468a0
add esp, 0xc
push edi
push esi
push 0x1fffff
mov dword [ebp - 0x364], esi
mov dword [ebp - 0x360], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
jne 0x401e6d
mov ecx, dword [ebp - 0x354]
push 0x4647a8
call fcn.00401bc2
jmp 0x401f58
lea eax, [ebp - 0x360]
push eax
push 4
lea eax, [ebp - 0x364]
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
mov dword [ebp - 0x35c], eax
cmp eax, esi
jne 0x401e93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004468a0
add esp, 0xc
cmp dword [ebp - 0x358], 5
mov edi, 0x104
jae 0x401ed1
push edi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x364]
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp dword [ebp - 0x358], 5
jne 0x401ee3
push edi
lea eax, [ebp - 0x218]
push eax
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
jmp 0x401f0e
cmp dword [ebp - 0x34c], 6
jb 0x401f0e
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
mov dword [ebp - 0x358], edi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], esi
jne 0x401f1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401bc2
mov ecx, dword [ebp - 0x354]
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 4], esi
call fcn.00401ca2
push esi
push 1
lea ecx, [ebp - 0x234]
call fcn.004017bc
mov eax, dword [ebp - 0x354]
call fcn.00446ec5
ret
Function at 0x402189
Capabilities:
Enumerate processes

Disassembly:
push 0x2dc
mov eax, 0x45d4db
call fcn.00446e42
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov ebx, eax
lea eax, [ebp - 0x2e4]
push esi
push eax
mov dword [ebp - 0x2e8], 0x22c
call fcn.004468a0
add esp, 0xc
lea eax, [ebp - 0x2e8]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, esi
je 0x4022d5
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401bc2
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x2e0]
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], esi
call fcn.00401cd3
push dword [ebp - 0x2e0]
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 1
call fcn.00401dc0
add esp, 0x14
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00401bf3
push esi
push 1
lea ecx, [ebp - 0xbc]
call fcn.004017bc
lea ecx, [ebp - 0xa0]
call fcn.004019e4
mov eax, dword [ebp - 0x2d0]
push 0xffffffffffffffff
mov dword [ebp - 0x84], eax
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00401a37
lea eax, [ebp - 0x2c4]
push eax
call fcn.00446eee
pop ecx
push eax
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401ad2
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401a37
lea eax, [ebp - 0xa0]
push eax
mov ecx, edi
call fcn.0040211c
lea ecx, [ebp - 0xa0]
call fcn.00401a0f
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004017bc
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017bc
lea eax, [ebp - 0x2e8]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4021db
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00446ec5
ret

Function at 0x403b0d
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x45d8f1
call fcn.00446dd9
mov edi, ecx
and dword [ebp - 0x10], 0
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [edi + 0x554]
call fcn.0040ab78
cmp dword [edi + 0x554], 0
je 0x403b99
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf4]
test al, al
je 0x403b99
mov ecx, dword [edi + 0x554]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax]
mov esi, dword [eax]
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0xf4]
movzx eax, al
neg eax
sbb eax, eax
and eax, 4
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x403b99
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea ecx, [ecx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CControlUI::NeedParentUpdate_void_]
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x403bbb
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea ecx, [ecx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00446eb1
ret 4
Function at 0x403d0a
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x45d964
call fcn.00446dd9
mov esi, ecx
push dword [ebp + 8]
and dword [ebp - 0x14], 0
call dword [sym.imp.DuiLib.dll_public_virtual:_void___thiscall_DuiLib::CControlUI::SetVisible_bool_]
mov ecx, dword [esi + 0x554]
test ecx, ecx
je 0x403d6f
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax]
mov ecx, dword [eax]
movzx eax, byte [ebp + 8]
and dword [ebp - 4], 0
neg eax
sbb eax, eax
and eax, 4
push eax
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x403d6f
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea ecx, [ecx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00446eb1
ret 4

Function at 0x403d77
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x45d914
call fcn.00446dd9
and dword [ebp - 0x10], 0
mov ecx, dword [ecx + 0x554]
test ecx, ecx
je 0x403dd1
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
call dword [eax]
mov ecx, dword [eax]
movzx eax, byte [ebp + 8]
and dword [ebp - 4], 0
neg eax
sbb eax, eax
and eax, 4
push eax
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x403dd1
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea ecx, [ecx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00446eb1
ret 4
Function at 0x40b812
Capabilities:
Read file on windows

Disassembly:
push 0x58
mov eax, 0x45e820
call fcn.00446e42
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], ebx
call fcn.0040ac62
pop ecx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401544
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040118d
push str.models_
call fcn.00446130
pop ecx
push eax
push str.models_
lea ecx, [ebp - 0x2c]
call fcn.00401412
push dword [ebp - 0x60]
call fcn.00446130
pop ecx
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x2c]
call fcn.00401412
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40b748
lea eax, [ebp - 0x2c]
push 0x465620
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004493cd
add esp, 0xc
cmp dword [ebp - 0x58], ebx
jne 0x40b776
mov byte [ebp - 0x51], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040118d
mov al, byte [ebp - 0x51]
call fcn.00446ec5
ret
push 2
push ebx
push dword [ebp - 0x58]
call fcn.00449295
push dword [ebp - 0x58]
call fcn.004491a6
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
call fcn.00448f54
mov eax, dword [ebp - 0x5c]
inc eax
push eax
call fcn.00448b78
mov ecx, dword [ebp - 0x5c]
inc ecx
push ecx
push ebx
push eax
mov dword [esi], eax
call fcn.004468a0
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push 1
push dword [esi]
call fcn.00448f37
push dword [ebp - 0x58]
mov dword [edi], eax
call fcn.00448c79
mov edi, dword [edi]
mov esi, dword [esi]
add esp, 0x38
push dword [ebp - 0x60]
lea ecx, [ebp - 0x50]
call fcn.0040628b
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
push ebx
lea eax, [ebp - 0x50]
mov esi, 0x481a64
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040b5f1
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.0040b393
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0040118d
mov byte [ebp - 0x51], 1
jmp 0x40b762
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040aa90
add esp, 0xc
test al, al
je 0x40b82e
mov al, 1
pop ebp
ret
pop ebp
jmp 0x40b6bc

Function at 0x40bc2d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x480450]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov esi, ecx
call fcn.004468a0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
cmp eax, 6
jae 0x40bc91
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00446dca
leave
ret
Function at 0x40beee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x8c
mov eax, 0x45e9a7
call fcn.00446e42
push 1
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceType_int_]
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
pop ecx
pop ecx
and dword [ebp - 4], 0
call dword [sym.imp.DuiLib.dll_public:_static_int___cdecl_DuiLib::CPaintManagerUI::GetResourceType_void_]
dec eax
je 0x40bfda
sub eax, 3
jne 0x40c01e
push str.SkinCEFBrowser_
lea ecx, [ebp - 0x94]
call dword [0x4640d0]
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
mov esi, dword [sym.imp.DuiLib.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_]
mov dword [esp], str.ZIPRES
push str.IDR_ZIPRES
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40c01e
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x40bfd1
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x40bfd1
push 0
push eax
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t_const__]
add esp, 0xc
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x98], esp
mov dword [eax], 0x46569c
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CResourceManager____cdecl_DuiLib::CResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CResourceManager::LoadResource_class_DuiLib::STRINGorID__wchar_t_const__]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x40c01e
push str.SkinCEFBrowser_
lea ecx, [ebp - 0x94]
call dword [0x4640d0]
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__]
pop ecx
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x98], esp
mov dword [eax], 0x46569c
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CResourceManager____cdecl_DuiLib::CResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_int___thiscall_DuiLib::CResourceManager::LoadResource_class_DuiLib::STRINGorID__wchar_t_const__]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
call fcn.00446ec5
ret
Function at 0x40c47e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.004468a0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], 0x465760
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040be22
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040be22
mov eax, esi
pop esi
leave
ret
Function at 0x40d7f3
Capabilities:
Enumerate devices by category

Disassembly:
push 0x2c
mov eax, 0x45eb00
call fcn.00446dd9
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x465854
push 0x17
push ebx
push 0x468840
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x40d856
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x40d988
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40d985
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.0040d509
mov dword [ebp - 0x10], ebx
jmp 0x40d922
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x46b608
push ebx
push ebx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x24]
cmp eax, ebx
jne 0x40d8fd
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
pop eax
push ebx
lea edx, [ebp - 0x38]
push edx
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0x465864
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push ebx
push ebx
push eax
call dword [ecx + 0x50]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0040c78b
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.0040d67d
push esi
mov ecx, eax
call fcn.0040c71c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040be22
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x40d90e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40d91f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
cmp eax, ebx
je 0x40d86c
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40d955
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40d965
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40d975
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x40d985
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40d996
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.00446eb1
ret
Function at 0x40dc43
Capabilities:
Get file version info

Disassembly:
push 0x1c
mov eax, 0x45eb76
call fcn.00446dd9
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x20], eax
xor edi, edi
mov dword [ebp - 4], 1
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x28], edi
cmp dword [ebp + 0x18], edi
je 0x40dd6a
cmp dword [ebp + 0x34], edi
je 0x40dd6a
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x40dc83
lea eax, [ebp + 0x24]
lea ecx, [ebp - 0x24]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x40dd6a
mov edi, 0x482b5e
push edi
push esi
call fcn.0044992a
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x40dd6a
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x40dcbb
lea eax, [ebp + 0x24]
push ebx
push esi
push dword [ebp - 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40dd55
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40dd55
mov eax, dword [ebp - 0x1c]
movzx esi, word [eax]
movzx eax, word [eax + 2]
push edi
shl esi, 0x10
push 0x100
or esi, eax
call fcn.0044992a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40dd58
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x40dd13
lea eax, [ebp + 8]
push eax
push esi
push 0x465950
push 0x80
push edi
call fcn.00449733
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40dd4f
mov esi, dword [ebp - 0x18]
push esi
call fcn.00446eee
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
push esi
call fcn.00401ad2
mov byte [ebp - 0xd], 1
jmp 0x40dd58
mov edi, dword [ebp - 0x28]
push ebx
call fcn.00446ee3
pop ecx
test edi, edi
je 0x40dd6a
push edi
call fcn.00446ee3
pop ecx
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004017bc
push 0
push 1
lea ecx, [ebp + 0x24]
call fcn.004017bc
mov al, byte [ebp - 0xd]
call fcn.00446eb1
ret
Function at 0x40e11b
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
cmp dword [0x481eb0], eax
jne 0x40e140
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x40e07e
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x481eb0], eax
ret

Function at 0x40e49c
Capabilities:
Read .ini file

Disassembly:
push 0x8c
mov eax, 0x45ec00
call fcn.00446e42
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x480074
lea ecx, [ebp - 0x98]
call fcn.0040c2ac
and dword [ebp - 4], 0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CPaintManagerUI::GetInstancePath_void_]
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [esp], str.config.ini
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push eax
lea eax, [ebp - 0x98]
push str._s_s
push eax
call fcn.0040e462
add esp, 0x10
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ebx, dword [ebp - 0x98]
push ebx
push dword [esi]
push edi
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebx - 0x10]
call fcn.0040be22
call fcn.00446ec5
ret 8

Function at 0x40efcd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x64], ebx
jne 0x40f023
push esi
push 0xc
mov dword [edi + 0x64], 1
call fcn.0044691a
mov esi, eax
mov eax, dword [edi + 0x58]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
push 8
mov dword [esi + 8], eax
call fcn.0044691a
pop ecx
pop ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push 0x40ef95
push ebx
mov dword [eax + 4], edi
mov dword [eax], esi
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop edi
pop ebx
leave
ret 8