joyce8/EMBER2024-capa huggingface dataset:
Function at 0x738ed8
Capabilities:
Check if file exists
Move file

Disassembly:
push 0x4dc
mov eax, 0x7b2fd2
call fcn.00772fd1
push 0x45
pop ecx
mov esi, str.BoIsnMLucNl5rO5dUAu9kGdYXuJFOXHefZ1Zv4Q8iDVqdivHHInGIAKLg4bmuGCrpL3eXBwbl9fNYaBETWHCP9JWQ11Yf1yCMPpjSL1HA0DSQ3tZxbN1Wil3aNoTrJv4KVff4KPQTOS36XimmbQSWwrCJ73fGdZRoIKMzw3agKFGxOJHJ8aZ0MBIXx6RP6TZBDyS0DM5nvpucBxgJnuGf4ovNo8xCIi6Abcl4egikXZXgUDFchnSxuFBQSA5Rw5iEzWDAJ0TU7vfv753JCv
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x124]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
push 0x65
pop ecx
mov esi, str.TMAW1t9bI0JgXrSPo4nmRaoGWQ6OXcEH82ckI5MbZvgMGxUZ40We3X5nOID4uvuU9hicAQRkV5pcK0nhd55JywrSclGptUp0qJ2mS7Vz66nVKhrkqnd9rmvnHnYEh0HT4UD0uk97ACWNyTuqZQbmNaLoZp0pSyfYgm1d6vyOMF8ujfIr7eLNtpgD96LivPveQRoNcOWZo018AITj7aK674Rf8MQQYXmWZEEE94HsC9A8fsPHi25xK6WuGY1i5fxAIdDMolRh0SGKQSJB2sTCmV29kDD8aXi90hPFBDFA46DUfpWTOV3BVr8zNj3IhfWfWCFJ9t14hV0aAJoLvvXHGreRnVJoZsm1rCIFTFobZ5KcnTg3EgM4nnJgFA2JCU4djvU22yBDQIAjlExKQ0tf
mov dword [ebp - 0x4e8], eax
lea edi, [ebp - 0x2bc]
mov dword [ebp - 0x4e4], eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x4e0], eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x4c4]
lea eax, [ebp - 0x124]
push eax
call fcn.00405a50
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x4e8]
call fcn.004082f0
push 0
push 1
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0
call fcn.004096c0
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00405a50
lea eax, [ebp - 0x4c4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4e8]
call fcn.004082f0
push 0
push 1
lea ecx, [ebp - 0x4c4]
call fcn.004096c0
xor eax, eax
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], eax
push 0x7c
pop ecx
mov esi, str.Gd5J3empI5gIh8lxDOgU8jcjcuH11qFaQ9cBAofy2BL02j1iXoqJEqwcqUCwHSgx4O9FhagaDroYJsQtp51KrFJqhr5TfjgYeqOFPYzV23JwlDvGGcgiC1pZiNbsDPSGVjrQnBBBtMvt1Ctq9s27vzrOmrLm4KItUd7IWoDs5zQXujG3w09PNa3vWEKhQ3VGnnOfBaXZZXqzZ71Lwq0gjTHi4Dk1GkWIr3svGQFGRzkn8gLWga9kFnFXtaNrzrhwXyYsfIzzuFZUwKDEsKYOCH56wewd1BFw0QwxPLYT5mWfzcgzb9fUnfuq7nTbTWHq7SeaQNfj9DwIfAEuo2Akj987nwoyO60Us71kDZqK7wcBgg4iG9P7f8GnF7occJsKSB4ra5C8TUItv8dhSQd37OmtrVSUVB88w4Vr1HIqOVxCY0G5YK32EXhhor0b2o7JPTlclXdW3yzmob7WC7FSvN8D3cjyDH85fz3QrD74af1aZlp
mov byte [ebp - 4], 3
lea edi, [ebp - 0x4ac]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x4dc]
call fcn.00405a50
lea eax, [ebp - 0x4dc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4b8]
call fcn.004082f0
push 0
push 1
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 3
call fcn.004096c0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x739012
call fcn.00402330
push 5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x4b8]
call fcn.006ec102
lea ecx, [ebp - 0x4e8]
call fcn.006ec102
call fcn.00772f7b
ret
Function at 0x73998e
Capabilities:
Write file on windows

