joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a6c0
Capabilities:
Access peb ldr_data
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x43b9c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x450964]
lea ecx, [esp + 8]
push eax
push str._s_regsvr32.exe
push ecx
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [edx + 0x14]
lea esi, [edx + 0x14]
mov edx, dword [0x450ba4]
push eax
push ecx
push str.CSyncEngine::ProcessRegisterFileByRegSvr32__Cmd_Str_:__s__s__s
push 1
push edx
call fcn.00404960
add esp, 0x14
mov ecx, esi
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
mov edi, eax
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Left
inc edi
lea ecx, [esp + 0x10]
push edi
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Mid
mov edx, dword [esp + 0x14]
mov byte [esp + 0x24], 3
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esp + 8]
push 0x44c9d4
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_4
lea edx, [esp + 0x10]
mov byte [esp + 0x24], 4
push edx
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jg 0x40a855
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
mov eax, dword [0x450ba4]
push edx
push str.CSyncEngine::ProcessRegisterFileByRegSvr32__WinExec__s__Fail__ErrCode___d
push 4
push eax
call fcn.00404960
mov ecx, dword [0x450ba4]
add esp, 0x14
call fcn.00404e20
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [esi]
mov edx, dword [0x450ba4]
push eax
push ecx
push str.CSyncEngine::ProcessRegisterFileByRegSvr32__File__s__is_registered._RetVal___d
push 2
push edx
call fcn.00404960
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x40a8d0
Capabilities:
Create process on windows
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b9e8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a921
mov ecx, dword [0x450ba4]
push str.CSyncEngine::ProcessRegisterFile2ByRegSvr32__Unknown_file_path.
push 4
push ecx
call fcn.00404960
add esp, 0xc
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov edx, dword [esi]
mov eax, dword [0x450ba4]
push edi
push edx
push str.CSyncEngine::ProcessRegisterFile2ByRegSvr32__Target_file___s
push 1
push eax
call fcn.00404960
add esp, 0x10
mov ecx, esi
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
mov edi, eax
lea ecx, [esp + 0xc]
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Left
inc edi
lea edx, [esp + 8]
push edi
push edx
mov ecx, esi
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Mid
mov eax, dword [esp + 0xc]
mov byte [esp + 0x18], 1
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 8]
mov edx, dword [0x450964]
push ecx
push edx
lea eax, [esp + 0x28]
push str._s_regsvr32.exe__s__s
push eax
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
mov edx, dword [0x450ba4]
add esp, 0x10
push ecx
push str.CSyncEngine::ProcessRegisterFile2ByRegSvr32__Cmd_Str___s
push 1
push edx
call fcn.00404960
mov eax, dword [esp + 0x30]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
pop edi
jg 0x40aa41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
mov edx, dword [0x450ba4]
push eax
push ecx
push str.CSyncEngine::ProcessRegisterFile2ByRegSvr32__WinExec__s__Fail__ErrCode___d
push 4
push edx
call fcn.00404960
mov ecx, dword [0x450ba4]
add esp, 0x14
call fcn.00404e20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov ecx, dword [0x450ba4]
push eax
mov eax, dword [esi]
push eax
push str.CSyncEngine::ProcessRegisterFile2ByRegSvr32__File__s__is_registered._RetVal___d
push 2
push ecx
call fcn.00404960
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x40ae36
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43ba78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 0x44cda4
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x18], 0
call fcn.00432c00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edi, dword [esi + 0x38]
test edi, edi
je 0x40aef9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
mov edi, dword [edi]
mov esi, dword [eax + 8]
cmp dword [esi + 0x1c], 4
jne 0x40aee0
mov ecx, dword [esi + 0x14]
mov edx, dword [0x450ba4]
push ecx
push str.CSyncEngine::HandleDeleteTypeFiles__Delete_Local_Flle___s
push 2
push edx
call fcn.00404960
mov eax, dword [esi + 0x14]
add esp, 0x10
push eax
call ebx
test eax, eax
jne 0x40aee0
call ebp
mov ecx, dword [0x450ba4]
push eax
mov eax, dword [esi + 0x14]
push eax
push str.CSyncEngine::HandleDeleteTypeFiles__DeleteFile__s__Error__ErrCode___d
push 2
push ecx
call fcn.00404960
mov ecx, dword [0x450ba4]
add esp, 0x14
call fcn.00404e20
test edi, edi
jne 0x40ae87
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d020
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43bd10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edx, dword [0x450ba4]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
push str.CSyncEngine::GetProcessHandleByShellExecute__File_s__Parameters_s
mov esi, 1
push 2
push edx
mov dword [esp + 0x64], esi
call fcn.00404960
mov eax, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x500
mov dword [esp + 0x2c], str.runas
mov ecx, dword [eax - 8]
add esp, 0x14
cmp ecx, ebx
je 0x40d0a6
mov dword [esp + 0x20], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], esi
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40d116
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x450ba4]
push eax
push str.CSyncEngine::GetProcessHandleByShellExecute__ShellExecuteEx___Fail__ErrNo___d
push 2
push edx
call fcn.00404960
add esp, 0x10
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 8
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 8
Function at 0x411ce0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
push ebx
mov ebx, dword [esp + 0x420]
mov ecx, ebx
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x418]
mov edx, dword [esp + 0x414]
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x411d27
xor eax, eax
pop ebx
add esp, 0x40c
ret 0x14
push esi
mov esi, dword [esp + 0x420]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x14], eax
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push esi
push eax
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop edi
pop esi
test eax, eax
je 0x411d8a
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
add esp, 0x40c
ret 0x14
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 0x44a040
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, 1
pop ebx
add esp, 0x40c
ret 0x14
Function at 0x41b1d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
test eax, eax
mov esi, ecx
je 0x41b1f4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0041f5e0
pop edi
pop esi
pop ebx
ret 0x10
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esp + 0x14]
mov ebx, dword [esi + 0x138]
mov di, ax
mov eax, dword [esp + 0x10]
shr edi, 0xf
push edx
push eax
mov ecx, esi
and edi, 1
call fcn.0041b280
cmp eax, 0xffffffff
jl 0x41b272
mov ecx, dword [esi + 0x44]
mov ecx, dword [ecx - 8]
cmp ecx, eax
jge 0x41b22d
mov eax, ecx
test edi, edi
mov dword [esi + 0x138], eax
jne 0x41b23f
mov dword [esi + 0x13c], eax
jmp 0x41b24e
cmp dword [esi + 0x13c], 0xffffffff
jne 0x41b24e
mov dword [esi + 0x13c], ebx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41b272
mov ecx, esi
call fcn.0041b540
mov ecx, esi
call fcn.0041a8d0
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x41bb90
Capabilities:
Get keyboard layout

