Function at 0x4a1fa0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a19a4
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5e6468]
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
xor edi, edi
cmp dword [0x5ea378], edi
jne 0x4a2275
lea esi, [ebp - 0x48]
call fcn.00462100
mov dword [ebp - 4], edi
cmp dword [ebp - 0x34], edi
jne 0x4a2005
cmp dword [ebp - 0x30], 8
jb 0x4a1ffe
mov eax, dword [ebp - 0x44]
push eax
call fcn.0055dfce
add esp, 4
xor al, al
jmp 0x4a2277
push 0x5c8e2c
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0042fcb0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004a64d0
test al, al
jne 0x4a2068
mov esi, 8
cmp dword [ebp - 0x14], esi
jb 0x4a2040
mov eax, dword [ebp - 0x28]
push eax
call fcn.0055dfce
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], cx
cmp dword [ebp - 0x30], esi
jb 0x4a1ffe
mov edx, dword [ebp - 0x44]
push edx
call fcn.0055dfce
add esp, 4
xor al, al
jmp 0x4a2277
push str.config_newui_themesdefault360InternationSafe
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0042fcb0
add esp, 0xc
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.004a64d0
test al, al
jne 0x4a20ac
lea ecx, [ebp - 0x64]
call fcn.00424f60
lea ecx, [ebp - 0x2c]
call fcn.00424f60
lea ecx, [ebp - 0x48]
call fcn.00424f60
xor al, al
jmp 0x4a2277
push 0x5c8ec8
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0xe4]
push eax
call fcn.0042fcb0
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
mov ecx, 0x5ea364
mov byte [ebp - 4], 3
call fcn.004251d0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.00424f60
mov dword [ebp - 0x74], str.theme.xml
mov dword [ebp - 0x70], str.default_theme.ui
mov dword [ebp - 0x6c], str.360InternationSafe360InternationSafe_theme.ui
mov dword [ebp - 0x68], edi
push 0x5c2f84
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xe4]
push edx
call fcn.0042fcb0
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 4
mov edi, dword [ebp + ecx*4 - 0x74]
push edi
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.0042fcb0
mov ebx, eax
lea esi, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.004a23c0
push edi
push eax
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 6
call fcn.0042fcb0
mov esi, 8
add esp, 0x24
cmp dword [ebx + 0x18], esi
jb 0x4a2160
mov ebx, dword [ebx + 4]
jmp 0x4a2163
add ebx, 4
cmp dword [eax + 0x18], esi
jb 0x4a216d
mov eax, dword [eax + 4]
jmp 0x4a2170
add eax, 4
xor edi, edi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x78], esi
jb 0x4a218f
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.0055dfce
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x8c], dx
cmp dword [ebp - 0xb0], esi
jb 0x4a21ba
mov eax, dword [ebp - 0xc4]
push eax
call fcn.0055dfce
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xb4], edi
mov word [ebp - 0xc4], cx
cmp dword [ebp - 0x94], esi
jb 0x4a21e6
mov edx, dword [ebp - 0xa8]
push edx
call fcn.0055dfce
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x98], edi
mov word [ebp - 0xa8], ax
cmp dword [ebp - 0xcc], esi
jb 0x4a2216
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.0055dfce
add esp, 4
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp eax, 3
jb 0x4a20fd
cmp dword [ebp - 0x4c], esi
jb 0x4a2237
mov edx, dword [ebp - 0x60]
push edx
call fcn.0055dfce
add esp, 4
mov edi, ebx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], ax
cmp dword [ebp - 0x14], esi
jb 0x4a2258
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0055dfce
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
cmp dword [ebp - 0x30], esi
jb 0x4a2275
mov eax, dword [ebp - 0x44]
push eax
call fcn.0055dfce
add esp, 4
mov al, 1
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.0055e289
mov esp, ebp
pop ebp
ret