Disassembly:
push 0x21c
mov eax, 0x7b3198
call fcn.00772fd1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x21c], ecx
xor ecx, ecx
push ecx
push 0x80
push 1
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x739a67
xor eax, eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
push 0x7a
pop ecx
mov esi, str.3k4uWPgkR5ld6Z56NLIF8vtiNraliuuF6TuvQHhn7BUO6nfGw1Ig513RO5iQEPTXXlzbW0xrbkwD9xfIP0FT0JTPgZjzc32HaTNdWwAzIq5136u0t4qBmJPiCe6uZj1bK5d3RvY7k1S6r74cpriGSY43njbcMOYNIThlSlW6MnellkEdpDVZzwtzX2EzTjHKxtztKLcV0jndqyFRcG0bZfvxCABO1hnVW9E3fZZ0gdQzDTI4xcukSv6ssv8TviwrV6spU7Xb7VED6w6RXm37BMyv586RPjNGjCH6cg8Xl47daEToX8QyRCJJ3FVYOyTPlnWvN876wUIxYhOVPKEb3KFj7Gs1ILYUl06DNNhoEpZCoNgompSl2BK8fbGoRXhIWLXiOBhUnxo4JJnp1n9Xdig0dEt5NEvphGeyoGGUbwr0YKO5uapPIbWWOI4OSfJLJbaXJTiKrTgHk3gmAO7x4Fx043830EpOPolC8WEz6
mov dword [ebp - 4], eax
lea edi, [ebp - 0x1fc]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x214]
movsw word es:[edi], word [esi]
call fcn.00405a50
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x228]
call fcn.004082f0
push 0
push 1
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0
call fcn.004096c0
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x218]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
call fcn.00402330
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x228]
call fcn.006ec102
call fcn.00772f7b
ret
Function at 0x73d3a7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x7b3a4a
call fcn.00772f9d
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00728321
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00728511
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x73d3e7
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x73d447
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x73d422
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x73d447
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00728403
call fcn.00772f66
ret 0xc
Function at 0x73d8d0
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x7b3ae5
call fcn.00772fd1
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.0074fc20
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 0x73d9c7
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x73d94c
lea eax, [ebp - 0x218]
push eax
call fcn.0075fe99
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402820
and dword [ebp - 4], 0
push 0x8b08b4
call fcn.0075fe99
pop ecx
push eax
push 0x8b08b4
lea ecx, [ebp - 0x230]
call fcn.004044c0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0073d533
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x73d9b8
call fcn.00402760
mov eax, edi
jmp 0x73da79
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 0x73da77
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x73da0e
lea eax, [ebp - 0x218]
push eax
call fcn.0075fe99
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402820
mov esi, 0x8b08b4
mov dword [ebp - 4], 1
push esi
call fcn.0075fe99
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004044c0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0073d533
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402760
test esi, esi
je 0x73da77
mov eax, esi
jmp 0x73da79
xor eax, eax
call fcn.00772f7b
ret 4
Function at 0x73e601
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x7b3c29
call fcn.00772fd1
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.0074fc20
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 0x73e66c
lea eax, [ebp - 0x218]
push eax
call fcn.0075fe99
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.0075fe99
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.004044c0
xor ebx, ebx
cmp word [esi], bx
jne 0x73e6a6
mov eax, ebx
jmp 0x73e6ad
push esi
call fcn.0075fe99
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004044c0
mov esi, str..lnk
push esi
call fcn.0075fe99
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004044c0
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 0x73e7bb
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0074fc20
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.0074fc20
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0075fe77
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0073cf8f
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0074fc20
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.0075fe99
pop ecx
test eax, eax
jne 0x73e7a9
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0075fe77
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x73e7bb
xor esi, esi
inc esi
jmp 0x73e7bd
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402760
mov eax, esi
call fcn.00772f7b
ret 4
Function at 0x73e7d5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x8ca144]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x8d0730]
test al, al
jne 0x73e86e
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0074fc20
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 0x73e865
lea eax, [ebp - 0x20c]
push eax
call fcn.0075a865
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0074efd5
pop ecx
pop ecx
test eax, eax
jne 0x73e85d
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.0074efd5
pop ecx
pop ecx
test eax, eax
je 0x73e865
mov byte [0x8d0730], bl
jmp 0x73e86b
mov bl, byte [0x8d0730]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006e70bb
mov esp, ebp
pop ebp
ret
Function at 0x73f240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x8ca144]
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.0074fc20
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 0x73f2ab
lea eax, [ebp - 0x20c]
push 0x8b08b4
push eax
call fcn.0075fe06
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0073e87c
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e70bb
mov esp, ebp
pop ebp
ret 4

