joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448a80
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b6ee
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x448abd
jmp 0x448b41
mov eax, dword [ebp - 0x30]
add eax, 0xb78
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea esi, [ebp - 0x10]
call fcn.00405900
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xb78]
push eax
push 0x467d34
lea edi, [ebp - 0x10]
call fcn.00406090
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
mov ecx, str._s__S__SILENT__silent__quiet__noreboot__verysilent__sp__norestart__q__qn__SilentInstall
call fcn.00405940
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
lea eax, [ebp - 0x14]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4490a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b777
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x475080]
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 0x449142
lea esi, [ebp - 0x10]
call fcn.00405900
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x4fc
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xb78]
push eax
push 0x467a80
lea edi, [ebp - 0x10]
call fcn.00406090
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449133
push 5
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00405aa0
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.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x449160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b7a2
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x475080]
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 0x4491a2
jmp 0x44923d
lea esi, [ebp - 0x10]
call fcn.00405900
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0xa10
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xb78]
push eax
push 0x467a4c
lea edi, [ebp - 0x10]
call fcn.00406090
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44922e
lea esi, [ebp - 0x14]
call fcn.00405900
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0x467a58
lea edi, [ebp - 0x14]
call fcn.00406090
add esp, 8
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00405aa0
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.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x449250
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp - 0x22c]
add eax, 0xb78
call fcn.00405ab0
test eax, eax
jle 0x449283
jmp 0x449369
mov eax, dword [ebp + 8]
add eax, 0x85c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x449313
mov edx, dword [ebp + 8]
add edx, 0x85c
mov edi, dword [ebp - 0x22c]
add edi, 0xb78
call fcn.00405a60
mov eax, dword [ebp - 0x22c]
add eax, 0xb78
call fcn.00405ab0
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb78
call fcn.004185c0
movzx edx, ax
cmp edx, 0x5c
jne 0x4492f9
movzx eax, word [ebp - 4]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb78
call fcn.00418410
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb78
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 0x449369
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0041eb30
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 0x46738c
mov edi, dword [ebp - 0x22c]
add edi, 0xb78
call fcn.00406090
add esp, 0xc
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 4
Function at 0x449380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bf8a
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], ecx
push 0x64
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.0041eb30
add esp, 0xc
lea ecx, [ebp - 0x7c]
push ecx
push 0x468308
push 0x1f67
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44953c
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x44953c
xor eax, eax
mov word [ebp - 0x28c], ax
push 0x208
push 0
lea ecx, [ebp - 0x28a]
push ecx
call fcn.0041eb30
add esp, 0xc
lea edx, [ebp - 0x28c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [ebp + eax*2 - 0x28e]
cmp ecx, 0x5c
je 0x449455
push 0x468310
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea esi, [ebp - 0x298]
call fcn.00405900
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push 0x468314
lea edi, [ebp - 0x298]
call fcn.00406090
add esp, 0xc
push 0x468338
push 0x1f65
call sym.Install_vip.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x290], eax
mov edx, dword [ebp - 0x290]
push edx
call fcn.00432394
add esp, 4
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
push ecx
push 0x468340
push 0x1f65
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov edx, dword [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x294]
push eax
lea eax, [ebp - 0x298]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x2a0]
push edx
call fcn.00433fc5
add esp, 4
push 1
lea eax, [ebp - 0x298]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_void___cdecl_PlayMP3_wchar_t_const___int_
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x298]
call fcn.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret
Function at 0x44a500
Capabilities:
Check if file exists
Get common file path
Get program files directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6e8
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x6e8], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x6e8]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::GetSetupInfoEx_struct_tagSetupInfo__
movzx ecx, al
test ecx, ecx
je 0x44a546
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x6e8]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov al, 1
jmp 0x44a706
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0041eb30
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x46737c
lea eax, [ebp - 0x210]
push eax
call fcn.0043408e
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x44a5a3
xor al, al
jmp 0x44a706
lea ecx, [ebp - 0x294]
push ecx
push 0x467384
push 0x1f41
call sym.Install_vip.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
jne 0x44a62e
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0041eb30
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4a0], ax
push 0x206
push 0
lea ecx, [ebp - 0x49e]
push ecx
call fcn.0041eb30
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x4a0]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [ebp - 0x6e8]
add edi, 0xb78
lea edx, [ebp - 0x4a0]
call fcn.00405a60
xor al, al
jmp 0x44a706
push 0
mov eax, dword [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.004356d4
add esp, 0xc
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0041eb30
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 1
push 0xb00
mov ecx, dword [ebp + 8]
push ecx
call fcn.004350a2
add esp, 0x10
mov edx, dword [ebp - 0x214]
push edx
call fcn.0042802a
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x6e8]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
lea ecx, [ebp - 0x290]
push ecx
mov ecx, dword [ebp - 0x6e8]
call sym.Install_vip.exe_public:_bool___thiscall_CNsInstaller::GetMoreInfo_struct_tagMorePacketInfo__
movzx edx, al
test edx, edx
je 0x44a704
cmp dword [ebp - 0x288], 0
je 0x44a704
push 0x208
push 0
lea eax, [ebp - 0x6a8]
push eax
call fcn.0041eb30
add esp, 0xc
lea ecx, [ebp - 0x6a8]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Install_vip.exe_int___cdecl_GetInstallPath_wchar_t_const___wchar_t__
add esp, 8
lea eax, [ebp - 0x6a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44a704
mov edi, dword [ebp - 0x6e8]
add edi, 0xb78
lea edx, [ebp - 0x6a8]
call fcn.00405a60
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 4
Function at 0x44d740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c573
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x475080]
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 ecx, dword [ebp - 0x254]
call sym.Install_vip.exe_private:_void___thiscall_CNsInstaller::PlayMusic_void_
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push 0x467f18
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 0x44d7c4
cmp dword [ebp - 0x22c], 0
je 0x44d7c4
mov byte [sym.Install_vip.exe_bool_CNsInstaller::m_bUpdated], 1
jmp 0x44d895
mov byte [sym.Install_vip.exe_bool_CNsInstaller::m_bUpdated], 0
lea ecx, [ebp - 0x230]
push ecx
mov ecx, str.http:__hofosetup.com_update_install_data.zip
call fcn.00405940
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x44d7f7
mov edx, dword [ebp + 0xc]
lea edi, [ebp - 0x230]
call fcn.00405a60
xor edx, edx
mov word [ebp - 0x224], dx
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.0041eb30
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 0x44d864
push 0
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00405aa0
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 0x44d883
push 0
push sym.Install_vip.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00405aa0
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.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 8
Function at 0x44da40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x475080]
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.0041eb30
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 0x44daf5
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 0x44dae0
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 0x44dafb
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret
Function at 0x44df00
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x475080]
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 0x44df2c
xor eax, eax
jmp 0x44df89
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 0x44df56
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44df89
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.0041d97a
mov esp, ebp
pop ebp
ret

