joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcd8000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xcd8131
push esi
call fcn.00cdb145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00cca080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xcd8131
push 0
push ebp
call fcn.00cca3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00cca260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xcd808b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00cca2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xcd8121
push 0xcf0918
push edi
call fcn.00cd93f0
push eax
push ebx
push esi
call fcn.00cd7f60
push 0xcf08f8
push edi
call fcn.00cd93f0
push eax
push ebx
push esi
call fcn.00cd7f60
push 0xcf08d8
push edi
call fcn.00cd93f0
push eax
push ebx
push esi
call fcn.00cd7f60
push 0xcf08c0
push edi
call fcn.00cd93f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00cd7f60
push 0xcf08a0
push edi
call fcn.00cd93f0
push eax
push ebx
push esi
call fcn.00cd7f60
push 0xcf0888
push edi
call fcn.00cd93f0
push eax
push ebx
push esi
call fcn.00cd7f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xcd91b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00cd9140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00cd9140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00cd9140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00cd9140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xcd9bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xcd9c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xceb87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xcd9c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xcd9c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x67a90717
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x481728e3
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40131d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
push dword [esi + 0x508]
push ebx
push ebx
push ecx
mov eax, esp
lea ecx, [esi + 0x510]
mov dword [eax], 0x4a3ea8
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
lea ecx, [esi + 0x4a0]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esi + 0x508]
lea eax, [esi + 0x4f4]
push eax
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__]
call fcn.00409800
fmul qword [0x4a3de0]
call fcn.0042b850
mov ecx, eax
push 0xa
cdq
pop edi
idiv edi
cmp ecx, ebx
push edx
push eax
lea eax, [ebp - 0x644]
jl 0x40139f
push str.UTC_.2d:_.2d
jmp 0x4013a4
push 0x4a3da4
push eax
call fcn.0042b6ee
mov ecx, dword [esi + 0x508]
mov edi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
add esp, 0x10
push str.CZone
call edi
lea ecx, [ebp - 0x644]
mov dword [esi + 0x658], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x2c]
push 0x104
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x43c]
push 0x5c
push eax
call fcn.0042b6c2
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
push 0x206
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push ebx
push eax
call fcn.0042bd50
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0042bd30
lea eax, [ebp - 0x234]
push str.PeopleCalendar.ini
push eax
call fcn.0042bd02
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x24
lea eax, [ebp - 0x234]
push eax
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x4a3e6c
push 0x4a3e64
push str.AppUpdate
call ebx
lea eax, [ebp - 0x234]
push eax
push 0xa
lea eax, [ebp - 0x2c]
push eax
push 0x4a3e48
push str.MinVer
push str.AppUpdate
call ebx
push 0x85
push 5
push 1
push 1
lea eax, [ebp - 0x84c]
push 0x4a3e14
push eax
call fcn.0042b6ee
mov ecx, dword [esi + 0x508]
add esp, 0x18
push str.CurrentVer
call edi
lea ecx, [ebp - 0x84c]
mov dword [esi + 0x65c], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x508]
push str.OpenDate
call edi
mov ecx, dword [esi + 0x508]
mov dword [esi + 0x660], eax
mov eax, 0x3e8
push eax
push eax
push esi
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetTimer_class_DuiLib::CControlUI___unsigned_int__unsigned_int_]
lea ecx, [esi + 0x4f8]
call fcn.00406ac6
mov ecx, esi
call fcn.00401093
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
leave
ret
Function at 0x402362
Capabilities:
Check os version
Read .ini file

