joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403740
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453e1b
mov eax, dword fs:[0]
push eax
sub esp, 0xa38
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 1
call fcn.00409d10
test al, al
je 0x403801
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x628]
call fcn.0040b7f0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x45d3c8
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403817
cmp byte [0x48275b], 0
je 0x403808
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x403953
sub esp, 0x18
mov ecx, esp
push 0x45d064
jmp 0x403944
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push str.cfgisafe.dat
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa3c]
push 0x208
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xa3c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0xa3c]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4038e8
lea eax, [ebp - 0xa3c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x45ec1c
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [0x47f7a4], 8
mov eax, 0x47f790
cmovae eax, dword [0x47f790]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x403801
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403920
sub ecx, edx
sub esp, 0x18
sar ecx, 1
mov ecx, esp
je 0x40393f
lea eax, [ebp - 0x218]
push eax
jmp 0x403944
push 0x45d3fc
call fcn.00406d00
call fcn.004028a0
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x403e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453f28
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x4826e0]
add esp, 0xc
test al, 1
jne 0x403eae
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
sub esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.00444100
mov eax, dword [0x4826e0]
test al, 1
jne 0x403edb
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403f36
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x403f36
mov eax, dword [0x483214]
test al, 1
jne 0x403f1d
or eax, 1
push 0x45b070
mov dword [0x483214], eax
call fcn.004521b7
add esp, 4
lea eax, [ebp - 0x218]
push eax
push str.Failed_to_create_directory_:__s
push 0x483210
call fcn.0044bc70
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.log_s.log
lea eax, [ebp - 0x420]
push 0x208
push eax
call fcn.00401c10
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x628]
push eax
push 0
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_InitProgramLogEx]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
jb 0x403fd5
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x403ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x4826e0]
add esp, 0xc
test al, 1
jne 0x40403f
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.00444100
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 eax, [ebp - 0x414]
push str.preference.ini
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4040e6
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 - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea ecx, [ebp - 0x620]
push 0
push str.IsAskedUpade
push str.ScanEngine
call fcn.00443f00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x404100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453e7d
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov dword [ebp - 0x424], 0
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x420]
call fcn.0040b7f0
lea ecx, [ebp - 0x420]
call fcn.0040cb40
cmp eax, 1
jne 0x4042e6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push str.proxyUpdate.exe
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4041ef
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x454]
call fcn.00406d00
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x424], 1
call fcn.0042a1b0
test al, al
je 0x4041ef
mov bl, 1
jmp 0x4041f1
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x424], 1
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
je 0x40421b
cmp dword [ebp - 0x440], 8
jb 0x40421b
push dword [ebp - 0x454]
call esi
add esp, 4
test bl, bl
je 0x40429d
mov eax, dword [0x482724]
test al, 1
jne 0x40423d
or eax, 1
push 0x45aec0
mov dword [0x482724], eax
call fcn.004521b7
add esp, 4
sub esp, 8
call fcn.00442f40
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00406d00
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0042a410
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x428], 8
jb 0x404280
push dword [ebp - 0x43c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], ax
mov edi, dword [sym.imp.isafepxy.dll_public:_static_class_elex::commumod::SCommuMod____cdecl_elex::commumod::SCommuMod::instance_void_]
call edi
push 0
push 0xa0002000
call dword [sym.imp.isafepxy.dll_public:_static_int___cdecl_elex::commumod::SCommuMod::InitialCommu_unsigned_long_int__wchar_t_const__]
mov esi, eax
push esi
push str.InitialCommu:__d
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0x14
test esi, esi
je 0x4042e2
call edi
push 1
push 0xb
push 1
call dword [sym.imp.isafepxy.dll_public:_static_int___cdecl_elex::commumod::SCommuMod::SendSilentToNormal_unsigned_long_int__unsigned_long_int__unsigned_long_int_]
add esp, 0xc
call edi
call dword [sym.imp.isafepxy.dll_public:_static_int___cdecl_elex::commumod::SCommuMod::ClearCommu_void_]
mov al, 1
jmp 0x4042e8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x407fe0
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes
Persist via run registry key
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45455b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [ebp - 0x43c]
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x43c], 0
call fcn.0042dda0
mov eax, dword [ebp - 0x438]
and eax, 0xff00
cmp eax, 0x1500
setae al
test al, al
je 0x408212
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x414], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4080de
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Common_Programs
push dword [ebp - 0x434]
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x4080f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], 0
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
cmp word [ebp - 0x410], ax
jne 0x408123
xor ecx, ecx
jmp 0x40813f
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408130
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406c00
push 5
push str.YAC_
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0
call fcn.00405270
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x42c]
call fcn.004065d0
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jb 0x408192
mov ecx, eax
test eax, eax
je 0x4081ff
jmp 0x408198
lea ecx, [ebp - 0x42c]
cmp word [ecx], 0
je 0x4081ff
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4081f9
cmp dword [ebp - 0x418], 8
push 0
push 0
push 0
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push eax
push str.startunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x418], 8
lea esi, [ebp - 0x42c]
cmovae esi, dword [ebp - 0x42c]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
jb 0x408212
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x4089f0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x408a5e
push 0x94
push str.iSafeService
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x408a70
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x408a52
mov eax, dword [ebp - 0x1c]
cmp eax, 4
je 0x408a52
cmp eax, 2
je 0x408a52
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00452076
mov esp, ebp
pop ebp
ret