Function at 0x73f9ec
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b3f9f
mov eax, dword fs:[0]
push eax
mov eax, 0x1268
call fcn.006e70d0
mov eax, dword [0x8ca144]
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 0x5b
pop ecx
mov esi, str.miwuegNI2VYyBBYuoPDyuK0cUvCrf0Ha8kyo7CzsQnUBbZyb2AGh3sIlRpKuSRNrYxcwQDsjXgZWuCuL14VfldlNafLfYXcTpO5hfUpzPxt5z2qG5ngIadDh1aASlT05qzwKCAafdLatQ3jwIKFBSJHmQFxKlotoZsR9Z6apIQ9DKOpAdaV66qMrf1OCo3tdFXj1tXIRrBGNEAIMcCcWiVyCscVAWp0SWDyxODHvXh1c9u42peieiyQvIdEJes1qYUZjFPV6vQ5hbX0THJkpRaNRPLtQk98OztGMGqjfbh8GitWdPz4AaraEBRbCi1Xy8CNXEQ0J3x0oGb5YPjETGZly5zngrCCY6NR1mwAjztb8W
lea edi, [ebp - 0x2b0]
rep movsd dword es:[edi], dword [esi]
push 0x4b
pop ecx
xor ebx, ebx
movsw word es:[edi], word [esi]
mov esi, str.1stUIv20WofIQSbZeHmddahvOJ2MvQKXH7pIt1lJgpPnEforp0IPBFF7FgJz15ESwK2fnzXQ0Hvz6es3NzrDafbVOvpwDEfzTN7JYGnHjfhPKvTwnpyo9I23uM9pkqDgKGId5czcrguXfZkMTTcXbexZnsJNMIk0NmdfTddMHZW0BdrGFR11esp5lUlLUwCQumhZA3Ie7O9Us8ax3a6WdmTXIDfWd5lwlnoZjzihC4tkW9qF7IZfyAb2lW9NQOFz8IwbyohYOURTlYd9qK4jsrtuzbeDswtiYaZPi1cVOvPu
mov dword [ebp - 0x1274], ebx
lea edi, [ebp - 0x140]
mov dword [ebp - 0x1270], ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x126c], ebx
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x2b0]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1268]
call fcn.00405a50
lea eax, [ebp - 0x1268]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1274]
call fcn.004082f0
push ebx
push 1
lea ecx, [ebp - 0x1268]
mov byte [ebp - 4], bl
call fcn.004096c0
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x1268]
call fcn.00405a50
lea eax, [ebp - 0x1268]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1274]
call fcn.004082f0
push ebx
push 1
lea ecx, [ebp - 0x1268]
call fcn.004096c0
push 0x7d0
lea eax, [ebp - 0x1250]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x1250]
push 0x899de8
push eax
call fcn.0075fe06
pop ecx
pop ecx
lea eax, [ebp - 0x1250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x1274]
sbb esi, esi
neg esi
call fcn.006ec102
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.006e70bb
mov esp, ebp
pop ebp
ret
Function at 0x7407d8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x8ca144]
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.0074fc20
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.006e70bb
mov esp, ebp
pop ebp
ret

