joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443ca0
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 0x443cd1
xor eax, eax
jmp 0x443d0a
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 0x443cec
xor eax, eax
jmp 0x443d0a
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 0x443d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x467080]
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 0x443d54
jmp 0x443e17
push 0x28
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00419d00
add esp, 0xc
mov edx, dword [ebp - 0x34]
sub edx, 1
push edx
push 0x45bee8
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 0x45bef0
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.00419d00
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
push 0x45bf10
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.00418dfa
mov esp, ebp
pop ebp
ret

Function at 0x444180
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 0x4441e0
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
Function at 0x444240
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4442b2
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, dword [ebp + 0xc]
jg 0x444289
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x44429b
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x4442b4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x444350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x10], 0
je 0x4443c5
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x444a00
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x444b10
cmp dword [ebp - 0x11c], 5
jbe 0x444b10
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x128], 4
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x12c], 4
lea edx, [ebp - 0x130]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x444b10
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x128]
push edx
push 0
push str.EnableLUA
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x444b03
xor ecx, ecx
cmp dword [ebp - 0x138], 1
sete cl
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret

Function at 0x444d40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x444dff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x444dff
push 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x444dad
push 9
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp + 0xc], 0
je 0x444dfb
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jle 0x444dfb
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x444e04
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x445420
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x45bb88
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x445451
xor eax, eax
jmp 0x4455ab
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00429d64
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x445483
xor eax, eax
jmp 0x4455ab
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4454b4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042b995
add esp, 4
xor eax, eax
jmp 0x4455ab
mov dword [ebp - 0xc], 0x34
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x45bb8c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x445594
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x45bb90
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x445594
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push str._d._d._d._d
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0042b995
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4456c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x45bb20
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x110], 2
jne 0x4457eb
cmp dword [ebp - 0x11c], 5
jne 0x445742
cmp dword [ebp - 0x118], 0
jne 0x445742
push str.Win2000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4457e9
cmp dword [ebp - 0x11c], 5
jne 0x445768
cmp dword [ebp - 0x118], 0
jbe 0x445768
push 0x45bb38
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4457e9
cmp dword [ebp - 0x11c], 6
jne 0x44578b
cmp dword [ebp - 0x118], 0
jne 0x44578b
push str.Vista
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4457e9
cmp dword [ebp - 0x11c], 6
jne 0x4457ae
cmp dword [ebp - 0x118], 1
jne 0x4457ae
push str.Win7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4457e9
cmp dword [ebp - 0x11c], 6
jne 0x4457d1
cmp dword [ebp - 0x118], 2
jb 0x4457d1
push str.Win8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4457e9
cmp dword [ebp - 0x11c], 0xa
jne 0x4457e9
push str.Win10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x445836
cmp dword [ebp - 0x110], 1
jne 0x445836
cmp dword [ebp - 0x11c], 4
jne 0x445815
cmp dword [ebp - 0x118], 0x5a
jae 0x445815
push 0x45bb70
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x11c], 4
jne 0x445836
cmp dword [ebp - 0x118], 0x5a
jb 0x445836
push 0x45bb78
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret

Function at 0x445850
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x4458b2
cmp dword [ebp - 0x11c], 6
jb 0x4458b2
cmp dword [ebp - 0x118], 2
jb 0x4458b2
mov eax, 1
jmp 0x4458b4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret

Function at 0x4458d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00419d00
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x445929
cmp dword [ebp - 0x11c], 6
jb 0x445929
mov eax, 1
jmp 0x44592b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x4459b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00419d00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._at.exe
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445a12
xor eax, eax
jmp 0x445a2f
push 0
push 0
push str._delete__yes
lea ecx, [ebp - 0x210]
push ecx
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x445ee0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x445f21
xor eax, eax
jmp 0x445fc2
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x445f4c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x445fc2
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x445f7f
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x445fc2
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sym.Install_comm.exe_int___cdecl_ImportCACert_void___int_
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4460a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x45bda8
mov eax, dword [ebp + 8]
push eax
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 0x414], eax
push 0x45bdb0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042ba5e
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x414], 0
je 0x4460ed
cmp dword [ebp - 8], 0
jne 0x4460f4
xor eax, eax
jmp 0x446175
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x414]
push edx
push 0x400
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.0042ca72
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x446123
jmp 0x446155
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x410]
push edx
call sym.Install_comm.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x410]
push edx
call fcn.0042b91b
add esp, 0x10
cmp dword [ebp - 4], 0
jg 0x4460fb
mov eax, dword [ebp - 0x414]
push eax
call fcn.004234fa
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004234fa
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x446290
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fc73
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x68
push ebx
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 - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4462d8
xor eax, eax
xor edx, edx
jmp 0x446448
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 3
jne 0x44631d
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x446318
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
sbb eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x446442
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00411830
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x45c6dc
lea ecx, [ebp - 0x40]
call fcn.004113b0
lea ecx, [ebp - 0x3c]
call fcn.00411830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00411380
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x58]
call fcn.004109c0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00411470
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00410a80
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00410a60
lea ecx, [ebp - 0x50]
call fcn.00410c00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00411380
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
lea ecx, [ebp - 0x50]
call fcn.00410c20
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00410d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00410d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00410d50
jmp 0x446435
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446590
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4503d5
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00419d00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x45c4d4
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44660f
xor eax, eax
jmp 0x4466a0
lea esi, [ebp - 0x220]
call fcn.004058a0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x446644
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s__every:m_t_w_th_f_s_su___s_
lea edi, [ebp - 0x220]
call fcn.00406080
add esp, 0xc
jmp 0x44665f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s___s_
lea edi, [ebp - 0x220]
call fcn.00406080
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x220]
call fcn.00405a60
push eax
lea edx, [ebp - 0x21c]
push edx
call sym.Install_comm.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 0x224], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x220]
call fcn.00405990
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret
Function at 0x4466c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450429
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x467080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0xa8]
call fcn.004058a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._sdesktop.ini
lea edi, [ebp - 0xa8]
call fcn.00406080
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00411540
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc0]
call fcn.00411500
push eax
lea ecx, [ebp - 0xa4]
call fcn.00410db0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.00411570
lea ecx, [ebp - 0xa0]
call fcn.00410d90
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
push str._.ShellClassInfo__r_nIconFile_s_r_nIconIndex_d
lea edx, [ebp - 0xa0]
push edx
call fcn.00412080
add esp, 0x10
lea ecx, [ebp - 0xa0]
call fcn.00411500
push eax
call fcn.0041a680
add esp, 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.00410e50
push eax
lea eax, [ebp - 0xa8]
call fcn.00405a60
push eax
call sym.Install_comm.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
push 6
lea eax, [ebp - 0xa8]
call fcn.00405a60
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00410e30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00410e30
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.00405990
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418dfa
mov esp, ebp
pop ebp
ret