joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e48a
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 0x5ca1d0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e588
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 0x44e588
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 0x44e61e
Capabilities:
Read .ini file

Disassembly:
push 0x258
mov eax, 0x5c1fd0
call fcn.004b8fda
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44e646
xor al, al
jmp 0x44e7a6
call fcn.0044e8e9
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005991a0
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, edi
push dword [ebp - 0x264]
push eax
call fcn.0044eaf3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov esi, 0x625cd8
push 0x104
push ecx
push esi
push eax
push 0x5ca260
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0059c3ba
pop ecx
pop ecx
test eax, eax
jne 0x44e755
and dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x230]
push ecx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
mov ecx, edi
push eax
push 0x5ca260
call fcn.0044e7ae
test al, al
jne 0x44e71f
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004208a0
xor bl, bl
jmp 0x44e795
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0059c3fa
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004208a0
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0044e9b2
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x44e784
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00420e60
push 0
push 1
lea ecx, [ebp - 0x260]
mov bl, 1
call fcn.004208a0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004208a0
mov al, bl
call fcn.004b8f84
ret 8
Function at 0x44fec5
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xac
mov eax, 0x5c21f6
call fcn.004b8fda
mov ebx, ecx
lea ecx, [ebp - 0xac]
call fcn.00448f6a
lea esi, [ebx + 0x224]
cmp dword [esi + 0x14], 8
jb 0x44fef1
mov eax, dword [esi]
jmp 0x44fef3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fff8
cmp dword [esi + 0x14], 8
jb 0x44ff0a
mov esi, dword [esi]
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44fff8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xb0], eax
inc eax
push eax
mov dword [ebp - 0xb4], eax
call fcn.004b8b32
mov edi, eax
pop ecx
test edi, edi
je 0x44fff8
push dword [ebp - 0xb4]
push 0
push edi
call fcn.005991a0
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0
push eax
push dword [ebp - 0xb0]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
push edi
call fcn.00449925
push edi
call fcn.004b8b3b
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xac]
call fcn.00449173
push eax
lea eax, [ebp - 0x28]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0043e1fb
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00420a60
cmp dword [ebp - 0x18], esi
jbe 0x44ffed
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push str.SoftMD5
push str.Setting
call fcn.00474ffe
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004208a0
call fcn.004b8f84
ret

Function at 0x450b5c
Capabilities:
Check if file exists

Disassembly:
add ecx, 0x1c4
cmp dword [ecx + 0x14], 8
jb 0x450b6a
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
ret

Function at 0x450c1e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6554f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x414]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.005991a0
lea eax, [edi + 0x70]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x450c59
mov eax, dword [eax]
lea ecx, [ebp - 0x414]
push ecx
push str.SmartCloudInfo.ini
push eax
call fcn.0043b8e0
add esp, 0xc
test eax, eax
je 0x450ce8
push eax
push str.InstallType
push str.Setting
mov ecx, edi
call fcn.00474f73
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005991a0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5ca380
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], si
je 0x450cd5
lea eax, [ebp - 0x20c]
push eax
call fcn.0059c41c
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [edi + 0x1dc]
call fcn.00420960
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b8f5e
mov esp, ebp
pop ebp
ret
Function at 0x450d0b
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x378]
push eax
xor eax, eax
push eax
push esi
push 0x450cf9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x374], eax
test eax, eax
je 0x450d37
mov ecx, esi
call fcn.00450bab
pop esi
ret 4

