joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e2c2
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0041367e
mov dword [esi], eax
call fcn.004137b7
mov dword [esi + 8], eax
call fcn.004135f4
mov dword [esi + 0xc], eax
call fcn.0041376d
mov dword [esi + 0x10], eax
call fcn.004136d9
mov dword [esi + 0x18], eax
call fcn.00413723
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [esi + 0x1b8]
push eax
call edi
lea eax, [esi + 0x1d0]
push eax
call edi
lea eax, [esi + 0x1c0]
push eax
call edi
lea eax, [esi + 0x200]
push eax
call edi
lea eax, [esi + 0x1e0]
push eax
call edi
lea eax, [esi + 0x1f0]
push eax
call edi
mov eax, dword [0x55e404]
pop edi
mov dword [esi + 0x1ac], eax
pop esi
ret

Function at 0x40e344
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0041bd70
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jne 0x40e39f
xor eax, eax
inc eax
cmp dword [ebp - 0x78], 0
je 0x40e397
cmp dword [ebp - 0x78], eax
jne 0x40e39f
cmp byte [ebp + 0x9a], al
je 0x40e3a1
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.0041bab8
add ebp, 0xa0
leave
ret

Function at 0x40e4ac
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x552994]
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.0041bd70
add esp, 0xc
cmp dword [esi + 0x58], 8
jb 0x40e4eb
mov esi, dword [esi + 0x44]
jmp 0x40e4ee
add esi, 0x44
push str.AllSkin
push esi
lea eax, [ebp - 0x20c]
push 0x509864
push eax
call fcn.0041bfe1
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop esi
jne 0x40e527
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ff15
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bab8
leave
ret
Function at 0x40e533
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x188], eax
and word [ebp - 0x80], 0
push ebx
push esi
push edi
push 0x206
lea eax, [ebp - 0x7e]
push 0
push eax
mov esi, ecx
call fcn.0041bd70
add esp, 0xc
cmp dword [esi + 0x3c], 8
jb 0x40e576
mov eax, dword [esi + 0x28]
jmp 0x40e579
lea eax, [esi + 0x28]
push 0x50a5fc
push eax
mov ebx, 0x509864
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0041bfe1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
call edi
test eax, eax
jne 0x40e5ac
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x3c], 8
jb 0x40e5b7
mov esi, dword [esi + 0x28]
jmp 0x40e5ba
add esi, 0x28
push str.Dict
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0041bfe1
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
call edi
test eax, eax
pop edi
pop esi
pop ebx
jne 0x40e5e5
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.0041bab8
add ebp, 0x18c
leave
ret

Function at 0x40e663
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [ebp + 0x396]
push ebx
push eax
mov esi, ecx
mov word [ebp + 0x394], bx
call fcn.0041bd70
lea eax, [ebp + 0x394]
push str.SOFTWARE_
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x394]
push str.SmartCloudInput
push eax
call fcn.0041c077
add esp, 0x1c
cmp dword [esi + 0x58], 8
jb 0x40e6cd
mov eax, dword [esi + 0x44]
jmp 0x40e6d0
lea eax, [esi + 0x44]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0041c0a1
cmp dword [esi + 0x3c], 8
pop ecx
pop ecx
jb 0x40e6ea
mov esi, dword [esi + 0x28]
jmp 0x40e6ed
add esi, 0x28
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0041c0a1
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
push 2
push ebx
lea eax, [ebp + 0x394]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e74a
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x18c]
push eax
push 1
push ebx
push str.CfgRootPath
push dword [ebp - 0x80]
call esi
push edi
lea eax, [ebp - 0x7c]
push eax
push 1
push ebx
push str.CfgUserPath
push dword [ebp - 0x80]
call esi
pop edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x59c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bab8
add ebp, 0x5a0
leave
ret
Function at 0x40efd1
Capabilities:
Check if file exists

Disassembly:
push esi
push 0xffffffffffffffff
lea esi, [ecx + 0x78]
add ecx, 0x40
push 0
push ecx
mov ecx, esi
call fcn.00401d00
push str.Skin_
mov ecx, esi
call fcn.004035f0
cmp dword [esi + 0x18], 8
jb 0x40effb
mov eax, dword [esi + 4]
jmp 0x40effe
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f01e
cmp dword [esi + 0x18], 8
jb 0x40f014
mov esi, dword [esi + 4]
jmp 0x40f017
add esi, 4
push esi
call fcn.0040ff15
pop ecx
pop esi
ret

