Function at 0x4c1ef0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b6048
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov eax, dword [esp + 0x34]
xor edi, edi
mov dword [eax], 1
cmp esi, edi
jne 0x4c2002
push 0x6211f4
push 0xc8
call fcn.0058a96c
add esp, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x4c1f58
mov esi, eax
call fcn.005489c0
mov ebp, eax
jmp 0x4c1f5a
xor ebp, ebp
or ebx, 0xffffffff
mov dword [esp + 0x2c], ebx
cmp ebp, edi
je 0x4c1ffb
mov esi, str.NetSpeed
mov eax, ebp
call fcn.00545980
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 1
mov ecx, dword [0x622074]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4c1fb2
cmp eax, 1
jne 0x4c1fab
mov ecx, dword [ecx + 4]
jmp 0x4c1fad
mov ecx, dword [ecx]
cmp ecx, 0x64
ja 0x4c1fb9
mov edx, str.BrowserNavWnd_search_ico.png
jmp 0x4c1fc8
mov edx, str.BrowserNavWnd_search_ico_125.png
cmp ecx, 0x7d
jbe 0x4c1fc8
mov edx, str.BrowserNavWnd_search_ico_150.png
lea edi, [esp + 0x34]
call fcn.00406be0
mov edi, dword [esp + 0x34]
mov ecx, edi
mov esi, ebp
call fcn.00548ef0
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4c1ffb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x4c21a5
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [0x5d96ec]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x5d96f0]
mov dword [eax + 4], edx
mov edx, dword [0x5d96f4]
mov dword [eax + 8], edx
mov edx, dword [0x5d96f8]
mov dword [eax + 0xc], edx
mov eax, dword [ecx]
push esi
mov dword [esp + 0x2c], edi
call eax
mov dword [esp + 0x2c], 2
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4c21a3
mov dword [esp + 0x20], edi
cmp ebx, edi
je 0x4c2102
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00406c20
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c20f4
push 0x6211f4
push 0xc8
call fcn.0058a96c
add esp, 8
mov dword [esp + 0x34], eax
mov byte [esp + 0x2c], 4
cmp eax, edi
je 0x4c20a5
mov esi, eax
call fcn.005489c0
mov edi, eax
mov byte [esp + 0x2c], 3
test edi, edi
je 0x4c20cc
mov esi, str.NetSpeed
mov eax, edi
call fcn.00545980
mov dword [edi + 0x7c], 1
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00548fe0
lea ecx, [esp + 0x18]
call fcn.004066e0
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c20ed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x4c21a5
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.004066e0
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ebp, ebx
neg ebp
sbb ebp, ebp
and ebp, 0x20
add ebp, 0x10
push ebp
lea ecx, [esp + 0x20]
push ecx
push esi
mov dword [esp + 0x28], edi
call edx
mov edi, eax
test edi, edi
jne 0x4c2148
cmp ebp, 0x10
jne 0x4c21e8
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 0x30
lea ecx, [esp + 0x20]
push ecx
push esi
call edx
mov edi, eax
test edi, edi
je 0x4c21e8
mov eax, dword [esp + 0x34]
push 0x6211f4
push 0xc8
mov dword [eax], 0
call fcn.0058a96c
add esp, 8
mov dword [esp + 0x34], eax
mov byte [esp + 0x2c], 5
test eax, eax
je 0x4c217c
mov esi, eax
call fcn.005489c0
mov esi, eax
jmp 0x4c217e
xor esi, esi
mov byte [esp + 0x2c], 2
mov dword [esp + 0x20], esi
test esi, esi
jne 0x4c21bb
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c21a3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
cmp dword [esp + 0x1c], 0
jne 0x4c21d7
push ebp
push ebp
mov eax, edi
call fcn.0054a730
mov dword [esi + 0x7c], 1
jmp 0x4c2292
call fcn.0054a770
mov dword [esi + 0x7c], 1
jmp 0x4c2292
test ebx, ebx
jne 0x4c2292
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
test eax, eax
jne 0x4c2292
push 0x6211f4
push 0xc8
call fcn.0058a96c
add esp, 8
mov dword [esp + 0x34], eax
mov byte [esp + 0x2c], 6
test eax, eax
je 0x4c222e
mov esi, eax
call fcn.005489c0
mov ebp, eax
jmp 0x4c2230
xor ebp, ebp
mov byte [esp + 0x2c], 2
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x4c2292
mov esi, str.NetSpeed
mov eax, ebp
call fcn.00545980
lea ecx, [esp + 0x34]
call fcn.00406560
mov byte [esp + 0x2c], 7
call fcn.00422610
cmp eax, 0x64
ja 0x4c2268
mov edx, str.BrowserNavWnd_search_ico.png
jmp 0x4c2277
mov edx, str.BrowserNavWnd_search_ico_125.png
cmp eax, 0x7d
jbe 0x4c2277
mov edx, str.BrowserNavWnd_search_ico_150.png
lea edi, [esp + 0x34]
call fcn.00406be0
mov ecx, dword [esp + 0x34]
mov esi, ebp
call fcn.00548ef0
mov ecx, edi
call fcn.004066e0
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c22aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
jmp 0x4c21a5