joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b9e2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4653c0], 0
push esi
jne 0x42b955
call fcn.0042b87b
test eax, eax
je 0x42b998
mov eax, dword [0x4653c0]
cmp eax, 1
jne 0x42b976
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x42b998
pop esi
ret
push eax
call dword [0x4653c8]
test eax, eax
jne 0x42b9e0
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42b99c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4653c0]
call dword [0x4653c8]
mov edi, eax
test edi, edi
je 0x42b9c1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x42b9dd
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4653c0]
call dword [0x4653c4]
add edi, 0x10
cmp edi, esi
jb 0x42b9c9
mov eax, edi
pop edi
pop esi
ret
jmp 0x42b942

Function at 0x42bd77
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463060]
jne 0x42bd81
repz ret
jmp fcn.0042ee4c

Function at 0x43b9c1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042f502
and dword [ebp - 4], 0
cmp dword [0x465fc0], 0
mov ebx, eax
jne 0x43ba72
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43bb23
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43bb23
push eax
call fcn.0042f490
mov dword [esp], 0x45303c
push edi
mov dword [0x465fc0], eax
call esi
push eax
call fcn.0042f490
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x465fc4], eax
call esi
push eax
call fcn.0042f490
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x465fc8], eax
call esi
push eax
call fcn.0042f490
pop ecx
mov dword [0x465fd0], eax
test eax, eax
je 0x43ba72
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f490
pop ecx
mov dword [0x465fcc], eax
mov eax, dword [0x465fcc]
cmp eax, ebx
je 0x43baca
cmp dword [0x465fd0], ebx
je 0x43baca
push eax
call fcn.0042f50b
push dword [0x465fd0]
mov esi, eax
call fcn.0042f50b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43baca
test edi, edi
je 0x43baca
call esi
test eax, eax
je 0x43bac1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43bac1
test byte [ebp - 0xc], 1
jne 0x43baca
or dword [ebp + 0x10], 0x200000
jmp 0x43bb03
mov eax, dword [0x465fc4]
cmp eax, ebx
je 0x43bb03
push eax
call fcn.0042f50b
pop ecx
test eax, eax
je 0x43bb03
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43bb03
mov eax, dword [0x465fc8]
cmp eax, ebx
je 0x43bb03
push eax
call fcn.0042f50b
pop ecx
test eax, eax
je 0x43bb03
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x465fc0]
call fcn.0042f50b
pop ecx
test eax, eax
je 0x43bb23
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43bb25
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4428e7
Capabilities:
Read file via mapping

Disassembly:
push edi
push str.KZ_Config_Integration_
push 0x10000
xor edi, edi
push edi
push 0x8000004
push edi
push 0xffffffffffffffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [esi], eax
cmp eax, edi
je 0x44291e
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [esi + 8], eax
mov eax, esi
pop edi
ret

Function at 0x442922
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x463060]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
mov eax, dword [ebp + 0x1d0]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ebx
mov dword [ecx], edx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push 0
push 0
lea ebx, [ebp - 0x44]
call fcn.0044be19
pop ebx
test eax, eax
jne 0x4429e0
push 0x4595e0
lea eax, [ebp - 0x44]
push 0x104
push eax
call fcn.0042e32f
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4429e0
push 0x38
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0042e560
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], str._KZsetup_integration
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4429e0
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
jmp 0x4429e2
xor eax, eax
mov ecx, dword [ebp + 0x1c4]
xor ecx, ebp
call fcn.0042bd77
add ebp, 0x1c8
leave
ret 4

