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

Disassembly:
mov eax, 0x185c
call fcn.0049e650
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 0x4274c0
xor eax, eax
jmp 0x427b43
mov ecx, dword [edi]
cmp dword [esi], ecx
jne 0x4274b9
mov eax, dword [esi + 8]
push ebx
mov dword [esp + 0x14], 0
cmp eax, 0xfffffffb
ja case.0x4274ef.408
je 0x427a99
add eax, 0x19c
cmp eax, 0xa
ja case.0x4274ef.408
jmp dword [eax*4 + 0x427b60]
movzx eax, word [esi + 0xc]
cmp eax, 0x2e
je 0x42752a
cmp eax, 0x71
je 0x42751e
cmp eax, 0x74
jne case.0x4274ef.408
movzx eax, byte [edi + 8]
push eax
mov ecx, edi
call fcn.00427170
jmp case.0x4274ef.408
mov ecx, edi
call fcn.004265b0
jmp case.0x4274ef.408
mov ecx, edi
call fcn.00427250
jmp case.0x4274ef.408
mov esi, dword [esi + 0x30]
test esi, esi
je 0x427596
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 0x427596
mov eax, dword [0x4c7530]
test eax, eax
je 0x427571
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.0042f890
test al, al
je 0x427596
lea edx, [esp + 0x68]
push edx
call fcn.0044d530
cmp byte [eax], 0
jne 0x4275a0
mov eax, 1
jmp 0x427b42
mov byte [edi + 9], 1
jmp case.0x4274ef.408
mov byte [edi + 9], 0
cmp dword [esi + 0x1c], 0
je case.0x4274ef.408
mov eax, dword [esi + 0x30]
test eax, eax
je case.0x4274ef.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.0x4274ef.408
xor eax, eax
jmp 0x4275e0
mov cl, byte [esp + eax + 0x68]
mov byte [esp + eax + 0x468], cl
inc eax
test cl, cl
jne 0x4275e0
lea eax, [esp + 0x468]
push eax
call fcn.0044d530
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 0x427610
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 0x427621
sub ecx, edi
add ecx, eax
cmp ecx, 0x400
jae case.0x4274ef.408
mov eax, esi
mov edx, esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427640
lea edi, [esp + 0x468]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x427651
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.0042f890
test al, al
je 0x427692
push 0x50d
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 4
jmp case.0x4274ef.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.0x4274ef.408
mov esi, dword [esp + 0x10]
movzx ecx, byte [esi + 8]
push ecx
mov ecx, esi
call fcn.00427170
push 1
lea edx, [esp + 0x46c]
push edx
mov ecx, esi
call fcn.00426a60
jmp case.0x4274ef.408
mov esi, dword [esi + 0x34]
test esi, esi
je case.0x4274ef.408
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x4f8164]
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x4f8164]
mov edx, dword [esi + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [0x4f8164]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
jmp case.0x4274ef.408
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x427921
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.0x4274ef.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 0x4278fd
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427798
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 0x4277b0
sub eax, esi
add eax, edx
cmp eax, 0x3ff
jae 0x427821
cmp byte [esp + 0x68], cl
je 0x42780f
lea edx, [esp + 0x468]
push edx
call fcn.0044d9b0
lea eax, [esp + 0x68]
mov edx, eax
jmp 0x4277e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4277e0
lea edi, [esp + 0x468]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4277f1
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 0x427811
call fcn.0043c9b0
test eax, eax
je 0x4278bf
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 0x4278bf
lea eax, [esp + 0x868]
push eax
call fcn.0046d610
lea ecx, [esp + 0x1068]
push ecx
mov esi, eax
call fcn.0046d610
add esi, eax
cmp esi, 0x3ff
jae 0x4278bf
cmp word [esp + 0x1068], 0
je 0x4278aa
lea edx, [esp + 0x868]
push edx
call fcn.0044d370
lea eax, [esp + 0x1068]
push eax
lea ecx, [esp + 0x86c]
push ecx
call fcn.0046d690
lea edx, [esp + 0x868]
push edx
lea eax, [esp + 0x106c]
push eax
call fcn.0046d630
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 0x427775
jmp case.0x4274ef.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.0x4274ef.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.0x4274ef.408
cmp byte [0x4c7538], 0
jne 0x42797a
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 [0x4f8164]
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 0x427982
sub eax, edx
push eax
lea ecx, [esp + 0x6c]
push ecx
push 0x4c7538
call fcn.0049f25f
add esp, 0xc
test eax, eax
jne 0x4279d2
lea edx, [esp + 0x468]
push edx
lea eax, [edi + 4]
push eax
push edi
push ebp
call fcn.004265f0
test al, al
je 0x4279e9
xor eax, eax
jmp 0x4279c0
mov cl, byte [esp + eax + 0x468]
mov byte [esp + eax + 0x68], cl
inc eax
test cl, cl
jne 0x4279c0
jmp 0x4279e9
mov eax, dword [0x4c7530]
test eax, eax
je 0x4279e9
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.0x4274ef.408
test byte [esi + 0x40], 0x40
jne case.0x4274ef.408
mov edi, dword [esi + 0x5c]
test edi, edi
je case.0x4274ef.408
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi + 4]
push 0x4b5ca4
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x427a64
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.00425f80
jmp 0x427a68
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], 0x426320
mov dword [esp + 0x74], 0
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x4274ef.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.0x4274ef.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.0x4274ef.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.0x4274ef.408
mov eax, dword [esp + 0x48]
test eax, eax
je case.0x4274ef.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.00425b20
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049e0c6
add esp, 0x185c
ret 0x10