Function at 0x40f020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x58], 8
jb 0x40f041
mov eax, dword [esi + 0x44]
jmp 0x40f044
lea eax, [esi + 0x44]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x509864
push eax
call fcn.0041bfe1
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f07c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ff15
pop ecx
lea eax, [ebp - 0x20c]
push str.Config.ini
push eax
call fcn.0041c077
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x5c]
call fcn.00401760
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041bab8
leave
ret

Function at 0x40f0ab
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x58], 8
jb 0x40f0cc
mov eax, dword [esi + 0x44]
jmp 0x40f0cf
lea eax, [esi + 0x44]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x509864
push eax
call fcn.0041bfe1
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f107
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ff15
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.0041c077
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xe8]
call fcn.00401760
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041bab8
leave
ret

Function at 0x40f1fd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x58], 8
jb 0x40f21e
mov eax, dword [esi + 0x44]
jmp 0x40f221
lea eax, [esi + 0x44]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push 0x509864
push eax
call fcn.0041bfe1
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f259
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ff15
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x174]
call fcn.00401760
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041bab8
leave
ret
Function at 0x40f758
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x3b8]
sub esp, 0x438
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x3b4], eax
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp + 0x1ae]
push esi
push eax
mov edi, ecx
mov word [ebp + 0x1ac], si
call fcn.0041bd70
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov ebx, eax
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.0041bd70
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40f81c
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40f7e4
cmp dword [ebp - 0x78], ebx
je 0x40f7ea
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40f7d5
jmp 0x40f7fc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 0x1ac]
push eax
call fcn.0041c0a1
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x1ac]
push eax
call fcn.0041d13f
pop ecx
push eax
lea ecx, [edi + 0x190]
call fcn.00401760
mov ecx, dword [ebp + 0x3b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bab8
add ebp, 0x3b8
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x7e]
push esi
push eax
mov edi, ecx
mov word [ebp - 0x80], si
call fcn.0041bd70
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.0040e47c
test al, al
jne 0x40f89b
push esi
push 0x1a
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x80]
push eax
call fcn.0041b494
test eax, eax
pop ecx
je 0x40f8e9
mov esi, 0x54b264
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041c077
lea eax, [ebp - 0x80]
push str.SmartCloudIME
push eax
call fcn.0041c077
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041c077
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f8dd
lea eax, [ebp - 0x80]
push eax
call fcn.0040ff15
pop ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0x40]
call fcn.00401760
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.0041bab8
add ebp, 0x18c
leave
ret
Function at 0x40f900
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x7e]
push esi
push eax
mov edi, ecx
mov word [ebp - 0x80], si
call fcn.0041bd70
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.0040e47c
test al, al
jne 0x40f967
push esi
push 0x1a
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x80]
push eax
call fcn.0041b494
test eax, eax
pop ecx
je 0x40f9b5
mov esi, 0x54b264
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041c077
lea eax, [ebp - 0x80]
push str.SmartCloudIME.users
push eax
call fcn.0041c077
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041c077
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f9a9
lea eax, [ebp - 0x80]
push eax
call fcn.0040ff15
pop ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0x24]
call fcn.00401760
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.0041bab8
add ebp, 0x18c
leave
ret
Function at 0x40f9cc
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xbc0]
sub esp, 0xc40
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0xbbc], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x78], ecx
xor ebx, ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x74], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x9b6]
push edi
push eax
mov word [ebp + 0x9b4], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov word [ebp + 0x5a4], di
call fcn.0041bd70
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x9b4]
push eax
call fcn.0041b494
lea eax, [ebp + 0x9b4]
push 0x5c
push eax
call fcn.0041c425
add esp, 0x14
cmp eax, edi
je 0x40fbd5
mov word [eax], di
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x39c]
push str.Local
push eax
call fcn.0041c077
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x40faf8
inc ebx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x7ac]
push str.LocalLow
push eax
call fcn.0041c077
add esp, 0x10
lea eax, [ebp + 0x7ac]
push eax
call esi
test eax, eax
je 0x40fb33
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x194]
push str.Roaming
push eax
call fcn.0041c077
add esp, 0x10
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
je 0x40fb6e
mov dword [ebp - 0x7c], 1
cmp ebx, edi
je 0x40fbd5
cmp dword [ebp - 0x80], edi
je 0x40fbd5
cmp dword [ebp - 0x7c], edi
je 0x40fbd5
mov edi, dword [ebp - 0x78]
mov ecx, edi
call fcn.0040e344
test eax, eax
je 0x40fbd5
push str.SmartCloudIME
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push str._s_s_
push eax
call fcn.0041bfe1
add esp, 0x10
lea eax, [ebp + 0x5a4]
push eax
call esi
test eax, eax
jne 0x40fbc4
lea eax, [ebp + 0x5a4]
push eax
call fcn.0040ff15
pop ecx
lea eax, [ebp + 0x5a4]
push eax
lea ecx, [edi + 0x40]
call fcn.00401760
jmp 0x40fbdd
mov ecx, dword [ebp - 0x78]
call fcn.0040f834
mov ecx, dword [ebp + 0xbbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bab8
add ebp, 0xbc0
leave
ret
Function at 0x40fbf5
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xbc0]
sub esp, 0xc40
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0xbbc], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x206
push esi
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x78], ecx
xor ebx, ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x74], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x39e]
push edi
push eax
mov word [ebp + 0x39c], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x7ae]
push edi
push eax
mov word [ebp + 0x7ac], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x196]
push edi
push eax
mov word [ebp + 0x194], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x9b6]
push edi
push eax
mov word [ebp + 0x9b4], di
call fcn.0041bd70
push esi
lea eax, [ebp + 0x5a6]
push edi
push eax
mov word [ebp + 0x5a4], di
call fcn.0041bd70
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x9b4]
push eax
call fcn.0041b494
lea eax, [ebp + 0x9b4]
push 0x5c
push eax
call fcn.0041c425
add esp, 0x14
cmp eax, edi
je 0x40fdfe
mov word [eax], di
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x39c]
push str.Local
push eax
call fcn.0041c077
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x40fd21
inc ebx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x7ac]
push str.LocalLow
push eax
call fcn.0041c077
add esp, 0x10
lea eax, [ebp + 0x7ac]
push eax
call esi
test eax, eax
je 0x40fd5c
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x194]
push str.Roaming
push eax
call fcn.0041c077
add esp, 0x10
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
je 0x40fd97
mov dword [ebp - 0x7c], 1
cmp ebx, edi
je 0x40fdfe
cmp dword [ebp - 0x80], edi
je 0x40fdfe
cmp dword [ebp - 0x7c], edi
je 0x40fdfe
mov edi, dword [ebp - 0x78]
mov ecx, edi
call fcn.0040e344
test eax, eax
je 0x40fdfe
push str.SmartCloudIME.users
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push str._s_s_
push eax
call fcn.0041bfe1
add esp, 0x10
lea eax, [ebp + 0x5a4]
push eax
call esi
test eax, eax
jne 0x40fded
lea eax, [ebp + 0x5a4]
push eax
call fcn.0040ff15
pop ecx
lea eax, [ebp + 0x5a4]
push eax
lea ecx, [edi + 0x24]
call fcn.00401760
jmp 0x40fe06
mov ecx, dword [ebp - 0x78]
call fcn.0040f900
mov ecx, dword [ebp + 0xbbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bab8
add ebp, 0xbc0
leave
ret
Function at 0x40ff15
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.0041b494
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a944
push dword [esp + 0x1c]
mov esi, eax
push esi
call fcn.0041c0a1
add esp, 0x10
xor ebp, ebp
test edi, edi
mov bl, 1
jl 0x40ff84
cmp word [esi + ebp*2], 0x5c
jne 0x40ff7b
and word [esi + ebp*2], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ff75
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40ff82
mov word [esi + ebp*2], 0x5c
inc ebp
cmp ebp, edi
jle 0x40ff52
jmp 0x40ff84
xor bl, bl
push esi
call fcn.0041c846
pop ecx
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
ret

Function at 0x4102a3
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
push edi
mov edi, dword [ebp + 0x7b4]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0041bd70
push 0x10
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0041bd70
push edi
lea eax, [ebp - 0x28]
push 0x50a24c
push eax
call fcn.0040b735
add esp, 0x24
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41033f
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0041bab8
add ebp, 0x7ac
leave
ret
Function at 0x4103dc
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a8]
sub esp, 0x628
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x5a4], eax
mov eax, dword [ebp + 0x5b4]
push ebx
mov ebx, dword [ebp + 0x5b0]
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x196]
push esi
push eax
mov dword [ebp - 0x80], ebx
mov word [ebp + 0x194], si
call fcn.0041bd70
push edi
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.0041bd70
lea eax, [ebp + 0x194]
push ebx
push eax
call fcn.0041c0a1
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
call fcn.0041c0a1
lea eax, [ebp + 0x194]
push eax
call fcn.0041d13f
lea eax, [ebp - 0x74]
push eax
call fcn.0041d13f
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0041d1a8
add esp, 0x38
test eax, eax
je 0x41054b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41054b
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x7c], esi
push edi
lea eax, [ebp + 0x39e]
push esi
push eax
mov word [ebp + 0x39c], si
call fcn.0041bd70
add esp, 0xc
cmp dword [ebp - 0x7c], esi
lea eax, [ebp + 0x39c]
jne 0x4104ce
push dword [ebp - 0x78]
push str._s.bak
push eax
call fcn.0040b735
add esp, 0xc
jmp 0x4104e2
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push str._s.bak_d
push eax
call fcn.0040b735
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410500
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x39c]
push eax
push dword [ebp - 0x78]
call fcn.0041e90d
pop ecx
pop ecx
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push esi
lea eax, [ebp + 0x39c]
push eax
jne 0x410549
call ebx
cmp dword [ebp - 0x7c], 0xa
jge 0x41054b
inc dword [ebp - 0x7c]
jmp 0x410498
call ebx
mov ecx, dword [ebp + 0x5a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bab8
add ebp, 0x5a8
leave
ret
Function at 0x410563
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1588]
mov eax, 0x1608
call fcn.0041bd40
mov eax, dword [0x552994]
xor eax, ebp
mov dword [ebp + 0x1584], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1590]
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp + 0x137e]
push ebx
push eax
mov word [ebp + 0x137c], bx
call fcn.0041bd70
push edi
lea eax, [ebp + 0x137c]
push 0x50a24c
push eax
call fcn.0040b735
lea eax, [ebp + 0x137c]
push eax
call fcn.0041b494
lea ecx, [eax - 1]
add esp, 0x1c
test ecx, ecx
jle 0x4105e2
lea eax, [ebp + eax*2 + 0x137c]
cmp word [eax - 2], 0x5c
je 0x4105e2
mov word [eax], 0x5c
lea eax, [ebp + 0x137c]
push eax
lea eax, [ebp + 0x1d4]
push str._s.
push eax
call fcn.0040b735
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x80], eax
je 0x4106c0
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4106c0
cmp word [ebp - 0x50], 0x2e
je 0x41061a
cmp word [ebp - 0x4e], bx
je 0x41061a
cmp word [ebp - 0x4e], 0x2e
jne 0x410649
cmp word [ebp - 0x4c], bx
je 0x41061a
test byte [ebp - 0x7c], 0x10
je 0x41068f
push esi
lea eax, [ebp + 0x1176]
push ebx
push eax
mov word [ebp + 0x1174], bx
call fcn.0041bd70
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x137c]
push eax
lea eax, [ebp + 0x1174]
push 0x509864
push eax
call fcn.0040b735
lea eax, [ebp + 0x1174]
push eax
call fcn.00410563
add esp, 0x20
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 0x137c]
push eax
lea eax, [ebp + 0x9a4]
push 0x50a128
push eax
call fcn.0040b735
add esp, 0x10
lea eax, [ebp + 0x9a4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41061a
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp + 0x1584]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bab8
add ebp, 0x1588
leave
ret