Function at 0x442b04
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x11
pop esi
call fcn.004439ba
xor esi, esi
push esi
lea ecx, [ebp - 4]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442bba
mov edi, dword [0x468658]
mov dword [ebp - 8], esi
lea esi, [ebp - 0x18]
call fcn.0040590a
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov edi, dword [0x46865c]
lea esi, [ebp - 0x18]
call fcn.0040590a
test ebx, ebx
je 0x442b6d
cmp ebx, dword [ebp - 0x18]
je 0x442b72
call fcn.0042c1b0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x442bb1
lea esi, [ebp - 0x10]
call fcn.0040b653
cmp dword [eax + 0x18], 8
jb 0x442b8d
mov eax, dword [eax + 4]
jmp 0x442b90
add eax, 4
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [ebp - 0x10]
call fcn.0040b67b
mov ebx, dword [ebp - 0x10]
jmp 0x442b56
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4436bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebp, eax
mov edi, str.LANGUAGES
cmp dword [esp + 0x14], ebx
jne 0x4436eb
movzx eax, word [0x468488]
push edi
push eax
push ebp
call esi
test eax, eax
jne 0x44370c
movzx eax, word [esp + 0x14]
push edi
push eax
push ebp
call esi
test eax, eax
jne 0x44370c
movzx eax, word [0x468488]
push edi
push eax
push ebp
call esi
xor eax, eax
jmp 0x4437e2
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x443721
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push 0x1a
pop ecx
mov eax, 0x468194
push 0xf
mov edi, eax
push str.VspLanguagePack
mov esi, ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0042e138
add esp, 0xc
test eax, eax
jne 0x443705
mov eax, dword [0x4681f8]
mov dword [0x468204], eax
add ebx, 0x68
call fcn.004435e2
xor edi, edi
cmp dword [0x4681f8], edi
jbe 0x4437da
mov eax, dword [ebx]
mov ecx, dword [0x4681fc]
mov esi, edi
shl esi, 3
mov dword [esi + ecx], eax
mov eax, dword [ebx + 4]
mov ecx, dword [0x4681fc]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x4681fc]
mov eax, dword [esi + eax]
add ebx, 8
inc eax
push eax
call fcn.0042c902
mov ecx, dword [0x4681fc]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x4681fc]
add eax, esi
mov ecx, dword [eax]
inc ecx
push ecx
push 0
push dword [eax + 4]
call fcn.0042e560
mov eax, dword [0x4681fc]
add eax, esi
push dword [eax]
push ebx
push dword [eax + 4]
call fcn.0042ef60
mov eax, dword [0x4681fc]
add ebx, dword [esi + eax]
add esp, 0x1c
mov edx, edi
call fcn.00443669
inc edi
cmp edi, dword [0x4681f8]
jb 0x44375f
xor eax, eax
inc eax
mov byte [0x468190], al
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4437e9
Capabilities:
Read file on windows

Disassembly:
push ebx
push 0x45a034
push dword [esp + 0xc]
call fcn.0042d513
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4438d0
cmp byte [0x468190], 0
je 0x443812
call fcn.00443530
push esi
push ebx
push 1
push 0x68
mov esi, 0x468194
push esi
call fcn.0042e11b
push 0xf
push 0x45a03c
push esi
call fcn.0042e138
add esp, 0x1c
test eax, eax
je 0x44383e
xor eax, eax
jmp 0x4438cf
mov eax, dword [0x4681f8]
push edi
mov dword [0x468204], eax
call fcn.004435e2
xor edi, edi
cmp dword [0x4681f8], edi
jbe 0x4438c4
mov eax, dword [0x4681fc]
push ebx
mov esi, edi
push 1
shl esi, 3
add eax, esi
push 8
push eax
call fcn.0042e11b
mov eax, dword [0x4681fc]
mov eax, dword [esi + eax]
inc eax
push eax
call fcn.0042c902
mov ecx, dword [0x4681fc]
mov dword [esi + ecx + 4], eax
mov eax, dword [0x4681fc]
add eax, esi
mov ecx, dword [eax]
inc ecx
push ecx
push 0
push dword [eax + 4]
call fcn.0042e560
mov eax, dword [0x4681fc]
push ebx
add eax, esi
push 1
push dword [eax]
push dword [eax + 4]
call fcn.0042e11b
add esp, 0x30
mov edx, edi
call fcn.00443669
inc edi
cmp edi, dword [0x4681f8]
jb 0x443858
push ebx
call fcn.0042da27
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x444229
Capabilities:
Check http status code
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.VsyDownload_1.0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x444278
push edi
push 0x84000002
push edi
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, edi
jne 0x44427f
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push ebx
call esi
test eax, eax
jne 0x4442a0
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0xc], 0xc8
je 0x4442ae
push dword [ebp - 0x1c]
jmp 0x444272
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push ebx
call esi
test eax, eax
jne 0x4442c9
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.0042bc17
mov ebx, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push edi
push ebx
call fcn.0042e560
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp eax, edi
je 0x4442ed
mov dword [eax], ebx
xor esi, esi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 4]
sub eax, esi
mov ecx, 0x400
cmp eax, ecx
jb 0x444309
mov eax, ecx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
add esi, dword [ebp - 8]
cmp dword [ebp - 8], edi
ja 0x4442ef
push dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
cmp dword [ebp + 0xc], edi
jne 0x44433f
push ebx
call fcn.0042cb0a
pop ecx
xor eax, eax
inc eax
jmp 0x44427a
Function at 0x444a18
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44da46
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463060]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x104
xor ebx, ebx
push ebx
mov ebp, 0x468490
push ebp
call fcn.0042e560
push 4
call fcn.0042be1e
add esp, 0x10
cmp eax, ebx
je 0x444a66
mov dword [eax], 0x468594
jmp 0x444a68
xor eax, eax
mov dword [0x468594], eax
mov dword [0x4685a0], ebx
mov dword [0x4685a4], ebx
mov dword [0x4685a8], ebx
mov byte [0x4685ac], bl
mov byte [0x4685ad], bl
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push 0x45a56c
call fcn.00443a70
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x444ab3
mov eax, 0x45a574
mov ecx, eax
cmp ecx, 0x45a590
je 0x444ab3
mov esi, eax
push 0x80
push ebx
mov edi, 0x4685ae
push edi
call fcn.0042e560
add esp, 0xc
cmp esi, ebx
je 0x444ada
push edi
push str._id_s
push esi
call fcn.0042d398
add esp, 0xc
mov esi, dword [0x468590]
inc dword [0x468590]
push ebx
push ebx
push 0x46810c
push 0x444971
push 0xa
push ebx
lea esi, [esi*4 + 0x468490]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi], eax
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x444c11
Capabilities:
Create thread
Get common file path

