joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73effa
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x7b530a
call fcn.00774621
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.007512b0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x73f0f1
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x73f076
lea eax, [ebp - 0x218]
push eax
call fcn.00761599
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402820
and dword [ebp - 4], 0
push 0x8b5784
call fcn.00761599
pop ecx
push eax
push 0x8b5784
lea ecx, [ebp - 0x230]
call fcn.00404470
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0073ec5b
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x73f0e2
call fcn.00402760
mov eax, edi
jmp 0x73f1a3
or dword [ebp - 4], 0xffffffff
call fcn.00402760
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x73f1a1
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x73f138
lea eax, [ebp - 0x218]
push eax
call fcn.00761599
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402820
mov esi, 0x8b5784
mov dword [ebp - 4], 1
push esi
call fcn.00761599
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00404470
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0073ec5b
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402760
test esi, esi
je 0x73f1a1
mov eax, esi
jmp 0x73f1a3
xor eax, eax
call fcn.007745cb
ret 4
Function at 0x73fd2b
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x7b544e
call fcn.00774621
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.007512b0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x73fd96
lea eax, [ebp - 0x218]
push eax
call fcn.00761599
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00402820
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00761599
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00404470
xor ebx, ebx
cmp word [esi], bx
jne 0x73fdd0
mov eax, ebx
jmp 0x73fdd7
push esi
call fcn.00761599
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404470
mov esi, str..lnk
push esi
call fcn.00761599
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404470
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x73fee5
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.007512b0
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.007512b0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00761577
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0073e6b7
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.007512b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.00761599
pop ecx
test eax, eax
jne 0x73fed3
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00761577
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x73fee5
xor esi, esi
inc esi
jmp 0x73fee7
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402760
mov eax, esi
call fcn.007745cb
ret 4
Function at 0x73feff
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x8cf144]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x8d5740]
test al, al
jne 0x73ff98
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.007512b0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x73ff8f
lea eax, [ebp - 0x20c]
push eax
call fcn.0075bf65
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00750665
pop ecx
pop ecx
test eax, eax
jne 0x73ff87
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.00750665
pop ecx
pop ecx
test eax, eax
je 0x73ff8f
mov byte [0x8d5740], bl
jmp 0x73ff95
mov bl, byte [0x8d5740]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006e615c
mov esp, ebp
pop ebp
ret
Function at 0x74096a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x8cf144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.007512b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x7409d5
lea eax, [ebp - 0x20c]
push 0x8b5784
push eax
call fcn.00761506
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0073ffa6
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e615c
mov esp, ebp
pop ebp
ret 4
Function at 0x74111f
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b57ea
mov eax, dword fs:[0]
push eax
mov eax, 0x1340
call fcn.006e6170
mov eax, dword [0x8cf144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x78
pop ecx
mov esi, str.39z0zh0WRaP4wddVrll4OkMmX028JPG7fyZJEGyVCjcMETXK65WWn4zHZWtnbSvtlDi6SEozcxpEIzpYcvUIeSJfIVkVw97gU4ugQNNBGOsqigIOqkWs1fyABm1Ff0l38WMJmiyMm7R4dz5GZUWWCFdpP97ZBXvAcUA5cBqSoADpy7o227YMbkGsUojeGE4hBxpWu1Mdzluyi9sQklLWGeSZNDGtfJ0ZAwUdq6r50QRkzjAnxofvk6AslqJZRRuoKiQSg9FWbuooSCU8Ct413PxxSW8oRuKmRyXLtZMVxBFqpkfsGeC45KAr5jvlvYqZAGs63yLOqry6eFnkdvtZJehuCF5H4CQhUcmxBcjJ7MReYmYWWQI05tLvRrIB5k51fXb1Iqg3y6Q9dxON629lhMt8enbimAMSuwFz4tLK7AlRWILQ7xeEyppi4vSlZk6V2wK9IpHsmaw8I3FJiy0BD1M6UVn09w8
lea edi, [ebp - 0x388]
rep movsd dword es:[edi], dword [esi]
push 0x65
pop ecx
mov esi, str.K03wPFJjx1SK9ySvTv1F8sOtxtnZqDMCnofDDOSxeHe3oeKXEpyWMaHowMOnqN7d5oW4hokmwrCOmO4njvKEVyPNQszo68z9Zi3yqHrDQ4jBs0zfwDeeSf5r17nQl5rdU4tL7gHPS3YIXP7GJZec5ZzfBktpwwXxueJ2DHdhNa22LloAA5msAHJRnNzrgBhf83Fco6NxOx8KLsLbD22UjFFabQ1LdOG2HVAJF7QEA6oK42rmbFHeiJt7B7PBoVVrUgHW3UX8nvNSE4LneDFdqCJN2c4bUb2uaVPPHckU2wUA4laGnA0bv6jTjGyWQCeBpm0IU8q8mI2L3xqvhHkKtvUBGPNCPecK0nxnO7WqQnD4eqkE2SjyZcApMJbr1OEcMQDILjRIl1GGgnZaDiO4
lea edi, [ebp - 0x1a8]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov dword [ebp - 0x134c], ebx
mov dword [ebp - 0x1348], ebx
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x1344], ebx
lea eax, [ebp - 0x388]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1340]
call fcn.00405a00
lea eax, [ebp - 0x1340]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x134c]
call fcn.00407ea0
push ebx
push 1
lea ecx, [ebp - 0x1340]
mov byte [ebp - 4], bl
call fcn.006eb1be
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1340]
call fcn.00405a00
lea eax, [ebp - 0x1340]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x134c]
call fcn.00407ea0
push ebx
push 1
lea ecx, [ebp - 0x1340]
call fcn.006eb1be
push 0x7d0
lea eax, [ebp - 0x1328]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x1328]
push 0x89f000
push eax
call fcn.00761506
pop ecx
pop ecx
lea eax, [ebp - 0x1328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x134c]
sbb esi, esi
neg esi
call fcn.006eb210
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006e615c
mov esp, ebp
pop ebp
ret
Function at 0x741e1a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x8cf144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.007512b0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.006e615c
mov esp, ebp
pop ebp
ret

