joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443bee
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x456080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xae4], 0
je 0x436222
lea esi, [ebp - 0x10]
call fcn.00404c10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x4fc
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xb58]
push eax
push 0x44a918
lea edi, [ebp - 0x10]
call fcn.004053b0
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00404db0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436213
push 5
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00404db0
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00404e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443c19
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x456080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
add eax, 0xa10
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x436282
jmp 0x43631d
lea esi, [ebp - 0x10]
call fcn.00404c10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0xa10
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xb58]
push eax
push 0x44a8e4
lea edi, [ebp - 0x10]
call fcn.004053b0
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00404db0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43630e
lea esi, [ebp - 0x14]
call fcn.00404c10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push str._s___s_
lea edi, [ebp - 0x14]
call fcn.004053b0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00404db0
push eax
push str.regedit.exe
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov byte [ebp - 4], 0
lea eax, [ebp - 0x14]
call fcn.00404e30
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00404e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436330
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x456080]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp - 0x22c]
add eax, 0xb58
call fcn.00404dc0
test eax, eax
jle 0x436363
jmp 0x436449
mov eax, dword [ebp + 8]
add eax, 0x85c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4363f3
mov edx, dword [ebp + 8]
add edx, 0x85c
mov edi, dword [ebp - 0x22c]
add edi, 0xb58
call fcn.00404d70
mov eax, dword [ebp - 0x22c]
add eax, 0xb58
call fcn.00404dc0
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb58
call fcn.00412a50
movzx edx, ax
cmp edx, 0x5c
jne 0x4363d9
movzx eax, word [ebp - 4]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb58
call fcn.00412810
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb58
push ecx
mov ecx, dword [ebp - 0x22c]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
jmp 0x436449
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004182c0
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push 0x44a460
mov edi, dword [ebp - 0x22c]
add edi, 0xb58
call fcn.004053b0
add esp, 0xc
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004173c6
mov esp, ebp
pop ebp
ret 4
Function at 0x436460
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 [0x456080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x450], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004182c0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x44a450
lea eax, [ebp - 0x210]
push eax
call fcn.004232ae
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4364d7
xor al, al
jmp 0x4365c4
lea ecx, [ebp - 0x218]
push ecx
push 0x44a458
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 0x43655f
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004182c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.004182c0
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, 0xb58
lea edx, [ebp - 0x428]
call fcn.00404d70
xor al, al
jmp 0x4365c4
push 0
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.004246f4
add esp, 0xc
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004182c0
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 1
push 0xb00
mov ecx, dword [ebp + 8]
push ecx
call fcn.004242c2
add esp, 0x10
mov edx, dword [ebp - 0x214]
push edx
call fcn.00420efa
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.004173c6
mov esp, ebp
pop ebp
ret 4
Function at 0x437530
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44440b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x456080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
lea eax, [ebp - 0x228]
push eax
mov ecx, str.http:__hofosoft.com_hofosoft_Components_
call fcn.00404c50
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x228]
call fcn.0040c840
xor edx, edx
mov word [ebp - 0x224], dx
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.004182c0
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 dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [ebp + eax*2 - 0x226]
cmp eax, 0x5c
jne 0x4375e7
push str.nscomponent_setup.exe
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x4375f9
push str._nscomponent_setup.exe
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x240]
cmp dword [eax + 4], 0
jne 0x437642
push 0
push 0
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x228]
call fcn.00404db0
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__
push 0
push 1
push 0x44a6f8
lea edx, [ebp - 0x224]
push edx
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x4376c1
mov ecx, dword [ebp - 0x240]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::WaitInstall_void_
push 0
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0xb54]
push ecx
push 0x7ea
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x240]
mov byte [ecx + 0xb4d], 1
mov edx, dword [ebp - 0x240]
mov dword [edx + 0xb50], 0x258
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::DownNotify_int__wchar_t_const___long_long___int64___long_long___int64___double_
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x228]
call fcn.00404db0
push eax
call sym.Install_vip.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsDownload::StartDownload_wchar_t_const___wchar_t_const___void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double___int_
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
call fcn.00404e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004173c6
mov esp, ebp
pop ebp
ret 4
Function at 0x4376f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4444a8
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x456080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push 0x44ad30
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 0x437768
cmp dword [ebp - 0x22c], 0
je 0x437768
mov byte [sym.Install_vip.exe_bool_CNsInstaller::m_bUpdated], 1
jmp 0x437825
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.00404c50
mov dword [ebp - 4], 0
xor edx, edx
mov word [ebp - 0x224], dx
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.004182c0
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 0x4377f4
push 0
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00404db0
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 0x437813
push 0
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00404db0
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.00404e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004173c6
mov esp, ebp
pop ebp
ret 4
Function at 0x437fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x456080]
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.004182c0
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 0x438095
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 0x438080
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 0x43809b
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004173c6
mov esp, ebp
pop ebp
ret
Function at 0x4384b0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x456080]
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 0x4384dc
xor eax, eax
jmp 0x438539
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 0x438506
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x438539
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.004173c6
mov esp, ebp
pop ebp
ret

Function at 0x438550
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 0x438575
xor eax, eax
jmp 0x438640
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 0x4385f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x4385e2
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 0x4385e0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x438640
jmp 0x4385f0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x438640
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x438627
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x438627
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 0x438640
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 0x438e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x44b228
mov eax, dword [ebp + 8]
push eax
call fcn.004232ae
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x438e52
xor eax, eax
jmp 0x438e79
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.0042316b
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00420efa
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x438e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x44b220
mov eax, dword [ebp + 8]
push eax
call fcn.004232ae
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x438ea2
xor eax, eax
jmp 0x438ed0
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.004242c2
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00420efa
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x438f40
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 0x438f7b
xor eax, eax
jmp 0x439036
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 0x438f99
xor eax, eax
jmp 0x439036
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 0x438fcb
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x439036
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 0x438fe4
jmp 0x439029
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.00418cd0
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 0x439040
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 0x439071
xor eax, eax
jmp 0x4390e1
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 0x43908c
xor eax, eax
jmp 0x4390e1
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 0x4390be
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x4390e1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00418cd0
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 0x4390f0
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 0x439121
xor eax, eax
jmp 0x439191
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 0x43913c
xor eax, eax
jmp 0x439191
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 0x43916e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x439191
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 0x4391a0
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 0x4391d1
xor eax, eax
jmp 0x43920a
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 0x4391ec
xor eax, eax
jmp 0x43920a
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 0x439210
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x456080]
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 0x439254
jmp 0x439317
push 0x28
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004182c0
add esp, 0xc
mov edx, dword [ebp - 0x34]
sub edx, 1
push edx
push 0x44b1d0
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 0x44b1d8
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.004182c0
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
push 0x44b1f8
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.004173c6
mov esp, ebp
pop ebp
ret

Function at 0x4394c0
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 0x439520
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