Disassembly:
push ebx
xor ebx, ebx
cmp esi, ebx
je 0x444c8c
cmp dword [esi + 4], ebx
jne 0x444c8c
cmp dword [esi], ebx
je 0x444c8c
push edi
push 0x20a
call fcn.0042bc17
mov dword [esp], 0x105
push ebx
push eax
mov dword [esi + 4], eax
call fcn.0042e560
add esp, 0xc
push dword [esi + 4]
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [0x468590]
inc dword [0x468590]
push ebx
push ebx
push esi
push 0x444b1a
push 0xa
push ebx
lea edi, [edi*4 + 0x468490]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi], eax
xor eax, eax
pop edi
inc eax
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x444c90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 4
mov eax, 0x44e33f
call fcn.0042ec8d
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov ebx, eax
call esi
mov edi, 0x1388
jmp 0x444cc2
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [0x46810b], 0
jne 0x444cc8
call esi
sub eax, ebx
cmp eax, edi
jb 0x444caf
mov al, byte [ebp + 8]
mov byte [0x4685ac], al
mov al, byte [ebp + 0xc]
mov byte [0x4685ad], al
push 0x45a678
lea eax, [ebp - 0x10]
push eax
call fcn.00401015
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x4685a4]
sub eax, dword [0x4685a0]
sar eax, 2
test eax, eax
jbe 0x444da0
mov ebx, 0x468594
mov esi, ebx
call fcn.004059bd
mov eax, dword [eax]
cmp dword [eax + 0x1c], 0
je 0x444d89
cmp byte [0x4685ad], 0
je 0x444d2b
call fcn.004059bd
mov eax, dword [eax]
test byte [eax + 0x20], 2
je 0x444d89
cmp byte [0x4685ac], 0
je 0x444d43
mov esi, ebx
call fcn.004059bd
mov eax, dword [eax]
test byte [eax + 0x20], 1
je 0x444d89
mov esi, ebx
call fcn.004059bd
mov ecx, dword [eax]
test ecx, ecx
je 0x444d59
call fcn.00444631
test eax, eax
jne 0x444d89
call fcn.004059bd
mov esi, dword [eax]
call fcn.00444c11
mov esi, ebx
call fcn.004059bd
mov eax, dword [eax]
push dword [eax + 0x10]
lea eax, [ebp - 0x10]
push 0x45a67c
call fcn.00405c83
push dword [ebp - 0x10]
call fcn.00443c95
add esp, 0xc
mov eax, dword [0x4685a4]
sub eax, dword [0x4685a0]
inc edi
sar eax, 2
cmp edi, eax
jb 0x444d06
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004015fa
xor eax, eax
call fcn.0042ed65
ret 8