Disassembly:
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp ax, 0x412
jne 0x41bba3
mov ax, 1
ret
cmp ax, 0x411
jne 0x41bbae
mov ax, 2
ret
cmp ax, 0x804
je 0x41bbe1
cmp ax, 0x404
je 0x41bbe1
cmp ax, 0xc04
je 0x41bbe1
cmp ax, 0x1004
je 0x41bbe1
cmp ax, 0x1404
je 0x41bbe1
cmp ax, 0x401
je 0x41bbdc
cmp ax, 0xc01
je 0x41bbdc
xor ax, ax
ret
mov ax, 4
ret
mov ax, 3
ret
Function at 0x41fcb0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43cd68
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x120]
test eax, eax
je 0x41fceb
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x41fd09
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41fd29
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push 0xd
xor esi, esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x41fd67
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x41fd60
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
push esi
lea ecx, [esp + 0x10]
push 0x44a040
push ecx
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x450728
push 0x44a0cc
call sub.MFC42.DLL_CString::Replace
push 0x44a0c8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
push 1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
call fcn.00419cc0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret

Function at 0x4245e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d1c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
cmp ebx, ebp
mov dword [esp + 0x28], 0
jge 0x424677
lea eax, [ebx + ebp]
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
push esi
mov esi, eax
mov eax, dword [esp + 0x44]
push eax
push ecx
sar esi, 1
push edx
push esi
push ebx
mov ecx, edi
call fcn.004245e0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
lea eax, [esi + 1]
push ebp
push eax
mov ecx, edi
call fcn.004245e0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push ebp
push esi
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, edi
call fcn.004246b0
pop esi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CPtrArray::SetSize
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043a5bc
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x424b10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
mov eax, dword [esp + 0x24]
je 0x424b44
cmp eax, 0x61
je 0x424b31
cmp eax, 0x41
jne 0x424b44
mov ecx, esi
call fcn.004230f0
mov eax, 1
pop esi
add esp, 0x1c
ret 4
cmp eax, 0x28
je 0x424c65
cmp eax, 0x27
je 0x424c65
cmp eax, 0x26
je 0x424c58
cmp eax, 0x25
je 0x424c58
cmp eax, 0x21
jne 0x424bb9
lea eax, [esp + 4]
push 0x17
push eax
push 1
mov ecx, esi
call fcn.004284e0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, edx
jle 0x424c84
mov ecx, dword [esi + 0xdc]
xor eax, eax
test ecx, ecx
jle 0x424b9f
mov eax, edx
xor edx, edx
div ecx
mov ecx, dword [esi + 0xe8]
xor edx, edx
sub ecx, eax
lea eax, [ecx + 1]
test eax, eax
setle dl
dec edx
and eax, edx
jmp 0x424c76
cmp eax, 0x22
jne 0x424c09
lea eax, [esp + 4]
push 0x17
push eax
push 1
mov ecx, esi
call fcn.004284e0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, edx
jle 0x424c84
mov ecx, dword [esi + 0xdc]
xor eax, eax
test ecx, ecx
jle 0x424bf0
mov eax, edx
xor edx, edx
div ecx
mov ecx, dword [esi + 0xe8]
lea eax, [ecx + eax - 1]
mov ecx, dword [esi + 0xac]
dec ecx
cmp ecx, eax
jge 0x424c76
mov eax, ecx
jmp 0x424c76
cmp eax, 0x24
jne 0x424c29
push 0
push 1
push 1
push 0
mov ecx, esi
call fcn.00423270
mov eax, 1
pop esi
add esp, 0x1c
ret 4
cmp eax, 0x23
jne 0x424c4f
mov edx, dword [esi + 0xac]
push 0
push 1
dec edx
push 1
push edx
mov ecx, esi
call fcn.00423270
mov eax, 1
pop esi
add esp, 0x1c
ret 4
xor eax, eax
pop esi
add esp, 0x1c
ret 4
mov eax, dword [esi + 0xe8]
dec eax
test eax, eax
jl 0x424c84
jmp 0x424c76
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xac]
inc eax
cmp ecx, eax
jle 0x424c84
push 0
push 1
push 1
push eax
mov ecx, esi
call fcn.00423270
mov eax, 1
pop esi
add esp, 0x1c
ret 4
Function at 0x42e670
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
sub esp, 0xe08
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x411]
mov byte [esp + 0x410], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x211]
mov byte [esp + 0x210], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [esp + 0x414]
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [esp + 0xe14]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x410]
push ecx
push edx
lea eax, [esp + 0x218]
push str._s_s
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x210]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x42e719
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42e719
pop edi
or eax, 0xffffffff
pop esi
add esp, 0xe08
ret 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 8]
push edx
push 0x44395c
push 1
push 0
push 0x44396c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42e842
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x44397c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x42e838
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xe1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0xe20]
test eax, eax
je 0x42e785
mov ecx, dword [esp + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xe18]
lea ecx, [esp + 0x210]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s.lnk
push edx
call esi
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x620]
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x610]
push 0x104
push eax
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x610]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
test eax, eax
je 0x42e813
mov eax, dword [0x450ba4]
lea edx, [esp + 0x10]
push edx
push str.CXSyncApp::CreateProgramLink__Failed_to_create_link_on_the_desktop.___s_
push 4
push eax
jmp 0x42e826
mov edx, dword [0x450ba4]
lea ecx, [esp + 0x10]
push ecx
push str.CXSyncApp::CreateProgramLink__Create_link_generation_successfully_on_the_desktop.___s_
push 1
push edx
call fcn.00404960
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
xor eax, eax
pop esi
add esp, 0xe08
ret 0x10
Function at 0x42e860
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
sub esp, 0xc08
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x20d]
mov byte [esp + 0x20c], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x210]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 4]
push ecx
push 0x44395c
push 1
push 0
push 0x44396c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42e9c3
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x44397c
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x42e9b9
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0xc18]
test eax, eax
je 0x42e902
mov ecx, dword [esp + 4]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xc10]
lea ecx, [esp + 0x20c]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x41c]
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40c]
push 0x104
push eax
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x40c]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
test eax, eax
je 0x42e994
mov eax, dword [0x450ba4]
lea edx, [esp + 0xc]
push edx
push str.CXSyncApp::CreateDesktopLink__Failed_to_create_link_on_the_desktop.___s_
push 4
push eax
jmp 0x42e9a7
mov edx, dword [0x450ba4]
lea ecx, [esp + 0xc]
push ecx
push str.CXSyncApp::CreateDesktopLink__Create_link_generation_successfully_on_the_desktop.___s_
push 1
push edx
call fcn.00404960
mov eax, dword [esp + 0x18]
add esp, 0x10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
add esp, 0xc08
ret 0xc
Function at 0x42ee10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43de9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x7f
lea edi, [esp + 0x49]
mov byte [esp + 0x48], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x25c]
lea ecx, [esp + 0x48]
push eax
push 0x44a040
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x264]
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x3c
mov eax, dword [edx]
push ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], str.runas
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, ebx
jne 0x42ef04
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x250], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xc]
push str.Cant_Execute_Version_Management_Program__ErrCode___d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
add esp, 0xc
push ebx
push ebx
push eax
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 8]
mov dword [esp + 0x250], 0xffffffff
call sub.MFC42.DLL_CString::CString
or ax, 0xffff
jmp 0x42ef12
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ax, ax
mov ecx, dword [esp + 0x248]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret 8