Function at 0x41f640
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f96b
mov eax, dword fs:[0]
push eax
mov eax, 0x197c
call fcn.00488190
mov eax, dword [0x4c9890]
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 ebx, ecx
mov eax, dword [0x4c8068]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
add eax, 4
push 4
mov dword [ebp - 0x1984], eax
lea eax, [ebp - 0x1984]
push eax
push 0x49
push 0
call esi
push 4
lea eax, [ebp - 0x1984]
push eax
push 0x4a
push 0
call esi
push 4
lea eax, [ebp - 0x1984]
push eax
push 0x67
push 0
call esi
mov al, byte [ebp + 8]
test al, al
je 0x41f730
mov eax, dword [ebx + 0xd584]
push 0xffffffffffffffff
push dword [eax + 0x10]
xor edi, edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0xd584]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xd5a0], esi
jle 0x41f6f4
mov dword [ebx + 0xd5a0], esi
lea esi, [edi + 1]
jmp 0x41f710
mov eax, dword [ebx + 0xd584]
cmp byte [eax + 0xd], 0
je 0x41f707
mov edi, 1
jmp 0x41f710
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebx + 0xd584]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x41f836
test esi, esi
je 0x41f82b
cmp dword [ebx + 0xd54c], 0
jge 0x41f73d
xor edx, edx
jmp 0x41f75b
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, dword [ebx + 0xd548]
sub edx, dword [ebx + 0xd54c]
mov eax, dword [ebx + 0x698]
push edx
push dword [eax + 0x39c]
push dword [eax + 0x398]
push dword [eax + 0x38c]
push dword [eax + 0x388]
lea eax, [ebx + 0x49c2]
push eax
push str.https:__downloader.cyberlink.com_prog_util_downloader_update_size_v2.jsp_TokenID_sfileSize_I64dcurrentDownloadSize_I64dDuration_d
lea eax, [ebp - 0x187c]
push 0x822
push eax
call fcn.004146d0
mov ecx, dword [ebx + 0xd584]
add esp, 0x24
call fcn.00411290
push 0
push 0
push 0
push 0
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebx + 0xd584]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xd584]
cmp dword [eax + 4], 0
je 0x41f82b
lea eax, [ebp - 0x187c]
push eax
push str._UpdateSize2___s
call fcn.00413860
add esp, 8
lea eax, [ebp - 0x187c]
push 0
push SysReAllocString
push 0
push 0
push eax
mov eax, dword [ebx + 0xd584]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ecx, dword [ebx + 0xd584]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xd584]
cmp dword [eax + 8], 0
jne 0x41f86b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._SendLog_UpdateSize_v2__InternetOpenUrlW_Error__d
call fcn.00413860
add esp, 8
mov al, byte [ebp + 8]
test al, al
jne 0x41f6bc
mov ecx, dword [ebx + 0xd584]
call fcn.00411290
mov eax, dword [ebx + 0xd584]
mov byte [eax + 0xc], 1
xor eax, eax
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.00487c50
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1988]
push ecx
push 0x822
lea ecx, [ebp - 0x834]
push ecx
mov dword [ebp - 0x1988], 0
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41f82b
mov eax, dword [ebp - 0x1988]
test eax, eax
je 0x41f82b
cmp eax, 0x823
jae 0x41f923
mov byte [ebp + eax - 0x834], 0
lea eax, [ebp - 0x197c]
mov dword [ebp - 0x1980], eax
push 3
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x1980]
call fcn.00402a30
sub esp, 0x104
mov edi, esp
mov ecx, 0x41
lea esi, [ebp - 0x1980]
push str._UpdateSize2__szResponse___s
mov dword [ebp - 4], 0
rep movsd dword es:[edi], dword [esi]
call fcn.00413860
mov eax, dword [ebp - 0x1980]
lea ecx, [ebp - 0x197c]
add esp, 0x108
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x41f82b
push eax
call fcn.004871da
add esp, 4
jmp 0x41f82b
call fcn.0048697a
int3