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

Disassembly:
push ebp
sub esp, 0x864
lea ebp, [esp - 4]
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x864], eax
push 0x24
mov eax, 0x4bfa7a
call fcn.004603b7
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.0045fa70
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 0x4c67f4
lea ecx, [ebp - 0x30]
stosw word es:[edi], ax
call fcn.004010c0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
call fcn.0042e104
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004012b0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x43b1f6
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x83c]
push 0x4c3d68
push eax
call fcn.00460936
lea eax, [ebp + 0x224]
push str.__smartcloud__
push eax
call fcn.0045fd44
lea eax, [ebp + 0x83c]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.0045fd1a
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 0x43b499
lea eax, [ebp + 0x224]
push eax
push 0x59e4
push ebx
push 4
push ebx
push 0xffffffffffffffff
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x43b499
mov edi, 0x206
push edi
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.0045fa70
push edi
lea eax, [ebp + 0x42e]
push ebx
push eax
mov word [ebp + 0x42c], bx
call fcn.0045fa70
push edi
lea eax, [ebp + 0x636]
push ebx
push eax
mov word [ebp + 0x634], bx
call fcn.0045fa70
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.SmartCloud
push str.SmartCloudInput
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x42c]
push str._s_s_s_s
push eax
call fcn.00460936
lea eax, [ebp + 0x634]
push str.__smartcloud__
push eax
call fcn.0045fd44
lea eax, [ebp + 0x634]
push str.TEMP__
push eax
call fcn.0045fd1a
lea eax, [ebp + 0x83c]
push eax
lea eax, [ebp + 0x634]
push eax
call fcn.0045fd1a
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
add esp, 0x30
xor eax, eax
lea ecx, [ebp + 0x634]
inc eax
push ecx
push eax
push 0xf001f
mov dword [esi + 0x14], eax
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x43b499
lea eax, [ebp + 0x634]
push eax
push 1
push 6
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x43b499
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x80
push 4
push ebx
push 3
push 0x10000000
lea eax, [ebp + 0x42c]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x43b3b7
push ebx
push 1
lea ecx, [ebp]
call fcn.00401330
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.0045fa14
add ebp, 0x868
leave
ret
lea ecx, [ebp + 0x634]
push ecx
push 0x59e4
push ebx
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x43b490
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x83c]
push eax
push str.SmartCloud
push str.SmartCloudInput
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x42c]
push str._s_s_s_s_d
push eax
call fcn.00460936
add esp, 0x1c
push ebx
push 0x80
push 4
push ebx
push 3
push 0x10000000
lea eax, [ebp + 0x42c]
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x43b440
xor esi, esi
push ebx
push 1
lea ecx, [ebp]
call fcn.00401330
mov eax, esi
jmp 0x43b394
push dword [ebp - 0x10]
lea eax, [ebp + 0x83c]
push eax
push str.__smartcloud__
lea eax, [ebp + 0x634]
push str._s_s_d
push eax
call fcn.00460936
add esp, 0x14
lea eax, [ebp + 0x634]
push eax
push 0x59e4
push ebx
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 5
mov dword [esi + 0xc], eax
push ebx
lea eax, [ebp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
jmp 0x43b493
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x43b4d9
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 0x43b4cd
cmp dword [ebp - 0x14], ebx
mov dword [esi + 0x28], eax
jne 0x43b4c5
mov ecx, eax
call fcn.00438dac
xor esi, esi
inc esi
jmp 0x43b42e
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], ebx
push 0x59e4
call fcn.00442eb7
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x43b4f8
mov ecx, eax
call fcn.00414408
jmp 0x43b4fa
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [esi + 0x28], eax
call fcn.00438dac
jmp 0x43b42c