Disassembly:
sub esp, 0x128
mov eax, dword [0x4d8668]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x2d8]
call fcn.00406ac6
push dword [esi + 4]
lea ecx, [esi + 0x318]
call fcn.0040c123
mov edi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ebx, [esi + 0x2c]
push str.main_tablayout
mov ecx, ebx
call edi
xor ebp, ebp
push ebp
mov ecx, eax
mov dword [esi + 0x354], eax
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
push str.BaseSet
mov ecx, ebx
call edi
cmp eax, ebp
je 0x4023bb
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x134]
push 0x11c
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0042bd50
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x28], 2
jne 0x402407
cmp dword [esp + 0x1c], 5
jne 0x402407
push str.NotifyBarSet
mov ecx, ebx
call edi
cmp eax, ebp
je 0x402407
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xcc]
mov ecx, esi
call fcn.0040200c
push ebp
mov ecx, ebx
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SetTransparent_int_]
push ebp
push 0xa
push 0x3e8
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push str.Mobile
mov ecx, ebx
call edi
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x4024e1
xor edi, edi
inc edi
call fcn.00401192
mov ecx, eax
call fcn.00407bc3
mov ebx, eax
call fcn.00401192
mov ecx, eax
call fcn.00407bd1
cmp ebx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x10], eax
je 0x402484
push ebx
push edi
push str.IsFirstShowMobileTab
push str.Setting
call ebp
mov edi, eax
neg edi
sbb edi, edi
neg edi
cmp dword [esp + 0x10], 0
je 0x4024a7
test edi, edi
je 0x4024a5
push dword [esp + 0x10]
push 1
push str.IsFirstShowMobileTab
push str.Setting
call ebp
test eax, eax
jne 0x4024ac
xor edi, edi
cmp edi, 1
jne 0x4024e1
mov edi, dword [esp + 0x14]
push str.fileMobile_RedDot.png_source0_0_100_60
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CButtonUI::SetNormalImage_wchar_t_const__]
push str.fileMobile_RedDot.png_source0_60_100_120
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CButtonUI::SetHotImage_wchar_t_const__]
push str.fileMobile_RedDot.png_source0_120_100_180
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::COptionUI::SetSelectedImage_wchar_t_const__]
mov dword [esi + 0x35c], 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042b558
add esp, 0x128
ret
Function at 0x40283d
Capabilities:
Log keystrokes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp eax, 0x113
jne 0x40286a
push dword [ebp + 0xc]
call fcn.0040211f
jmp 0x4029dd
push esi
push edi
cmp eax, 0x1b71
jne 0x402959
push 0x104
lea eax, [ebp - 0x43c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x43c]
push 0x5c
push eax
call fcn.0042b6c2
xor ecx, ecx
mov word [eax + 2], cx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push eax
call fcn.0042bd50
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0042bd30
lea eax, [ebp - 0x234]
push str.PeopleCalendar.ini
push eax
call fcn.0042bd02
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x24
lea eax, [ebp - 0x234]
push eax
push 0xa
lea eax, [ebp - 0x2c]
push eax
push 0x4a3e6c
push 0x4a3e64
mov edi, str.AppUpdate
push edi
call esi
lea eax, [ebp - 0x234]
push eax
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x4a3e48
push str.MinVer
push edi
call esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x644]
push str.S_MRHr_g
push eax
call fcn.0042b6ee
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax + 0x65c]
mov eax, dword [ecx]
add esp, 0x10
lea edx, [ebp - 0x644]
push edx
call dword [eax + 0x2c]
jmp 0x4029db
cmp eax, 0x1b76
jne 0x402967
call fcn.004021ae
jmp 0x4029db
cmp eax, 0x465
jne 0x4029db
push 1
push 1
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
lea eax, [ebp - 0x650]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x648], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push dword [ebp - 0x648]
mov dword [ebp - 0x64c], eax
push eax
call esi
mov edi, dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov ecx, ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 0x648]
push dword [ebp - 0x64c]
call esi
mov ecx, ebx
call edi
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0042b558
leave
ret 0x10
Function at 0x403585
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push str.Shell_TrayWnd
mov esi, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
jmp 0x4035e2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x20c]
push str.TrayNotifyWnd
push eax
call fcn.0042c041
pop ecx
pop ecx
test eax, eax
je 0x4035ec
push 2
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x4035b5
jmp 0x40362d
push 5
jmp 0x40361c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x20c]
push str.TrayClockWClass
push eax
call fcn.0042c041
pop ecx
pop ecx
test eax, eax
je 0x403627
push 2
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x4035f0
jmp 0x40362d
mov dword [esi + 0x664], ebx
push 0
push dword [esi + 0x508]
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esi + 0x510]
mov dword [eax], 0x4a4c80
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
lea ecx, [esi + 0x4a0]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [esi + 0x508]
lea eax, [esi + 0x4f4]
push eax
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::AddNotifier_class_DuiLib::INotifyUI__]
mov ecx, dword [esi + 0x508]
push str.EidtButton
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea ecx, [esi + 0x4f8]
mov dword [esi + 0x660], eax
call fcn.00406ac6
mov ecx, esi
call fcn.00403471
mov ecx, esi
call fcn.004034aa
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
leave
ret

