Function at 0x486950
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a45b3
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0047c240
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0047c3b0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004811e0
mov byte [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x278], ax
push 0x206
push 0
lea eax, [ebp - 0x276]
push eax
call fcn.0048a4c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x278]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.libNetwork.dll
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x70]
call fcn.00481520
lea ecx, [ebp - 0x280]
call fcn.0047f9c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x280]
call fcn.0047fcc0
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 1
push 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x280]
call fcn.0047fc10
mov dword [ebp - 0x2b0], 0
push 0x2c
push 0
lea eax, [ebp - 0x2ac]
push eax
call fcn.0048a4c0
add esp, 0xc
mov dword [ebp - 0x288], 2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x2c]
call fcn.0047c890
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x44]
call fcn.0047c890
mov dword [ebp - 0x2a8], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x2d8], xmm0
push 0
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x280]
call fcn.0047fcf0
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
je 0x486b86
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
lea ecx, [ebp - 0x280]
call fcn.0047fb70
cmp dword [ebp - 0x2c4], 5
je 0x486b86
mov dword [ebp - 0x388], 1
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x384]
call fcn.00485500
push eax
call fcn.00485bc0
add esp, 4
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
lea ecx, [ebp - 0x280]
call fcn.0047fb70
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2e8], ecx
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2e0], ecx
push 0
lea eax, [ebp - 0x2ec]
push eax
push 2
mov ecx, dword [ebp - 0x14]
call fcn.00485fc0
jmp 0x486af3
lea ecx, [ebp - 0x280]
call fcn.0047fd90
lea ecx, [ebp - 0x280]
call fcn.00481800
lea ecx, [ebp - 0x70]
call fcn.00481780
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486bd0
cmp dword [ebp - 0x2c4], 5
jne 0x486bd0
cmp dword [ebp - 0x2c0], 0
jne 0x486bd0
mov dword [ebp - 0x390], 1
jmp 0x486bda
mov dword [ebp - 0x390], 0
mov ecx, dword [ebp - 0x390]
mov dword [ebp - 0x2f0], ecx
cmp dword [ebp - 0x2f0], 0
je 0x486c5e
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0xffffffff
je 0x486c5e
mov dword [ebp - 0x2f8], 0
lea eax, [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2f4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2fc], 0
jne 0x486c5e
mov dword [ebp - 0x2f0], 0
cmp dword [ebp - 0x2f0], 0
je 0x486c73
mov dword [ebp - 0x390], 0x4a5cec
jmp 0x486c7d
mov dword [ebp - 0x390], 0x4a5cf4
mov eax, dword [ebp - 0x390]
push eax
push 0x4a69bc
push 0
push str.CManualUpdateMgr::DownloadFilebyLibNetwork
push str.d:dtl_deppcguojibandrivertalent7_dt8coreuimanualupdatedtlmanualupdatedtlmanualupdatemanualupdatemgr.cpp
mov ecx, dword [0x4c9098]
add ecx, 0x3d
push ecx
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x1c
cmp dword [ebp - 0x2f0], 0
je 0x486cc2
mov dword [ebp - 0x390], 0
jmp 0x486ccc
mov dword [ebp - 0x390], 1
push 0
mov eax, dword [ebp - 0x390]
push eax
push 3
mov ecx, dword [ebp - 0x14]
call fcn.00485fc0
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x38c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x280]
call fcn.0047fa20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00481310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004799d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004799d0
mov eax, dword [ebp - 0x38c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret 8