Function at 0x450d3b
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x6554f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x20c]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.005991a0
push edi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.005991a0
add esp, 0x18
lea eax, [ebp - 0x20c]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esi, 0x1ac
cmp dword [esi + 0x14], 8
jb 0x450d98
mov esi, dword [esi]
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0059c3fa
mov esi, 0x626e18
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0059c389
mov edi, str.SmartCloudInput
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0059c389
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0059c389
lea eax, [ebp - 0x20c]
push eax
call fcn.0043b037
lea eax, [ebp - 0x20c]
push str.SmartCloud
push eax
call fcn.0059c389
lea eax, [ebp - 0x20c]
push str..ini
push eax
call fcn.0059c389
add esp, 0x34
lea eax, [ebp - 0x20c]
mov esi, str.InstallPath
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005991a0
lea eax, [ebp - 0x414]
push 0x5ca18c
push eax
call fcn.0059c3fa
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0059c389
add esp, 0x1c
lea eax, [ebp - 0x620]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x450e9c
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 1
push ebx
push esi
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b8f5e
mov esp, ebp
pop ebp
ret
Function at 0x4510c4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5bc
mov eax, dword [0x6554f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x39c]
push ebx
push eax
mov edi, ecx
call fcn.005991a0
push dword [edi + 0x178]
lea eax, [ebp - 0x39c]
push 0x626f54
push eax
call fcn.0044b4c4
add esp, 0x18
lea eax, [ebp - 0x39c]
mov ecx, edi
push eax
push str.LastUninstallTime
call fcn.0045068f
push 0xc8
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.005991a0
add esp, 0xc
lea eax, [ebp - 0xcc]
mov ecx, edi
push eax
push str.UninstallNum
call fcn.00450746
lea eax, [ebp - 0xcc]
push eax
call fcn.0059d9ab
mov esi, eax
mov eax, 0x3e8
pop ecx
cmp esi, eax
jge 0x451165
test esi, esi
jne 0x4511a0
mov esi, eax
jmp 0x451166
inc esi
push 0xc8
lea eax, [ebp - 0x194]
push ebx
push eax
call fcn.005991a0
push esi
lea eax, [ebp - 0x194]
push 0x626f54
push eax
call fcn.0044b4c4
add esp, 0x18
lea eax, [ebp - 0x194]
mov ecx, edi
push eax
push str.UninstallNum
call fcn.0045068f
mov ecx, edi
call fcn.00473078
push eax
lea ecx, [ebp - 0x5bc]
call fcn.00420790
cmp dword [ebp - 0x5a8], 8
lea eax, [ebp - 0x5bc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, str.Setting
cmovae eax, dword [ebp - 0x5bc]
push eax
push ebx
push str.FirstInstallTime
push edi
call esi
test eax, eax
jne 0x451268
cmp dword [ebp - 0x5a8], 8
lea eax, [ebp - 0x5bc]
cmovae eax, dword [ebp - 0x5bc]
push eax
push ebx
push str.InstallTime
push edi
call esi
push 0x208
mov esi, eax
lea eax, [ebp - 0x5a4]
push ebx
push eax
call fcn.005991a0
add esp, 0xc
test esi, esi
jne 0x45122b
lea eax, [ebp - 0x39c]
push eax
push 0x5c8b18
jmp 0x451231
push esi
push 0x626f54
lea eax, [ebp - 0x5a4]
push eax
call fcn.0044b4c4
add esp, 0xc
lea eax, [ebp - 0x5bc]
cmp dword [ebp - 0x5a8], 8
cmovae eax, dword [ebp - 0x5bc]
push eax
lea eax, [ebp - 0x5a4]
push eax
push str.FirstInstallTime
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
push 1
lea ecx, [ebp - 0x5bc]
call fcn.004208a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b8f5e
mov esp, ebp
pop ebp
ret
Function at 0x453397
Capabilities:
Check if file exists

Disassembly:
push 0x260
mov eax, 0x5c25db
call fcn.004b8fda
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x268], eax
call fcn.00453326
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005991a0
and dword [ebp - 0x238], 0
xor eax, eax
push str.UnKonw
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.0059c41c
add esp, 0x10
lea ecx, [ebp - 0x248]
push eax
push str.UnKonw
call fcn.00420960
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push str.UnKonw
push eax
call fcn.0059c389
pop ecx
pop ecx
test esi, esi
je 0x4534f6
push esi
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.004538f1
push 0x625cd8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.0043ec1f
test eax, eax
jne 0x453482
push esi
lea eax, [ebp - 0x260]
mov ecx, edi
push eax
call fcn.00453998
push eax
lea ecx, [ebp - 0x230]
call fcn.00422a50
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.004208a0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.0043c097
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
pop ecx
cmovae eax, dword [ebp - 0x230]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4534e3
lea eax, [ebp - 0x248]
push eax
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.00422ad0
mov ecx, edi
call fcn.00453221
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004208a0
cmp word [ebp - 0x218], 0
mov eax, dword [ebp - 0x264]
mov dword [eax], esi
jne 0x45350c
xor eax, eax
jmp 0x453519
lea eax, [ebp - 0x218]
push eax
call fcn.0059c41c
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00420960
lea eax, [ebp - 0x248]
cmp ebx, eax
je 0x453542
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00420e60
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004208a0
call fcn.004b8f84
ret 0x10
Function at 0x453706
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x6554f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x625cd8
mov dword [ebp - 0xa38], eax
call fcn.00420960
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005991a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x453768
xor al, al
jmp 0x4538df
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test ebx, ebx
je 0x453761
push edi
xor ecx, ecx
lea esi, [ebx + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b8b32
push esi
mov edi, eax
push 0
push edi
call fcn.005991a0
add esp, 0x10
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x4537b7
push edi
call fcn.004b8b3b
xor al, al
jmp 0x4538dd
mov eax, dword [0x5caed8]
mov dword [ebp - 0xc], eax
mov ax, word [0x5caedc]
push 0x208
mov word [ebp - 8], ax
call fcn.004b8b32
pop ecx
mov ebx, eax
mov esi, edi
mov cx, word [esi]
lea eax, [ebp - 0xc]
push 0x104
push ebx
push eax
mov word [ebp - 0xc], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x453838
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4538ce
push ebx
call fcn.004b8b3b
xor eax, eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b8b32
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0xc]
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4538ce
push ebx
call fcn.0059c41c
push eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a8de7
add esp, 0x10
test eax, eax
je 0x453873
push 2
pop ecx
mov ax, word [esi]
add esi, ecx
test ax, ax
jne 0x45385c
xor eax, eax
cmp word [esi], ax
jne 0x4537d8
jmp 0x4538ce
mov eax, dword [ebp - 0xa34]
lea ecx, [ebp - 0x218]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5c8ca8
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.00453bee
add esp, 0x14
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.00420790
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00422a50
xor eax, eax
lea ecx, [ebp - 0xa30]
push eax
push 1
call fcn.004208a0
push edi
call fcn.004b8b3b
push ebx
call fcn.004b8b3b
pop ecx
mov al, 1
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b8f5e
mov esp, ebp
pop ebp
ret 8
Function at 0x4538f1
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6554f4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.005991a0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x453976
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x45396f
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00420790
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004b8f5e
mov esp, ebp
pop ebp
ret 8
Function at 0x453998
Capabilities:
Enumerate processes