Function at 0x4052e0
Capabilities:
Copy file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov dword [esi + 4], 1
call dword [eax + 0x38]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
call fcn.004031f4
mov ecx, eax
pop esi
jmp fcn.0040c358
Function at 0x4078c0
Capabilities:
Read .ini file

Disassembly:
push 0x28
mov eax, 0x49ef2c
call fcn.0042b5d0
mov edi, ecx
call fcn.00401192
mov ecx, eax
call fcn.00407bd1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401e82
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x407834
lea eax, [ebp - 0x28]
push eax
push 2
push str.WeekFirstday
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x508]
mov esi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push 0x4a5410
mov ebx, eax
call esi
mov ecx, dword [edi + 0x508]
push 0x4a53e4
mov dword [ebp - 0x30], eax
call esi
mov ecx, dword [edi + 0x508]
push 0x4a53d0
mov dword [ebp - 0x34], eax
call esi
mov edx, ebx
sub edx, 0
push 1
pop esi
je 0x40789f
dec edx
je 0x40789a
test eax, eax
je 0x4078af
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x134]
jmp 0x4078af
mov ecx, dword [ebp - 0x34]
jmp 0x4078a2
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4078af
mov eax, dword [ecx]
push esi
call dword [eax + 0x134]
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.004016c2
call fcn.0042b653
ret
push esi
push edi
push 0xc
push 1
mov edi, ecx
push str.beforShow
push 0
lea esi, [edi + 0x4f8]
push str.AlwaysShow
mov ecx, esi
call fcn.00406755
push 0x10
push 1
push str.NoWarning
push 0
push str.BeforWarning
mov ecx, esi
call fcn.00406755
push 0x11
push 2
push 0x4a53d0
push 1
push 0x4a53e4
push 0
push 0x4a5410
mov ecx, esi
call fcn.00406830
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, edi
pop edi
pop esi
jmp 0x407801

Function at 0x4079b7
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040ac7d
mov dword [esi], eax
call fcn.0040adb6
mov dword [esi + 8], eax
call fcn.0040abf3
mov dword [esi + 0xc], eax
call fcn.0040ad6c
mov dword [esi + 0x10], eax
call fcn.0040acd8
mov dword [esi + 0x14], eax
call fcn.0040ad22
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [esi + 0x18], eax
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [esi + 0x110]
push eax
call edi
lea eax, [esi + 0x128]
push eax
call edi
lea eax, [esi + 0x118]
push eax
call edi
lea eax, [esi + 0x158]
push eax
call edi
lea eax, [esi + 0x138]
push eax
call edi
lea eax, [esi + 0x148]
push eax
call edi
mov eax, dword [0x4dca80]
pop edi
mov dword [esi + 0x100], eax
pop esi
ret

