Function at 0x572b28
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push 0x8c0
mov eax, 0x58d370
call fcn.00532017
mov edi, ecx
sub esp, 0x18
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x838], esp
push str.refererid
call fcn.004036e4
lea eax, [ebp - 0x8b4]
mov byte [ebp - 4], 1
push eax
xor ecx, ecx
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.005794b5
mov esi, eax
lea ecx, [ebp - 0x89c]
mov byte [ebp - 4], 2
call fcn.0057bc3a
push eax
mov edx, str.Version
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x884]
call fcn.004043cc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x86c]
mov edx, eax
mov dword [esp], 0x5c53fc
call fcn.0040406c
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x82c]
call fcn.004051f9
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x86c]
push ebx
inc esi
push esi
call fcn.00403a36
push ebx
push esi
lea ecx, [ebp - 0x884]
call fcn.00403a36
push ebx
push esi
lea ecx, [ebp - 0x89c]
call fcn.00403a36
push ebx
push esi
lea ecx, [ebp - 0x8b4]
mov byte [ebp - 4], 0xa
call fcn.00403a36
cmp dword [ebp + 0x18], ebx
je 0x572c3a
lea eax, [ebp + 8]
mov edx, 0x5c5420
push eax
lea ecx, [ebp - 0x854]
call fcn.00405183
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 0xb
call fcn.00404145
push ebx
push esi
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 0xa
call fcn.00403a36
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x854]
call fcn.00579833
push eax
lea ecx, [ebp - 0x82c]
call fcn.00402068
push ebx
push esi
lea ecx, [ebp - 0x854]
call fcn.00403a36
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0054b1f0
add esp, 0xc
lea eax, [ebp - 0x82c]
cmp dword [ebp - 0x818], 8
cmovae eax, dword [ebp - 0x82c]
push eax
push edi
push 0x8000
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x838], esp
push str.refererid
call fcn.004036e4
lea eax, [ebp - 0x8cc]
mov byte [ebp - 4], 0xc
push eax
xor ecx, ecx
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.005794b5
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x572cd2
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x838], esp
push 0x5c5424
call fcn.004036e4
lea eax, [ebp - 0x854]
mov byte [ebp - 4], 0xe
push eax
xor ecx, ecx
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.005794b5
cmp dword [eax + 0x14], 8
jb 0x572d0d
mov eax, dword [eax]
push eax
push str.6ae76ba4_7119_45c8_94ed_52f23abece69
push str.external__s_json_RaiseObjectEventLiteMethod_AppInstanceId_sRefererId_sEventType_dEventCode_dProperties_s
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0040535a
add esp, 0x24
lea ecx, [ebp - 0x854]
push ebx
push esi
call fcn.00403a36
push ebx
push esi
lea ecx, [ebp - 0x8cc]
mov byte [ebp - 4], 0xa
call fcn.00403a36
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_4.0__compatible__MSIE_7.0__Trident_5.0___IM_CustomChannel_
mov esi, ebx
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x814], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x838], eax
test eax, eax
jne 0x572d7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572e9b
push ebx
push 0x50
push str.data.bd_pl.com
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
mov dword [ebp - 0x834], ebx
test ebx, ebx
jne 0x572da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572e8d
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x810]
push eax
push 0x5c5370
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x572dd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572e86
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
je 0x572df3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572e7f
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x572de6
and dword [ebp - 0x830], esi
lea eax, [ebp - 0x830]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x572e69
mov eax, dword [ebp - 0x830]
inc eax
push eax
call fcn.00415936
mov ebx, eax
pop ecx
test ebx, ebx
je 0x572e73
mov ecx, dword [ebp - 0x830]
inc ecx
push ecx
push 0
push ebx
call fcn.0054b1f0
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x830]
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x572e69
push ebx
call fcn.0041593f
pop ecx
cmp dword [ebp - 0x830], esi
ja 0x572e00
jmp 0x572e79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x572e79
and dword [ebp - 0x830], esi
mov ebx, dword [ebp - 0x834]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x838]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor ebx, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x838], esp
push 0x5c52a4
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x834], esp
push 0x5c4ffe
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
push str.SendLogEvent
call fcn.004036e4
mov dl, bl
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.00572131
add esp, 0x48
lea ecx, [ebp - 0x82c]
push ebx
push 1
call fcn.00403a36
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00403a36
test esi, esi
sete al
call fcn.00531fc1
ret