Function at 0x444db5
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x463060]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
push 0x11c
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.0042e560
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x444ea6
push str.GetNativeSystemInfo
push 0x45a6c8
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, edi
je 0x444e34
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x444e41
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0x98], 2
jne 0x444ea6
cmp dword [ebp - 0xa4], 4
jbe 0x444ea6
cmp dword [ebp - 0xa4], 6
jne 0x444e77
cmp dword [ebp - 0xa0], edi
jne 0x444e6a
push 4
jmp 0x444e98
cmp dword [ebp - 0xa0], 1
jne 0x444ea6
push 5
jmp 0x444e98
cmp dword [ebp - 0xa4], 5
jne 0x444ea6
cmp dword [ebp - 0xa0], 2
jne 0x444e8d
push 3
jmp 0x444e98
cmp dword [ebp - 0xa0], 1
jne 0x444e9b
push 2
pop eax
jmp 0x444ea6
cmp dword [ebp - 0xa0], edi
jne 0x444ea6
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.0042bd77
add ebp, 0x78
leave
ret
Function at 0x4456f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x445788
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push 0x45ac74
push dword [ebp - 4]
call esi
test eax, eax
jne 0x44577f
inc dword [ebp - 8]
push dword [ebp - 8]
call fcn.0042bc17
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x44577f
lea eax, [ebp - 8]
push eax
push ebx
push edi
push edi
push str.ProgramW6432Dir
push dword [ebp - 4]
call esi
test eax, eax
je 0x44576c
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0042cb0a
pop ecx
mov eax, edi
jmp 0x44578b
push ebx
push 0x104
push dword [ebp + 8]
call fcn.0042c2c6
add esp, 0xc
jmp 0x445758
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4457da
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x463060]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push eax
call fcn.0042e560
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push str._c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.0042bd77
leave
ret
Function at 0x445939
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x463060]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x10
mov eax, 0x44d762
call fcn.0042ec8d
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp]
push ecx
mov esi, 0x104
push esi
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
cmp eax, ebx
jne 0x4459a2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x445998
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x445a4d
lea eax, [ebp - 0x10]
push eax
push 0x4514e0
push 1
push ebx
push 0x451510
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jl 0x445a3a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4459da
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x45bcac
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
lea edx, [ebp]
push edx
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov edi, eax
cmp edi, ebx
jl 0x445a2a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x45ab7c
push eax
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, ebx
jl 0x445a2a
push esi
push dword [ebp - 0x18]
lea eax, [ebp + 0x208]
push esi
push eax
call fcn.0042d0f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add esp, 0x10
push 1
lea edx, [ebp + 0x208]
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x445a3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x445a4b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0042bd77
add ebp, 0x414
leave
ret 4
Function at 0x445a7f
Capabilities:
Check if file exists
Copy file
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x463060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
xor edi, edi
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.0042e560
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0042e560
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Softlink
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push str.SLDefault.xml
lea eax, [ebp - 0x20c]
push eax
call esi
cmp dword [0x464798], 8
mov ecx, dword [0x464784]
jae 0x445b22
mov ecx, 0x464784
lea edx, [ebp - 0x414]
movzx eax, word [ecx]
inc ecx
mov word [edx], ax
inc ecx
inc edx
inc edx
cmp ax, di
jne 0x445b28
push str.Softlink.xml
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445b6b
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042bd77
leave
ret
Function at 0x445da9
Capabilities:
Get common file path
Get program files directory
Hide graphical window

Disassembly:
sub esp, 0x414
mov eax, dword [0x463060]
xor eax, esp
mov dword [esp + 0x410], eax
cmp dword [0x464808], 8
mov eax, dword [0x4647f4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
jae 0x445dd6
mov eax, 0x4647f4
push eax
push 0x410
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push dword [edi + 4]
call ebp
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ebx, 0x3ee
push ebx
push dword [edi + 4]
call ebp
push 0
push eax
call esi
push ebx
push dword [edi + 4]
call ebp
push 0x64
xor ebx, ebx
push ebx
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
mov esi, 0x3ec
push esi
push dword [edi + 4]
call ebp
push eax
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
push ebx
push ebx
lea ebx, [esp + 0x220]
call fcn.0044be19
cmp eax, 1
jne 0x445ec1
xor eax, eax
push 0x206
mov word [esp + 0x14], ax
xor esi, esi
lea eax, [esp + 0x16]
push esi
push eax
call fcn.0042e560
add esp, 0xc
cmp dword [edi + 0x58], esi
je 0x445e7d
lea eax, [esp + 0x10]
push eax
call fcn.004456f0
test eax, eax
je 0x445e8c
push esi
push 0x26
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x15
pop esi
call fcn.004439ba
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3ed
push dword [edi + 4]
call ebp
push 1
jmp 0x445ee8
lea eax, [esp + 0x218]
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push dword [edi + 4]
call ebp
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push esi
push dword [edi + 4]
call ebp
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [edi + 0x58], 1
sete al
mov byte [0x46810a], al
call fcn.00445ba3
push 0xca
push dword [0x465390]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov ecx, dword [esp + 0x420]
mov dword [edi + 0x60], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0042bd77
add esp, 0x414
ret