Function at 0x41c370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push edi
push 0x208
push 0
push eax
call fcn.004352b0
add esp, 0xc
push str.chrome.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41c462
push 0x103
lea ecx, [ebp - 0x214]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x214], ax
jne 0x41c424
xor ecx, ecx
lea eax, [ebp - 0x214]
push ecx
push eax
mov ecx, esi
call fcn.00401881
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043223c
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c430
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00401881
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043223c
mov esp, ebp
pop ebp
ret 4
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 8
lea eax, [ebp - 0x214]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x214], 0
jne 0x41c491
xor ecx, ecx
jmp 0x41c4af
lea ecx, [ebp - 0x214]
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c4a0
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x25c]
call fcn.0041d3f0
lea ecx, [ebp - 0x25c]
call fcn.004241a0
mov edi, eax
mov dword [ebp - 0x218], 7
xor eax, eax
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
test edi, edi
je 0x41c67f
sub esp, 8
lea eax, [ebp - 0x244]
mov ecx, esp
push 0x4685e0
mov dword [ecx], str.360base.dll
mov dword [ecx + 4], 0xb
mov ecx, edi
push eax
call fcn.004246b0
lea eax, [ebp - 0x2a4]
push eax
sub esp, 8
lea eax, [ebp - 0x244]
cmp dword [ebp - 0x230], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x244]
mov dword [ecx], eax
mov eax, dword [ebp - 0x234]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x274]
push eax
push ecx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0041db10
add esp, 4
mov ecx, eax
call fcn.0041dd00
mov ecx, eax
call fcn.0041dd00
lea ecx, [ebp - 0x22c]
cmp ecx, eax
je 0x41c57e
push 0xffffffffffffffff
push 0
push eax
call fcn.00401aff
lea ecx, [ebp - 0x2a4]
call fcn.0041d490
lea ecx, [ebp - 0x274]
call fcn.0041d490
lea ecx, [ebp - 0x28c]
call fcn.0041d490
mov eax, dword [ebp - 0x230]
cmp eax, 8
jb 0x41c5f8
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x7fffffff
ja 0x41c71d
add eax, eax
cmp eax, 0x1000
jb 0x41c5ef
test cl, 0x1f
jne 0x41c722
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41c727
sub ecx, eax
cmp ecx, 4
jb 0x41c72c
cmp ecx, 0x23
ja 0x41c731
mov ecx, eax
push ecx
call fcn.00432237
add esp, 4
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c677
sub esp, 8
mov eax, esp
mov dword [eax], str.360base.dll
mov dword [eax + 4], 0xb
lea eax, [ebp - 0x28c]
push eax
push ecx
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0041db10
add esp, 4
mov ecx, eax
call fcn.0041dd00
lea ecx, [ebp - 0x22c]
cmp ecx, eax
je 0x41c661
push 0xffffffffffffffff
push 0
push eax
call fcn.00401aff
lea ecx, [ebp - 0x28c]
call fcn.0041d490
lea ecx, [ebp - 0x274]
call fcn.0041d490
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, dword [ebp - 0x218]
cmp ecx, 8
jae 0x41c6c3
mov eax, dword [ebp - 0x21c]
add eax, 1
je 0x41c6d5
add eax, eax
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
call fcn.00433120
mov ecx, dword [ebp - 0x218]
add esp, 0xc
jmp 0x41c6d5
mov eax, dword [ebp - 0x22c]
mov dword [esi], eax
mov dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], ecx
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
call fcn.0041d490
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0043223c
mov esp, ebp
pop ebp
ret 4
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
call fcn.004377c0
int3