Function at 0x534690
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x534958
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
call fcn.0061caec
mov esi, dword [edi + 0x24]
dec esi
test esi, esi
jl 0x5347af
inc esi
xor ebx, ebx
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebx*4]
call fcn.00654994
mov edx, dword [ebp - 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x44]
inc eax
je 0x534774
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x30]
call fcn.006549c4
mov eax, dword [ebp - 0x30]
call fcn.00403ab8
push eax
mov eax, dword [ebp - 0x38]
call fcn.00403ab8
pop edx
sub edx, eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.00653e2c
inc dword [ebp - 0x48]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xf
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xf
lea edx, [ebp - 0x74]
mov eax, 0x534968
mov ecx, 2
call fcn.00655128
mov edx, dword [ebp - 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x44]
inc eax
jne 0x534730
mov eax, dword [edi + 0x20]
lea eax, [eax + ebx*4]
mov dword [ebp - 0x4c], eax
push 0
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.00403b24
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
call fcn.004038bc
inc ebx
dec esi
jne 0x5346e3
lea eax, [ebp - 0x5c]
push eax
push 0x534974
call sub.ole32.dll_CLSIDFromString
lea eax, [ebp - 8]
call fcn.004043d0
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
lea eax, [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetDesktopFolder
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x18]
push eax
push 0x5349c4
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [edi + 0x24]
shl eax, 2
call fcn.00652e1c
mov dword [ebp - 0x1c], eax
mov esi, dword [edi + 0x24]
dec esi
test esi, esi
jl 0x53484c
inc esi
xor ebx, ebx
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + ebx*4]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ebx*4]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
inc ebx
dec esi
jne 0x534825
lea eax, [ebp - 8]
push eax
push 0
push 0x5349d4
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x24]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
mov esi, dword [edi + 0x24]
dec esi
test esi, esi
jl 0x534890
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x53488c
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
inc ebx
dec esi
jne 0x534875
mov eax, dword [ebp - 0x1c]
call fcn.00401fac
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x20]
call fcn.004043d0
push eax
push 0x5349e4
push 7
push 0
lea eax, [ebp - 0x5c]
push eax
call sub.ole32.dll_CoCreateInstance
test eax, eax
jne 0x534903
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x534903
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x53490d
mov eax, 0x5349f4
call fcn.0061f884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53495f
lea eax, [ebp - 0x78]
call fcn.00403880
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00403898
lea eax, [ebp - 0x20]
call fcn.004043d0
lea eax, [ebp - 0x18]
call fcn.004043d0
lea eax, [ebp - 0x10]
call fcn.004043d0
lea eax, [ebp - 0xc]
call fcn.004043d0
lea eax, [ebp - 8]
call fcn.004043d0
ret