Function at 0x407a39
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0042bd50
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jne 0x407a94
xor eax, eax
inc eax
cmp dword [ebp - 0x78], 0
je 0x407a8c
cmp dword [ebp - 0x78], eax
jne 0x407a94
cmp byte [ebp + 0x9a], al
je 0x407a96
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.0042b558
add ebp, 0xa0
leave
ret
Function at 0x407be5
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x394], ax
lea eax, [ebp + 0x396]
push eax
mov esi, ecx
call fcn.0042bd50
lea eax, [ebp + 0x394]
push str.SOFTWARE_
push eax
call fcn.0042bd30
lea eax, [ebp + 0x394]
push str.PeopleCalendar
push eax
call fcn.0042bd02
add esp, 0x1c
cmp dword [esi + 0x54], 8
jb 0x407c4e
mov eax, dword [esi + 0x40]
jmp 0x407c51
lea eax, [esi + 0x40]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0042bd30
cmp dword [esi + 0x38], 8
pop ecx
pop ecx
jb 0x407c6b
mov esi, dword [esi + 0x24]
jmp 0x407c6e
add esi, 0x24
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0042bd30
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
push 2
push 0
lea eax, [ebp + 0x394]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407cce
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x18c]
push eax
push 1
push 0
push str.CfgRootPath
push dword [ebp - 0x80]
call esi
push edi
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push str.CfgUserPath
push dword [ebp - 0x80]
call esi
pop edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x59c]
xor ecx, ebp
pop esi
call fcn.0042b558
add ebp, 0x5a0
leave
ret
Function at 0x408487
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x54], 8
jb 0x4084a8
mov eax, dword [esi + 0x40]
jmp 0x4084ab
lea eax, [esi + 0x40]
push 0x4a4e30
push eax
lea eax, [ebp - 0x20c]
push 0x4a558c
push eax
call fcn.0042b6ee
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4084e3
lea eax, [ebp - 0x20c]
push eax
call fcn.00409780
pop ecx
lea eax, [ebp - 0x20c]
push str.Config.ini
push eax
call fcn.0042bd02
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x58]
call fcn.00401c01
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042b558
leave
ret

Function at 0x408512
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x54], 8
jb 0x408533
mov eax, dword [esi + 0x40]
jmp 0x408536
lea eax, [esi + 0x40]
push 0x4a4e30
push eax
lea eax, [ebp - 0x20c]
push 0x4a558c
push eax
call fcn.0042b6ee
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40856e
lea eax, [ebp - 0x20c]
push eax
call fcn.00409780
pop ecx
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x20c]
jg 0x408587
push str.Config.ini
push eax
push 0x4a554c
jmp 0x408590
push dword [ebp + 8]
push eax
push str._s_d.ini
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b6ee
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x58]
call fcn.00401c01
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042b558
leave
ret 4

Function at 0x4085bd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x54], 8
jb 0x4085de
mov eax, dword [esi + 0x40]
jmp 0x4085e1
lea eax, [esi + 0x40]
push 0x4a4e30
push eax
lea eax, [ebp - 0x20c]
push 0x4a558c
push eax
call fcn.0042b6ee
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408619
lea eax, [ebp - 0x20c]
push eax
call fcn.00409780
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.0042bd02
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xac]
call fcn.00401c01
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042b558
leave
ret
Function at 0x408be7
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x80], ax
xor esi, esi
lea eax, [ebp - 0x7e]
push esi
push eax
mov edi, ecx
call fcn.0042bd50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.00407b71
test al, al
jne 0x408c50
push esi
push 0x1a
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x80]
push eax
call fcn.0042bcbe
pop ecx
test eax, eax
je 0x408c9e
mov esi, 0x4a4e2c
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0042bd02
lea eax, [ebp - 0x80]
push str.PeopleCalendar
push eax
call fcn.0042bd02
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0042bd02
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408c92
lea eax, [ebp - 0x80]
push eax
call fcn.00409780
pop ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0x3c]
call fcn.00401c01
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b558
add ebp, 0x18c
leave
ret

Function at 0x408cb5
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x80], ax
xor esi, esi
lea eax, [ebp - 0x7e]
push esi
push eax
mov edi, ecx
call fcn.0042bd50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.00407b71
test al, al
jne 0x408d1e
push esi
push 0x1a
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x80]
push eax
call fcn.0042bcbe
pop ecx
test eax, eax
je 0x408d6c
mov esi, 0x4a4e2c
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0042bd02
lea eax, [ebp - 0x80]
push str.PeopleCalendar.users
push eax
call fcn.0042bd02
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0042bd02
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408d60
lea eax, [ebp - 0x80]
push eax
call fcn.00409780
pop ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0x20]
call fcn.00401c01
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b558
add ebp, 0x18c
leave
ret