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

Disassembly:
push 0xffffffffffffffff
push 0x699c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push edi
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::BeginWaitCursor
mov edi, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x34], esi
cmp dword [edi + 8], esi
jne 0x62f19e
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::EndWaitCursor
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
mov ebp, dword [esp + 0x40]
push ebp
lea ecx, [esp + 0x14]
call fcn.0065edf0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.0065eea0
mov eax, dword [edi + 8]
mov dword [esp + 0x44], esi
cmp eax, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], esi
jbe 0x62f22f
push ebx
mov ebx, dword [esp + 0x50]
push esi
push edi
call fcn.00419e00
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0
mov eax, dword [eax]
push ecx
push ebx
push edx
push eax
push ebp
call fcn.0062f280
add esp, 0x1c
test eax, eax
je 0x62f214
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
or ecx, eax
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x62f1d3
mov eax, dword [esp + 0x48]
pop ebx
test eax, eax
je 0x62f22f
lea ecx, [esp + 0x10]
call fcn.0065f0d0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, edx
sete cl
mov esi, ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0065ee20
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::EndWaitCursor
mov ecx, dword [esp + 0x30]
pop ebp
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x630a58
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x699e0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 4], 0
call fcn.006086f6
mov eax, dword [esi]
lea ecx, [esp + 8]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 1
call dword [eax + 0x140]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0
lea eax, [esp + 0xc]
push edx
push eax
push esi
call fcn.004182e0
add esp, 0x10
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x636890
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69a368
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x6368b7
mov eax, dword [eax + 0x20]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
push 0
push 0x10
push esi
push 1
push eax
push edi
call fcn.004095f0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
add esp, 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push 0xfffffffffffffffe
push ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [edi]
push 0x10
push 1
push 0xffffffffffffffff
call fcn.004094a0
add esp, 0xc
mov ecx, edi
push eax
call dword [esi + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42u.DLL_CTreeCtrl::GetItemText
mov eax, dword [eax]
mov edx, dword [edi]
lea esi, [esp + 0xc]
push 0x8800
mov ecx, dword [eax - 8]
push esi
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call dword [edx + 0x70]
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x643760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69aa20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x14], vtable.CArray_struct_TCHHCOPY__struct_TCHHCOPY__.0
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.00643120
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00643520
lea ecx, [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], vtable.CArray_struct_TCHHCOPY__struct_TCHHCOPY__.0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], 1
cmp edi, esi
je 0x64381a
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x643811
lea esi, [eax]
mov ecx, edi
call fcn.006434a0
add edi, 0x1c
dec esi
jne 0x643800
mov edi, dword [esp + 0x18]
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
Function at 0x64aba0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x69af5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0042c3d0
xor edi, edi
mov edx, vtable.CMap_unsigned_long_int__unsigned_long_int__char__char_.0
mov ecx, 0x11
mov eax, 0xa
mov dword [esp + 0x28], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov ebx, 1
mov eax, vtable.CBitmap.0
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
lea ecx, [esi + 0x64]
mov byte [esp + 0x28], 4
call fcn.0060887c
mov dword [esi + 0x74], ebx
lea ebx, [esi + 0x78]
mov ecx, ebx
mov byte [esp + 0x28], 5
call fcn.004432d0
mov eax, dword [esp + 0x30]
mov dword [esi + 0xac], 0xffffffff
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov ecx, dword [0x7631e8]
lea ebp, [esi + 0xc4]
mov dword [esi + 0xc0], ecx
mov dword [ebp], vtable.CArray_struct_CNcGutter::COLUMNDESC___struct_CNcGutter::COLUMNDESC__.0
mov dword [ebp + 4], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edi
mov edx, dword [esi + 0xb4]
mov byte [esp + 0x28], 7
and edx, 2
mov dword [esi], vtable.CNcGutter.0
cmp dl, 2
jne 0x64acd6
push edi
push edi
lea ecx, [esp + 0x1c]
call fcn.004283d0
mov byte [esp + 0x28], 8
call fcn.004286d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
mov byte [esp + 0x28], 7
call fcn.00428460
cmp dword [esp + 0x30], edi
je 0x64acd6
mov ecx, ebx
call fcn.00443430
push 0x2c
call sub.MFC42u.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
cmp ebx, edi
mov byte [esp + 0x28], 9
je 0x64ad1c
lea ecx, [ebx + 4]
mov dword [ebx], 0xffff
call sub.MFC42u.DLL_CString::CString_5
mov eax, 1
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
jmp 0x64ad1e
xor ebx, ebx
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
mov byte [esp + 0x2c], 7
lea eax, [edi + 1]
push eax
call fcn.0056ba00
mov ecx, dword [ebp + 4]
mov eax, esi
mov dword [ecx + edi*4], ebx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x64e8d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69b198
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xb4]
and eax, 2
cmp al, 2
jne 0x64ea07
xor edi, edi
lea ecx, [esp + 0xc]
push edi
push edi
call fcn.004283d0
mov dword [esp + 0x60], edi
call fcn.004286d0
test eax, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], 0xffffffff
sete bl
call fcn.00428460
test bl, bl
jne 0x64ea07
mov edx, dword [esi + 4]
lea ecx, [esp + 0x38]
push ebp
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.0042c7a0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x30]
push edi
push eax
mov ecx, esi
call fcn.0064d010
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0042c7a0
mov edx, dword [esp + 0x30]
mov ebx, dword [esi + 0xcc]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
dec ebx
mov dword [esp + 0x24], ecx
cmp ebx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
jle 0x64e9e8
mov ecx, dword [esp + 0x44]
lea ebp, [esi + 0x78]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x1c], eax
mov edx, dword [edx + edi*4]
add eax, dword [edx + 0xc]
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x64e9ca
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
push edi
call fcn.004434d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x64e9e8
inc edi
cmp edi, ebx
jl 0x64e9ae
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push eax
push ebx
lea ecx, [esi + 0x78]
mov dword [esp + 0x2c], edx
call fcn.004434d0
pop ebp
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x6557b0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [str.ZhornSoftwareStickiesMain]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_FindWindowW]
push esi
push edi
push eax
mov edi, ecx
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x655834
mov eax, dword [edi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x655834
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x655834
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0040cc70
mov eax, dword [eax]
mov ecx, dword [edi + 4]
add esp, 8
push 2
push eax
push esi
push ecx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x14]
mov edi, eax
call sub.MFC42u.DLL_CString::CString
cmp edi, 0x21
jb 0x655834
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 9
test esi, esi
jne 0x655834
push 0x32
call ebx
mov edx, dword [str.ZhornSoftwareStickiesMain]
push edx
push esi
call ebp
mov esi, eax
mov eax, edi
dec edi
test eax, eax
jne 0x655819
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x657040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69bd18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.006565b0
lea eax, [esp + 0xc]
push 0
push eax
push 0
mov ecx, edi
mov dword [esp + 0x30], 0
mov dword [esi + 0x1c], edi
mov dword [esi], vtable.CCopyListCtrlContents.0
call sub.MFC42u.DLL_CListCtrl::GetItemRect
test eax, eax
je 0x65709e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esi + 0x18], ecx
jmp 0x6570a5
mov dword [esi + 0x18], 0xa
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x6589d0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
push ebp
push esi
push edi
push 0
push str.Shell_TrayWnd
push 0
push 0
call ebx
mov esi, dword [esp + 0x38]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x658a4a
push 0
push str.TrayNotifyWnd
push 0
push eax
call ebx
test eax, eax
je 0x658a4a
push 0
push str.ToolbarWindow32
push 0
push eax
call ebx
test eax, eax
je 0x658a4a
push esi
push eax
call ebp
test eax, eax
je 0x658a4a
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call edi
mov ecx, dword [esi + 8]
push 0x32
sub ecx, eax
mov dword [esi], ecx
call edi
mov edx, dword [esi + 0xc]
pop edi
sub edx, eax
mov eax, 1
mov dword [esi + 4], edx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x658ad8
mov eax, dword [esp + 0x1c]
cmp eax, 3
ja case.default.0x658a7d
jmp dword [eax*4 + 0x658b5c]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esi], edx
pop edi
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi + 4], ecx
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], edx
mov dword [esi], ecx
mov dword [esi + 8], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
push 0
push str.Shell_TrayWnd
push 0
push 0
call ebx
test eax, eax
je 0x658b2b
push esi
push eax
call ebp
test eax, eax
je 0x658b2b
mov eax, dword [esi + 8]
mov edi, dword [esi]
mov edx, eax
sub edx, edi
cmp edx, 0x96
jle 0x658b09
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x1e
jle case.default.0x658a7d
add eax, 0xffffffe2
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 0x96
sub eax, 0x1e
mov dword [esi], edx
mov dword [esi + 4], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
Function at 0x658bb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
call fcn.00658b70
mov esi, dword [esp + 0x28]
test eax, eax
je 0x658c20
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x658c20
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 8], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
push edx
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 4]
push eax
call fcn.006589d0
add esp, 4
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
push 3
push esi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x20
ret
Function at 0x659f88
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x69bf77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00608ca8
mov dword [esi], vtable.CStatic.0
xor ebp, ebp
lea ecx, [esi + 0x4c]
mov dword [esp + 0x1c], ebp
call sub.MFC42u.DLL_CToolTipCtrl::CToolTipCtrl
mov eax, dword [esp + 0x24]
lea ebx, [esi + 0x14c]
mov ecx, ebx
mov byte [esp + 0x1c], 1
mov dword [esi + 0x144], eax
call fcn.0066adea
lea ecx, [esi + 0x160]
mov byte [esp + 0x1c], 2
call fcn.006086f6
mov ecx, 0x17
xor eax, eax
lea edi, [esi + 0xb0]
mov dword [esi], vtable.CXHTMLStatic.0
rep stosd dword es:[edi], eax
push 0xffffffffffffffff
push ebp
mov ecx, ebx
mov byte [esp + 0x24], 3
mov dword [esi + 0x10c], 1
mov dword [esi + 0x114], ebp
mov dword [esi + 0x174], ebp
mov dword [esi + 0x18c], ebp
mov dword [esi + 0x188], ebp
mov dword [esi + 0x17c], ebp
mov dword [esi + 0x180], ebp
mov dword [esi + 0x110], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
call sub.MFC42u.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push ebp
lea ecx, [esi + 0x160]
call sub.MFC42u.DLL_CStringArray::SetSize
call sub.MFC42u.DLL_AfxGetModuleState
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push ebp
call edi
cmp eax, ebp
mov dword [esi + 0x174], eax
jne 0x65a0de
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_5
push 0x104
push 0x105
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0x28]
call fcn.00608798
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, ebp
je 0x65a0c9
push 0x6a
push ebx
call edi
cmp eax, ebp
je 0x65a0c9
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0x174], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 3
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
call fcn.0065a370
mov ecx, esi
call fcn.0065a3e0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x65c9b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 4
push str.APP:
mov ebx, ecx
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x65c9f7
mov eax, 4
mov ecx, ebx
lea eax, [esi + eax*2]
push eax
call fcn.0065cb90
lea esp, [ebp - 0x41c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 5
push str._APP:
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x65ca27
mov eax, 5
mov ecx, ebx
lea eax, [esi + eax*2]
push eax
call fcn.0065cb90
lea esp, [ebp - 0x41c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x65cb6c
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x40e]
mov word [ebp - 0x410], 0
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x410]
mov ecx, ebx
push edx
push 0x71f0d0
push SysReAllocStringLen
stosw word es:[edi], ax
call fcn.0065cd00
test eax, eax
jne 0x65cb6c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x410]
push str._shellopencommand
push eax
call edi
lea ecx, [ebp - 0x410]
lea edx, [ebp - 0x410]
push ecx
push edx
push SysReAllocStringLen
mov ecx, ebx
call fcn.0065cd00
test eax, eax
jne 0x65cb6c
mov ebx, dword [sym.imp.MSVCRT.dll_wcsstr]
lea eax, [ebp - 0x410]
push 0x737474
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x65cb02
lea ecx, [ebp - 0x410]
push 0x73746c
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x65cb02
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x412]
jmp 0x65cb07
mov word [esi], 0
push 0x71c6d4
push esi
call edi
mov eax, dword [ebp + 8]
push eax
push esi
call edi
lea ecx, [ebp - 0x410]
test ecx, ecx
jne 0x65cb24
xor esi, esi
jmp 0x65cb5f
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.006097e0
mov esi, esp
push 0
push 0
push edi
push esi
lea eax, [ebp - 0x410]
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
mov edx, 0x20
lea esp, [ebp - 0x41c]
cmp edx, esi
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
mov esp, ebp
pop ebp
ret 8
Function at 0x65cd00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x210
lea eax, [esp]
push esi
push edi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x224]
test eax, eax
mov word [edi], 0
jne 0x65cd6f
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov esi, eax
test esi, esi
jne 0x65cd6d
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret 0xc
Function at 0x65f0d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69c570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x65f10e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x65f1c0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [esi + 8]
jmp 0x65f134
mov esi, dword [ebp - 0x14]
xor ebx, ebx
cmp edi, ebx
je 0x65f176
mov esi, edi
mov edi, dword [edi]
cmp word [esi + 0xc], 0
mov ebx, dword [esi + 8]
lea eax, [esi + 0xc]
je 0x65f158
push eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
test eax, eax
jbe 0x65f158
mov ebx, eax
mov ecx, dword [esi + 0xd4]
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x65f131
mov dword [esi + 0xd4], 0
jmp 0x65f131
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x65f198
mov edx, 1
lea ecx, [eax + 8]
mov edi, edx
dec edx
test edi, edi
je 0x65f194
add ecx, 0xd0
jmp 0x65f185
mov eax, dword [eax]
jmp 0x65f179
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
call sub.MFC42u.DLL_CPlex::FreeDataChain
mov dword [esi + 0x18], ebx
jmp 0x65f1ba
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
sete al
pop ebx
mov esp, ebp
pop ebp
ret