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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446760
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x459080]
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.004188a0
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.00410800
lea ecx, [ebp - 0x224]
push ecx
call sym.Install_ring.exe_int___cdecl_GetDesktopPath_wchar_t__
add esp, 4
lea edx, [ebp - 0x224]
push edx
push 0x44dc4c
mov ecx, dword [ebp + 8]
call fcn.00410800
lea eax, [ebp - 0x224]
push eax
call sym.Install_ring.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x44dd20
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 0x44dd24
mov ecx, dword [ebp + 8]
call fcn.00410800
mov eax, dword [ebp - 0x244]
add eax, 0xb58
call fcn.00405980
push eax
push str.myapp
mov ecx, dword [ebp + 8]
call fcn.00410800
call sym.Install_ring.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x43708e
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea eax, [ebp - 0x224]
push eax
push 0x44dd4c
mov ecx, dword [ebp + 8]
call fcn.00410800
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x224]
push edx
push 0x44dd58
mov ecx, dword [ebp + 8]
call fcn.00410800
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.00405740
mov dword [ebp - 4], 0
push 0x44dd68
push str.__x86_
lea ecx, [ebp - 0x228]
call fcn.00410800
lea eax, [ebp - 0x228]
call fcn.00405980
push eax
push 0x44dd7c
mov ecx, dword [ebp + 8]
call fcn.00410800
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
call fcn.004057f0
jmp 0x4370ef
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.00410800
lea ecx, [ebp - 0x224]
push ecx
push str.sys64
mov ecx, dword [ebp + 8]
call fcn.00410800
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.00410800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret 4
Function at 0x437710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446819
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x459080]
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 0x4377b2
lea esi, [ebp - 0x10]
call fcn.00405700
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 0x44da0c
lea edi, [ebp - 0x10]
call fcn.00405ee0
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00405980
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4377a3
push 5
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00405980
push eax
call sym.Install_ring.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.004057f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4377d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446844
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x459080]
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 0x437812
jmp 0x4378ad
lea esi, [ebp - 0x10]
call fcn.00405700
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 0x44d9d8
lea edi, [ebp - 0x10]
call fcn.00405ee0
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00405980
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43789e
lea esi, [ebp - 0x14]
call fcn.00405700
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push str._s___s_
lea edi, [ebp - 0x14]
call fcn.00405ee0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00405980
push eax
push str.regedit.exe
call sym.Install_ring.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.004057f0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.004057f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4378c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x459080]
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.004058c0
test eax, eax
jle 0x4378f3
jmp 0x4379d9
mov eax, dword [ebp + 8]
add eax, 0x85c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x437983
mov edx, dword [ebp + 8]
add edx, 0x85c
mov edi, dword [ebp - 0x22c]
add edi, 0xb58
call fcn.00405880
mov eax, dword [ebp - 0x22c]
add eax, 0xb58
call fcn.004058c0
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.00413280
movzx edx, ax
cmp edx, 0x5c
jne 0x437969
movzx eax, word [ebp - 4]
push eax
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb58
call fcn.00413040
mov ecx, dword [ebp - 0x22c]
add ecx, 0xb58
push ecx
mov ecx, dword [ebp - 0x22c]
call sym.Install_ring.exe_private:_void___thiscall_CNsInstaller::ReplaceSysPath_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
jmp 0x4379d9
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004188a0
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 0x44d470
mov edi, dword [ebp - 0x22c]
add edi, 0xb58
call fcn.00405ee0
add esp, 0xc
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret 4
Function at 0x4379f0
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 [0x459080]
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.004188a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x44d460
lea eax, [ebp - 0x210]
push eax
call fcn.0042445e
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x437a67
xor al, al
jmp 0x437b54
lea ecx, [ebp - 0x218]
push ecx
push 0x44d468
push 0x1f41
call sym.Install_ring.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x437aef
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004188a0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.004188a0
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.00405880
xor al, al
jmp 0x437b54
push 0
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call fcn.00425a24
add esp, 0xc
push 0xb00
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004188a0
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 1
push 0xb00
mov ecx, dword [ebp + 8]
push ecx
call fcn.00425472
add esp, 0x10
mov edx, dword [ebp - 0x214]
push edx
call fcn.004220aa
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x450]
call sym.Install_ring.exe_private:_void___thiscall_CNsInstaller::InitPath_struct_tagSetupInfo__
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret 4
Function at 0x439720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447239
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x459080]
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 0x44de24
push 0x1f56
call sym.Install_ring.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x439798
cmp dword [ebp - 0x22c], 0
je 0x439798
mov byte [sym.Install_ring.exe_bool_CNsInstaller::m_bUpdated], 1
jmp 0x439855
mov byte [sym.Install_ring.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.00405740
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.004188a0
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_ring.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_ring.exe_public:_void___thiscall_CNsUpdate::SetPath_wchar_t_const__
movzx eax, byte [ebp + 8]
test eax, eax
je 0x439824
push 0
push sym.Install_ring.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00405980
push eax
call sym.Install_ring.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_ring.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 0x439843
push 0
push sym.Install_ring.exe_private:_static_void___stdcall_CNsInstaller::UpdateNotify_int__int__int_
lea eax, [ebp - 0x230]
call fcn.00405980
push eax
call sym.Install_ring.exe_public:_static_class_CNsUpdate____cdecl_CNsUpdate::Instance_void_
mov ecx, eax
call sym.Install_ring.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.004057f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret 4
Function at 0x439a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x459080]
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.004188a0
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 0x439ad5
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 0x439ac0
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 0x439adb
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret

Function at 0x439af0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x459080]
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 0x439b1c
xor eax, eax
jmp 0x439b79
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 0x439b46
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x439b79
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.0041799a
mov esp, ebp
pop ebp
ret
Function at 0x439b90
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 0x439bb5
xor eax, eax
jmp 0x439c80
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 0x439c30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x439c22
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 0x439c20
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x439c80
jmp 0x439c30
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x439c80
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x439c67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x439c67
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 0x439c80
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 0x43a470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x44e2e8
mov eax, dword [ebp + 8]
push eax
call fcn.0042445e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a492
xor eax, eax
jmp 0x43a4b9
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.0042431b
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004220aa
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43a4c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x44e2e0
mov eax, dword [ebp + 8]
push eax
call fcn.0042445e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43a4e2
xor eax, eax
jmp 0x43a510
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.00425472
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004220aa
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43a580
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 0x43a5bb
xor eax, eax
jmp 0x43a676
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 0x43a5d9
xor eax, eax
jmp 0x43a676
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 0x43a60b
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43a676
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 0x43a624
jmp 0x43a669
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.004192b0
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 0x43a680
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 0x43a6b1
xor eax, eax
jmp 0x43a721
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 0x43a6cc
xor eax, eax
jmp 0x43a721
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 0x43a6fe
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43a721
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004192b0
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 0x43a730
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 0x43a761
xor eax, eax
jmp 0x43a7d1
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 0x43a77c
xor eax, eax
jmp 0x43a7d1
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 0x43a7ae
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43a7d1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sym.Install_ring.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 0x43a7e0
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 0x43a811
xor eax, eax
jmp 0x43a84a
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 0x43a82c
xor eax, eax
jmp 0x43a84a
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 0x43a850
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x459080]
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 0x43a894
jmp 0x43a957
push 0x28
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004188a0
add esp, 0xc
mov edx, dword [ebp - 0x34]
sub edx, 1
push edx
push 0x44e290
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 0x44e298
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.004188a0
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
push 0x44e2b8
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.0041799a
mov esp, ebp
pop ebp
ret

Function at 0x43acc0
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 0x43ad20
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