Function at 0x408a90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x38
lea eax, [ebp - 0x3c]
push 0
push eax
mov esi, edx
mov edi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], str.open
jb 0x408ada
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30], edi
jb 0x408ae5
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
test eax, eax
je 0x408b19
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x4098c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455408
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
push ebx
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], edi
call fcn.00411570
add esp, 4
mov dword [ebp - 4], edi
call fcn.0042da20
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test al, al
je 0x40996d
push ebx
mov edx, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x44]
call fcn.00411570
mov edi, eax
lea eax, [ebp - 0x28]
add esp, 4
cmp eax, edi
je 0x40995a
cmp dword [ebp - 0x14], 8
jb 0x40993d
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004066d0
cmp dword [ebp - 0x30], 8
jb 0x409968
push dword [ebp - 0x44]
call esi
add esp, 4
mov edi, 0x200
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push ecx
or edi, 0xf003f
push edi
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4099ac
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4099ba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
jb 0x4099c8
push dword [ebp - 0x28]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x409d10
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
test cl, cl
je 0x409d88
mov eax, dword [0x482720]
test al, 1
jne 0x409d48
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 1
push 0
push 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x409f4e
push 4
push str.iSafeService
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x409d7d
push eax
mov bl, 1
call edi
push esi
call edi
test bl, bl
je 0x409f4e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
push 0x20019
push 0
push str.SoftwareiSafe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x628], 0x104
mov dword [ebp - 0x620], 0
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409e27
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x624]
push eax
push 0
push 0x45d188
push dword [ebp - 0x620]
mov dword [ebp - 0x624], 1
call ebx
test eax, eax
jne 0x409e27
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409ea8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x620]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstalliSafe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x624], 0x104
mov dword [ebp - 0x620], 0
call edi
test eax, eax
jne 0x409f47
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push 0x45d188
push dword [ebp - 0x620]
mov dword [ebp - 0x628], 1
call ebx
test eax, eax
jne 0x409f47
push dword [ebp - 0x620]
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.iSafe.exe
push eax
lea eax, [ebp - 0x61c]
push eax
call esi
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 eax, [ebp - 0x20c]
push 0x45f1b8
push eax
lea eax, [ebp - 0x414]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x61c]
push eax
call esi
test eax, eax
je 0x409f4e
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x409f4e
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x40abc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x418]
call fcn.0040b7f0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push str.main
push eax
push str._s_s
lea eax, [ebp - 0x210]
push 0x208
push eax
call fcn.00401c10
add esp, 0x14
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40accc
mov eax, dword [0x482720]
test al, 1
jne 0x40ac8c
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 0x104
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00443950
lea eax, [ebp - 0x620]
push eax
push str.2.5.0
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
setg al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.00452076
mov esp, ebp
pop ebp
ret
Function at 0x40b6b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454678
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x47f060]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x47f060]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edx, ecx
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp word [edx], ax
jne 0x40b709
xor ecx, ecx
jmp 0x40b71f
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b710
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00406c00
push 1
push ecx
push 0x45ebf0
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 0
call fcn.00411400
push eax
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.00405030
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
lea eax, [esp + 0x28]
cmp eax, edi
je 0x40b795
cmp dword [esp + 0x3c], 8
jb 0x40b774
push dword [esp + 0x28]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.004066d0
cmp dword [esp + 0x24], 8
jb 0x40b7a5
push dword [esp + 0x10]
call esi
add esp, 4
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
sete bl
cmp dword [esp + 0x3c], 8
jb 0x40b7d0
push dword [esp + 0x28]
call esi
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00452076
mov esp, ebp
pop ebp
ret