Function at 0x4545e0
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4ba9
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6fb00c]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x4a4], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], edi
mov word [ebp - 0x468], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], eax
mov word [ebp - 0x438], ax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], eax
mov word [ebp - 0x450], ax
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 4], 3
push 0x206
push eax
mov dword [ebp - 0x488], eax
xorps xmm0, xmm0
mov word [ebp - 0x46c], ax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
movq qword [ebp - 0x484], xmm0
movq qword [ebp - 0x47c], xmm0
movq qword [ebp - 0x474], xmm0
call fcn.005a7690
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005a7690
add esp, 0xc
push str.____________________________________________________
call fcn.00415fc0
cmp dword [esi + 0x14], 8
jb 0x4546fd
mov eax, dword [esi]
jmp 0x4546ff
mov eax, esi
push eax
push str.CFuncMgr::DoFileCopy___s__App_Start
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005a7690
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.005a7690
add esp, 0xc
xor eax, eax
push 6
push str.SOURCE
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
call fcn.004058d0
lea eax, [ebp - 0x4a0]
push eax
push esi
mov byte [ebp - 4], 4
mov ecx, dword [0x6fb010]
push ebx
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ecx + 0x2c]
call fcn.004120a0
mov ecx, dword [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x4d8]
push eax
mov byte [ebp - 4], 5
call fcn.00452290
mov ebx, eax
lea eax, [ebp - 0x468]
cmp eax, ebx
je 0x454803
cmp dword [ebp - 0x454], 8
jb 0x4547da
push dword [ebp - 0x468]
call fcn.0048166b
add esp, 4
xor eax, eax
push ebx
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
call fcn.004053e0
cmp dword [ebp - 0x4c4], 8
jb 0x45481a
push dword [ebp - 0x4d8]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4a8], 8
mov dword [ebp - 0x4c4], 7
mov dword [ebp - 0x4c8], 0
mov word [ebp - 0x4d8], ax
jb 0x45484e
push dword [ebp - 0x4bc]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48c], 8
mov dword [ebp - 0x4a8], 7
mov dword [ebp - 0x4ac], 0
mov word [ebp - 0x4bc], ax
jb 0x454886
push dword [ebp - 0x4a0]
call fcn.0048166b
add esp, 4
push 0xb
xor eax, eax
push str.DESTINATION
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
call fcn.004058d0
lea eax, [ebp - 0x4a0]
push eax
push esi
push dword [ebp - 0x4c0]
mov byte [ebp - 4], 6
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ecx + 0x2c]
call fcn.004120a0
mov ecx, dword [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x4bc]
push eax
mov byte [ebp - 4], 7
call fcn.00452290
mov ebx, eax
lea eax, [ebp - 0x438]
cmp eax, ebx
je 0x45493f
cmp dword [ebp - 0x424], 8
jb 0x454916
push dword [ebp - 0x438]
call fcn.0048166b
add esp, 4
xor eax, eax
push ebx
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.004053e0
cmp dword [ebp - 0x4a8], 8
jb 0x454956
push dword [ebp - 0x4bc]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4c4], 8
mov dword [ebp - 0x4a8], 7
mov dword [ebp - 0x4ac], 0
mov word [ebp - 0x4bc], ax
jb 0x45498a
push dword [ebp - 0x4d8]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48c], 8
mov dword [ebp - 0x4c4], 7
mov dword [ebp - 0x4c8], 0
mov word [ebp - 0x4d8], ax
jb 0x4549c2
push dword [ebp - 0x4a0]
call fcn.0048166b
add esp, 4
push 7
xor eax, eax
push str.CAPTION
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
call fcn.004058d0
lea eax, [ebp - 0x4a0]
push eax
push esi
push dword [ebp - 0x4c0]
mov byte [ebp - 4], 8
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ecx + 0x2c]
call fcn.004120a0
mov ecx, dword [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x4bc]
push eax
mov byte [ebp - 4], 9
call fcn.00452290
mov ebx, eax
lea eax, [ebp - 0x450]
cmp eax, ebx
je 0x454a7b
cmp dword [ebp - 0x43c], 8
jb 0x454a52
push dword [ebp - 0x450]
call fcn.0048166b
add esp, 4
xor eax, eax
push ebx
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call fcn.004053e0
cmp dword [ebp - 0x4a8], 8
jb 0x454a92
push dword [ebp - 0x4bc]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4c4], 8
mov dword [ebp - 0x4a8], 7
mov dword [ebp - 0x4ac], 0
mov word [ebp - 0x4bc], ax
jb 0x454ac6
push dword [ebp - 0x4d8]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48c], 8
mov dword [ebp - 0x4c4], 7
mov dword [ebp - 0x4c8], 0
mov word [ebp - 0x4d8], ax
jb 0x454afe
push dword [ebp - 0x4a0]
call fcn.0048166b
add esp, 4
push 0
push 0x60ec18
push dword [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x468]
call fcn.00406530
test eax, eax
je 0x454cd3
push 0
push 0x60ec18
push dword [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00406530
test eax, eax
je 0x454cd3
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.005a54f5
lea ecx, [ebp - 0x420]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454b74
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x454e2c
xor eax, eax
cmp dword [ebp - 0x424], 8
mov word [ebp + ecx - 0x420], ax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005a54f5
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454bd4
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x454e2c
xor eax, eax
cmp dword [ebp - 0x43c], 8
mov dword [ebp - 0x470], eax
mov word [ebp - 0x46c], ax
mov word [ebp + ecx - 0x218], ax
xorps xmm0, xmm0
movq qword [ebp - 0x488], xmm0
mov dword [ebp - 0x488], eax
movq qword [ebp - 0x480], xmm0
lea eax, [ebp - 0x420]
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x47c], eax
movq qword [ebp - 0x478], xmm0
mov eax, 0x214
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
mov dword [ebp - 0x46e], eax
lea eax, [ebp - 0x488]
push eax
mov dword [ebp - 0x484], 2
mov dword [ebp - 0x476], 0
mov dword [ebp - 0x472], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
lea eax, [ebp - 0x218]
push eax
test edi, edi
je 0x454e07
lea eax, [ebp - 0x420]
push eax
push edi
push str.CFuncMgr::DoFileCopy_SHFileOperation___Failed:_d_From__s_To__s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x1c
push 0x6fb428
call fcn.00415fc0
push 6
xor eax, eax
push str.LPARAM
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
call fcn.004058d0
mov byte [ebp - 4], 0xa
mov ecx, dword [0x6fb010]
push edi
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407610
cmp dword [ebp - 0x48c], 8
jb 0x454d33
push dword [ebp - 0x4a0]
call fcn.0048166b
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x454d3b
mov esi, dword [esi]
push edi
push esi
push str.CFuncMgr::DoFileCopy___s__App_End___result:_0x_08x_
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x18
push 0x6fb428
call fcn.00415fc0
push str.____________________________________________________
call fcn.00415fc0
cmp dword [ebp - 0x43c], 8
jb 0x454d81
push dword [ebp - 0x450]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x424], 8
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
jb 0x454db5
push dword [ebp - 0x438]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x454], 8
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
jb 0x454de9
push dword [ebp - 0x468]
call fcn.0048166b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x454cd3
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x454cd3
call fcn.005a6496
int3