Function at 0x489280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5263e9
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x1d4c0
lea ecx, [ebp - 0x20]
call fcn.004457d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004457d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
jmp 0x4892f3
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xa
jge 0x489631
lea ecx, [ebp - 0x448]
push ecx
call fcn.00424e60
mov ecx, eax
call fcn.0044f1e0
mov dword [ebp - 0x474], eax
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x478], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x478]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.http:__wifi.360.cn_conf_connect.html_t_dpid_s
lea edx, [ebp - 0x20]
push edx
call fcn.00428670
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.004458f0
call fcn.00448df0
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.0045f160
mov ecx, eax
call fcn.0045f5b0
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x480], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x480]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x450]
push ecx
call fcn.0044a850
add esp, 4
mov dword [ebp - 0x484], eax
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x488], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x488]
mov ecx, dword [eax]
push ecx
push str.mid_sversion_sos_d
lea edx, [ebp - 0x20]
push edx
call fcn.00461880
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x450]
call fcn.004458f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call fcn.004458f0
mov ecx, dword [ebp - 0x470]
call fcn.004899b0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4895d7
mov ecx, dword [ebp - 0x470]
call fcn.00489b30
xor eax, eax
mov word [ebp - 0x444], ax
push 0x40e
push 0
lea ecx, [ebp - 0x442]
push ecx
call fcn.00500270
add esp, 0xc
push 0x208
lea edx, [ebp - 0x444]
push edx
mov ecx, dword [ebp - 0x470]
call fcn.00489f00
test eax, eax
je 0x48951e
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48951e
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x454]
push edx
call fcn.0045f160
mov ecx, eax
call fcn.0045f3e0
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x490], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x490]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
push eax
call fcn.00427f00
mov dword [ebp - 0x494], eax
lea ecx, [ebp - 0x45c]
push ecx
call fcn.004688e0
add esp, 8
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x49c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x49c]
mov ecx, dword [eax]
push ecx
push str.cname_scver_s
lea edx, [ebp - 0x20]
push edx
call fcn.00461880
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x45c]
call fcn.004458f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.004458f0
jmp 0x4895d7
push 0x410
push 0
lea eax, [ebp - 0x444]
push eax
call fcn.00500270
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.00489a20
lea edx, [ebp - 0x444]
push edx
call fcn.0050091c
add esp, 4
cmp eax, 1
jae 0x48956e
push str.cnameno_client
lea ecx, [ebp - 0x20]
call fcn.0042fdb0
jmp 0x4895d7
push ecx
mov ecx, esp
mov dword [ebp - 0x460], esp
lea eax, [ebp - 0x444]
push eax
call fcn.00427f00
mov dword [ebp - 0x4a0], eax
lea ecx, [ebp - 0x464]
push ecx
call fcn.004688e0
add esp, 8
mov dword [ebp - 0x4a4], eax
mov edx, dword [ebp - 0x4a4]
mov dword [ebp - 0x4a8], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4a8]
mov ecx, dword [eax]
push ecx
push str.cname_s
lea edx, [ebp - 0x20]
push edx
call fcn.00461880
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x464]
call fcn.004458f0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x1d4c0
lea ecx, [ebp - 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x468], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00418970
mov dword [ebp - 0x4ac], eax
call fcn.004613b0
add esp, 0x1c
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x489621
jmp 0x489631
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4892ea
cmp dword [ebp - 0x1c], 0
jne 0x489654
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004458f0
jmp 0x4896bc
lea ecx, [ebp - 0x24]
call fcn.0046ade0
push eax
call fcn.00504a58
add esp, 4
mov dword [ebp - 0x14], eax
push str.schoolhook
lea ecx, [ebp - 0x46c]
call fcn.00427f00
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x46c]
push edx
mov ecx, dword [ebp - 0x470]
call fcn.00489c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x46c]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004458f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret