joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455b00
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 1], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x455b46
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455b3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 0x64
lea ebx, [esi + 0x24]
push 0
push ebx
call fcn.0051d250
add esp, 0xc
lea edi, [esi + 4]
push edi
mov dword [ebx], 2
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x180]
mov edx, dword [ecx + 4]
add esi, 0x168
push edx
mov ecx, esi
call fcn.004447a0
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
push edi
mov dword [esi + 8], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x455bab
mov byte [ebp - 1], 0
xor esi, esi
push esi
push 0x80
push 4
push esi
push 1
push 0x40000000
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x455c45
call fcn.00414c40
test eax, eax
jne 0x455c4c
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
test eax, eax
je 0x455c4c
push 0
push 0
push 0
lea ecx, [ebp - 8]
call fcn.0041a9b0
test eax, eax
jne 0x455c28
push eax
lea eax, [ebp - 0x10]
push eax
push 0x64
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x455c16
call fcn.00414c40
test eax, eax
jne 0x455c28
push 0
push 0x64
lea ecx, [ebp - 8]
call fcn.0041aa10
mov bl, 1
test eax, eax
je 0x455c2b
mov bl, byte [ebp - 1]
cmp esi, 0xffffffff
je 0x455c3f
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
test bl, bl
jne 0x455c57
jmp 0x455c4f
mov esi, eax
mov dword [ebp - 8], esi
jmp 0x455bd5
mov bl, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
call fcn.00450170
test esi, esi
je 0x455c62
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455c81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x473360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 1
jne 0x473375
mov al, byte [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [esi + 0x10]
push eax
mov byte [esi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 8], eax
call edi
push 0x5995a6
push 0x20
mov dword [esi + 4], eax
call fcn.00524597
add esp, 8
pop edi
test eax, eax
je 0x4733c1
mov ecx, eax
call fcn.004508f0
jmp 0x4733c3
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 4
push esi
push 0x472fd0
push 0
push 0
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.005247af
add esp, 0x18
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
je 0x47341c
test eax, eax
je 0x47341c
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x47341c
test eax, eax
je 0x47341c
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x47341c
test eax, eax
je 0x47341c
cmp dword [esi], 0
je 0x47341c
mov byte [esi + 0xd], 1
mov byte [esi + 0xc], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x473c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x214]
push eax
push str.Path
push 0x5602b0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0x208
mov dword [ebp - 0x214], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x473d40
mov eax, dword [ebp - 0x210]
shr eax, 1
dec eax
cmp eax, 0x104
jae 0x473d40
cmp word [ebp + eax*2 - 0x20c], 0x5c
je 0x473d38
cmp eax, 0x103
jae 0x473d40
mov ecx, 0x5c
xor edx, edx
mov word [ebp + eax*2 - 0x20c], cx
mov word [ebp + eax*2 - 0x20a], dx
lea eax, [ebp - 0x20c]
jmp 0x473d45
mov eax, 0x576bd0
push eax
mov ecx, esi
call fcn.00464b60
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x474090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov edx, dword [str.WebProtection_360safe.com]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [str.SOFTWAREMozillaFirefoxExtensions]
lea ecx, [ebp - 0x210]
push ecx
push edx
push eax
mov esi, 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x21c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4741a8
cmp dword [ebp - 0x210], esi
jne 0x4741a8
lea ecx, [ebp - 0x214]
push str.safemonwebprotection_firefox
push ecx
call fcn.00473c90
add esp, 4
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.0044f400
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47415e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x218]
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push esi
call fcn.0051dcaf
add esp, 8
test eax, eax
lea eax, [esi - 0x10]
sete bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x474196
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x405d60
Capabilities:
Set socket configuration

