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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x108], eax
cmp dword [ecx + 0xc0], 0
je 0x41f564
mov esi, ecx
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [ecx + 0xb4]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0xb0]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0xbc]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0xb8]
mov dword [esp + 0x5c], eax
lea edi, [ecx + 0x8c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x41f76a
mov eax, dword [esi + 0xa4]
lea ebx, [esp + 0x4c]
mov dword [ebx + 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
dec eax
lea edi, [esp + 0x40]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
push ebx
push dword [ebp + 8]
push edi
call dword [eax + 8]
inc dword [esi + 0xbc]
movzx ecx, word [esi + 0x5c]
lea eax, [esi + 0x50]
cmp byte [esi + 0x5b], 0
jns 0x41f33c
mov eax, dword [eax]
mov edx, dword [esi + 0xc0]
sub esp, 0x20
movdqa xmm0, xmmword [0x6756f0]
movdqu xmmword [esp + 0xc], xmm0
movzx ecx, cx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
je 0x41f56b
xor edx, edx
cmp dword [esi + 0x6c], 0
sete dl
shl edx, 0x17
lea ecx, [esi + 0x60]
cmp byte [esi + 0x6b], 0
jns 0x41f38e
mov ecx, dword [ecx]
xor ebx, ebx
push ebx
push edx
push ebx
push ebx
push str.HTTP_1.1
push ecx
push 0x675856
mov dword [esp + 0x28], eax
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esp + 8], eax
test eax, eax
je 0x41f676
movzx eax, byte [esp + 0x4b]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add edx, ecx
test al, al
lea eax, [esp + eax + 0x40]
cmovs eax, edx
cmovs edi, ecx
lea ecx, [esp + 0x34]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
push eax
push edi
call fcn.0041f7c6
lea eax, [esp + 0x28]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x84]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x42
push str..._.._opera_desktop_windows_common_avro_stats_stat_sender_impl.cc
call fcn.00499970
add esp, 8
cmp eax, 5
mov ebx, dword [ebp + 8]
jl 0x41f481
lea ecx, [esp + 0x60]
push 0xfffffffffffffffb
push 0xfd
push str..._.._opera_desktop_windows_common_avro_stats_stat_sender_impl.cc
call fcn.004999e0
lea eax, [esp + 0x68]
push 0x13
push str.Attempting_to_send
push eax
call fcn.0040280c
add esp, 0xc
mov esi, eax
mov eax, dword [ebx]
lea edi, [esp + 0x18]
mov ecx, ebx
push edi
call dword [eax + 8]
movzx eax, byte [edi + 0xb]
test al, al
jns 0x41f45a
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push eax
push edi
push esi
call fcn.0040280c
add esp, 0xc
cmp byte [esp + 0x23], 0
jns 0x41f478
push dword [esp + 0x18]
call fcn.006417be
add esp, 4
lea ecx, [esp + 0x60]
call fcn.00499dc0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
sub esi, edx
sar esi, 1
push ecx
push eax
push esi
push edx
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
test ecx, ecx
jle 0x41f4cb
shr ecx, 1
inc ecx
mov word [eax], 0x30
add eax, 2
dec ecx
cmp ecx, 1
jg 0x41f4b9
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
test eax, eax
je 0x41f4e6
push eax
call fcn.006417be
add esp, 4
test esi, esi
je 0x41f572
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x60]
movdqa xmmword [edx + 0x30], xmm0
movdqa xmmword [edx + 0x20], xmm0
movdqa xmmword [edx + 0x10], xmm0
movdqa xmmword [edx], xmm0
lea eax, [esp + 0x14]
mov dword [eax], 0x40
lea ecx, [esp + 0x10]
mov dword [ecx], 0
push ecx
push eax
push edx
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
xor ebx, ebx
test eax, eax
je 0x41f645
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
cmp edi, 0xffffffe0
jae 0x41f776
mov ebx, edi
shr ebx, 1
cmp edi, 0xa
jae 0x41f579
lea esi, [esp + 0x18]
mov byte [esi + 0xb], bl
mov ecx, esi
test ebx, ebx
jne 0x41f5a4
jmp 0x41f5ba
xor ebx, ebx
jmp 0x41f750
xor ebx, ebx
jmp 0x41f73d
xor ebx, ebx
jmp 0x41f645
lea esi, [ebx + 8]
and esi, 0x7ffffff8
lea eax, [esi + esi]
push eax
call fcn.0064173e
add esp, 4
mov ecx, eax
lea eax, [esp + 0x18]
mov dword [eax], ecx
or esi, 0x80000000
mov dword [eax + 8], esi
mov esi, eax
mov dword [eax + 4], ebx
and edi, 0xfffffffe
push edi
lea eax, [esp + 0x64]
push eax
push ecx
mov edi, ecx
call fcn.006452d0
mov ecx, edi
add esp, 0xc
mov word [ecx + ebx*2], 0
mov dword [esp + 4], esi
mov al, byte [esi + 0xb]
test al, al
mov ecx, dword [esp + 0x1c]
movzx edx, al
mov esi, edx
cmovs esi, ecx
cmp esi, 3
mov edi, dword [esp + 8]
jne 0x41f604
lea ecx, [esp + 0x18]
push 3
push 0x675874
push 0xffffffffffffffff
push 0
call fcn.0048f71a
test eax, eax
je 0x41f62d
mov eax, dword [esp + 4]
mov al, byte [eax + 0xb]
mov ecx, dword [esp + 0x1c]
movzx edx, al
test al, al
cmovs edx, ecx
cmp edx, 3
jne 0x41f629
lea ecx, [esp + 0x18]
push 3
push 0x67587c
push 0xffffffffffffffff
push 0
call fcn.0048f71a
test eax, eax
sete bl
jmp 0x41f62f
xor ebx, ebx
jmp 0x41f62f
mov bl, 1
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x41f645
push dword [esp + 0x18]
call fcn.006417be
add esp, 4
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41f661
mov dword [esp + 0x2c], eax
push eax
call fcn.006417be
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41f676
mov dword [esp + 0x38], eax
push eax
call fcn.006417be
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x42
push str..._.._opera_desktop_windows_common_avro_stats_stat_sender_impl.cc
call fcn.00499970
add esp, 8
cmp eax, 5
jl 0x41f738
lea ecx, [esp + 0x60]
push 0xfffffffffffffffb
push 0x11d
push str..._.._opera_desktop_windows_common_avro_stats_stat_sender_impl.cc
call fcn.004999e0
lea eax, [esp + 0x68]
push 8
push str.Message
push eax
call fcn.0040280c
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edi, [esp + 0x34]
push edi
call dword [eax + 8]
movzx eax, byte [edi + 0xb]
test al, al
jns 0x41f6e0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
push eax
push edi
push esi
call fcn.0040280c
add esp, 0xc
push 0x14
push str._processed__sending
push eax
call fcn.0040280c
add esp, 0xc
test bl, bl
mov ecx, str.failed
mov edx, str.succeeded
cmove edx, ecx
movzx ecx, bl
lea ecx, [ecx + ecx*2 + 6]
push ecx
push edx
push eax
call fcn.0040280c
add esp, 0xc
cmp byte [esp + 0x3f], 0
jns 0x41f72f
push dword [esp + 0x34]
call fcn.006417be
add esp, 4
lea ecx, [esp + 0x60]
call fcn.00499dc0
test bl, bl
setne bl
cmp byte [esp + 0x4b], 0
jns 0x41f750
push dword [esp + 0x40]
call fcn.006417be
add esp, 4
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.004b9690
jmp 0x41f2f7
lea ecx, [esp + 0x18]
call fcn.0048da34
int3