joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4398d0
Capabilities:
Get common file path
Get program files directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x450], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x450]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::GetSetupInfoEx_struct_tagSetupInfo__
movzx ecx, al
test ecx, ecx
je 0x439916
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x450]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov al, 1
jmp 0x439a60
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0041a420
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4515e4
lea eax, [ebp - 0x210]
push eax
call fcn.00425fde
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x439973
xor al, al
jmp 0x439a60
lea ecx, [ebp - 0x218]
push ecx
push 0x4515ec
push 0x1f41
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4399fb
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0041a420
add esp, 0xc
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.0041a420
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x428]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [ebp - 0x450]
add edi, 0xb64
lea edx, [ebp - 0x428]
call fcn.00405970
xor al, al
jmp 0x439a60
push 0
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.004275f4
add esp, 0xc
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0041a420
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 1
push 0xb00
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426ff2
add esp, 0x10
mov edx, dword [ebp - 0x214]
push edx
call fcn.00423c2a
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x450]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041957a
mov esp, ebp
pop ebp
ret 4
Function at 0x43aee0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1584
call fcn.00422900
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1584], ecx
lea eax, [ebp - 0x1580]
push eax
mov ecx, dword [ebp - 0x1584]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::GetCloudInfo_struct_tagCloudInfo__
movzx ecx, al
test ecx, ecx
jne 0x43af36
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0x1584]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x43b07a
lea ecx, [ebp - 0x1580]
push ecx
push str.install_cloud
push str.http:__api.hofosoft.com_report.asp
call sym.Install_vip.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0041a420
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [ebp + eax*2 - 0x21a]
cmp eax, 0x5c
jne 0x43afae
push 0x451d10
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43afc0
push str.hf_cloud_setup.exe
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x1584]
mov byte [eax + 0xb58], 0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::DownNotify_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x14b8]
push eax
call sym.Install_vip.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsDownload::GetHttpFile_wchar_t_const___wchar_t_const___int__void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double__
mov ecx, dword [ebp - 0x1584]
movzx edx, byte [ecx + 0xb58]
test edx, edx
je 0x43b029
push 0
push 0xffffffffffffffff
push 0x7e9
mov eax, dword [ebp - 0x1584]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x43b07a
push 0
push 0xfffffffffffffffe
push 0x7e9
mov edx, dword [ebp - 0x1584]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push 1
lea ecx, [ebp - 0x12b0]
push ecx
lea edx, [ebp - 0x218]
push edx
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
push 0
push 0x2710
push 0x7e9
mov eax, dword [ebp - 0x1584]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041957a
mov esp, ebp
pop ebp
ret
Function at 0x43cce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b038
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push 0x45216c
push 0x1f56
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x43cd59
cmp dword [ebp - 0x22c], 0
je 0x43cd59
mov byte [sym.Install_vip.exe_bool_CNsInstaller::m_bUpdated], 1
jmp 0x43ce2a
mov byte [sym.Install_vip.exe_bool_CNsInstaller::m_bUpdated], 0
lea ecx, [ebp - 0x230]
push ecx
mov ecx, str.http:__www.hofosoft.com_hofosoft_update_install_data.zip
call fcn.00405850
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x43cd8c
mov edx, dword [ebp + 0xc]
lea edi, [ebp - 0x230]
call fcn.00405970
xor edx, edx
mov word [ebp - 0x224], dx
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.0041a420
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x224]
push edx
call sym.Install_vip.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsUpdate::SetPath_wchar_t_const__
movzx eax, byte [ebp + 8]
test eax, eax
je 0x43cdf9
push 0
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00405a90
push eax
call sym.Install_vip.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsUpdate::StartUpdate_wchar_t_const___void____stdcall___int__int__int___void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double__
jmp 0x43ce18
push 0
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00405a90
push eax
call sym.Install_vip.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsUpdate::CheckUpdate_wchar_t_const___void____stdcall___int__int__int___void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double__
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x230]
call fcn.00405a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041957a
mov esp, ebp
pop ebp
ret 8
Function at 0x43d000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0041a420
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43d0b5
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43d0a0
mov dword [ebp - 0x218], 1
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
jmp 0x43d0bb
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041957a
mov esp, ebp
pop ebp
ret

Function at 0x43d0d0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d0fc
xor eax, eax
jmp 0x43d159
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43d126
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x43d159
lea eax, [ebp - 0x28]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041957a
mov esp, ebp
pop ebp
ret
Function at 0x43d170
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43d195
xor eax, eax
jmp 0x43d260
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 3
push 1
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d210
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x43d202
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d200
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x43d260
jmp 0x43d210
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x43d260
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x43d247
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x43d247
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x43d260
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43da50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x452830
mov eax, dword [ebp + 8]
push eax
call fcn.00425fde
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43da72
xor eax, eax
jmp 0x43da99
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00425e9b
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00423c2a
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43daa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x452828
mov eax, dword [ebp + 8]
push eax
call fcn.00425fde
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43dac2
xor eax, eax
jmp 0x43daf0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00426ff2
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00423c2a
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43db60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43db9b
xor eax, eax
jmp 0x43dc56
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43dbb9
xor eax, eax
jmp 0x43dc56
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x43dbeb
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43dc56
mov eax, dword [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43dc04
jmp 0x43dc49
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041ae30
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x43dc60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43dc93
xor eax, eax
jmp 0x43dd03
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43dcae
xor eax, eax
jmp 0x43dd03
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43dce0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43dd03
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0041ae30
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43dd10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43dd41
xor eax, eax
jmp 0x43ddb1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43dd5c
xor eax, eax
jmp 0x43ddb1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43dd8e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43ddb1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041ae30
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43ddc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43ddf3
xor eax, eax
jmp 0x43de63
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43de0e
xor eax, eax
jmp 0x43de63
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43de40
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43de63
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call sym.Install_vip.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43de70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43dea1
xor eax, eax
jmp 0x43df11
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43debc
xor eax, eax
jmp 0x43df11
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43deee
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43df11
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sym.Install_vip.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43df20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43df51
xor eax, eax
jmp 0x43df8a
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43df6c
xor eax, eax
jmp 0x43df8a
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x43df90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
push 0xf003f
push 0
push str.Control_PanelDesktopWindowMetrics
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x43dfd4
jmp 0x43e097
push 0x28
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041a420
add esp, 0xc
mov edx, dword [ebp - 0x34]
sub edx, 1
push edx
push 0x4527d8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea edx, [ebp - 0x2c]
push edx
push 1
push 0
push 0x4527e0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x28
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041a420
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
push 0x452800
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea edx, [ebp - 0x2c]
push edx
push 1
push 0
push str.Shell_Icon_Size
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041957a
mov esp, ebp
pop ebp
ret

Function at 0x43e400
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x26
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop ebp
ret

Function at 0x43e460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 2
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop ebp
ret