Disassembly:
mov dh, 0x36
test byte [ebx], al
inc ecx
add byte [esi], dh
add byte [eax], al
add bh, bh
adc eax, 0xfcc05c
push 0x7af685f0
idiv byte [edx + 0x50]
idiv byte [edx + 0x50]
mov eax, dword [0x41f558]
in al, 0xd9
jne 0x405d89
jg 0x405dd6
adc ah, dh
inc eax
add byte [edx + 4], ch
call fcn.0040a940
add esp, 0xc
lodsb al, byte [esi]
pop eax
add eax, dword [ecx + 0x5d]
test eax, eax
je 0xc45e38
lea ecx, [ebp - 4]
push ecx
push esi
call eax
or eax, esi
test esi, esi
je 0x405db3
int3
push ebx
call dword [0x40b954]
mov ecx, dword [ecx + 0x6a]
bound edx, qword [ebx - 1]
adc eax, sym.imp.MSVCRT.dll___p__environ
push eax
loope 0x405d4d
add byte [eax], al
add byte [ebx - 0x7efaef83], cl
mov eax, 0x2d744685
lea eax, [edx + 0x485]
mov dl, byte [ebp - 0x3ea3b301]
add byte [ebp - 0x75fffffc], 0x95
dec dword [esp + ebx*2 - 0x3f]
std
add byte [ebx + 0x5f8904c4], al
call dword [sym.imp.MSVCRT.dll___p__environ]
mov edi, dword [edi]
mov ecx, esi
mov esi, dword [eax]
mov edx, dword [edx]
shr ecx, 2
xor eax, 0x83ca8b09
loope 0x405e03
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov esi, dword [sym.imp.WSOCK32.dll_setsockopt]
call dword [edi - 0x75]
or byte [ecx], dl
xor eax, 0xff7abec9
salc
mov edi, dword [eax]
call esi
push edi
mov dword [eax], 0x86
dec dword [ebx + 0x30]
rol dword [eax - 0x27], 0x83
les eax, [ebx + esi]
rcr byte [edi + 0x5e], 0xa5
in eax, 0x38
sub dword [eax + eax], ecx
push 0xffffffffffffffe3
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0xffef5d62

Function at 0x408c20
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov dh, 0x8b
dec ebp
or byte [ebp + 0x6850fc45], cl
add al, 0x80
push ecx
mov dword [ebp - 4], 0xf401
call dword [0x30c192]
cmp eax, 0xffffffff
jne 0x408c61
push esi
mov esi, dword [0x401d4b]
call esi
test eax, eax
jne 0x408c55
pop esi
mov esp, ebp
pop es
ret
call esi
add eax, 0xafc80
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
or dl, byte [eax - 0x6f6f6f70]
stosd dword es:[edi], eax
nop
nop
nop
Function at 0x403400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push eax
mov esi, ecx
call fcn.0040b522
lea eax, [esi + 0x1b0]
push str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd
push eax
call fcn.0043d1f0
cmp dword [esi + 0x40], 8
pop ecx
pop ecx
jb 0x403441
mov eax, dword [esi + 0x2c]
jmp 0x403444
lea eax, [esi + 0x2c]
push str.Config
push eax
lea eax, [esi + 0x4bc]
push str._s_sUseCloud.ini
push eax
call fcn.0043d110
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.0043d050
add esp, 0x1c
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00409535
test al, al
jne 0x40349f
push edi
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str.BubblesPop_
push eax
call fcn.0043d0ca
lea eax, [ebp - 0x20c]
push eax
push str._sCheckToTips.ini
add esi, 0x2b4
push esi
call fcn.0043d110
mov ecx, dword [ebp - 4]
add esp, 0x14
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.0043ca22
leave
ret 4
Function at 0x408bf0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0xde8]
sub esp, 0xe68
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp + 0xde4], eax
mov eax, dword [ebp + 0xdf0]
push ebx
mov dword [ebp - 0x1c], eax
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x2c], bx
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, 0x206
push esi
lea eax, [ebp + 0x9c2]
push ebx
push eax
mov word [ebp + 0x9c0], bx
call fcn.0043d050
push str.UseVestige.ini
push str.Config
push 0x58c3b8
lea eax, [ebp + 0x9c0]
push 0x52e920
push eax
call fcn.0043d110
add esp, 0x20
lea eax, [ebp + 0x9c0]
push eax
push 0xffffffffffffffff
push str.UpDmpLastDay
push 0x52e304
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x26]
cmp eax, ecx
je 0x408e08
push esi
lea eax, [ebp + 0xbca]
push ebx
push eax
mov word [ebp + 0xbc8], bx
call fcn.0043d050
push esi
lea eax, [ebp + 0x7ba]
push ebx
push eax
mov word [ebp + 0x7b8], bx
call fcn.0043d050
lea eax, [ebp + 0x7b8]
push 0x58c1b0
push eax
call fcn.0043d0f4
lea eax, [ebp + 0x7b8]
push 0x52e8e4
push eax
call fcn.0043d0ca
lea eax, [ebp + 0xbc8]
push 0x52e8e0
push eax
call fcn.0043d0f4
lea eax, [ebp + 0x7b8]
push eax
lea eax, [ebp + 0xbc8]
push eax
call fcn.0043d0ca
lea eax, [ebp + 0xbc8]
push str.__UpDmpInfo
push eax
call fcn.0043d0ca
add esp, 0x40
push dword [ebp - 0x1c]
lea eax, [ebp + 0xbc8]
push eax
call fcn.0043d0ca
mov esi, 0x58c5c0
push esi
call fcn.0043d03a
add esp, 0xc
test eax, eax
jbe 0x408d59
lea eax, [ebp + 0xbc8]
push 0x52dbac
push eax
call fcn.0043d0ca
lea eax, [ebp + 0xbc8]
push esi
push eax
call fcn.0043d0ca
add esp, 0x10
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0043d050
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x80], esi
call fcn.0043d050
lea eax, [ebp + 0xbc8]
push eax
lea eax, [ebp - 0x18]
push 0x52e8bc
push eax
call fcn.0043d110
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408dbc
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
xor eax, eax
mov word [ebp + 0xdd0], bx
lea edi, [ebp + 0xdd2]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebp - 0x26]
push eax
lea eax, [ebp + 0xdd0]
push 0x52e008
push eax
call fcn.0043d110
add esp, 0xc
lea eax, [ebp + 0x9c0]
push eax
lea eax, [ebp + 0xdd0]
push eax
push str.UpDmpLastDay
push 0x52e304
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp + 0xde4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ca22
add ebp, 0xde8
leave
ret
Function at 0x4092b2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x58c7c8]
test al, al
jne 0x40934b
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.0043d050
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x409346
lea eax, [ebp - 0x20c]
push eax
call fcn.0043fd58
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0043d2e8
test eax, eax
pop ecx
pop ecx
jne 0x40933f
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.0043d2e8
test eax, eax
pop ecx
pop ecx
je 0x409346
mov byte [0x58c7c8], 1
mov al, byte [0x58c7c8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ca22
leave
ret

Function at 0x409671
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push esi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov esi, ecx
call fcn.0043d050
add esp, 0xc
cmp dword [esi + 0x40], 8
jb 0x4096b0
mov esi, dword [esi + 0x2c]
jmp 0x4096b3
add esi, 0x2c
push str.AllSkin
push esi
lea eax, [ebp - 0x20c]
push 0x52ed50
push eax
call fcn.0043d110
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop esi
jne 0x4096ec
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b615
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ca22
leave
ret
Function at 0x40a309
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call fcn.004093fd
lea eax, [ebp - 0x20c]
push eax
call fcn.0043d03a
test eax, eax
pop ecx
je 0x40a3a4
push edi
mov edi, 0x5741ac
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0043d0ca
lea eax, [ebp - 0x20c]
push str.SmartCloudWBIME
push eax
call fcn.0043d0ca
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0043d0ca
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop edi
jne 0x40a396
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b615
pop ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ca22
leave
ret 4

Function at 0x40a3b3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call fcn.004093fd
lea eax, [ebp - 0x20c]
push eax
call fcn.0043d03a
test eax, eax
pop ecx
je 0x40a44e
push edi
mov edi, 0x5741ac
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0043d0ca
lea eax, [ebp - 0x20c]
push str.SmartCloudWBIME.users
push eax
call fcn.0043d0ca
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0043d0ca
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop edi
jne 0x40a440
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b615
pop ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ca22
leave
ret 4

Function at 0x40a45d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x40], 8
jb 0x40a47e
mov eax, dword [esi + 0x2c]
jmp 0x40a481
lea eax, [esi + 0x2c]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x52ed50
push eax
call fcn.0043d110
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a4b9
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b615
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.0043d0ca
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xd0]
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ca22
leave
ret
Function at 0x40a5ac
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x40], 8
jb 0x40a5cd
mov eax, dword [esi + 0x2c]
jmp 0x40a5d0
lea eax, [esi + 0x2c]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push 0x52ed50
push eax
call fcn.0043d110
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a608
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b615
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x108]
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ca22
leave
ret