Disassembly:
push 0x470
mov eax, 0x5c265e
call fcn.004b8fda
mov dword [ebp - 0x478], ecx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push ecx
mov dword [ebp - 0x47c], ecx
xor eax, eax
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x230]
push 0x625cd8
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00420960
and dword [ebp - 4], 0
lea eax, [ebp - 0x474]
mov esi, 0x22c
push esi
push 0
push eax
call fcn.005991a0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x453a1e
push 0x625cd8
mov ecx, ebx
call fcn.00420790
jmp 0x453bb8
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], esi
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x453ba3
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
je 0x453a6c
lea eax, [ebp - 0x450]
push eax
call fcn.0059c41c
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00420960
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], esi
je 0x453ab4
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.004208a0
lea eax, [ebp - 0x474]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x453a3c
jmp 0x453ba3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005991a0
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x453b8d
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp word [ebp - 0x218], 0
jne 0x453b09
xor eax, eax
jmp 0x453b16
lea eax, [ebp - 0x218]
push eax
call fcn.0059c41c
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420960
push 0x625cd8
lea ecx, [ebp - 0x230]
call fcn.0043ec1f
test eax, eax
jne 0x453b8d
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.00453706
push 0x625cd8
lea ecx, [ebp - 0x230]
call fcn.0043ec1f
test eax, eax
jne 0x453b8d
cmp word [ebp - 0x450], ax
je 0x453b7a
lea eax, [ebp - 0x450]
push eax
call fcn.0059c41c
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420960
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004208a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00423070
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004208a0
mov eax, ebx
call fcn.004b8f84
ret 8
Function at 0x453da7
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5c26e4
call fcn.004b8fda
lea eax, [ebp - 0x230]
push eax
call fcn.00449ab2
mov ecx, eax
call fcn.004506c0
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005991a0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
push ecx
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push str.SmartCloudInfo.ini
push eax
call fcn.0043b8e0
add esp, 0x18
test eax, eax
je 0x453e2e
lea eax, [ebp - 0x218]
push eax
push ebx
push str.Pure
push str.Mode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004208a0
mov al, bl
call fcn.004b8f84
ret

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

Disassembly:
push 0x240
mov eax, 0x5c2750
call fcn.004b8fda
mov dword [ebp - 0x24c], ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005991a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x454113
lea eax, [ebp - 0x218]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0059c389
and dword [ebp - 0x220], 0
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x454000
lea eax, [ebp - 0x218]
push eax
call fcn.0059c41c
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420960
and dword [ebp - 4], 0
push 0x626e18
call fcn.0059c41c
pop ecx
push eax
push 0x626e18
lea ecx, [ebp - 0x230]
call fcn.00422d00
xor eax, eax
cmp word [esi], ax
je 0x454041
push esi
call fcn.0059c41c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00422d00
mov esi, str..lnk
push esi
call fcn.0059c41c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00422d00
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push eax
call fcn.00454807
push 8
pop esi
cmp dword [ebp - 0x234], esi
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x230]
push ebx
je 0x4540d9
cmp dword [ebp - 0x234], esi
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], esi
cmovae eax, dword [ebp - 0x230]
xor ebx, ebx
push ebx
push ebx
push 1
push ecx
push ebx
push edi
push eax
call fcn.0043b231
add esp, 0x20
jmp 0x4540f7
cmp dword [ebp - 0x21c], esi
cmovae eax, dword [ebp - 0x230]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
push edi
push eax
call fcn.0043b31f
add esp, 0x1c
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.004208a0
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.004208a0
call fcn.004b8f84
ret 0xc
Function at 0x45411b
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x5c2788
call fcn.004b8fda
mov dword [ebp - 0x44], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push eax
call fcn.0043c1ba
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp word [edi], ax
je 0x454150
push edi
call fcn.0059c41c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00422d00
mov edi, str..lnk
push edi
call fcn.0059c41c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00422d00
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.00454807
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x28]
push ebx
je 0x4541c3
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ebx
push ebx
push 1
push ecx
push ebx
push esi
push eax
call fcn.0043b231
add esp, 0x20
jmp 0x4541dc
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
push esi
push eax
call fcn.0043b31f
add esp, 0x1c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push eax
push 1
call fcn.00454aa3
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004208a0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004208a0
call fcn.004b8f84
ret 0xc