Function at 0x41cc04
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
sub esp, 0x864
lea ebp, [esp - 4]
mov eax, dword [0x59d680]
xor eax, ebp
mov dword [ebp + 0x864], eax
push 0x54
mov eax, 0x537dbc
call fcn.0044fa84
xor ebx, ebx
push 0x206
lea eax, [ebp + 0x226]
mov esi, ecx
push ebx
push eax
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x14], 1
mov word [ebp + 0x224], bx
call fcn.0044fd00
add esp, 0xc
push 9
pop ecx
mov word [ebp + 0x83c], bx
xor eax, eax
lea edi, [ebp + 0x83e]
rep stosd dword es:[edi], eax
push 0x5408e4
lea ecx, [ebp - 0x60]
stosw word es:[edi], ax
call fcn.00401af6
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
call fcn.0040e24f
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0040132b
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41cca2
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x83c]
push 0x53dedc
push eax
call fcn.0045025e
lea eax, [ebp + 0x224]
push str.__smartcloudwb__
push eax
call fcn.00450242
lea eax, [ebp + 0x83c]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.00450218
add esp, 0x1c
lea eax, [ebp + 0x224]
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41cfbc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ebx
call fcn.0040a7d4
mov edi, 0x10000000
push edi
push str.Everyone
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040a813
push edi
push str.ALL_APPLICATION_PACKAGES
lea ecx, [ebp - 0x44]
call fcn.0040a813
lea eax, [ebp + 0x224]
push eax
push 0x5d94
push ebx
push 4
lea ecx, [ebp - 0x44]
call fcn.0040a64e
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41cfb0
push 0x206
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.0044fd00
push 0x206
lea eax, [ebp + 0x42e]
push ebx
push eax
mov word [ebp + 0x42c], bx
call fcn.0044fd00
push 0x206
lea eax, [ebp + 0x636]
push ebx
push eax
mov word [ebp + 0x634], bx
call fcn.0044fd00
add esp, 0x24
lea eax, [ebp + 0x1c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x83c]
push eax
push str.SmartCloudWB
push str.SmartCloudWBInput
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x42c]
push str._s_s_s_s
push eax
call fcn.0045025e
lea eax, [ebp + 0x634]
push str.__smartcloudwb__
push eax
call fcn.00450242
lea eax, [ebp + 0x634]
push str.TEMP__
push eax
call fcn.00450218
lea eax, [ebp + 0x83c]
push eax
lea eax, [ebp + 0x634]
push eax
call fcn.00450218
add esp, 0x30
xor eax, eax
lea ecx, [ebp + 0x634]
inc eax
push ecx
push eax
push 0xf001f
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41cfb0
lea eax, [ebp + 0x634]
push eax
push 1
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41cfb0
push ebx
push 0x80
push 4
push ebx
push 3
push edi
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x44]
jne 0x41cea7
mov byte [ebp - 4], 2
call fcn.0040a7c3
push ebx
push 1
lea ecx, [ebp]
call fcn.00401376
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x864]
xor ecx, ebp
call fcn.0044fa75
add ebp, 0x868
leave
ret
lea eax, [ebp + 0x634]
push eax
push 0x5d94
push ebx
push 4
call fcn.0040a64e
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41cfa7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x83c]
push eax
push str.SmartCloudWB
push str.SmartCloudWBInput
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x42c]
push str._s_s_s_s_d
push eax
call fcn.0045025e
add esp, 0x1c
push ebx
push 0x80
push 4
push ebx
push 3
push edi
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41cf2b
lea ecx, [ebp - 0x44]
jmp 0x41ce6e
push dword [ebp - 0x10]
lea eax, [ebp + 0x83c]
push eax
push str.__smartcloudwb__
lea eax, [ebp + 0x634]
push 0x54082c
push eax
call fcn.0045025e
add esp, 0x14
lea eax, [ebp + 0x634]
push eax
push 0x5d94
push ebx
push 4
lea ecx, [ebp - 0x44]
call fcn.0040a64e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41cf94
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040a7c3
xor esi, esi
push ebx
push 1
lea ecx, [ebp]
call fcn.00401376
mov eax, esi
jmp 0x41ce84
push 5
push ebx
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
jmp 0x41cfaa
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040a7c3
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x41cff9
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x41cfed
cmp dword [ebp - 0x14], ebx
mov dword [esi + 0x28], eax
jne 0x41cfe8
mov ecx, eax
call fcn.0041a715
xor esi, esi
inc esi
jmp 0x41cf82
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], ebx
push 0x5d94
call fcn.00434315
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x41d018
mov ecx, eax
call fcn.00435093
jmp 0x41d01a
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [esi + 0x28], eax
call fcn.0041a715
jmp 0x41cf80