joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434e60
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443085
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x454080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004177b0
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x224]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
push eax
push str.prog
mov ecx, dword [ebp + 8]
call fcn.0040f910
lea ecx, [ebp - 0x224]
push ecx
call sym.Install_classic.exe_int___cdecl_GetDesktopPath_wchar_t__
add esp, 4
lea edx, [ebp - 0x224]
push edx
push str.desktop
mov ecx, dword [ebp + 8]
call fcn.0040f910
lea eax, [ebp - 0x224]
push eax
call sym.Install_classic.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x449b44
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp - 0x244]
add edx, 0x6f0
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x224]
push ecx
push 0x449b48
mov ecx, dword [ebp + 8]
call fcn.0040f910
mov eax, dword [ebp - 0x244]
add eax, 0xb58
call fcn.00404da0
push eax
push str.myapp
mov ecx, dword [ebp + 8]
call fcn.0040f910
call sym.Install_classic.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x43502e
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea eax, [ebp - 0x224]
push eax
push 0x449b70
mov ecx, dword [ebp + 8]
call fcn.0040f910
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x224]
push edx
push 0x449b7c
mov ecx, dword [ebp + 8]
call fcn.0040f910
push 0
push 0x26
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00404c20
mov dword [ebp - 4], 0
push 0x449b8c
push str.__x86_
lea ecx, [ebp - 0x228]
call fcn.0040f910
lea eax, [ebp - 0x228]
call fcn.00404da0
push eax
push 0x449ba0
mov ecx, dword [ebp + 8]
call fcn.0040f910
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
call fcn.00404cd0
jmp 0x43508f
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x224]
push eax
push str.sys
mov ecx, dword [ebp + 8]
call fcn.0040f910
lea ecx, [ebp - 0x224]
push ecx
push str.sys64
mov ecx, dword [ebp + 8]
call fcn.0040f910
push 0
push 0x26
lea edx, [ebp - 0x224]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
push eax
push str.prog64
mov ecx, dword [ebp + 8]
call fcn.0040f910
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4
Function at 0x4356b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44313e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x454080]
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 0x435752
lea esi, [ebp - 0x10]
call fcn.00404be0
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 0x449830
lea edi, [ebp - 0x10]
call fcn.00405370
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00404da0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435743
push 5
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00404da0
push eax
call sym.Install_classic.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.00404cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x435770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443169
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x454080]
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 0x4357b2
jmp 0x43584d
lea esi, [ebp - 0x10]
call fcn.00404be0
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 0x4497fc
lea edi, [ebp - 0x10]
call fcn.00405370
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00404da0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43583e
lea esi, [ebp - 0x14]
call fcn.00404be0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push str._s___s_
lea edi, [ebp - 0x14]
call fcn.00405370
add esp, 8
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00404da0
push eax
push str.regedit.exe
call sym.Install_classic.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.00404cd0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00404cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435860
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x454080]
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.00404db0
test eax, eax
jle 0x435893
jmp 0x435979
mov eax, dword [ebp + 8]
add eax, 0x85c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x435923
mov edx, dword [ebp + 8]
add edx, 0x85c
mov edi, dword [ebp - 0x22c]
add edi, 0xb58
call fcn.00404d60
mov eax, dword [ebp - 0x22c]
add eax, 0xb58
call fcn.00404db0
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.00411fb0
movzx edx, ax
cmp edx, 0x5c
jne 0x435909
movzx eax, word [ebp - 4]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb58
call fcn.00411d70
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb58
push ecx
mov ecx, dword [ebp - 0x22c]
call sym.Install_classic.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
jmp 0x435979
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004177b0
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 0x449378
mov edi, dword [ebp - 0x22c]
add edi, 0xb58
call fcn.00405370
add esp, 0xc
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4
Function at 0x435990
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 [0x454080]
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.004177b0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x449368
lea eax, [ebp - 0x210]
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x435a07
xor al, al
jmp 0x435af4
lea ecx, [ebp - 0x218]
push ecx
push 0x449370
push 0x1f41
call sym.Install_classic.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x435a8f
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004177b0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.004177b0
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.00404d60
xor al, al
jmp 0x435af4
push 0
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.00423c24
add esp, 0xc
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004177b0
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 1
push 0xb00
mov ecx, dword [ebp + 8]
push ecx
call fcn.004237b2
add esp, 0x10
mov edx, dword [ebp - 0x214]
push edx
call fcn.004203ea
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x450]
call sym.Install_classic.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4
Function at 0x436a60
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44395b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x454080]
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.00404c20
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x228]
call fcn.0040bcb0
xor edx, edx
mov word [ebp - 0x224], dx
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.004177b0
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 0x436b17
push str.nscomponent_setup.exe
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x436b29
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 0x436b72
push 0
push 0
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x228]
call fcn.00404da0
push eax
call sym.Install_classic.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_classic.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 0x449610
lea edx, [ebp - 0x224]
push edx
call sym.Install_classic.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x436bf1
mov ecx, dword [ebp - 0x240]
call sym.Install_classic.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_classic.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.00404da0
push eax
call sym.Install_classic.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_classic.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.00404cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4
Function at 0x436c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4439f8
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x454080]
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 0x449c48
push 0x1f56
call sym.Install_classic.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x436c98
cmp dword [ebp - 0x22c], 0
je 0x436c98
mov byte [sym.Install_classic.exe_bool_CNsInstaller::m_bUpdated], 1
jmp 0x436d55
mov byte [sym.Install_classic.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.00404c20
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.004177b0
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_classic.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_classic.exe_public:_void___thiscall_CNsUpdate::SetPath_wchar_t_const__
movzx eax, byte [ebp + 8]
test eax, eax
je 0x436d24
push 0
push sym.Install_classic.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00404da0
push eax
call sym.Install_classic.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_classic.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 0x436d43
push 0
push sym.Install_classic.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00404da0
push eax
call sym.Install_classic.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_classic.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.00404cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret 4
Function at 0x437510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x454080]
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.004177b0
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 0x4375c5
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 0x4375b0
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 0x4375cb
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004168aa
mov esp, ebp
pop ebp
ret
Function at 0x4379e0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x454080]
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 0x437a0c
xor eax, eax
jmp 0x437a69
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 0x437a36
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x437a69
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.004168aa
mov esp, ebp
pop ebp
ret

Function at 0x437a80
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 0x437aa5
xor eax, eax
jmp 0x437b70
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 0x437b20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x437b12
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 0x437b10
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x437b70
jmp 0x437b20
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x437b70
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x437b57
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x437b57
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 0x437b70
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 0x438360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x44a140
mov eax, dword [ebp + 8]
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x438382
xor eax, eax
jmp 0x4383a9
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.0042265b
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004203ea
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4383b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x44a138
mov eax, dword [ebp + 8]
push eax
call fcn.0042279e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4383d2
xor eax, eax
jmp 0x438400
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.004237b2
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004203ea
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x438470
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 0x4384ab
xor eax, eax
jmp 0x438566
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 0x4384c9
xor eax, eax
jmp 0x438566
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 0x4384fb
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x438566
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 0x438514
jmp 0x438559
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.004181c0
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 0x438570
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 0x4385a1
xor eax, eax
jmp 0x438611
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 0x4385bc
xor eax, eax
jmp 0x438611
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 0x4385ee
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x438611
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004181c0
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 0x438620
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 0x438651
xor eax, eax
jmp 0x4386c1
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 0x43866c
xor eax, eax
jmp 0x4386c1
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 0x43869e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x4386c1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sym.Install_classic.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