Function at 0x4149e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0xc], 0
push esi
mov word [ebp - 0x1c], ax
mov ebx, ecx
push edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], 7
push eax
push str.hb_theme_dll_ver
mov edx, str.Software360360huabaohuabao
mov ecx, SysReAllocString
call fcn.0040ffe0
add esp, 8
mov dword [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x6c], 7
lea ecx, [ebp - 0x80]
mov word [ebp - 0x80], ax
push 6
push str.theme_
call fcn.00403e30
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x98]
call fcn.00415a50
cmp dword [ebp - 8], 8
mov ecx, eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.00403f90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x54]
mov eax, edx
mov ecx, dword [ebp - 0x58]
sub eax, ecx
cmp eax, 1
jb 0x414acf
cmp edx, 8
lea esi, [ebp - 0x68]
push 2
cmovae esi, dword [ebp - 0x68]
lea edi, [ecx + 1]
push 0x5010bc
mov dword [ebp - 0x58], edi
lea eax, [esi + ecx*2]
push eax
call fcn.004c0040
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x68]
jmp 0x414ae7
push 1
push 0x5010bc
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x68]
push dword [ebp - 0x38]
push 1
call fcn.00404fc0
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x3c]
mov eax, edx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
cmp eax, 0xe
jb 0x414b48
cmp edx, 8
lea esi, [ebp - 0x50]
push 0x1c
cmovae esi, dword [ebp - 0x50]
lea edi, [ecx + 0xe]
push str.360hbtheme.dll
mov dword [ebp - 0x40], edi
lea eax, [esi + ecx*2]
push eax
call fcn.004c0040
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x50]
jmp 0x414b60
push 0xe
push str.360hbtheme.dll
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x38]
push 0xe
call fcn.00404fc0
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x414bbe
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414bb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414ebb
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x414c0c
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414c02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414ebb
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
cmp edx, 8
jb 0x414c60
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414c56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414ebb
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp edx, 8
jb 0x414cb7
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414cad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414ebb
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x414e6d
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x34]
push eax
call esi
test eax, eax
je 0x414d4e
push 0xb89
push str.DownloadThemeDll::GetThemeDllVer
push str.__s__d___version_is_not_empty_and_dll_is_exists
call fcn.0041f720
movups xmm0, xmmword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add esp, 0xc
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
cmp edx, 8
jb 0x414d3b
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414d31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414eb6
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x414e6d
push 6
push str.theme_
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.00403e30
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov esi, esp
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x98]
push eax
call fcn.00415a50
mov edx, eax
mov ecx, esi
call fcn.004047f0
add esp, 4
mov cl, 1
call fcn.004110c0
mov edx, dword [ebp - 0x84]
add esp, 0x18
cmp edx, 8
jb 0x414dee
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414de4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414ec0
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp edx, 8
jb 0x414e45
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414e3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414ec0
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0
push str.hb_theme_dll_ver
mov edx, str.Software360360huabaohuabao
call fcn.00410120
push 0xb8f
push str.DownloadThemeDll::GetThemeDllVer
push str.__s__d___version_is_not_empty_but_dll_is_not_exists
call fcn.0041f720
add esp, 0x14
movups xmm0, xmmword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
cmp edx, 8
jb 0x414d3b
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414d31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414d31
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3