Function at 0x4a6c20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5958ef
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5f4964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x5f7a58
call fcn.00418570
movzx eax, al
test eax, eax
jne 0x4a6c63
mov al, 1
jmp 0x4a6f37
push 1
push 0x23
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041c710
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00418570
movzx edx, al
test edx, edx
je 0x4a6ca4
mov byte [ebp - 0x75], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00417280
mov al, byte [ebp - 0x75]
jmp 0x4a6f37
push str.config_newui_themesdefault
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0041a950
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x48]
push edx
call fcn.00425930
add esp, 4
movzx eax, al
test eax, eax
jne 0x4a6cf7
mov byte [ebp - 0x76], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00417280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00417280
mov al, byte [ebp - 0x76]
jmp 0x4a6f37
push str.config_newui_themesdefault360InternationSafe
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0041a950
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
call fcn.00425930
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4a6d56
mov byte [ebp - 0x77], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00417280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00417280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00417280
mov al, byte [ebp - 0x77]
jmp 0x4a6f37
push 0x5ab2d8
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0041a950
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, 0x5f7a58
call fcn.0041a6d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00417280
mov dword [ebp - 0x70], 0x5ab304
mov dword [ebp - 0x6c], str.default_theme.ui
mov dword [ebp - 0x68], str.360InternationSafe360InternationSafe_theme.ui
mov dword [ebp - 0x74], 0
jmp 0x4a6dcb
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jae 0x4a6f03
push 0
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp + ecx*4 - 0x70]
push edx
push 0x5ab3a0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.0041a950
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.0041a950
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.004178e0
push eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + eax*4 - 0x70]
push ecx
push 0x5ab3a4
lea edx, [ebp - 0xec]
push edx
call fcn.004a7060
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.0041a950
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.004178e0
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.00417280
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xec]
call fcn.00417280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.00417280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.00417280
jmp 0x4a6dc2
mov byte [ebp - 0x109], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00417280
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00417280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00417280
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.0056ab51
mov esp, ebp
pop ebp
ret