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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dba2
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x440d84]
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 edi, ecx
mov dword [ebp - 0x170], edi
push str._OLREG__OLRSubmission__Check_EU_country_list_from_server
call fcn.00401440
add esp, 4
lea ecx, [ebp - 0x168]
push 0x432c58
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push 0
push 0
push 0
push 0
push 0x434b6c
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x17c], eax
test eax, eax
je 0x413482
push 0
push 0x80000000
push 0
push 0
push str.https:__privacy.cyberlink.com_prog_ap_eu_country.txt
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
mov dword [ebp - 0x180], ebx
test ebx, ebx
je 0x413476
push 0
push 0x433ac0
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.00401950
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x114], 0
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
jmp 0x413210
lea eax, [ebp - 0x16c]
push eax
push 0x103
lea eax, [ebp - 0x114]
push eax
push ebx
mov dword [ebp - 0x16c], 0
call esi
test eax, eax
je 0x413283
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x41328c
cmp eax, 0x104
jae 0x41338c
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x41325e
xor ecx, ecx
jmp 0x413270
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413267
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0041b580
cmp dword [ebp - 0x16c], 0
jne 0x413210
push 0
push 0x400
push 0
lea ecx, [ebp - 0x164]
call fcn.00411cf0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 2
call fcn.004108c0
cmp dword [eax + 0x30], 0
jne 0x4133d1
push str.CoutryList
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x164]
call fcn.00413e80
mov esi, dword [eax]
mov eax, dword [ebp - 0x164]
shl eax, 5
add eax, dword [ebp - 0x15c]
cmp esi, eax
je 0x413397
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x18]
shl eax, 4
add eax, edi
cmp edi, eax
je 0x41335d
mov ebx, 0x1000
mov eax, edi
test word [edi + 0xe], bx
jne 0x41332f
mov eax, dword [edi + 8]
push eax
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc110u.dll_Ordinal_1684]
push 0x4352f0
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc110u.dll_Ordinal_1683]
mov eax, dword [esi + 0x10]
shl eax, 4
add eax, dword [esi + 0x18]
add edi, 0x10
cmp edi, eax
jne 0x413324
mov eax, dword [ebp - 0x168]
cmp dword [eax - 0xc], 0
je 0x413391
push ecx
lea eax, [ebp - 0x168]
mov ecx, esp
push eax
call dword [sym.imp.mfc110u.dll_Ordinal_280]
mov edi, dword [ebp - 0x170]
lea ecx, [edi + 0xcc]
call fcn.00427d60
jmp 0x413397
call fcn.0042bbd4
mov edi, dword [ebp - 0x170]
push 0x4353e8
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x164]
call fcn.00413e80
mov ecx, dword [eax]
mov eax, dword [ebp - 0x164]
shl eax, 5
add eax, dword [ebp - 0x15c]
cmp ecx, eax
je 0x4133d1
push dword [ecx + 0x10]
lea ecx, [edi + 0xcc]
call fcn.00428340
mov edi, dword [ebp - 0x150]
mov ebx, dword [sym.imp.MSVCR110.dll_free]
test edi, edi
je 0x413422
cmp dword [edi], 0
je 0x4133ff
mov esi, dword [edi]
cmp esi, dword [edi + 8]
je 0x4133ff
push dword [edi]
mov esi, dword [esi + 8]
call ebx
add esp, 4
mov dword [edi], esi
test esi, esi
jne 0x4133e6
jmp 0x413411
mov eax, dword [edi]
test eax, eax
je 0x413411
cmp eax, dword [edi + 8]
jne 0x413411
mov dword [eax + 4], 0
push dword [edi + 0x10]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 8
push dword [ebp - 0x144]
call ebx
push dword [ebp - 0x148]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 8
cmp dword [ebp - 0x118], 0x10
jb 0x41344f
push dword [ebp - 0x12c]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [ebp - 0x180]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x17c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x168]
cmp dword [eax - 0xc], 0
jne 0x41349e
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
xor eax, eax
jmp 0x4134a9
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, 1
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.0042b9f8
mov esp, ebp
pop ebp
ret