joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4237d0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.004238d0
test eax, eax
jne 0x42386b
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.appstoreisafeAppStore.exe
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42386b
xor eax, eax
jmp 0x4238b4
mov dword [ebp - 0x248], 0
push 0x38
push 0
lea ecx, [ebp - 0x244]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [ebp - 0x248], 0x3c
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 4

Function at 0x4238d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xc]
push eax
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallComputer_Software_Market
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42394a
push str.isafeAppStore.exe
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42394a
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 1
mov eax, 1
jmp 0x423956
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 8

Function at 0x423c20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x210]
call fcn.00423d60
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423e70
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x423e94
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423e9b
xor al, al
jmp 0x423f2d
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x423ec4
xor al, al
jmp 0x423f2d
mov byte [ebp - 0xd], 0
mov byte [ebp - 8], 0
xor edx, edx
mov byte [ebp - 7], dl
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423f20
cmp dword [ebp - 0xc], 2
jne 0x423f20
mov eax, 1
imul eax, eax, 0
movzx ecx, byte [ebp + eax - 8]
cmp ecx, 0x4d
jne 0x423f20
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 8]
cmp eax, 0x5a
jne 0x423f20
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret

Function at 0x424260
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4650d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x497060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00424660
cmp dword [ebp + 8], 2
jne 0x4242f6
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x1c], esp
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x423f40
lea edx, [ebp - 0x2c]
push edx
call fcn.00421340
add esp, 0xc
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov ecx, esi
call fcn.004257c0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
call fcn.00406e80
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00455780
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
jmp 0x42431e
cmp dword [ebp + 8], 4
jne 0x424308
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004237d0
jmp 0x42431e
cmp dword [ebp + 8], 5
jne 0x42431e
mov edx, dword [ebp - 0x10]
add edx, 0x1086
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x427830
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x34
call fcn.00427b10
mov ecx, dword [ebp - 4]
add ecx, 0x1c
call fcn.00408270
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x434130
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x431030
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
add esp, 0x18
mov dword [0x49b798], eax
call fcn.00423d90
mov ecx, eax
call fcn.00423780
call fcn.00406e80
mov ecx, eax
call fcn.00455860
push 0
call fcn.004165c0
mov ecx, eax
call fcn.0041e160
mov ecx, dword [ebp - 4]
call fcn.00431450
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x178]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVContainer::RemoveAllChildWnds_void_]
push 0
push 0x498630
push 0x4971a4
push 0x471898
mov ecx, dword [ebp - 4]
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVDialog::GetDlgItem_wchar_t_const__]
push 0
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43420a
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x178]
push eax
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVContainer::RemoveChildWnd_class_OUI::COVWnd___bool_]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x178]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x434203
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x18], eax
jmp 0x43420a
mov dword [ebp - 0x18], 0
call dword [sym.imp.isafepxy.dll_public:_static_class_elex::commumod::SCommuMod____cdecl_elex::commumod::SCommuMod::instance_void_]
push 0x5dc
push 0
push 0
push 0
call dword [sym.imp.isafepxy.dll_public:_static_int___cdecl_elex::commumod::SCommuMod::SetMemNetInfo_int__int__unsigned_long_int__unsigned_long_int_]
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x434238
mov ecx, dword [ebp - 4]
add ecx, 0xcc
mov dword [ebp - 0x10], ecx
jmp 0x43423f
mov dword [ebp - 0x10], 0
push 0x4718b0
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0xf4
call fcn.0041eb40
call dword [sym.imp.isafepxy.dll_public:_static_class_elex::commumod::SCommuMod____cdecl_elex::commumod::SCommuMod::instance_void_]
call dword [sym.imp.isafepxy.dll_public:_static_int___cdecl_elex::commumod::SCommuMod::ClearCommu_void_]
call dword [sym.imp.isafepxy.dll_public:_static_class_elex::commumod::SCommuMod____cdecl_elex::commumod::SCommuMod::instance_void_]
push 0
call dword [sym.imp.isafepxy.dll_public:_static_void___cdecl_elex::commumod::SCommuMod::registerCommuInterInterface_class_elex::commumod::ICommuInter__]
add esp, 4
push 0
mov eax, dword [0x49b798]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x49b798]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x49b798], 0
mov ecx, dword [ebp - 4]
call fcn.00408590
mov ecx, dword [ebp - 4]
call dword [sym.imp.ouilibx.dll_public_virtual:_void___thiscall_OUI::COVWnd::OnDestroy_void_]
mov esp, ebp
pop ebp
ret
Function at 0x434f80
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434fa0
jmp 0x43508b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x434feb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
je 0x434feb
cmp dword [ebp - 0xc], 0
je 0x434feb
cmp dword [ebp - 8], 0
je 0x434feb
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x435007
push 5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x435021
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x435021
push 9
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43504c
mov dword [ebp - 0x14], 9
jmp 0x435053
mov dword [ebp - 0x14], 5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x10], 0
je 0x43508b
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 8]
je 0x43508b
cmp dword [ebp - 0xc], 0
je 0x43508b
cmp dword [ebp - 8], 0
je 0x43508b
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret
Function at 0x438f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46697b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
push str.CUpdateDlg::ExecuteUpdate
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x244]
push edx
call fcn.004164c0
mov ecx, eax
call fcn.00438bc0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push str.UpdatePath
mov ecx, dword [ebp - 0x224]
call fcn.00408270
push eax
push 0x80000001
call fcn.004397a0
mov ecx, eax
call fcn.00459180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.004082c0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4390da
call fcn.00438db0
call fcn.0042e070
mov ecx, eax
call fcn.00458e70
mov byte [ebp - 0x219], al
movzx eax, byte [ebp - 0x219]
test eax, eax
je 0x439081
push 0xa
push 0
push 0x472e30
lea ecx, [ebp - 0x218]
push ecx
call fcn.0042e070
mov ecx, eax
call fcn.00458b80
jmp 0x43909b
push 0
push str._show
lea edx, [ebp - 0x218]
push edx
call fcn.0042e070
mov ecx, eax
call fcn.00458d30
movzx eax, byte [ebp - 0x219]
test eax, eax
je 0x4390b2
mov dword [ebp - 0x220], 1
jmp 0x4390bc
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
push str.CUpdateDlg::ExecuteUpdate_path___s__bElevated___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
jmp 0x4390ef
lea eax, [ebp - 0x218]
push eax
push str.CUpdateDlg::ExecuteUpdate_PathFileExists:_return_FALSE__path___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret

Function at 0x442c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x442c95
push str.isafe_
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test edi, edi
je 0x442c80
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x442d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x499fec]
cmp eax, 0xffffffff
jne 0x442f4f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x442e0a
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push 0x48271c
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442e6b
mov dword [0x499fec], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [0x499fec], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.00442cb0
test eax, eax
je 0x442f4a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call sub.MSVCR110.dll_memset
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x1c
lea eax, [ebp - 0x61c]
push eax
sub esp, 8
lea ecx, [ebp - 0x828]
call fcn.00459140
lea eax, [ebp - 0x61c]
push 0x482744
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
mov ecx, dword [0x499fec]
add esp, 8
test eax, eax
mov edx, 1
cmove ecx, edx
mov dword [0x499fec], ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
mov eax, dword [0x499fec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x442f60
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.00442cb0
test eax, eax
jne 0x442fae
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x442ffc
xor ecx, ecx
jmp 0x443017
lea eax, [ebp - 0x414]
push eax
push 0
push str.virus
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, eax
xor eax, eax
cmp ecx, 1
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret

Function at 0x443170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.00442cb0
test eax, eax
jne 0x4431c2
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4431b0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea ecx, [ebp - 0x418]
push 0
push 0
push str.instdate
push str.general
call fcn.00459080
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x443320
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 1
lea eax, [ebp - 0x18]
push eax
mov ebx, edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 0x4e20
push 0
push 0
push 0xff
push 6
push 1
push esi
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
test esi, esi
jne 0x44339e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
push 8
mov dword [edi], 0xffffffff
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x4433bc
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x4433be
xor eax, eax
push edi
push 0
push eax
push 0x443240
push 0
push 0
mov dword [eax], esi
mov dword [eax + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460da6
mov esp, ebp
pop ebp
ret

Function at 0x443750
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00442d80
test eax, eax
je 0x44377f
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x414]
call fcn.00442cb0
test eax, eax
je 0x443878
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x24
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44383d
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x480368
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x482744
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x44376c
lea eax, [ebp - 0x20c]
push 0x4827e8
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
mov eax, 3
je 0x44387d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x444860
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x80
push esi
mov edi, edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4448bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
je 0x4448dd
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x4448e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460da6
mov esp, ebp
pop ebp
ret

Function at 0x444900
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push esi
mov esi, ecx
test dl, dl
je 0x44493e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444937
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor dl, dl
mov ecx, esi
call fcn.00444900
test eax, eax
jne 0x444937
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
ret
mov eax, 1
pop esi
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret

Function at 0x444c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SoftwareiSafe
push 0x80000002
mov dword [ebp - 8], 1
xor bl, bl
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444cbb
push edi
push esi
lea eax, [ebp - 8]
push eax
push 0
push str.guid
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x444cc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00460da6
mov esp, ebp
pop ebp
ret