Function at 0x741e71
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x8cf144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.007512b0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
pop esi
jb 0x741ec7
cmp dword [ebp - 0x118], 2
jb 0x741ec7
xor eax, eax
inc eax
jmp 0x741ed1
cmp dword [ebp - 0x11c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006e615c
mov esp, ebp
pop ebp
ret
Function at 0x742047
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 [0x8cf144]
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.007512b0
push ebx
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.007512b0
push ebx
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.007512b0
push ebx
lea eax, [ebp - 0xc34]
push esi
push eax
call fcn.007512b0
push ebx
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.007512b0
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.007512b0
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.00761506
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x742100
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.00761577
lea eax, [ebp - 0x20c]
push str.wnsoft.ini
push eax
call fcn.00761506
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 0x8b5798
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x8b5798
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x8b5798
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x8b5798
push str.OnlyIdentifier4
push ebx
call esi
lea eax, [ebp - 0x61c]
push eax
call fcn.00761599
mov esi, eax
lea eax, [ebp - 0x824]
push eax
call fcn.00761599
mov dword [ebp - 0xc38], eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.00761599
mov ebx, eax
lea eax, [ebp - 0xc34]
push eax
call fcn.00761599
add esp, 0x10
test esi, esi
je 0x742256
cmp dword [ebp - 0xc38], 0
je 0x742256
test ebx, ebx
je 0x742256
test eax, eax
je 0x742256
lea eax, [ebp - 0x61c]
push eax
push dword [edi]
call fcn.00761577
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.00761577
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.00761577
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.00761577
xor eax, eax
add esp, 0x20
inc eax
jmp 0x742258
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e615c
mov esp, ebp
pop ebp
ret
Function at 0x7426a7
Capabilities:
Get mac address on windows

Disassembly:
push 0x48
mov eax, 0x7b5a9a
call fcn.00774621
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x48], 4
call fcn.00761599
push eax
push 0
push ebx
call fcn.007512b0
push 0x288
call fcn.007580e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x74269a
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x742566
push esi
call fcn.007580db
push dword [ebp - 0x48]
call fcn.007580e0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x74269a
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x742693
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 0x742664
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.00407f20
lea eax, [edi + 0x10c]
push eax
call fcn.0079e114
push 0x8a01c4
push eax
call fcn.00753670
add esp, 0x2c
test eax, eax
jne 0x7426a2
cmp dword [edi + 0x1a0], 0x47
je 0x7426a2
and dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp word [ebp - 0x2c], ax
je 0x742627
lea eax, [ebp - 0x2c]
push eax
call fcn.00761599
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402820
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.00425950
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00402760
mov edi, dword [edi]
test edi, edi
jne 0x74259c
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x74268b
push 0
lea ecx, [ebp - 0x54]
call fcn.00742f96
cmp dword [eax + 0x14], 8
jb 0x742682
mov eax, dword [eax]
push eax
push ebx
call fcn.00761577
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.0072d82c
push esi
call fcn.007580db
pop ecx
call fcn.007745cb
ret 4
lea eax, [ebp - 0x2c]
jmp 0x742682
push ebp
mov ebp, esp
lea ecx, [ebp + 0xb]
pop ebp
jmp 0x742501
Function at 0x7426da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x8cf144]
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.007512b0
push esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.007512b0
push esi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.007512b0
push esi
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.007512b0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.007512b0
lea eax, [ebp - 0x20c]
push 0x89d79c
push eax
call fcn.00761577
add esp, 0x44
lea eax, [ebp - 0x20c]
push str.MySoft
push eax
call fcn.00761506
lea eax, [ebp - 0x20c]
push 0x8b5784
push eax
call fcn.00761506
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 0x742823
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.00761599
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00761599
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x824]
push eax
call fcn.00761599
mov ebx, eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.00761599
add esp, 0x10
test esi, esi
je 0x7428d3
cmp dword [ebp - 0xa30], 0
je 0x7428d3
test ebx, ebx
je 0x7428d3
test eax, eax
je 0x7428d3
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call fcn.00761577
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.00761577
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.00761577
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.00761577
xor eax, eax
add esp, 0x20
inc eax
jmp 0x7428d5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e615c
mov esp, ebp
pop ebp
ret
Function at 0x7428e6
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x8cf144]
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.007512b0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x8b5788
call fcn.00761599
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.007615b4
push edi
lea eax, [ebp - 0x630]
push ebx
push eax
call fcn.007512b0
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.007512b0
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 0x7429d2
push dword [ebp - 0x634]
push str._08X
push esi
call fcn.00407f20
add esp, 0xc
jmp 0x7429df
push 0x8b5798
push esi
call fcn.00761577
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e615c
mov esp, ebp
pop ebp
ret 4
Function at 0x742b9e
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x8cf144]
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.007512b0
push esi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.007512b0
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.00761506
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
pop ecx
pop ecx
push eax
call esi
test eax, eax
jne 0x742c21
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.00761577
lea eax, [ebp - 0x414]
push str.wnsoft.ini
push eax
call fcn.00761506
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x742cb6
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.006e615c
mov esp, ebp
pop ebp
ret
Function at 0x742e5f
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 0x742f5d
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 0x742f5d
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