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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f9ab
mov eax, dword fs:[0]
push eax
mov eax, 0x1b9c
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 - 0x1ba0], eax
lea eax, [ebp - 0x1ba0]
push eax
push 0x49
push 0
call esi
push 4
lea eax, [ebp - 0x1ba0]
push eax
push 0x4a
push 0
call esi
push 4
lea eax, [ebp - 0x1ba0]
push eax
push 0x67
push 0
call esi
xor esi, esi
push 0x210
lea eax, [ebp - 0x1b90]
push esi
push eax
mov dword [ebp - 0x1b94], esi
mov dword [ebp - 0x1b9c], esi
call fcn.004866f0
add esp, 0xc
jmp 0x41f9d0
mov eax, dword [ebx + 0xd58c]
push 0xffffffffffffffff
push dword [eax + 0x10]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0xd58c]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xd58c]
cmp byte [eax + 0xd], 0
je 0x41fa24
test esi, esi
je 0x41fa0d
mov edi, 1
jmp 0x41fa94
cmp dword [ebx + 0xd7ac], edi
jne 0x41fa24
cmp dword [ebx + 0xd9bc], edi
jne 0x41fa24
mov edi, 1
jmp 0x41fa94
cmp byte [ebx + 0xd533], 0
je 0x41fa47
cmp dword [ebx + 0xd7ac], edi
jne 0x41fa47
mov dword [ebp - 0x1b9c], 1
lea esi, [ebx + 0xd7b4]
jmp 0x41fa53
mov dword [ebp - 0x1b9c], edi
lea esi, [ebx + 0xd5a4]
push 0x103
push esi
lea eax, [ebp - 0x1b90]
push 0x104
push eax
call fcn.00486548
add esp, 0x10
xor eax, eax
mov word [ebp - 0x198a], ax
mov eax, dword [esi + 0x208]
mov dword [ebp - 0x1988], eax
mov al, byte [esi + 0x20c]
mov esi, dword [ebp - 0x1b94]
mov byte [ebp - 0x1984], al
cmp dword [ebx + 0xd7ac], 0
jne 0x41fab5
cmp dword [ebx + 0xd9bc], 0
jne 0x41fab5
mov eax, dword [ebx + 0xd58c]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebx + 0xd58c]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x41fdc5
mov edx, dword [ebp - 0x1988]
test edx, edx
je 0x41f9d0
lea ecx, [ebp - 0x1b90]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fae4
sub ecx, esi
sar ecx, 1
lea eax, [ebp - 0x1b90]
jne 0x41fb01
lea eax, [ebx + 0x49c2]
cmp byte [ebp - 0x1984], 0
mov dword [ebp - 0x1b98], eax
je 0x41fb1f
mov esi, dword [str.Complete]
mov edi, dword [edx*4 + 0x4c86fc]
jmp 0x41fb2b
mov esi, dword [edx*4 + 0x4c86fc]
mov edi, 0x4a1b98
xor eax, eax
push 0x1044
push eax
mov word [ebp - 0x187c], ax
lea eax, [ebp - 0x187a]
push eax
mov dword [ebp - 0x1ba4], edi
mov dword [ebp - 0x1b94], esi
call fcn.004866f0
push edi
push esi
push dword [ebp - 0x1b98]
lea eax, [ebp - 0x187c]
push str.https:__downloader.cyberlink.com_prog_util_downloader_update_status.jsp_TokenID_sstatus_sdetail_status_s
push 0x822
push eax
call fcn.004146d0
add esp, 0x24
cmp dword [ebp - 0x1988], 8
jne 0x41fb9d
lea eax, [ebx + 0x4fda]
push eax
lea eax, [ebp - 0x187c]
push eax
push str._sCancelReason_s
push 0x822
push eax
call fcn.004146d0
add esp, 0x14
mov ecx, dword [ebx + 0xd58c]
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 + 0xd58c]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xd58c]
cmp dword [eax + 4], 0
jne 0x41fbe9
push dword [eax + 0x10]
mov esi, 1
mov dword [ebp - 0x1b94], esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x41f9d0
lea eax, [ebp - 0x187c]
push eax
push str._UpdateStatus___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 + 0xd58c]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ecx, dword [ebx + 0xd58c]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xd58c]
cmp dword [eax + 8], 0
jne 0x41fc66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._SendLog_UpdateStatus__InternetOpenUrlW_Error__d
call fcn.00413860
mov eax, dword [ebx + 0xd58c]
add esp, 8
push dword [eax + 0x10]
mov esi, 1
mov dword [ebp - 0x1b94], esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x41f9d0
lea ecx, [ebp - 0x1ba8]
push ecx
push 0x822
lea ecx, [ebp - 0x834]
push ecx
mov dword [ebp - 0x1ba8], 0
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41fd2d
mov eax, dword [ebp - 0x1ba8]
test eax, eax
je 0x41fd2d
cmp eax, 0x823
jae 0x41fdc0
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._SendLog_UpdateStatus__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 0x41fd21
push eax
call fcn.004871da
add esp, 4
mov edi, dword [ebp - 0x1ba4]
mov esi, dword [ebp - 0x1b94]
mov eax, dword [ebx + 0xd58c]
add eax, 0x14
push eax
mov dword [ebp - 0x1b94], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x1b9c], 0
lea ecx, [ebx + 0xd7b4]
jne 0x41fd5c
lea ecx, [ebx + 0xd5a4]
mov eax, dword [ebp - 0x1988]
cmp eax, dword [ecx + 0x208]
jne 0x41fd82
mov al, byte [ebp - 0x1984]
cmp al, byte [ecx + 0x20c]
jne 0x41fd82
mov dword [ecx + 0x208], 0
mov eax, dword [ebx + 0xd58c]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x1b98]
movzx eax, byte [ebp - 0x1984]
push edi
push esi
push eax
push dword [ebp - 0x1988]
push str._SendLog_UpdateStatus__Success:___d:_d_______s_:__s____s_
call fcn.00413860
mov esi, dword [ebp - 0x1b94]
add esp, 0x18
jmp 0x41f9d0
call fcn.0048697a
mov ecx, dword [ebx + 0xd58c]
call fcn.00411290
mov eax, dword [ebx + 0xd58c]
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