Function at 0x4d7666
Capabilities:
Check if file exists

Disassembly:
push 0x304
mov eax, 0x5ec8b7
call fcn.00592017
push 7
xor ebx, ebx
xor eax, eax
pop ecx
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x294], ecx
mov word [ebp - 0x2a8], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ecx
mov word [ebp - 0x260], ax
push ecx
push ecx
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 1
call fcn.004d8d18
xorps xmm0, xmm0
mov dword [ebp - 0x2fc], ebx
mov byte [ebp - 0x2f8], bl
movups xmmword [ebp - 0x2f4], xmm0
mov dword [ebp - 0x2e4], ebx
mov byte [ebp - 0x2e0], bl
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], ebx
mov byte [ebp - 0x2d4], bl
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2cc], ebx
mov byte [ebp - 0x2c8], bl
mov edi, 0x6284b4
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x230]
call fcn.0040b0d5
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
push str.UninstallString
mov edx, str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d05
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
cmovae edx, dword [ebp - 0x230]
pop ecx
pop ecx
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push edx
lea edx, [ebp - 0x310]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2fc]
call fcn.004d9790
add esp, 0x10
test al, al
je 0x4d7819
push ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004d8c9b
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push ebx
push eax
call fcn.005a88e0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
add esp, 0xc
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push str.....chrome.dll
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d780a
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.0041321d
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.0040b67b
push edi
lea ecx, [ebp - 0x248]
call fcn.0040b0d5
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 6
push eax
push str.UninstallString
mov edx, str.Software360360se6Update64ClientState02E720BD_2B50_4404_947C_65DBE64F6970
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d05
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmovae edx, dword [ebp - 0x248]
pop ecx
pop ecx
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
push edx
lea edx, [ebp - 0x310]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x2fc]
call fcn.004d9790
add esp, 0x10
test al, al
je 0x4d78da
push ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004d8c9b
mov byte [ebp - 4], 7
cmp dword [ebp - 0x268], 0
je 0x4d78cb
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x260]
call fcn.0041321d
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 6
call fcn.0040b67b
push 0x63a8c0
lea edx, [ebp - 0x2a8]
lea ecx, [ebp - 0x278]
call fcn.0041154b
pop ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
push dword [ebp - 0x250]
cmovae ecx, dword [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.0040b220
mov byte [ebp - 0x2c4], bl
lea ecx, [ebp - 0x290]
push dword [ebp - 0x2c4]
mov dword [ebp - 0x280], ebx
push eax
mov dword [ebp - 0x27c], ebx
call fcn.0040b62f
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xa
call fcn.0040b67b
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push eax
push 0x2218
push str.CheckBrowserVer
push str.__s__d___CheckBrowserVer_param_s
call fcn.0040a649
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2c0]
push str.https:__dd.browser.360.cn_static_a_1497.874.gif__referer
push eax
call fcn.00440e2c
add esp, 0x1c
push 1
push ebx
mov dl, 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c0]
call fcn.004c4bab
pop ecx
pop ecx
lea ecx, [ebp - 0x2c0]
call fcn.0040b67b
lea ecx, [ebp - 0x290]
call fcn.0040b67b
lea ecx, [ebp - 0x248]
call fcn.0040b67b
lea ecx, [ebp - 0x230]
call fcn.0040b67b
mov ecx, dword [ebp - 0x2f4]
test ecx, ecx
je 0x4d7a06
mov eax, dword [ebp - 0x2ec]
sub eax, ecx
push 0xc
cdq
pop esi
idiv esi
imul eax, eax, 0xc
push eax
push ecx
call fcn.004047e6
pop ecx
pop ecx
mov dword [ebp - 0x2f4], ebx
mov dword [ebp - 0x2f0], ebx
mov dword [ebp - 0x2ec], ebx
mov ecx, dword [ebp - 0x310]
test ecx, ecx
je 0x4d7a27
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x4d7a27
mov ecx, dword [ebp - 0x310]
xor edx, edx
call fcn.004c0844
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x310], ebx
call fcn.00404220
lea ecx, [ebp - 0x260]
call fcn.0040b67b
lea ecx, [ebp - 0x2a8]
call fcn.0040b67b
call fcn.00591fc1
ret