Function at 0x74082f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x8ca144]
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.0074fc20
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 0x740885
cmp dword [ebp - 0x118], 2
jb 0x740885
xor eax, eax
inc eax
jmp 0x74088f
cmp dword [ebp - 0x11c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006e70bb
mov esp, ebp
pop ebp
ret
Function at 0x740a05
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 [0x8ca144]
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.0074fc20
push ebx
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0074fc20
push ebx
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0074fc20
push ebx
lea eax, [ebp - 0xc34]
push esi
push eax
call fcn.0074fc20
push ebx
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0074fc20
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0074fc20
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.0075fe06
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x740abe
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.0075fe77
lea eax, [ebp - 0x20c]
push str.wnsoft.ini
push eax
call fcn.0075fe06
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 0x8b08c8
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x8b08c8
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x8b08c8
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x8b08c8
push str.OnlyIdentifier4
push ebx
call esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0075fe99
mov esi, eax
lea eax, [ebp - 0x824]
push eax
call fcn.0075fe99
mov dword [ebp - 0xc38], eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.0075fe99
mov ebx, eax
lea eax, [ebp - 0xc34]
push eax
call fcn.0075fe99
add esp, 0x10
test esi, esi
je 0x740c14
cmp dword [ebp - 0xc38], 0
je 0x740c14
test ebx, ebx
je 0x740c14
test eax, eax
je 0x740c14
lea eax, [ebp - 0x61c]
push eax
push dword [edi]
call fcn.0075fe77
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.0075fe77
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.0075fe77
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.0075fe77
xor eax, eax
add esp, 0x20
inc eax
jmp 0x740c16
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e70bb
mov esp, ebp
pop ebp
ret
Function at 0x741065
Capabilities:
Get mac address on windows

Disassembly:
push 0x48
mov eax, 0x7b427b
call fcn.00772fd1
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x48], 4
call fcn.0075fe99
push eax
push 0
push ebx
call fcn.0074fc20
push 0x288
call fcn.00756a6b
mov esi, eax
add esp, 0x14
test esi, esi
je 0x741058
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x740f24
push esi
call fcn.00756a66
push dword [ebp - 0x48]
call fcn.00756a6b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x741058
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x741051
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 0x741022
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.00408370
lea eax, [edi + 0x10c]
push eax
call fcn.0079ca94
push 0x89b290
push eax
call fcn.00751fe0
add esp, 0x2c
test eax, eax
jne 0x741060
cmp dword [edi + 0x1a0], 0x47
je 0x741060
and dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp word [ebp - 0x2c], ax
je 0x740fe5
lea eax, [ebp - 0x2c]
push eax
call fcn.0075fe99
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.004266e0
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00402760
mov edi, dword [edi]
test edi, edi
jne 0x740f5a
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x741049
push 0
lea ecx, [ebp - 0x54]
call fcn.00741954
cmp dword [eax + 0x14], 8
jb 0x741040
mov eax, dword [eax]
push eax
push ebx
call fcn.0075fe77
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.0072bcc1
push esi
call fcn.00756a66
pop ecx
call fcn.00772f7b
ret 4
lea eax, [ebp - 0x2c]
jmp 0x741040
push ebp
mov ebp, esp
lea ecx, [ebp + 0xb]
pop ebp
jmp 0x740ebf
Function at 0x741098
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x8ca144]
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.0074fc20
push esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0074fc20
push esi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.0074fc20
push esi
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.0074fc20
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0074fc20
lea eax, [ebp - 0x20c]
push 0x8984b4
push eax
call fcn.0075fe77
add esp, 0x44
lea eax, [ebp - 0x20c]
push str.MySoft
push eax
call fcn.0075fe06
lea eax, [ebp - 0x20c]
push 0x8b08b4
push eax
call fcn.0075fe06
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 0x7411e1
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.0075fe99
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0075fe99
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x824]
push eax
call fcn.0075fe99
mov ebx, eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.0075fe99
add esp, 0x10
test esi, esi
je 0x741291
cmp dword [ebp - 0xa30], 0
je 0x741291
test ebx, ebx
je 0x741291
test eax, eax
je 0x741291
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call fcn.0075fe77
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.0075fe77
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.0075fe77
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.0075fe77
xor eax, eax
add esp, 0x20
inc eax
jmp 0x741293
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e70bb
mov esp, ebp
pop ebp
ret