joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e2743
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x61c]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.004f0ae0
push ebx
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004f0ae0
push ebx
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.004f0ae0
push ebx
lea eax, [ebp - 0xc34]
push esi
push eax
call fcn.004f0ae0
push ebx
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004f0ae0
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004f0ae0
add esp, 0x48
lea eax, [ebp - 0x414]
push esi
push 0x2b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
push str._shiqiang_
push eax
call fcn.00500c96
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e27fc
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00500d07
lea eax, [ebp - 0x20c]
push str.wnsoft.ini
push eax
call fcn.00500c96
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 0x10
mov ebx, str.Globals
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x656bb0
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x656bb0
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x656bb0
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x656bb0
push str.OnlyIdentifier4
push ebx
call esi
lea eax, [ebp - 0x61c]
push eax
call fcn.00500d29
mov esi, eax
lea eax, [ebp - 0x824]
push eax
call fcn.00500d29
mov dword [ebp - 0xc38], eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.00500d29
mov ebx, eax
lea eax, [ebp - 0xc34]
push eax
call fcn.00500d29
add esp, 0x10
test esi, esi
je 0x4e2952
cmp dword [ebp - 0xc38], 0
je 0x4e2952
test ebx, ebx
je 0x4e2952
test eax, eax
je 0x4e2952
lea eax, [ebp - 0x61c]
push eax
push dword [edi]
call fcn.00500d07
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.00500d07
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.00500d07
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.00500d07
xor eax, eax
add esp, 0x20
inc eax
jmp 0x4e2954
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4e2da3
Capabilities:
Get mac address on windows

Disassembly:
push 0x48
mov eax, 0x5558ba
call fcn.00513ea1
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x48], 4
call fcn.00500d29
push eax
push 0
push ebx
call fcn.004f0ae0
push 0x288
call fcn.004f78f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4e2d96
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4e2c62
push esi
call fcn.004f78eb
push dword [ebp - 0x48]
call fcn.004f78f0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4e2d96
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4e2d8f
and dword [ebp - 0x4c], eax
lea edi, [ebp - 0x2a]
push 6
pop ecx
mov word [ebp - 0x2c], ax
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
and dword [ebp - 4], ecx
mov edi, esi
test esi, esi
je 0x4e2d60
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x2c]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004081f0
lea eax, [edi + 0x10c]
push eax
call fcn.0053d994
push 0x643fe8
push eax
call fcn.004f2e80
add esp, 0x2c
test eax, eax
jne 0x4e2d9e
cmp dword [edi + 0x1a0], 0x47
je 0x4e2d9e
and dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp word [ebp - 0x2c], ax
je 0x4e2d23
lea eax, [ebp - 0x2c]
push eax
call fcn.00500d29
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402650
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.004270f0
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00402590
mov edi, dword [edi]
test edi, edi
jne 0x4e2c98
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4e2d87
push 0
lea ecx, [ebp - 0x54]
call fcn.004e3692
cmp dword [eax + 0x14], 8
jb 0x4e2d7e
mov eax, dword [eax]
push eax
push ebx
call fcn.00500d07
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.004d0302
push esi
call fcn.004f78eb
pop ecx
call fcn.00513e4b
ret 4
lea eax, [ebp - 0x2c]
jmp 0x4e2d7e
push ebp
mov ebp, esp
lea ecx, [ebp + 0xb]
pop ebp
jmp 0x4e2bfd
Function at 0x4e2dd6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004f0ae0
lea eax, [ebp - 0x20c]
push 0x641bbc
push eax
call fcn.00500d07
add esp, 0x44
lea eax, [ebp - 0x20c]
push str.MySoft
push eax
call fcn.00500c96
lea eax, [ebp - 0x20c]
push 0x656b9c
push eax
call fcn.00500c96
add esp, 0x10
lea eax, [ebp - 0xa34]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e2f1f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xa30], 0x104
push eax
push ebx
push ebx
push str.OnlyIdentifier1
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x61c]
push eax
push ebx
push ebx
push str.OnlyIdentifier2
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
push ebx
push str.OnlyIdentifier3
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa2c]
push eax
push ebx
push ebx
push str.OnlyIdentifier4
push dword [ebp - 0xa34]
call esi
push dword [ebp - 0xa34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x414]
push eax
call fcn.00500d29
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00500d29
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x824]
push eax
call fcn.00500d29
mov ebx, eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.00500d29
add esp, 0x10
test esi, esi
je 0x4e2fcf
cmp dword [ebp - 0xa30], 0
je 0x4e2fcf
test ebx, ebx
je 0x4e2fcf
test eax, eax
je 0x4e2fcf
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call fcn.00500d07
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.00500d07
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.00500d07
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.00500d07
xor eax, eax
add esp, 0x20
inc eax
jmp 0x4e2fd1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4e2fe2
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
mov edi, 0x208
push edi
push ebx
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x656ba0
call fcn.00500d29
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00500d44
push edi
lea eax, [ebp - 0x630]
push ebx
push eax
call fcn.004f0ae0
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.004f0ae0
add esp, 0x28
mov dword [ebp - 0x634], ebx
mov ecx, 0x104
mov dword [ebp - 0x63c], ebx
lea eax, [ebp - 0x428]
mov dword [ebp - 0x638], ebx
push ecx
push eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x634]
push eax
push ecx
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4e30ce
push dword [ebp - 0x634]
push str._08X
push esi
call fcn.004081f0
add esp, 0xc
jmp 0x4e30db
push 0x656bb0
push esi
call fcn.00500d07
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret 4
Function at 0x4e329a
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004f0ae0
add esp, 0x18
lea eax, [ebp - 0x20c]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str._shiqiang_
push eax
call fcn.00500c96
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
pop ecx
pop ecx
push eax
call esi
test eax, eax
jne 0x4e331d
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00500d07
lea eax, [ebp - 0x414]
push str.wnsoft.ini
push eax
call fcn.00500c96
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x4e33b2
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [edi]
mov ebx, str.Globals
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4e355b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov esi, 0xf003f
push eax
push esi
xor edi, edi
mov ebx, ecx
push edi
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e3659
push edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push edi
push edi
push edi
push str.ShiQiang
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4e3659
push dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
lea eax, [eax*2 + 2]
push eax
push dword [ebx]
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.OnlyIdentifier1
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x208
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push 1
push 0
push str.OnlyIdentifier2
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x410
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push 1
push 0
push str.OnlyIdentifier3
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x618
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push 1
push 0
push str.OnlyIdentifier4
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e36bf
Capabilities:
Get common file path

Disassembly:
push 0x6fc
mov eax, 0x55593e
call fcn.00513ea1
push 0x32
pop ecx
mov esi, str.CsP1TbZRcr7Ga0xvxU8qUVr5awPpKoPJT6DWdhAh19NEZdzeMjpDKPtwGJbgyNNNzjsnCHew504h9DucXbbVfi4J6YoRN9C57eFTGgBCHZXAF81FYYWj6BS9SU0Ln2VqYWWnDnXXx8NEFht3JX0l2XTRs8HHNan5xRjJtHKSOilir6FQTbDfrhD2mfJJRKITbAiwFEVay
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x2e4]
mov ebx, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
push 0x7b
pop ecx
mov dword [ebp - 0x6fc], eax
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x6dc]
mov esi, str.AVPFRHZqYqyKtkS5B3YE1fkKOZnr8MC7gJ6QbqvjguAGXAXNXKSiQLqLpXP13ZaVIWNjPotxdK2o0JrWLIDleCvAd5AAsoEdmIYIIDk9psJLExi0jHVMB5KrrfSbWl7SVQjDga8GyMS0YIQ8L70NznZQDI1nhZJsNQy8Zb189JsjpnmdAmrvzdCLv31VpS48zVz8lIXqPOkdUG0sThOF2JSWPqksV5A7AEUHWjmxv8AtFXw19aNacYfFNIhQlob4hVNEdFH5vEjBiZLLoe0kcL7YxM0arHj0mfj0UhTDKw3bZQWtx0ncIwc1O75nriVTHrpn1sdY2HlHGqrvaaFdY06xTUFh3c70UM3cPLTlf6Dt1hIjGVTTb0sK7xuJWavM4b5SoEzxSCSBvhZuBY9l9SKTkPAaapKO3C6g8GOEHcfs0rHIAy2CMyuhXF5rvi6KtIilrEHDwkBwSvfy2dL7qPt6ahXuYVlxQ2V3y88d7MUUwH
mov dword [ebp - 0x6f8], eax
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x708], eax
mov dword [ebp - 0x704], eax
movsw word es:[edi], word [esi]
mov dword [ebp - 0x700], eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x6f4]
lea eax, [ebp - 0x2e4]
push eax
call fcn.004057d0
lea eax, [ebp - 0x6f4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x708]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x6f4]
mov byte [ebp - 4], 0
call fcn.004096c0
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x6f4]
call fcn.004057d0
lea eax, [ebp - 0x6f4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x708]
call fcn.00408170
xor edi, edi
lea ecx, [ebp - 0x6f4]
push edi
push 1
call fcn.004096c0
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push edi
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0x4ec]
push edi
push eax
call fcn.004f0ae0
add esp, 0x18
lea eax, [ebp - 0x4ec]
push edi
push 0x19
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4e3855
push ebx
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x218]
push str._s_s.url
push eax
call fcn.004081f0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
add esp, 0x10
mov ebx, str.InternetShortcut
push eax
push dword [ebp - 0x6f8]
push 0x644a5c
push ebx
call esi
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x6fc]
push str.IconFile
push ebx
call esi
lea eax, [ebp - 0x218]
mov edi, 0x55d3b4
push eax
push edi
push str.HotKey
push ebx
call esi
lea eax, [ebp - 0x218]
push eax
push edi
push str.IDList
push ebx
call esi
lea eax, [ebp - 0x218]
push eax
push edi
push str.IconIndex
push ebx
call esi
lea ecx, [ebp - 0x708]
call fcn.0047920e
call fcn.00513e4b
ret
Function at 0x4e3866
Capabilities:
Get common file path

Disassembly:
push 0x758
mov eax, 0x555987
call fcn.00513ea1
push 0x69
pop ecx
mov esi, str.n5I3tbBeV9eU4sEQnZTVqMy33hPdysDKKlfYqyL43AYmWwMWipreWPI68A5zubcoP3B9ohtOXKeidjeuFFKYVHjo8enCZxBIfnrebsjsHGIG0jQS1orTiY04kAq1Z8tcFQfIFS0tCC7KzadlscNoI08ZDQtpVsN5FaGyn592LAQGTB0CeNmlU0N4TYsK8zVjGlZVew9rr424ShY7SgyeRKBJ5u2hImOkjkqMX7OulButYwG2mH3w1auNKpQ62KpFyJYSp0pv7rATRBKCuQn6J8u17RLFhMVI4EgeyTPQKmTH8HnHObB1MWvLHiYf54bJBLJ0tMqCHC6yAE6HqgM6mcEwuRrMN3yu9i84H2tjlLolvOrgSD50iTURq0JsCJtjihvbrdhdY6sPznH3fD8n0B1hP95dvUEhtVPx0T
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x738]
mov ebx, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x754], eax
mov eax, dword [ebp + 0x10]
push 0x5c
movsw word es:[edi], word [esi]
mov dword [ebp - 0x758], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x764], eax
movsb byte es:[edi], byte [esi]
mov esi, str.sBrUjs3pEC2uSOYi3zqbPbDCoLjJIAxuMlqM027wpXaMeIyWLJTMZuybSBS5zA9TIzgTKrRn9d2lYnUYCPzv5jYg4Sak4dR887Lbpr1z4lGoaSbcCqq1T7MusKMNMHjdzflFPZheCQ4JNmLBujOBmY1Hwkf6zXN13xSLssb8lUe3PgMIg1hLKxAQBP3Q0umwxoexdd4cxextl6ykwHNaRXaO0cVBSj8WMEYI9rkJS7lJvvNCSiNxn3zkXQkBDl3nG4zFBmT85Qq4FuH4AkRAqqBWxPnEDwknOx5vnweCTueKDJDkLQk2XMNRntPWUWTBUxRVooDu7dh1netjZ5MEKY1MpPEYBqmrk9PdgiKG1g8yA3d
mov dword [ebp - 0x760], eax
lea edi, [ebp - 0x180]
mov dword [ebp - 0x75c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x750]
lea eax, [ebp - 0x738]
push eax
call fcn.004057d0
lea eax, [ebp - 0x750]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x764]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x750]
mov byte [ebp - 4], 0
call fcn.004096c0
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x750]
call fcn.004057d0
lea eax, [ebp - 0x750]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x764]
call fcn.00408170
push 0
push 1
lea ecx, [ebp - 0x750]
mov byte [ebp - 4], 0
call fcn.004096c0
mov esi, 0x208
lea eax, [ebp - 0x590]
push esi
xor edi, edi
push edi
push eax
call fcn.004f0ae0
push esi
lea eax, [ebp - 0x388]
push edi
push eax
call fcn.004f0ae0
add esp, 0x18
lea eax, [ebp - 0x388]
push edi
push 0x19
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4e39b1
push ebx
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x590]
push str._s_s.lnk
push eax
call fcn.004081f0
xor eax, eax
push eax
push eax
push eax
push 1
push dword [ebp - 0x754]
push eax
push dword [ebp - 0x758]
lea eax, [ebp - 0x590]
push eax
call fcn.004e39c2
add esp, 0x30
lea ecx, [ebp - 0x764]
call fcn.0047920e
call fcn.00513e4b
ret
Function at 0x4e454e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x19
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4e461c
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x218]
push edi
push edx
push edi
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x214], edi
push edx
push edi
mov dword [ebp - 0x218], edi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4e461c
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5f2750
push edi
push dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4e461c
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push dword [ebp - 0x214]
call fcn.004e4472
mov eax, dword [ebp - 0x214]
pop ecx
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00474193
mov esp, ebp
pop ebp
ret

Function at 0x4e47db
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4e48a8
push 0x5f28dc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4e48a8
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4e48a7
push edi
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4e48a6
push edi
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4e489f
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], esi
push eax
push 0x656b9c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4e489f
mov eax, dword [ebp - 0x210]
mov esi, dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00474193
mov esp, ebp
pop ebp
ret
Function at 0x4e48b9
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2bc]
push eax
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x2bc], ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x4e494a
push edi
mov edi, 0x2b4
lea eax, [ebp - 0x2b8]
push edi
push ebx
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x208
push edi
push eax
push ebx
push dword [ebp - 0x2bc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop edi
setne bl
test bl, bl
je 0x4e493e
push 0x208
lea eax, [ebp - 0x2ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp - 0x2bc]
call dword [sym.imp.SHELL32.dll_ILFree]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00474193
mov esp, ebp
pop ebp
ret 8

Function at 0x4e495e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.004f0ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x10
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4e4a2c
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x218]
push edi
push edx
push edi
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x214], edi
push edx
push edi
mov dword [ebp - 0x218], edi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4e4a2c
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5f2750
push edi
push dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4e4a2c
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push dword [ebp - 0x214]
call fcn.004e4472
mov eax, dword [ebp - 0x214]
pop ecx
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00474193
mov esp, ebp
pop ebp
ret