Function at 0x427550
Capabilities:
Get common file path
Move file
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x185c
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1858], eax
cmp dword [esp + 0x1864], 0x4e
push ebp
mov ebp, dword [esp + 0x1864]
push esi
mov esi, dword [esp + 0x1874]
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
je 0x427590
xor eax, eax
jmp 0x427c13
mov ecx, dword [edi]
cmp dword [esi], ecx
jne 0x427589
mov eax, dword [esi + 8]
push ebx
mov dword [esp + 0x14], 0
cmp eax, 0xfffffffb
ja case.0x4275bf.408
je 0x427b69
add eax, 0x19c
cmp eax, 0xa
ja case.0x4275bf.408
jmp dword [eax*4 + 0x427c30]
movzx eax, word [esi + 0xc]
cmp eax, 0x2e
je 0x4275fa
cmp eax, 0x71
je 0x4275ee
cmp eax, 0x74
jne case.0x4275bf.408
movzx eax, byte [edi + 8]
push eax
mov ecx, edi
call fcn.00427240
jmp case.0x4275bf.408
mov ecx, edi
call fcn.00426670
jmp case.0x4275bf.408
mov ecx, edi
call fcn.00427320
jmp case.0x4275bf.408
mov esi, dword [esi + 0x30]
test esi, esi
je 0x427666
xor ecx, ecx
lea edx, [esp + 0x68]
mov word [esp + 0x868], cx
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x427666
mov eax, dword [0x4c7530]
test eax, eax
je 0x427641
mov edx, dword [esi + 8]
lea ecx, [esp + 0x868]
push ecx
push edx
call eax
lea eax, [esp + 0x868]
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.0042f950
test al, al
je 0x427666
lea edx, [esp + 0x68]
push edx
call fcn.0044db30
cmp byte [eax], 0
jne 0x427670
mov eax, 1
jmp 0x427c12
mov byte [edi + 9], 1
jmp case.0x4275bf.408
mov byte [edi + 9], 0
cmp dword [esi + 0x1c], 0
je case.0x4275bf.408
mov eax, dword [esi + 0x30]
test eax, eax
je case.0x4275bf.408
mov edx, dword [eax + 8]
lea ecx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je case.0x4275bf.408
xor eax, eax
jmp 0x4276b0
mov cl, byte [esp + eax + 0x68]
mov byte [esp + eax + 0x468], cl
inc eax
test cl, cl
jne 0x4276b0
lea eax, [esp + 0x468]
push eax
call fcn.0044db30
mov byte [eax], 0
lea eax, [esp + 0x468]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4276e0
mov esi, dword [esi + 0x1c]
mov ecx, esi
sub eax, edx
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4276f1
sub ecx, edi
add ecx, eax
cmp ecx, 0x400
jae case.0x4275bf.408
mov eax, esi
mov edx, esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427710
lea edi, [esp + 0x468]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x427721
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x46c]
push ecx
call fcn.0042f950
test al, al
je 0x427762
push 0x50d
call fcn.0045bde0
push eax
call fcn.0048e100
add esp, 4
jmp case.0x4275bf.408
lea edx, [esp + 0x468]
push edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je case.0x4275bf.408
mov esi, dword [esp + 0x10]
movzx ecx, byte [esi + 8]
push ecx
mov ecx, esi
call fcn.00427240
push 1
lea edx, [esp + 0x46c]
push edx
mov ecx, esi
call fcn.00426b30
jmp case.0x4275bf.408
mov esi, dword [esi + 0x34]
test esi, esi
je case.0x4275bf.408
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x4f8534]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x4f8534]
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x4f8534]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
jmp case.0x4275bf.408
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x4279f1
mov ebx, dword [esi + 0x3c]
xor eax, eax
mov word [esp + 0x1068], ax
lea eax, [esp + 0x24]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x110c
lea edx, [esp + 0x474]
push ecx
mov byte [esp + 0x78], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 0x400
call edi
test eax, eax
je case.0x4275bf.408
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp]
push ebx
push 3
push 0x110a
push ecx
call edi
mov ebx, eax
test ebx, ebx
je 0x4279cd
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427868
sub eax, edx
mov edx, eax
lea eax, [esp + 0x468]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427880
sub eax, esi
add eax, edx
cmp eax, 0x3ff
jae 0x4278f1
cmp byte [esp + 0x68], cl
je 0x4278df
lea edx, [esp + 0x468]
push edx
call fcn.0044dfb0
lea eax, [esp + 0x68]
mov edx, eax
jmp 0x4278b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4278b0
lea edi, [esp + 0x468]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4278c1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov cl, byte [esp + eax + 0x468]
mov byte [esp + eax + 0x68], cl
inc eax
test cl, cl
jne 0x4278e1
call fcn.0043ca60
test eax, eax
je 0x42798f
mov edx, dword [ebp]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x113e
lea eax, [esp + 0x874]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x400
call edi
test eax, eax
je 0x42798f
lea eax, [esp + 0x868]
push eax
call fcn.0046dac0
lea ecx, [esp + 0x1068]
push ecx
mov esi, eax
call fcn.0046dac0
add esi, eax
cmp esi, 0x3ff
jae 0x42798f
cmp word [esp + 0x1068], 0
je 0x42797a
lea edx, [esp + 0x868]
push edx
call fcn.0044d970
lea eax, [esp + 0x1068]
push eax
lea ecx, [esp + 0x86c]
push ecx
call fcn.0046db40
lea edx, [esp + 0x868]
push edx
lea eax, [esp + 0x106c]
push eax
call fcn.0046dae0
mov eax, dword [ebp]
lea edx, [esp + 0x24]
push edx
push 0
push 0x110c
lea ecx, [esp + 0x474]
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x400
call edi
test eax, eax
jne 0x427845
jmp case.0x4275bf.408
mov eax, dword [ebp]
lea ecx, [esp + 0x1068]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x40a
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
jmp case.0x4275bf.408
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x68]
push edx
xor ecx, ecx
push eax
mov word [esp + 0x870], cx
call esi
test eax, eax
je case.0x4275bf.408
cmp byte [0x4c7538], 0
jne 0x427a4a
lea ecx, [esp + 0x20]
push ecx
push 0x13
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x20]
push 0x4c7538
push edx
call esi
mov eax, dword [0x4f8534]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, 0x4c7538
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427a52
sub eax, edx
push eax
lea ecx, [esp + 0x6c]
push ecx
push 0x4c7538
call fcn.0049f03f
add esp, 0xc
test eax, eax
jne 0x427aa2
lea edx, [esp + 0x468]
push edx
lea eax, [edi + 4]
push eax
push edi
push ebp
call fcn.004266b0
test al, al
je 0x427ab9
xor eax, eax
jmp 0x427a90
mov cl, byte [esp + eax + 0x468]
mov byte [esp + eax + 0x68], cl
inc eax
test cl, cl
jne 0x427a90
jmp 0x427ab9
mov eax, dword [0x4c7530]
test eax, eax
je 0x427ab9
mov edx, dword [edi + 8]
lea ecx, [esp + 0x868]
push ecx
push edx
call eax
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x868]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x6c]
push ecx
push 0x40a
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4275bf.408
test byte [esi + 0x40], 0x40
jne case.0x4275bf.408
mov edi, dword [esi + 0x5c]
test edi, edi
je case.0x4275bf.408
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi + 4]
push 0x4b5ca8
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x427b34
mov ecx, dword [esi + 0x3c]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00426080
jmp 0x427b38
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
mov edx, dword [esi + 0x3c]
lea eax, [esp + 0x5c]
push eax
push 0
push 0x1115
push ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0x4263e0
mov dword [esp + 0x74], 0
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4275bf.408
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x4c]
push eax
push 0
mov dword [esp + 0x54], ecx
mov ecx, dword [edi]
push 0x1111
push ecx
mov dword [esp + 0x60], edx
call esi
mov eax, dword [esp + 0x58]
test eax, eax
je case.0x4275bf.408
mov edx, dword [edi]
push eax
push 9
push 0x110b
push edx
call esi
mov ebx, 4
test byte [esp + 0x54], bl
je case.0x4275bf.408
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x24]
push edx
push 0
push 0x110c
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
call esi
test eax, eax
je case.0x4275bf.408
mov eax, dword [esp + 0x48]
test eax, eax
je case.0x4275bf.408
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push ebp
mov ecx, edi
call fcn.00425c20
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049dea6
add esp, 0x185c
ret 0x10