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

Disassembly:
push ebp
sub esp, 0x880
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x880], eax
push 0x38
mov eax, 0x1017f3e7
call fcn.1008546d
xor ebx, ebx
push 0x206
lea eax, [ebp + 0x242]
mov esi, ecx
push ebx
push eax
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x14], 1
mov word [ebp + 0x240], bx
call fcn.10085bc0
add esp, 0xc
push 9
pop ecx
mov word [ebp + 0x858], bx
xor eax, eax
lea edi, [ebp + 0x85a]
rep stosd dword es:[edi], eax
push 0x1018a1dc
lea ecx, [ebp]
stosw word es:[edi], ax
call fcn.100015f0
mov edi, 0x101912c8
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.100015f0
push str.smartcloudwb
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 1
call fcn.10003640
push edi
lea ecx, [ebp + 0x1c]
call fcn.10003640
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10043f57
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x858]
push 0x10187268
push eax
call fcn.10004df5
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x10043f78
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x240]
push eax
call fcn.100860cd
lea eax, [ebp + 0x858]
push eax
lea eax, [ebp + 0x240]
push eax
call fcn.100860a3
add esp, 0x10
lea eax, [ebp + 0x240]
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x100442a5
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ebx
call fcn.10018f11
mov edi, 0x10000000
push edi
push str.Everyone
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.10018fa5
push edi
push str.ALL_APPLICATION_PACKAGES
lea ecx, [ebp - 0x44]
call fcn.10018fa5
lea eax, [ebp + 0x240]
push eax
push 0x5d98
push ebx
push 4
lea ecx, [ebp - 0x44]
call fcn.10018cb6
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x10044299
push 0x206
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.10085bc0
push 0x206
lea eax, [ebp + 0x44a]
push ebx
push eax
mov word [ebp + 0x448], bx
call fcn.10085bc0
push 0x206
lea eax, [ebp + 0x652]
push ebx
push eax
mov word [ebp + 0x650], bx
call fcn.10085bc0
add esp, 0x24
lea eax, [ebp + 0x38]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x858]
push eax
push str.SmartCloudWB
push str.SmartCloudWBInput
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x448]
push str._s_s_s_s
push eax
call fcn.10004df5
mov eax, dword [ebp + 0x20]
add esp, 0x18
cmp dword [ebp + 0x34], 8
jae 0x100440a1
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x650]
push eax
call fcn.100860cd
lea eax, [ebp + 0x650]
push str.TEMP__
push eax
call fcn.100860a3
lea eax, [ebp + 0x858]
push eax
lea eax, [ebp + 0x650]
push eax
call fcn.100860a3
add esp, 0x18
xor eax, eax
lea ecx, [ebp + 0x650]
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 0x10044299
lea eax, [ebp + 0x650]
push eax
push 1
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x10044299
push ebx
push 0x80
push 4
push ebx
push 3
push edi
lea eax, [ebp + 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x44]
jne 0x1004417d
mov byte [ebp - 4], 1
call fcn.10018d22
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push ebx
push 1
lea ecx, [ebp]
call fcn.100017c0
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 + 0x880]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x884
leave
ret
lea eax, [ebp + 0x650]
push eax
push 0x5d98
push ebx
push 4
call fcn.10018cb6
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x10044290
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x858]
push eax
push str.SmartCloudWB
push str.SmartCloudWBInput
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x448]
push str._s_s_s_s_d
push eax
call fcn.10004df5
add esp, 0x1c
push ebx
push 0x80
push 4
push ebx
push 3
push edi
lea eax, [ebp + 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10044201
lea ecx, [ebp - 0x44]
jmp 0x10044139
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x1004420d
lea eax, [ebp + 0x20]
push dword [ebp - 0x10]
lea ecx, [ebp + 0x858]
push ecx
push eax
lea eax, [ebp + 0x650]
push str._s_s_d
push eax
call fcn.10004df5
add esp, 0x14
lea eax, [ebp + 0x650]
push eax
push 0x5d98
push ebx
push 4
lea ecx, [ebp - 0x44]
call fcn.10018cb6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x1004427d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10018d22
xor esi, esi
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push ebx
push 1
lea ecx, [ebp]
call fcn.100017c0
mov eax, esi
jmp 0x1004415a
push 5
push ebx
lea eax, [ebp + 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
jmp 0x10044293
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10018d22
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x100442e2
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 0x100442d6
cmp dword [ebp - 0x14], ebx
mov dword [esi + 0x28], eax
jne 0x100442d1
mov ecx, eax
call fcn.10041ab7
xor esi, esi
inc esi
jmp 0x10044260
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], ebx
push 0x5d98
call fcn.10062191
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x10044301
mov ecx, eax
call fcn.100403ee
jmp 0x10044303
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x28], eax
call fcn.10041ab7
jmp 0x1004425e