Function at 0x40a6c8
Capabilities:
Check if file exists

Disassembly:
push esi
push 0xffffffffffffffff
lea esi, [ecx + 0x60]
add ecx, 0x28
push 0
push ecx
mov ecx, esi
call fcn.004018a0
push str.Skin_
mov ecx, esi
call fcn.00401ef0
cmp dword [esi + 0x18], 8
jb 0x40a6f2
mov eax, dword [esi + 4]
jmp 0x40a6f5
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a715
cmp dword [esi + 0x18], 8
jb 0x40a70b
mov esi, dword [esi + 4]
jmp 0x40a70e
add esi, 4
push esi
call fcn.0040b615
pop ecx
pop esi
ret

Function at 0x40a717
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push esi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov esi, ecx
call fcn.0043d050
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
add esi, 0x178
push eax
mov ecx, esi
call fcn.00401300
push 0x5741ac
mov ecx, esi
call fcn.00401ef0
cmp dword [esi + 0x18], 8
jb 0x40a789
mov eax, dword [esi + 4]
jmp 0x40a78c
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a7a3
push str.C:Program_Files_
mov ecx, esi
call fcn.00401300
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ca22
leave
ret

Function at 0x40a7b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push esi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov esi, ecx
call fcn.0043d050
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00409535
test al, al
jne 0x40a80e
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
add esi, 0x194
push eax
mov ecx, esi
call fcn.00401300
push 0x5741ac
mov ecx, esi
call fcn.00401ef0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043ca22
leave
ret
Function at 0x40acfb
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x1c
mov eax, 0x52915a
call fcn.0043ca31
mov edi, ecx
call fcn.004096f8
lea ebx, [edi + 0x124]
push eax
mov ecx, ebx
call fcn.00401300
push str.SmartCloudInfo.ini
mov ecx, ebx
call fcn.00401ef0
mov esi, 0x52e094
push esi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00409914
and dword [ebp - 4], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
add edi, 0x140
push eax
mov ecx, edi
call fcn.004018a0
push esi
mov ecx, edi
call fcn.00404845
test eax, eax
jne 0x40adca
and word [ebp], ax
push 0x206
push eax
lea eax, [ebp + 2]
push eax
call fcn.0043d050
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x40ada1
mov ebx, dword [ebx + 4]
jmp 0x40ada4
add ebx, 4
push ebx
push 0x104
lea eax, [ebp]
push eax
push esi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.00401300
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043ca22
add ebp, 0x20c
leave
ret
Function at 0x40b0c8
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0xbc4]
sub esp, 0xc44
mov eax, dword [0x581de4]
xor eax, ebp
mov dword [ebp + 0xbc0], eax
push ebx
mov ebx, dword [ebp + 0xbcc]
push esi
push edi
xor edi, edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x6e]
push edi
push eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x70], di
call fcn.0043d050
push esi
lea eax, [ebp + 0x19a]
push edi
push eax
mov word [ebp + 0x198], di
call fcn.0043d050
push esi
lea eax, [ebp + 0x7b2]
push edi
push eax
mov word [ebp + 0x7b0], di
call fcn.0043d050
push esi
lea eax, [ebp + 0x3a2]
push edi
push eax
mov word [ebp + 0x3a0], di
call fcn.0043d050
push esi
lea eax, [ebp + 0x9ba]
push edi
push eax
mov word [ebp + 0x9b8], di
call fcn.0043d050
push esi
lea eax, [ebp + 0x5aa]
push edi
push eax
mov word [ebp + 0x5a8], di
call fcn.0043d050
mov ecx, dword [ebp - 0x74]
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x70]
push eax
push edi
call fcn.004093fd
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x9b8]
push eax
call fcn.0043d0f4
lea eax, [ebp + 0x9b8]
push eax
call fcn.0043d03a
lea eax, [ebp + 0x9b8]
push 0x5c
push eax
call fcn.0043ed6b
add esp, 0x14
cmp eax, edi
je 0x40b2d2
mov word [eax], di
lea eax, [ebp + 0x9b8]
push eax
lea eax, [ebp + 0x198]
push eax
call fcn.0043d0f4
lea eax, [ebp + 0x198]
push str.Local
push eax
call fcn.0043d0ca
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x198]
push eax
call esi
test eax, eax
je 0x40b203
mov dword [ebp - 0x78], 1
lea eax, [ebp + 0x9b8]
push eax
lea eax, [ebp + 0x7b0]
push eax
call fcn.0043d0f4
lea eax, [ebp + 0x7b0]
push str.LocalLow
push eax
call fcn.0043d0ca
add esp, 0x10
lea eax, [ebp + 0x7b0]
push eax
call esi
test eax, eax
je 0x40b23e
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b8]
push eax
lea eax, [ebp + 0x3a0]
push eax
call fcn.0043d0f4
lea eax, [ebp + 0x3a0]
push str.Roaming
push eax
call fcn.0043d0ca
add esp, 0x10
lea eax, [ebp + 0x3a0]
push eax
call esi
test eax, eax
je 0x40b279
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x78], edi
je 0x40b2d2
cmp dword [ebp - 0x80], edi
je 0x40b2d2
cmp dword [ebp - 0x7c], edi
je 0x40b2d2
push str.SmartCloudWBIME
lea eax, [ebp + 0x7b0]
push eax
lea eax, [ebp + 0x5a8]
push str._s_s_
push eax
call fcn.0043d110
add esp, 0x10
lea eax, [ebp + 0x5a8]
push eax
call esi
test eax, eax
jne 0x40b2c2
lea eax, [ebp + 0x5a8]
push eax
call fcn.0040b615
pop ecx
lea eax, [ebp + 0x5a8]
push eax
mov ecx, ebx
call fcn.00401300
jmp 0x40b2db
mov ecx, dword [ebp - 0x74]
push ebx
call fcn.0040a309
mov ecx, dword [ebp + 0xbc0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ca22
add ebp, 0xbc4
leave
ret 4