Function at 0x468f30
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read and send data from client to server
Read file on windows
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c913d
mov eax, dword fs:[0]
push eax
mov eax, 0x10b8
call fcn.00494470
mov eax, dword [0x5142b0]
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 eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x10a8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1080], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x10b4], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x10b0], edx
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x1090], eax
xor eax, eax
mov dword [ebp - 0x105c], esi
mov dword [ebp - 0x10a0], ecx
mov dword [ebp - 0x10a4], edx
mov dword [ebp - 0x104c], eax
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x10ac], eax
mov dword [ebp - 0x1098], eax
mov dword [ebp - 0x109c], eax
mov dword [ebp - 0x1094], 0x100
mov byte [ebp - 0x104d], al
mov dword [ebp - 0x1084], eax
mov dword [ebp - 0x1088], eax
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], eax
mov byte [ebp - 0x102c], al
push str._Inside_InternetSendRequestByBitRate_Method___n
mov dword [ebp - 4], eax
mov dword [ebp - 0x1078], eax
call fcn.00423960
mov ecx, dword [ebp + 0x14]
push ecx
push esi
push str.InternetSendRequestByBitRate_:_DesktopCentral_Server__Port_____S_:__d__n
call fcn.00423db0
mov edx, dword [ebp - 0x1080]
add esp, 0x10
push edx
lea ecx, [ebp - 0x1070]
call fcn.00401e50
mov eax, dword [ebp - 0x1070]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x107c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 1
call fcn.00404fb0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x107c]
add esp, 4
push eax
call fcn.00466100
add esp, 8
push eax
lea ecx, [ebp - 0x1070]
mov byte [ebp - 4], 2
call fcn.00404900
mov eax, dword [ebp - 0x107c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4690a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1070]
cmp dword [eax - 4], 1
jle 0x4690c3
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x1070]
call fcn.00402490
mov eax, dword [ebp - 0x1070]
push eax
push str.InternetSendRequestByBitRate_:_URL_to_Post_____S__n
call fcn.00423960
mov eax, dword [ebp - 0x10a0]
xor esi, esi
add esp, 8
cmp eax, esi
jne 0x4690e7
mov esi, 0xd
jmp 0x469d9b
lea edx, [ebp - 0x10bc]
push edx
push eax
mov dword [ebp - 0x10bc], esi
mov dword [ebp - 0x10b8], esi
call fcn.0045d890
mov eax, dword [ebp - 0x10bc]
add esp, 8
mov dword [ebp - 0x108c], eax
cmp eax, esi
jg 0x46912b
push eax
push str.InternetSendRequestByBitRate:_File_Size_is_zero:__d_n
call fcn.00423ad0
add esp, 8
mov esi, 0xd
jmp 0x469d9b
cmp byte [ebp + 8], 0
je 0x469159
push edi
push str.InternetSendRequestByBitRate_:_Proxy_Server_Name_:__S__n
call fcn.00423db0
add esp, 8
push esi
push ebx
push edi
push 3
push str.DesktopCentralAgent
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x1074], ebx
jmp 0x469171
push esi
push esi
push esi
push 1
push str.DesktopCentralAgent
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x1074], eax
mov ebx, eax
cmp ebx, esi
jne 0x46918e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpOpen______d__n
call fcn.00423ad0
push esi
jmp 0x469d93
mov edi, dword [ebp - 0x10a8]
push str.https
push edi
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x4691b5
lea eax, [ebp - 0x1074]
push eax
call fcn.00464d60
add esp, 4
push str.https
push edi
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x4691d1
mov dword [ebp - 0x1094], 0x800100
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x105c]
push esi
push ecx
push edx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x107c], eax
cmp eax, esi
jne 0x46921c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpConnect______d__n
call fcn.00423ad0
push esi
call fcn.00464180
mov eax, dword [ebp - 0x1074]
add esp, 0xc
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x469d9b
mov ecx, dword [ebp - 0x1094]
mov edx, dword [ebp - 0x1080]
push ecx
push esi
push esi
push esi
push edx
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x104c], eax
cmp eax, esi
je 0x469aea
xor esi, esi
push esi
push 0x10000
push 0x465480
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov eax, dword [ebp - 0x104c]
push 0x20000000
push 0xffffffffffffffff
push str.Connection:_Keep_Alive
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
setne al
test al, al
jne 0x46929b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpAddRequestHeaders______d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
xor esi, esi
mov edx, dword [str.SoftwareAdventNetDesktopCentralDCAgent]
lea ecx, [ebp - 0x1084]
push ecx
push str.Authtoken
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00478e50
add esp, 0x10
test eax, eax
jne 0x469381
mov eax, dword [ebp - 0x1084]
push 0x4fb68d
push eax
call fcn.00493c91
add esp, 8
test eax, eax
je 0x469381
mov edx, dword [str.SoftwareAdventNetDesktopCentralDCAgent]
lea ecx, [ebp - 0x1088]
push ecx
push str.DynamicKey
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00478e50
mov eax, dword [ebp - 0x1088]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1054], esp
push eax
call fcn.0040f240
mov edx, dword [ebp - 0x1084]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1058], esp
push edx
mov byte [ebp - 4], 3
call fcn.0040f240
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1069]
mov byte [ebp - 4], 1
call fcn.0047ed60
push eax
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 4
call fcn.0040f820
cmp dword [ebp - 0x1034], 0x10
mov byte [ebp - 4], 1
jb 0x469370
mov ecx, dword [ebp - 0x1048]
push ecx
call fcn.0048ed56
add esp, 4
push 0x4d01f4
lea edx, [ebp - 0x1078]
push edx
jmp 0x4694a1
mov eax, dword [ebp - 0x1080]
push 0x4d8510
push eax
call fcn.00495a60
add esp, 8
test eax, eax
je 0x4694a9
mov edx, dword [str.SoftwareAdventNetDesktopCentralDCAgent]
lea ecx, [ebp - 0x1058]
push ecx
push str.ProvKey
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1058], esi
mov dword [ebp - 0x1054], esi
call fcn.00478e50
mov ecx, dword [str.SoftwareAdventNetDesktopCentralDCAgent]
lea eax, [ebp - 0x1054]
push eax
push str.RemoteOfficeAuthKey
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00478e50
mov eax, dword [ebp - 0x1054]
add esp, 0x20
cmp eax, esi
je 0x469463
cmp dword [ebp - 0x1058], esi
je 0x469482
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10c0], esp
push eax
call fcn.0040f240
mov edx, dword [ebp - 0x1058]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10c4], esp
push edx
mov byte [ebp - 4], 5
call fcn.0040f240
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1069]
mov byte [ebp - 4], 1
call fcn.0047ed60
push eax
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 6
call fcn.0040f820
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 1
call fcn.0040f2c0
mov eax, dword [ebp - 0x1054]
mov ecx, dword [ebp - 0x1058]
cmp ecx, esi
je 0x469482
push ecx
call fcn.0048efd8
mov eax, dword [ebp - 0x1054]
add esp, 4
mov dword [ebp - 0x1058], esi
cmp eax, esi
je 0x469495
push eax
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x1054], esi
push 0x4d01f4
lea ecx, [ebp - 0x1078]
push ecx
call fcn.0042bfe0
add esp, 8
cmp dword [ebp - 0x101c], esi
je 0x4695ab
mov eax, dword [ebp - 0x1078]
cmp eax, esi
je 0x4695ab
mov ecx, 0x4fb68d
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4694e8
test dl, dl
je 0x4694e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4694e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4694c8
xor eax, eax
jmp 0x4694ed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x4695ab
cmp dword [ebp - 0x1018], 0x10
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1054], esi
mov dword [ebp - 0x1058], esi
jae 0x469516
lea eax, [ebp - 0x102c]
lea edx, [ebp - 0x1058]
push edx
push eax
call fcn.00462950
mov ecx, dword [ebp - 0x1078]
lea eax, [ebp - 0x1054]
push eax
push ecx
call fcn.00462950
mov edx, dword [ebp - 0x1058]
mov eax, dword [ebp - 0x1054]
mov ecx, dword [ebp - 0x104c]
add esp, 0x10
push esi
push edx
push eax
push 1
push esi
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
setne al
test al, al
jne 0x46957f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpSetCredentials______d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
xor esi, esi
mov eax, dword [ebp - 0x1054]
cmp eax, esi
je 0x469598
push eax
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x1054], esi
mov eax, dword [ebp - 0x1058]
cmp eax, esi
je 0x4695ab
push eax
call fcn.0048efd8
add esp, 4
mov eax, dword [ebp - 0x1084]
cmp eax, esi
je 0x4695c4
push eax
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x1084], esi
mov eax, dword [ebp - 0x1088]
cmp eax, esi
je 0x4695dd
push eax
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x1088], esi
mov eax, dword [ebp - 0x1078]
cmp eax, esi
je 0x4695f6
push eax
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x1078], esi
mov edx, dword [ebp - 0x10a8]
push str.https
push edx
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x4696e4
mov edx, dword [ebp - 0x104c]
lea eax, [ebp - 0x1054]
push eax
lea ecx, [ebp - 0x1068]
push ecx
push 0x1f
push edx
mov dword [ebp - 0x1054], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
cmp dword [0x515dbc], esi
je 0x469656
push str.Get_request_to_reporting_server_n
call fcn.00423db0
mov eax, dword [ebp - 0x1068]
push 1
push eax
jmp 0x469668
push str.Get_request_not_to_reporting_server_n
call fcn.00423db0
mov ecx, dword [ebp - 0x1068]
push esi
push ecx
call fcn.00465210
add esp, 0xc
push 4
lea edx, [ebp - 0x1068]
push edx
mov dword [ebp - 0x1068], eax
mov eax, dword [ebp - 0x104c]
push 0x1f
push eax
mov dword [0x515dbc], esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x469b23
push str.InternetSendRequestByBitRate_:__The_request_is_updated_with_the_internet_option_security_flags.__n
call fcn.00423960
lea ecx, [ebp - 0x104c]
push ecx
call fcn.0047e6f0
add esp, 8
test eax, eax
je 0x4696c8
push str.InternetSendRequestByBitRate:_Client_Certificate_set_successfullly__n
call fcn.00423db0
add esp, 4
jmp 0x4696e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpSetOption_for_client_certificate______d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
cmp byte [ebp + 8], 0
je 0x4697a7
mov esi, dword [ebp - 0x10b4]
test esi, esi
je 0x4697a7
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469701
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x4697a7
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469720
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
sub eax, edx
mov edx, dword [ebp - 0x104c]
sar eax, 1
push eax
push esi
push 0x1002
push edx
call edi
test eax, eax
je 0x469b23
mov esi, dword [ebp - 0x10b0]
test esi, esi
je 0x4697a7
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469760
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x4697a7
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469780
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x104c]
push esi
push 0x1003
push eax
call edi
test eax, eax
je 0x469b23
mov dword [ebp - 0x1054], 0
cmp dword [ebp - 0x1054], 5
jge 0x469b41
mov ecx, dword [ebp - 0x10a0]
push 0x4d731c
push ecx
call fcn.0049353c
mov esi, dword [ebp - 0x1090]
mov edi, eax
push esi
push 1
mov dword [ebp - 0x1058], edi
call fcn.00491e51
add esp, 0x10
mov ebx, eax
test edi, edi
je 0x4699b5
cmp dword [ebp - 0x104c], 0
je 0x4699b5
mov edi, dword [ebp - 0x108c]
push edi
push str.Content_type:_multipart_form_data__filesize__d_
push 0xffffffffffffffff
lea edx, [ebp - 0x1010]
push 0x800
push edx
call fcn.00492403
lea eax, [ebp - 0x1010]
push eax
push str.InternetSendRequestByBitRate:_Header_buffer:__s
call fcn.00423db0
mov edx, dword [ebp - 0x104c]
add esp, 0x1c
push 0
push edi
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x1010]
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne al
mov byte [ebp - 0x1061], al
test al, al
jne 0x46992b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2eef
je 0x46987a
cmp esi, 0x2ef1
jne 0x46989b
mov eax, dword [ebp - 0x105c]
push eax
push str.InternetSendRequestByBitRate_:_Going_to_close_the_request_handle_and_going_to_resending_the_data_to_the_server__S__n
call fcn.00423db0
add esp, 8
cmp byte [ebp - 0x104d], 0
je 0x469a99
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpSendRequest_____d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
cmp esi, 0x2f8f
je 0x4698bf
cmp esi, 0x2efe
jne 0x46991b
mov ecx, dword [0x515e78]
cmp dword [ecx], 0
jne 0x46991b
mov eax, dword [0x515c50]
test eax, eax
je 0x46991b
push str.REFRESH
push eax
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x46991b
push str.InternetSendReqByBitrate_:_Enabling_Certificate_ignore_flags__n
call fcn.00423960
mov edx, dword [ebp - 0x1068]
push 0
push edx
push 0
mov eax, edi
push eax
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x104c]
push edx
call fcn.004647e0
add esp, 0x28
mov esi, eax
test esi, esi
jne 0x469d1a
mov esi, dword [ebp - 0x1090]
jmp 0x469950
cmp dword [0x515e18], 0
je 0x469950
mov eax, dword [str.SoftwareAdventNetDesktopCentralDCAgent]
push 4
push 0
push str.CertMETrackingAdded
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00478900
add esp, 0x14
mov eax, edi
cmp edi, esi
jb 0x469958
mov eax, esi
cmp byte [ebp - 0x1061], 0
je 0x4699a6
test eax, eax
je 0x4699a6
mov ecx, dword [ebp - 0x1058]
push ecx
push eax
push 1
push ebx
call fcn.00495599
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4699a6
mov edx, dword [ebp - 0x104c]
push 0
push esi
push ebx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
mov eax, dword [ebp - 0x1090]
setne cl
sub edi, esi
cmp edi, eax
jae 0x4699a2
mov eax, edi
test cl, cl
jne 0x469961
mov eax, dword [ebp - 0x1058]
push eax
call fcn.00493731
add esp, 4
mov ecx, dword [ebp - 0x104c]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x469b41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x469a06
mov edx, dword [ebp - 0x105c]
push edx
push str.InternetSendRequestByBitRate_:_Resending_the_data_to_the_server__S__n
call fcn.00423db0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x1054]
jmp 0x4697b1
cmp esi, 0x2eef
je 0x469a70
cmp esi, 0x2f78
je 0x469a70
push esi
push str.InternetSendRequestByBitRate_:__Error___WinHttpReceiveResponse______d__n
call fcn.00423db0
push esi
call fcn.00464180
add esp, 0xc
cmp esi, 0x2f8f
jne 0x469d1a
cmp dword [0x515e18], 0
je 0x469d1a
mov eax, dword [ebp - 0x1068]
push 0
push eax
lea ecx, [ebp - 0x104c]
push ecx
call fcn.00464ae0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x469d1a
inc dword [ebp - 0x1054]
jmp 0x4697b1
mov edx, dword [ebp - 0x105c]
push esi
push edx
push str.InternetSendRequestByBitRate_:_Going_to_close_the_request_handle_and_going_to_resending_the_data_to_the_server__S_as_the_error_code_received_is__d__n
call fcn.00423db0
add esp, 0xc
cmp byte [ebp - 0x104d], 0
je 0x469aa2
inc dword [ebp - 0x1054]
jmp 0x4697b1
mov eax, dword [ebp - 0x104c]
push eax
jmp 0x469aa9
mov ecx, dword [ebp - 0x104c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 0x1094]
mov eax, dword [ebp - 0x1080]
mov ecx, dword [ebp - 0x107c]
push edx
push 0
push 0
push 0
push eax
push str.POST
push ecx
mov byte [ebp - 0x104d], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x104c], eax
test eax, eax
jne 0x469247
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpOpenRequest______d__n
call fcn.00423ad0
push esi
call fcn.00464180
mov edx, dword [ebp - 0x107c]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 0xc
push edx
call edi
mov eax, dword [ebp - 0x1074]
push eax
call edi
jmp 0x469d9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpSetOption______d__n
call fcn.00423ad0
push esi
call fcn.00464180
jmp 0x469d17
mov edx, dword [ebp - 0x104c]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push 0
lea ecx, [ebp - 0x1060]
push ecx
push 0
push 0
push 0x16
mov ebx, 4
push edx
mov dword [ebp - 0x1060], ebx
call edi
mov eax, dword [ebp - 0x1060]
lea ecx, [eax*4 + 8]
push ecx
push 1
call fcn.00491e51
add esp, 8
push 0
mov esi, eax
mov eax, dword [ebp - 0x104c]
lea edx, [ebp - 0x1060]
push edx
push esi
push 0
push 0x16
push eax
mov dword [ebp - 0x109c], esi
call edi
test eax, eax
jne 0x469bc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpQueryHeaders______d__n
call fcn.00423ad0
push esi
call fcn.00464180
jmp 0x469d17
push esi
push str.InternetSendRequestByBitRate_:__Header_Informations_:__n__S__n
call fcn.00423960
mov eax, dword [ebp - 0x104c]
add esp, 8
push 0
lea ecx, [ebp - 0x1060]
push ecx
lea edx, [ebp - 0x1098]
push edx
push 0
push 0x20000013
push eax
mov dword [ebp - 0x1060], ebx
call edi
test eax, eax
setne al
test al, al
jne 0x469c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:_WinHttpQueryHeaders_failed_with_the_error_code_while_getting_http_status_code__d__n
call fcn.00423ad0
add esp, 8
jmp 0x469d1a
mov esi, dword [ebp - 0x1098]
cmp esi, 0x197
jne 0x469c42
push esi
push str.InternetSendRequestByBitRate_:_Proxy_Credentials_are_failed_to_authenticate__d__n
call fcn.00423ad0
mov esi, dword [ebp - 0x1098]
add esp, 8
jmp 0x469d1a
cmp esi, 0xc8
jne 0x469d05
cmp dword [ebp - 0x10a4], 0
je 0x469ced
mov esi, dword [ebp - 0x105c]
push esi
push str.InternetSendRequestByBitRate_:_Successfully_posted_the_data_to_the_server__S__n
call fcn.00423db0
push esi
push str.InternetSendRequestByBitRate_:_Reading_the_response_sent_by_the_server__S__n
call fcn.00423db0
mov eax, dword [ebp - 0x104c]
add esp, 0x10
push 0
lea ecx, [ebp - 0x1060]
push ecx
lea edx, [ebp - 0x10ac]
push edx
push 0
push 0x20000005
push eax
mov dword [ebp - 0x1060], ebx
call edi
test eax, eax
je 0x469cd2
mov esi, dword [ebp - 0x10a4]
mov ecx, dword [ebp - 0x10ac]
mov edx, dword [ebp - 0x104c]
push esi
push ecx
push edx
call fcn.00465270
mov eax, dword [esi]
push eax
push str.Response_received_from_the_server__s__n
call fcn.00423960
add esp, 0x14
xor esi, esi
jmp 0x469d1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestByBitRate_:__WinHttpQueryHeaders_failed_with_the_error_code_while_getting_content_length_____d__n
call fcn.00423ad0
push esi
call fcn.00464180
jmp 0x469d17
mov ecx, dword [ebp - 0x105c]
push ecx
push str.InternetSendRequestByBitRate_:_Successfully_posted_the_data_to_the_server__S__n
xor esi, esi
call fcn.00423db0
add esp, 8
jmp 0x469d1a
mov edx, dword [ebp - 0x105c]
push esi
push edx
push str.InternetSendRequestByBitRate_:_Failed_to_post_the_data_to_the_server__s_with_http_status_code__d__n
call fcn.00423ad0
add esp, 0xc
mov eax, dword [ebp - 0x104c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x469d49
call ebx
mov edi, eax
push edi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpCloseHandle_hRequest______d__n
call fcn.00423ad0
push edi
call fcn.00464180
add esp, 0xc
mov ecx, dword [ebp - 0x107c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
jne 0x469d72
call ebx
mov edi, eax
push edi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpCloseHandle_hConnect______d__n
call fcn.00423ad0
push edi
call fcn.00464180
add esp, 0xc
mov edx, dword [ebp - 0x1074]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
jne 0x469d9b
call ebx
mov edi, eax
push edi
push str.InternetSendRequestByBitRate_:__Error_in_WinHttpCloseHandle_hSession______d__n
call fcn.00423ad0
push edi
call fcn.00464180
add esp, 0xc
mov eax, dword [ebp - 0x108c]
mov ecx, dword [ebp - 0x1080]
mov edx, dword [ebp + 0x14]
push esi
push eax
mov eax, dword [ebp - 0x105c]
push ecx
push edx
push eax
call fcn.004689c0
mov eax, dword [ebp - 0x109c]
add esp, 0x14
test eax, eax
je 0x469dd0
push eax
call fcn.0048efd8
add esp, 4
push str._End_Of_InternetSendRequestByBitRate_Method___n
call fcn.00423960
mov eax, dword [ebp - 0x1070]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469e03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x1018], 0x10
jb 0x469e1b
mov ecx, dword [ebp - 0x102c]
push ecx
call fcn.0048ed56
add esp, 4
mov eax, esi
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.0048ed61
mov esp, ebp
pop ebp
ret