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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28bc
call fcn.1002fb29
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28bc], eax
mov eax, dword [ebp + 0x24]
xor ecx, ecx
push ecx
mov dword [ebp - 0x28b8], eax
mov esi, edx
push 5
lea eax, [ebp - 0x824]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000fffc
mov ecx, 0x104
test edi, edi
je 0x1000fdf6
test esi, esi
je 0x1000fde5
xor eax, eax
cmp ax, word [esi]
je 0x1000fde5
push ecx
mov edx, ecx
lea ecx, [ebp - 0x20c]
push esi
call fcn.1001a3af
test eax, eax
jne 0x1000fd6c
mov edx, 0x104
jmp 0x1000fde7
lea eax, [ebp - 0x20c]
push 0x28
push eax
call fcn.1001ddb2
pop ecx
pop ecx
test eax, eax
je 0x1000fda0
lea ecx, [ebp - 0x20c]
cmp eax, ecx
je 0x1000fd9b
push 0x20
pop ecx
cmp cx, word [eax - 2]
jne 0x1000fd9b
xor ecx, ecx
mov word [eax - 2], cx
jmp 0x1000fda0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp ax, word [ebp - 0x20c]
je 0x1000fd65
push 0x2e
push edi
call fcn.1001a3af
pop ecx
pop ecx
xor edx, edx
lea ecx, [ebp - 0x20c]
push edx
mov edx, 0x104
mov esi, eax
call fcn.1001a3af
test eax, eax
je 0x1000fd65
push esi
mov edx, 0x104
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
test eax, eax
jne 0x1000fe02
jmp 0x1000fd65
mov edx, ecx
push ecx
push edi
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
jmp 0x1000fdfa
xor edx, edx
mov eax, edx
test eax, eax
je 0x1000fffc
xor eax, eax
lea edx, [ebp - 0x824]
push eax
push ecx
lea eax, [ebp - 0x61c]
push eax
push str..MDB
lea ecx, [ebp - 0x20c]
call fcn.1001a3af
test eax, eax
je 0x1000fffc
mov esi, 0x1048
xor eax, eax
push esi
push eax
lea eax, [ebp - 0x186c]
push eax
call fcn.1001e894
xor eax, eax
push esi
push eax
lea eax, [ebp - 0x28b4]
push eax
call fcn.1001e894
add esp, 0x18
test ebx, ebx
je 0x1000fedb
test edi, edi
je 0x1000fedb
mov esi, ebx
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x1000fe66
sub esi, ecx
lea eax, [ebp - 0x414]
sar esi, 1
cmp ebx, eax
je 0x1000fe95
push ecx
push ebx
mov edx, 0x104
mov ecx, eax
call fcn.1001a3af
test eax, eax
je 0x1000fffc
push 0x5c
pop eax
cmp ax, word [ebp + esi*2 - 0x416]
je 0x1000fec6
push 0xffffffffffffffff
push 0x100393f0
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1001a3af
add esp, 0x10
cmp eax, 0x50
je 0x1000fffc
push edi
mov edx, 0x104
lea ecx, [ebp - 0x414]
call fcn.1001a3af
xor ebx, ebx
jmp 0x1000fedf
xor ebx, ebx
mov eax, ebx
test eax, eax
je 0x1000fffc
xor eax, eax
cmp ax, word [ebp - 0x414]
je 0x1000ffbe
cmp ax, word [ebp - 0x61c]
je 0x1000ffbe
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.1001a3af
mov esi, dword [ebp - 0x28b8]
pop ecx
pop ecx
test eax, eax
je 0x1000ffca
test esi, esi
je 0x1000ff88
call fcn.1001a3af
test eax, eax
je 0x1000ff88
xor eax, eax
lea ecx, [ebp - 0x414]
mov word [ebp - 0x186c], ax
mov word [ebp - 0x28b4], ax
call fcn.1001a3af
test eax, eax
lea eax, [ebp - 0x28b4]
push ecx
je 0x1000ff63
push eax
push ecx
lea ecx, [ebp - 0x414]
jmp 0x1000ffaf
push ecx
push eax
push ecx
lea eax, [ebp - 0x186c]
push eax
push esi
lea edx, [ebp - 0x61c]
lea ecx, [ebp - 0x414]
call fcn.1001a3af
xor ecx, ecx
test eax, eax
setns cl
jmp 0x1000ffc6
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.kernel32.dll_MoveFileW]
test eax, eax
je 0x1000fffc
push ecx
lea eax, [ebp - 0x28b4]
push eax
push ecx
lea ecx, [ebp - 0x61c]
lea edx, [ebp - 0x186c]
call fcn.1001a3af
mov ecx, eax
jmp 0x1000ffc6
mov esi, dword [ebp - 0x28b8]
mov ecx, ebx
test ecx, ecx
je 0x1000fffc
push esi
push dword [ebp + 0x20]
lea edx, [ebp - 0x186c]
push dword [ebp - 0x28bc]
lea ecx, [ebp - 0x28b4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push ebx
push ebx
call fcn.1001a3af
test eax, eax
js 0x1000fffc
xor eax, eax
jmp 0x10010001
mov eax, 0x80041003
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c65c
leave
ret 0x20