Function at 0x4a79c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c37f
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5973cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x59bb54
call fcn.004082d0
movzx eax, al
test eax, eax
jne 0x4a7a03
mov al, 1
jmp 0x4a7cd7
push 1
push 0x23
lea ecx, [ebp - 0x64]
push ecx
call fcn.00411540
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004082d0
movzx edx, al
test edx, edx
je 0x4a7a44
mov byte [ebp - 0x75], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00402b00
mov al, byte [ebp - 0x75]
jmp 0x4a7cd7
push str.config_newui_themesdefault
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00406130
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x48]
push edx
call int.0041d7f0
add esp, 4
movzx eax, al
test eax, eax
jne 0x4a7a97
mov byte [ebp - 0x76], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00402b00
mov al, byte [ebp - 0x76]
jmp 0x4a7cd7
push str.config_newui_themesdefault360InternationSafe
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00406130
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
call int.0041d7f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4a7af6
mov byte [ebp - 0x77], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00402b00
mov al, byte [ebp - 0x77]
jmp 0x4a7cd7
push 0x5627a0
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.00406130
add esp, 0xc
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x114]
push edx
mov ecx, 0x59bb54
call fcn.00404670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00402b00
mov dword [ebp - 0x70], 0x5627cc
mov dword [ebp - 0x6c], str.default_theme.ui
mov dword [ebp - 0x68], str.360InternationSafe360InternationSafe_theme.ui
mov dword [ebp - 0x74], 0
jmp 0x4a7b6b
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jae 0x4a7ca3
push 0
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp + ecx*4 - 0x70]
push edx
push 0x562868
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00406130
add esp, 0xc
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00406130
add esp, 0xc
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x124]
call fcn.00402b30
push eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + eax*4 - 0x70]
push ecx
push 0x56286c
lea edx, [ebp - 0xec]
push edx
call fcn.004a7e00
add esp, 8
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00406130
add esp, 0xc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x134]
call fcn.00402b30
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x95], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x108]
call fcn.00402b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xec]
call fcn.00402b00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.00402b00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.00402b00
jmp 0x4a7b62
mov byte [ebp - 0x109], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00402b00
mov al, byte [ebp - 0x109]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005060ef
mov esp, ebp
pop ebp
ret