Function at 0x44dfa0
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 0x44dfc5
xor eax, eax
jmp 0x44e090
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 0x44e040
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x44e032
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 0x44e030
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44e090
jmp 0x44e040
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44e090
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x44e077
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x44e077
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 0x44e090
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 0x44e880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x100000
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jae 0x44e8e8
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jge 0x44e8b0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
push eax
call fcn.00433f4b
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x44e8d4
jmp 0x44e8e8
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x44e89a
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp eax, dword [ebp + 0x10]
sete cl
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x44e900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x100000
mov ecx, dword [ebp + 8]
push ecx
call fcn.004350bf
add esp, 4
test eax, eax
jne 0x44e970
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x10]
jae 0x44e970
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x44e940
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
push ecx
call fcn.004350a2
add esp, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x44e91a
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, dword [ebp + 0x10]
sete al
mov esp, ebp
pop ebp
ret
Function at 0x44e9e0
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 0x44ea1b
xor eax, eax
jmp 0x44ead6
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 0x44ea39
xor eax, eax
jmp 0x44ead6
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 0x44ea6b
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x44ead6
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 0x44ea84
jmp 0x44eac9
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.0041f250
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 0x44eae0
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 0x44eb13
xor eax, eax
jmp 0x44eb83
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 0x44eb2e
xor eax, eax
jmp 0x44eb83
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 0x44eb60
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x44eb83
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0041f250
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 0x44eb90
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 0x44ebc1
xor eax, eax
jmp 0x44ec31
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 0x44ebdc
xor eax, eax
jmp 0x44ec31
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 0x44ec0e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x44ec31
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041f250
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