Function at 0x410170
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5acd88]
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, dword [ebp + 8]
push str.liveupdate.cyberlink.com
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x264], 0
call fcn.00524c94
mov esi, edi
add esp, 0xc
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4101d0
sub esi, ecx
sar esi, 1
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414c84
push edi
mov ebx, eax
push esi
push ebx
mov dword [ebp - 0x268], ebx
call fcn.00524c94
push ebx
push str.SendImpressionInfo
push str.__S__HTTPS_szImpression:__s
call fcn.0040bef0
xor eax, eax
add esp, 0x1c
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
cmp word [ebx], ax
jne 0x410244
xor ecx, ecx
jmp 0x41025f
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410250
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.0040a630
push 7
push 0
push str.http:__
lea ecx, [ebp - 0x230]
call fcn.0040a990
lea ecx, [ebp - 0x230]
test eax, eax
jne 0x410290
push 0xffffffffffffffff
push 7
jmp 0x4102ac
push 8
push 0
push str.https:__
call fcn.0040a990
test eax, eax
jne 0x410317
push 0xffffffffffffffff
push 8
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x248]
push eax
call fcn.0040ac00
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x410300
cmp dword [ebp - 0x21c], 8
jb 0x4102db
push dword [ebp - 0x230]
call fcn.00414c8d
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
call fcn.00409a40
cmp dword [ebp - 0x234], 8
jb 0x410317
push dword [ebp - 0x248]
call fcn.00414c8d
add esp, 4
push 1
push 0
push 0x558988
lea ecx, [ebp - 0x230]
call fcn.0040a990
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040ac00
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x41038d
cmp dword [ebp - 0x21c], 8
jb 0x410364
push dword [ebp - 0x230]
call fcn.00414c8d
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00409a40
cmp dword [ebp - 0x234], 8
jb 0x4103a4
push dword [ebp - 0x248]
call fcn.00414c8d
add esp, 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.SendImpressionInfo
push 0x55898c
call fcn.0040bef0
add esp, 0xc
cmp dword [ebp - 0x220], 0
jbe 0x41068d
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.0040a4c0
push 0
push 0
push 0
push 0
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x41064f
push 1
push 0
push 3
push 0
push 0
push 0x1bb
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
lea eax, [ebp - 0x218]
push eax
push str.SendImpressionInfo
push str.__S__after_InternetConnect:__s
mov dword [ebp - 0x26c], ebx
call fcn.0040bef0
add esp, 0xc
test ebx, ebx
je 0x410620
cmp dword [ebp - 0x24c], 8
push 0
push 0x800800
push 0
push 0
push 0
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push 0x557588
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov dword [ebp - 0x270], esi
test esi, esi
je 0x4105df
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x260]
push eax
call fcn.0040a4c0
lea eax, [ebp - 0x248]
push eax
call fcn.0040c0d0
add esp, 0x1c
mov ecx, str.Content_Type:_application_x_www_form_urlencoded
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4104f7
push dword [ebp - 0x238]
sub ecx, edx
sar ecx, 1
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push ecx
push str.Content_Type:_application_x_www_form_urlencoded
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x410587
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.SendImpressionInfo
push str.__s__HttpSendRequestW_successflly:__s
call fcn.0040be80
add esp, 0xc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x264], 1
call fcn.00401e90
push esi
call ebx
push dword [ebp - 0x26c]
call ebx
push edi
call ebx
mov ebx, dword [ebp - 0x268]
jmp 0x410674
cmp dword [ebp - 0x234], 0x10
lea esi, [ebp - 0x248]
cmovae esi, dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SendImpressionInfo
push str.__s__HttpSendRequestW_failed:__s__errCode___d
call fcn.0040be80
mov esi, dword [ebp - 0x270]
add esp, 0x10
lea ecx, [ebp - 0x248]
call fcn.00401e90
push esi
call ebx
push dword [ebp - 0x26c]
call ebx
push edi
call ebx
mov ebx, dword [ebp - 0x268]
jmp 0x410674
cmp dword [ebp - 0x24c], 8
lea esi, [ebp - 0x260]
cmovae esi, dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SendImpressionInfo
push str.__S__HttpOpenRequestW_failed:__s__errCode___d
call fcn.0040bef0
add esp, 0x10
push dword [ebp - 0x26c]
call ebx
push edi
call ebx
mov ebx, dword [ebp - 0x268]
jmp 0x410674
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
push str.SendImpressionInfo
push str.__S__InternetConnectW_failed:__s__errCode___d
call fcn.0040bef0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x268]
jmp 0x410674
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
push str.SendImpressionInfo
push str.Microsoft_Internet_Explorer
push str.__S__InternetOpenW_failed:__s__errCode___d
call fcn.0040bef0
add esp, 0x14
cmp dword [ebp - 0x24c], 8
jb 0x4106a0
push dword [ebp - 0x260]
call fcn.00414c8d
add esp, 4
jmp 0x4106a0
push edi
push str.SendImpressionInfo
push str.__S__Unexpected_impression_format:__s
call fcn.0040bef0
add esp, 0xc
push ebx
call fcn.00414c8d
add esp, 4
cmp dword [ebp - 0x21c], 8
jb 0x4106c0
push dword [ebp - 0x230]
call fcn.00414c8d
add esp, 4
mov eax, dword [ebp - 0x264]
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.00525af7
mov esp, ebp
pop ebp
ret