Function at 0x539e24
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 0x53a0f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
call fcn.006267c8
mov esi, dword [edi + 0x24]
dec esi
test esi, esi
jl 0x539f4d
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.0065d088
mov edx, dword [ebp - 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x44]
inc eax
je 0x539f08
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x30]
call fcn.0065d0b8
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.0065c454
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, 0x53a104
mov ecx, 2
call fcn.0065d81c
mov edx, dword [ebp - 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x44]
inc eax
jne 0x539ec4
mov eax, dword [edi + 0x20]
lea eax, [eax + ebx*4]
mov dword [ebp - 0x4c], eax
push 0
push dword [ebp - 0x2c]
push 0x53a114
push dword [ebp - 0x30]
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00403b88
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 0x539e77
lea eax, [ebp - 0x5c]
push eax
push 0x53a118
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 0x53a168
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.0065b454
mov dword [ebp - 0x1c], eax
mov esi, dword [edi + 0x24]
dec esi
test esi, esi
jl 0x539fea
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 0x539fc3
lea eax, [ebp - 8]
push eax
push 0
push 0x53a178
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 0x53a02e
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x53a02a
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 0x53a013
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 0x53a188
push 7
push 0
lea eax, [ebp - 0x5c]
push eax
call sub.ole32.dll_CoCreateInstance
test eax, eax
jne 0x53a0a1
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 0x53a0a1
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 0x53a0ab
mov eax, 0x53a198
call fcn.00629668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a0fd
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