Function at 0x4655f0
Capabilities:
Copy file
Get common file path
Get file system object information
Move file

Disassembly:
push 0xffffffffffffffff
push 0x503388
mov eax, dword fs:[0]
push eax
sub esp, 0xe60
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0xe58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xe74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe84]
cmp dword [ebp + 0x4c98], 1
jne 0x465b99
mov eax, dword [ebp + 0x51e4]
test eax, eax
je 0x465b99
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0xe7c], 0
mov eax, dword [ebp + 0x51e4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
push eax
call edx
mov esi, eax
add esi, 4
push str.rar5
push esi
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x465698
mov esi, 0x5161a8
push esi
push 0x5161b0
lea edi, [esp + 0x34]
call fcn.00404890
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
add esp, 8
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xe7c], 1
mov ebx, dword [esp + 0x2c]
push ebx
push str.test_s
lea edi, [esp + 0x30]
call fcn.00404890
push 0x2b0
lea eax, [esp + 0x64]
push 0
push eax
mov dword [esp + 0x68], 0
call fcn.004e8fe0
mov edx, dword [esp + 0x3c]
add esp, 0x14
push 0x410
push 0x2b4
lea ecx, [esp + 0x5c]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x5161c8
push ebx
push ebx
lea eax, [esp + 0x274]
push eax
push str._s___s__s_s__._.
lea edi, [esp + 0x2c]
mov byte [esp + 0xe90], 2
call fcn.00404890
mov esi, dword [esp + 0x2c]
add esp, 0x14
cmp dword [esi - 4], 1
jle 0x46576b
mov ecx, dword [esi - 0xc]
push ecx
mov edx, edi
push edx
call fcn.00401410
mov esi, dword [esp + 0x18]
push 0x7c
push esi
call fcn.004e59f3
add esp, 8
test eax, eax
je 0x465797
lea ebx, [ebx]
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x7c
push eax
call fcn.004e59f3
add esp, 8
test eax, eax
jne 0x465780
mov eax, dword [ebp + 4]
push eax
push esi
push 0x800006
push 0
push ebx
push 0
lea esi, [esp + 0x324]
call fcn.00437dc0
mov dword [esp + method.WTL::CFileDialog.virtual_0], vtable.WTL::CFileDialog.0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0xc6e]
mov byte [esp + 0xe84], 3
push eax
mov word [esp + 0xc70], dx
call fcn.004e8fe0
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0xc6c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46580b
lea edx, [esp + 0xc64]
mov dword [esp + 0x358], edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edi, [esp + 0x30c]
call fcn.004376d0
cmp eax, 1
jne 0x465b09
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x84e]
push ecx
mov word [esp + 0x850], ax
call fcn.004e8fe0
add esp, 0xc
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0xa5e]
push eax
mov word [esp + 0xa60], dx
call fcn.004e8fe0
mov eax, dword [ebp + 0x51e4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
add esp, 0xc
push eax
call edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00401640
mov byte [esp + 0xe7c], 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, 0x104
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jl 0x4658bc
lea edx, [esp + 0x1c]
push edx
call fcn.0041e5f0
mov ecx, dword [esp + 0x1c]
push 0x104
lea eax, [esp + 0x848]
push eax
push ecx
call esi
jmp 0x4658f3
push ecx
lea edx, [esp + 0x848]
push 0x105
push edx
call fcn.004e65c8
mov eax, dword [esp + 0x28]
mov eax, dword [eax - 0xc]
add esp, 0xc
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x848]
push 0
push edx
call fcn.004e8fe0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x58c]
call fcn.00401640
mov byte [esp + 0xe7c], 5
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0x104
jl 0x465939
lea ecx, [esp + 0x20]
push ecx
call fcn.0041e5f0
mov eax, dword [esp + 0x20]
push 0x104
lea edx, [esp + 0xa58]
push edx
push eax
call esi
jmp 0x46594f
push eax
lea ecx, [esp + 0xa58]
push 0x105
push ecx
call fcn.004e65c8
add esp, 0xc
mov edx, dword [ebp + 4]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x844]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edx
lea eax, [esp + 0x34]
lea ecx, [esp + 0xa54]
mov edx, 0x50
push eax
mov dword [esp + 0x3c], 2
mov dword [esp + 0x44], ecx
mov word [esp + 0x48], dx
mov dword [esp + 0x4a], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x465ab9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x75
je 0x465ab9
xor ecx, ecx
push 0x50
push ecx
lea edx, [esp + 0x79e]
push edx
mov word [esp + 0x7a0], cx
call fcn.004e8fe0
add esp, 0xc
xor eax, eax
push 0x50
push eax
lea ecx, [esp + 0x7f6]
push ecx
mov word [esp + 0x7f8], ax
call fcn.004e8fe0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCompactPathExW]
add esp, 0xc
push 0
push 0x28
lea edx, [esp + 0x84c]
push edx
lea eax, [esp + 0x7a0]
push eax
call esi
push 0
push 0x28
lea ecx, [esp + 0xa5c]
push ecx
lea edx, [esp + 0x7f8]
push edx
call esi
lea esi, [esp + 0x24]
call fcn.004048a0
lea eax, [esp + 0x30]
push 0x193
mov bl, 6
push eax
mov byte [esp + 0xe84], bl
call fcn.00433510
lea ecx, [esp + 0x7f4]
push ecx
lea edx, [esp + 0x7a0]
mov byte [esp + 0xe88], 7
mov eax, dword [eax]
push edx
push eax
mov edi, esi
call fcn.00404890
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0xe7c], bl
call fcn.004016f0
lea esi, [esp + 0x30]
call fcn.00401140
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 4]
mov eax, dword [eax]
push 0x30
push ecx
push edx
call fcn.00488c60
add esp, 0xc
mov ecx, esi
call fcn.004016f0
mov ecx, edi
call fcn.004016f0
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0xe7c], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465ae1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe7c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465b09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe7c], 2
mov eax, dword [esp + 0x320]
test eax, eax
je 0x465b22
push eax
call fcn.004e3aa9
mov byte [esp + 0xe7c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465b4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe7c], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465b72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0xe7c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465b99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xe74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe58]
xor ecx, esp
call fcn.004e3edb
add esp, 0xe6c
ret 4