Function at 0x46bd40
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c92d0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push str._________Inside_InternetSendRequestEx_Method___________n
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], 0x100
mov byte [ebp - 0xd], bl
call fcn.00423960
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push str.InternetSendRequestEx_:_DesktopCentral_Server__Port_____S_:__d__n
call fcn.00423db0
mov edx, dword [ebp + 0x28]
add esp, 0x10
push edx
lea ecx, [ebp - 0x28]
call fcn.00401e50
mov eax, dword [ebp - 0x28]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
mov dword [ebp - 4], ebx
call fcn.00404fb0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x3c]
add esp, 4
push eax
call fcn.00466100
add esp, 8
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404900
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46be09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
cmp dword [eax - 4], 1
jle 0x46be21
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402490
mov eax, dword [ebp - 0x28]
push eax
push str.InternetSendRequestEx_:_URL_to_Post_____S__n
call fcn.00423960
mov esi, dword [ebp + 0x2c]
push esi
push str.InternetSendRequestEx_:_Data_to_Send_____n__s__n
call fcn.00423960
add esp, 0x10
cmp esi, ebx
jne 0x46be4b
mov esi, 0xd
jmp 0x46c750
cmp dword [ebp + 0x34], 0x2afd
mov dword [ebp - 0x4c], ebx
jne 0x46be5e
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x46be6c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46be63
sub eax, edx
push eax
push str.InternetSendRequestEx_:_dwPostSize:__d__n
mov dword [ebp - 0x2c], eax
call fcn.00423960
add esp, 8
cmp byte [ebp + 8], bl
je 0x46be9d
mov esi, dword [ebp + 0x18]
push esi
push str.InternetSendRequestEx_:_Proxy_Server_Name_:__S__n
call fcn.00423db0
mov edx, dword [ebp + 0x1c]
add esp, 8
push ebx
push edx
push esi
push 3
jmp 0x46bea2
push ebx
push ebx
push ebx
push 1
push str.DesktopCentralAgent
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x46becd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpOpen______d__n
call fcn.00423ad0
push esi
jmp 0x46c748
mov esi, dword [ebp + 0xc]
push str.https
push esi
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x46beee
lea eax, [ebp - 0x24]
push eax
call fcn.00464d60
add esp, 4
push str.https
push esi
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x46bf07
mov dword [ebp - 0x34], 0x800100
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, ebx
jne 0x46bf4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpConnect______d__n
call fcn.00423ad0
push esi
call fcn.00464180
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x46c750
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x28]
push edx
push ebx
push ebx
push ebx
push eax
push str.POST
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x46c4f4
push ebx
push 0x10000
push 0x465480
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp byte [ebp + 0x40], 1
jne 0x46c076
mov edx, dword [ebp + 0x2c]
lea ecx, [ebp - 0x18]
push ecx
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
call fcn.00478500
add esp, 8
cmp eax, ebx
jne 0x46c051
mov edi, dword [ebp - 0x18]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46bfb2
sub eax, edx
add eax, 0xa
push eax
call fcn.00494ad4
push edi
mov esi, eax
push str.CheckSum:_s
push esi
call fcn.00492848
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp eax, ebx
je 0x46bfe8
push eax
call fcn.0048efd8
add esp, 4
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0042bfe0
push esi
call fcn.0048efd8
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push edx
call fcn.004628e0
mov eax, dword [ebp - 0x30]
push eax
push str.Sending_Header_Compression:Yes_and__S_n
call fcn.00423db0
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
add esp, 0x1c
push 0x20000000
push 0xffffffffffffffff
push str.Compression:Yes
push ecx
call esi
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
push 0x20000000
push 0xffffffffffffffff
push edx
push eax
call esi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x46c064
push eax
call fcn.0048efd8
mov dword [ebp - 0x18], ebx
jmp 0x46c061
push str.Failed_to_find_checksum_n
call fcn.00423db0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
add esp, 4
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x46c08e
push eax
call fcn.0048efd8
add esp, 4
jmp 0x46c08e
movzx ecx, byte [ebp + 0x40]
push ecx
push str.Not_Sending_Compression_header_to_Server..._compressedData_d__n
call fcn.00423db0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
add esp, 8
push 0x20000000
push 0xffffffffffffffff
cmp byte [ebp + 0x38], bl
je 0x46c0a5
mov edx, dword [ebp - 0x14]
push str.Connection:_Keep_Alive
push edx
jmp 0x46c0ae
mov eax, dword [ebp - 0x14]
push str.Connection:_close
push eax
call esi
test eax, eax
setne al
cmp al, bl
jne 0x46c0d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpAddRequestHeaders______d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
call fcn.0046b880
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
add esp, 4
cmp dword [ebp + 0x34], 0x2afa
jne 0x46c10f
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x513c70]
push 4
lea eax, [ebp - 0x30]
push eax
push 3
push ecx
mov dword [ebp - 0x30], edx
call edi
test eax, eax
je 0x46c524
mov edx, dword [ebp + 0xc]
push str.https
push edx
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x46c1d8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x1f
push edx
mov dword [ebp - 0x30], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
cmp dword [0x515dbc], ebx
je 0x46c15d
push str.Get_request_to_reporting_server_n
call fcn.00423960
mov eax, dword [ebp - 0x20]
push 1
push eax
jmp 0x46c16c
push str.Get_request_not_to_reporting_server_n
call fcn.00423960
mov ecx, dword [ebp - 0x20]
push ebx
push ecx
call fcn.00465210
add esp, 0xc
push 4
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push 0x1f
push eax
mov dword [0x515dbc], ebx
call edi
test eax, eax
je 0x46c524
push str.InternetSendRequestEx_:__The_request_is_updated_with_the_internet_option_security_flags.__n
call fcn.00423960
lea ecx, [ebp - 0x14]
push ecx
call fcn.0047e6f0
add esp, 8
test eax, eax
je 0x46c1bc
push str.InternetSendRequestEx:_Client_Certificate_set_successfullly__n
call fcn.00423db0
add esp, 4
jmp 0x46c1d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpSetOption_for_client_certificate______d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
cmp byte [ebp + 8], bl
je 0x46c284
mov esi, dword [ebp + 0x20]
cmp esi, ebx
je 0x46c284
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46c1f1
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x46c284
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46c210
sub eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 1
push eax
push esi
push 0x1002
push edx
call edi
test eax, eax
je 0x46c524
mov esi, dword [ebp + 0x24]
cmp esi, ebx
je 0x46c284
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46c240
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x46c284
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46c260
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x14]
push esi
push 0x1003
push eax
call edi
test eax, eax
je 0x46c524
xor edi, edi
cmp edi, 5
jge 0x46c542
mov eax, dword [ebp + 0x34]
cmp eax, 0x2afa
jne 0x46c2c8
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x513c6c]
push 4
lea edx, [ebp - 0x48]
push edx
push 6
push eax
mov dword [ebp - 0x48], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x46c305
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpSetOption_before_send_request_____d__n
jmp 0x46c2f7
cmp eax, 0x2afd
jne 0x46c305
mov ecx, dword [ebp - 0x14]
push 0x20000000
push 0xffffffffffffffff
push str.Content_Type:_multipart_form_data
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x46c305
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpAddRequestHeaders__second_Header________d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x2c]
push ebx
push eax
push eax
mov eax, dword [ebp - 0x14]
push edx
push ebx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne al
cmp al, bl
jne 0x46c3d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2eef
je 0x46c340
cmp esi, 0x2ef1
jne 0x46c35a
mov ecx, dword [ebp + 0x10]
push ecx
push str.InternetSendRequestEx_:_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 - 0xd], bl
je 0x46c4b8
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpSendRequest_____d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
cmp esi, 0x2f8f
je 0x46c37e
cmp esi, 0x2efe
jne 0x46c3cc
mov edx, dword [0x515e78]
cmp dword [edx], ebx
jne 0x46c3cc
mov eax, dword [0x515c50]
cmp eax, ebx
je 0x46c3cc
push str.REFRESH
push eax
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x46c3cc
push str.InternetSendRequestEx_:_Enabling_Certificate_ignore_flags__n
call fcn.00423960
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x2c]
push ebx
push eax
mov eax, dword [ebp - 0x2c]
push ebx
push eax
push eax
push ecx
push ebx
lea edx, [ebp - 0x14]
push ebx
push edx
call fcn.004647e0
add esp, 0x28
mov esi, eax
cmp esi, ebx
jne 0x46c6d2
jmp 0x46c3f9
cmp dword [0x515e18], ebx
je 0x46c3f9
mov eax, dword [str.SoftwareAdventNetDesktopCentralDCAgent]
push 4
push ebx
push str.CertMETrackingAdded
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00478900
add esp, 0x14
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x46c542
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x46c43e
mov edx, dword [ebp + 0x10]
push edx
push str.InternetSendRequestEx_:_Resending_the_data_to_the_server__S__n
call fcn.00423db0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
jmp 0x46c286
cmp esi, 0x2eef
je 0x46c49b
cmp esi, 0x2f78
je 0x46c49b
push esi
push str.InternetSendRequestEx_:__Error___WinHttpReceiveResponse______d__n
call fcn.00423db0
push esi
call fcn.00464180
add esp, 0xc
cmp esi, 0x2f8f
jne 0x46c6d2
cmp dword [0x515e18], ebx
je 0x46c6d2
mov eax, dword [ebp - 0x20]
push ebx
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00464ae0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x46c6d2
inc edi
jmp 0x46c286
mov edx, dword [ebp + 0x10]
push esi
push edx
push str.InternetSendRequestEx_:_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 - 0xd], bl
je 0x46c4be
inc edi
jmp 0x46c286
mov eax, dword [ebp - 0x14]
push eax
jmp 0x46c4c2
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x3c]
push edx
push ebx
push ebx
push ebx
push eax
push str.POST
push ecx
mov byte [ebp - 0xd], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x46bf70
mov edi, dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpOpenRequest______d__n
call fcn.00423ad0
push esi
call fcn.00464180
add esp, 0xc
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
mov edx, dword [ebp - 0x24]
push edx
call edi
jmp 0x46c750
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpSetOption______d__n
call fcn.00423ad0
push esi
call fcn.00464180
jmp 0x46c6cf
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x16
push ecx
mov dword [ebp - 0x1c], 4
call edi
mov edx, dword [ebp - 0x1c]
lea eax, [edx*4 + 8]
push eax
push 1
call fcn.00491e51
mov edx, dword [ebp - 0x14]
add esp, 8
push ebx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, eax
push esi
push ebx
push 0x16
push edx
mov dword [ebp - 0x44], esi
call edi
test eax, eax
jne 0x46c5a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__Error_in_WinHttpQueryHeaders______d__n
call fcn.00423ad0
push esi
call fcn.00464180
jmp 0x46c6cf
push esi
push str.InternetSendRequestEx_:__Header_Informations_:__n__S__n
call fcn.00423960
mov edx, dword [ebp - 0x14]
add esp, 8
push ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push ebx
push 0x20000013
push edx
mov dword [ebp - 0x1c], 4
call edi
test eax, eax
setne al
cmp al, bl
jne 0x46c5f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:_WinHttpQueryHeaders_failed_with_the_error_code_while_getting_http_status_code__d__n
call fcn.00423ad0
add esp, 8
jmp 0x46c6d2
mov esi, dword [ebp - 0x38]
cmp esi, 0x197
jne 0x46c618
push esi
push str.InternetSendRequestEx_:_Proxy_Credentials_are_failed_to_authenticate__d__n
call fcn.00423ad0
mov esi, dword [ebp - 0x38]
add esp, 8
jmp 0x46c6d2
cmp esi, 0xc8
jne 0x46c6c0
mov esi, dword [ebp + 0x30]
cmp esi, ebx
je 0x46c6ab
mov eax, dword [ebp + 0x10]
push eax
push str.InternetSendRequestEx_:_Successfully_posted_the_data_to_the_server__S__n
call fcn.00423db0
mov ecx, dword [ebp + 0x10]
push ecx
push str.InternetSendRequestEx_:_Reading_the_response_sent_by_the_server__S__n
call fcn.00423db0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ebx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x40]
push eax
push ebx
push 0x20000005
push ecx
mov dword [ebp - 0x1c], 4
call edi
test eax, eax
je 0x46c690
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
push esi
push edx
push eax
call fcn.00465270
mov ecx, dword [esi]
push ecx
push str.Response_received_from_the_server__s__n
call fcn.00423960
add esp, 0x14
xor esi, esi
jmp 0x46c6d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.InternetSendRequestEx_:__WinHttpQueryHeaders_failed_with_the_error_code_while_getting_content_length_____d__n
call fcn.00423ad0
push esi
call fcn.00464180
jmp 0x46c6cf
mov edx, dword [ebp + 0x10]
push edx
push str.InternetSendRequestEx_:_Successfully_posted_the_data_to_the_server__S__n
xor esi, esi
call fcn.00423db0
add esp, 8
jmp 0x46c6d2
mov eax, dword [ebp + 0x10]
push esi
push eax
push str.InternetSendRequestEx_:_Failed_to_post_the_data_to_the_server__S_with_http_status_code__d__n
call fcn.00423ad0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
jne 0x46c6fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push str.InternetSendRequestEx_:__Error_in_WinHttpCloseHandle_hRequest______d__n
call fcn.00423ad0
push edi
call fcn.00464180
add esp, 0xc
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
jne 0x46c726
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push str.InternetSendRequestEx_:__Error_in_WinHttpCloseHandle_hConnect______d__n
call fcn.00423ad0
push edi
call fcn.00464180
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
jne 0x46c750
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
push str.InternetSendRequestEx_:__Error_in_WinHttpCloseHandle_hSession______d__n
call fcn.00423ad0
push edi
call fcn.00464180
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x14]
push esi
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
call fcn.004689c0
mov eax, dword [ebp - 0x44]
add esp, 0x14
cmp eax, ebx
je 0x46c779
push eax
call fcn.0048efd8
add esp, 4
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x46c789
push eax
call fcn.0048efd8
add esp, 4
push str._________End_Of_InternetSendRequestEx_Method___________n
call fcn.00423960
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c7bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret