Function at 0x4c330d
Capabilities:
Receive http response
Send data
Send http request

Disassembly:
push 0x528
mov eax, 0x5c6efd
call fcn.00573eb3
mov esi, ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
push ecx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x534]
push dword [esi + 0x14]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x410], eax
call fcn.004b2603
mov byte [ebp - 4], 1
call fcn.004b1e65
test eax, eax
jns 0x4c336b
mov dword [edi], 5
jmp 0x4c3fa8
lea eax, [ebp - 0x534]
push eax
lea ecx, [ebp - 0x34]
call fcn.004c20b7
lea ecx, [esi + 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x4c3385
mov ecx, dword [ecx]
push eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x434], ecx
push eax
lea eax, [ebp - 0x464]
mov dword [ebp - 0x438], str.RequestId
push eax
push str._HttpWin__sendInternal
push 0x64
mov ecx, 0x5c80a0
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
mov dword [ebp - 0x460], str.Message
mov dword [ebp - 0x45c], str.Sending_request_for_Url.
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c62f3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040968b
cmp byte [esi + 0x12], 0
sete al
test al, al
jne 0x4c340b
push str._HttpWin__sendInternal:_request_already_aborted
push 0xf
mov edx, 0x33f
mov ecx, 0x597058
call fcn.00483be3
pop ecx
pop ecx
cmp byte [esi + 0x11], 0
sete al
test al, al
jne 0x4c342e
push str._HttpWin__sendInternal:_request_already_sent
push 0xf
mov edx, 0x33f
mov ecx, 0x597059
call fcn.00483be3
pop ecx
pop ecx
cmp byte [esi + 0x10], 0
setne al
test al, al
jne 0x4c3451
push str._HttpWin__sendInternal:_request_not_open
push 0xf
mov edx, 0x33f
mov ecx, 0x59705a
call fcn.00483be3
pop ecx
pop ecx
cmp byte [esi + 0x11], 0
jne 0x4c3fa2
cmp byte [esi + 0x10], 0
je 0x4c3fa2
cmp byte [esi + 0x12], 0
jne 0x4c3fa2
xor eax, eax
mov byte [ebp - 0x3fa], bl
mov byte [ebp - 0x3f9], bl
mov dword [ebp - 0x400], ebx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c41d6
mov ecx, ebx
mov al, cl
jmp 0x4c34a8
mov al, byte [ebp - 0x3fa]
test al, al
jne 0x4c3a84
push ecx
lea eax, [esi + 0x90]
push eax
lea ecx, [ebp - 0x4e8]
call fcn.00410ef7
cmp dword [esi + 0x34], ebx
jne 0x4c34ef
lea ecx, [ebp - 0x4e8]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi], 6
call fcn.00410ed4
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040968b
jmp 0x4c3fae
lea ecx, [esi + 0x50]
call fcn.004c60b4
mov eax, dword [ebp + 0x14]
push ebx
push eax
push eax
push dword [ebp - 0x410]
push ebx
push ebx
push dword [esi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne al
mov byte [ebp - 0x3f9], al
test al, al
je 0x4c3525
mov eax, dword [ebp + 0x14]
add dword [esi + 0x60], eax
jmp 0x4c35a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x534]
push eax
call fcn.004c20b7
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x45c], ecx
lea ecx, [ebp - 0x464]
push ecx
push eax
lea eax, [ebp - 0x488]
mov dword [ebp - 0x460], str.LastError
push eax
push ecx
push ecx
mov ecx, 0x105539d
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], 0x6454d4
mov dword [ebp - 0x484], str.Message
mov dword [ebp - 0x480], str.WinHttpSendRequest_failed
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c64a7
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040968b
lea ecx, [ebp - 0x4e8]
call fcn.00410ed4
mov al, byte [ebp - 0x3f9]
test al, al
je 0x4c397d
mov ecx, dword [ebp - 0x40c]
test ecx, ecx
je 0x4c3896
cmp dword [ebp + 0x14], 0
jbe 0x4c3896
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push ebx
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x4c361a
mov dword [ebp - 0x48c], eax
mov edx, 0x33f
lea eax, [ebp - 0x494]
mov dword [ebp - 0x490], 0x62eaf0
push eax
push str.HttpWin_sendInternal:_MsoRewindStream_failed
push 0xf
mov ecx, 0x1214688
mov dword [ebp - 0x494], 0x62eae4
call fcn.00414b02
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov edx, 0x2000
mov byte [ebp - 4], 3
cmp dword [ebp + 0x14], edx
lea ecx, [ebp - 0x43c]
mov eax, edx
cmovb eax, dword [ebp + 0x14]
push eax
call fcn.004120cd
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x408], eax
mov edx, 0x2000
cmp eax, edx
mov ecx, edx
mov edx, dword [ebp - 0x40c]
cmovb ecx, eax
mov eax, dword [edx]
lea edx, [ebp - 0x404]
push edx
mov edx, dword [ebp - 0x40c]
push ecx
push dword [ebp - 0x43c]
push edx
call dword [eax + 0xc]
test eax, eax
setns al
mov byte [ebp - 0x3f9], al
test al, al
je 0x4c37e0
cmp dword [ebp - 0x404], 0
je 0x4c37e0
mov eax, dword [ebp - 0x408]
sub eax, dword [ebp - 0x404]
mov dword [ebp - 0x408], eax
lea eax, [esi + 0x90]
push ecx
push eax
lea ecx, [ebp - 0x478]
call fcn.00410ef7
cmp dword [esi + 0x34], 0
jne 0x4c36f1
lea ecx, [ebp - 0x478]
mov dword [edi], 6
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00410ed4
lea ecx, [ebp - 0x43c]
call fcn.0041214f
jmp 0x4c34df
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x404]
push dword [ebp - 0x43c]
push dword [esi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
setne al
mov byte [ebp - 0x3f9], al
test al, al
je 0x4c3725
mov eax, dword [ebp - 0x42c]
add dword [esi + 0x60], eax
lea ecx, [ebp - 0x478]
call fcn.00410ed4
cmp byte [ebp - 0x3f9], 0
je 0x4c3761
mov eax, dword [ebp - 0x404]
cmp eax, dword [ebp - 0x42c]
jne 0x4c3761
mov eax, dword [ebp - 0x408]
mov byte [ebp - 0x3f9], 1
test eax, eax
jne 0x4c3653
jmp 0x4c3881
mov byte [ebp - 0x3f9], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x534]
push eax
call fcn.004c20b7
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x498], ecx
lea ecx, [ebp - 0x4a0]
push ecx
push eax
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x49c], str.LastError
push eax
push ecx
push ecx
mov ecx, 0x8c80d0
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], 0x6454d4
mov dword [ebp - 0x4a8], str.Message
mov dword [ebp - 0x4a4], str.WinHttpWriteData_failed
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c64a7
jmp 0x4c3876
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x534]
push eax
call fcn.004c20b7
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x4b0], ecx
mov cl, byte [ebp - 0x3f9]
mov byte [ebp - 0x4bc], cl
lea ecx, [ebp - 0x4b8]
push ecx
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x4b4], str.LastError
push ecx
push eax
lea eax, [ebp - 0x4d0]
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], 0x6454d4
push eax
push ecx
push ecx
mov dword [ebp - 0x4c4], 0x614924
mov dword [ebp - 0x4c0], str.fSuccess
mov dword [ebp - 0x4cc], str.Message
mov dword [ebp - 0x4c8], str.Failed_to_read_bytes_from_the_stream_into_a_temporary_buffer
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c6507
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040968b
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 2
call fcn.0041214f
mov al, byte [ebp - 0x3f9]
test al, al
je 0x4c397d
push ecx
lea eax, [esi + 0x90]
push eax
lea ecx, [ebp - 0x454]
call fcn.00410ef7
cmp dword [esi + 0x34], 0
jne 0x4c38c2
lea ecx, [ebp - 0x454]
jmp 0x4c34ce
push ebx
push dword [esi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne al
mov byte [ebp - 0x3f9], al
test al, al
je 0x4c38e5
lea ecx, [esi + 0x50]
call fcn.004c602f
jmp 0x4c3964
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x534]
push eax
call fcn.004c20b7
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x4d4], ecx
lea ecx, [ebp - 0x4dc]
push ecx
push eax
lea eax, [ebp - 0x448]
mov dword [ebp - 0x4d8], str.LastError
push eax
push ecx
push ecx
mov ecx, 0x8c80d1
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], 0x6454d4
mov dword [ebp - 0x444], str.Message
mov dword [ebp - 0x440], str.WinHttpReceiveResponse_failed
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c64a7
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040968b
lea ecx, [ebp - 0x454]
call fcn.00410ed4
mov al, byte [ebp - 0x3f9]
test al, al
jne 0x4c3a71
mov ecx, dword [ebp - 0x400]
cmp ecx, 0x2f00
je 0x4c34a2
test al, al
jne 0x4c3a77
call fcn.004c1e4a
test al, al
je 0x4c3a71
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
test al, al
je 0x4c3a71
lea eax, [ebp - 0x534]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004c20b7
mov dword [ebp - 0x408], eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0x611770
push eax
mov dword [ebp - 0x30], str.ProxyAddress
call fcn.00409657
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x34], 0x611770
cmp dword [ecx + 0x14], 8
jb 0x4c39f9
mov ecx, dword [ecx]
push dword [ebp - 0x408]
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x418], str.RequestId
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x414], ecx
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
push eax
push ecx
push ecx
mov dword [ebp - 0x424], str.Message
mov dword [ebp - 0x420], str.There_was_a_proxy_error._Retrying_the_request_with_a_new_proxy.
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c6571
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040968b
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040968b
mov ecx, dword [ebp - 0x400]
jmp 0x4c34a2
mov ecx, dword [ebp - 0x400]
mov al, 1
mov byte [ebp - 0x3fa], al
jmp 0x4c34a8
mov al, byte [ebp - 0x3f9]
xorps xmm0, xmm0
mov byte [esi + 0x11], al
mov dword [ebp - 0x404], ebx
movlpd qword [ebp - 0x450], xmm0
test al, al
jne 0x4c3c2f
test ecx, ecx
jne 0x4c3ab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [ebp - 0x400], ecx
mov edx, ecx
lea ecx, [ebp - 0x47c]
call fcn.004c2765
mov eax, dword [ebp - 0x47c]
test eax, eax
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x40c], ecx
mov ecx, dword [ebp - 0x470]
mov dword [ebp - 0x404], eax
lea eax, [ebp - 0x534]
mov dword [ebp - 0x42c], ecx
lea ecx, [ebp - 0x6c]
push eax
jne 0x4c3b94
call fcn.004c20b7
lea ecx, [esi + 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x4c3b0b
mov ecx, dword [ecx]
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x420], ecx
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x424], str.RequestId
push eax
push str._HttpWin__sendInternal
push 0xf
mov ecx, 0x8c80d3
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
mov dword [ebp - 0x418], str.Message
mov dword [ebp - 0x414], str.The_request_failed_to_send__but_GetLastError_returned_Result::OK_
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c62f3
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040968b
xorps xmm0, xmm0
mov dword [ebp - 0x404], 1
movlpd qword [ebp - 0x450], xmm0
mov ecx, dword [ebp - 0x44c]
mov dword [ebp - 0x42c], ecx
jmp 0x4c3c3b
call fcn.004c20b7
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x420], ecx
lea ecx, [esi + 0x1c]
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x424], str.LastError
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], 0x6454d4
jb 0x4c3bc4
mov ecx, dword [ecx]
mov dword [ebp - 0x414], ecx
lea ecx, [ebp - 0x428]
push ecx
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x418], str.RequestId
push eax
lea eax, [ebp - 0x448]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
push eax
push str._HttpWin__sendInternal
push ecx
mov ecx, 0x5c80a2
mov dword [ebp - 0x444], str.Message
mov dword [ebp - 0x440], str.Failed_to_send_request.
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c65db
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040968b
jmp 0x4c3c47
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x40c], eax
cmp byte [esi + 0x11], 0
je 0x4c3d48
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x458]
push ecx
mov ecx, esi
call dword [eax + 0x20]
lea eax, [ebp - 0x534]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004c20b7
mov ecx, dword [ebp - 0x410]
mov dword [ebp - 0x420], ecx
lea ecx, [esi + 0x1c]
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x424], 0x6125a0
mov dword [ebp - 0x428], 0x647bdc
jb 0x4c3ca0
mov ecx, dword [ecx]
mov dword [ebp - 0x414], ecx
lea ecx, [ebp - 0x428]
push ecx
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x418], str.RequestId
push eax
lea eax, [ebp - 0x448]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
push eax
push ecx
push ecx
mov dword [ebp - 0x444], str.Message
mov dword [ebp - 0x440], str.Request_for_Url_is_sent.
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.004c663f
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040968b
cmp byte [esi + 0x11], 0
je 0x4c3d48
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x4c3d48
cmp dword [esi + 0x18], ebx
je 0x4c3d48
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x458]
push ecx
mov ecx, esi
call dword [eax + 0x20]
cmp dword [ebp - 0x410], 0xc8
jne 0x4c3d48
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
push dword [esi + 0x18]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x404]
cmp eax, 7
jne 0x4c3e84
push ecx
lea eax, [esi + 0x90]
mov dword [ebp - 0x408], ebx
push eax
lea ecx, [ebp - 0x454]
call fcn.00410ef7
cmp dword [esi + 0x34], 0
je 0x4c38b7
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], 4
push eax
lea eax, [ebp - 0x408]
push eax
push 0x4e
push dword [esi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x4c3e38
lea eax, [ebp - 0x534]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004c20b7
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x400], eax
cmp dword [ecx + 0x14], 8
jb 0x4c3dc5
mov ecx, dword [ecx]
mov dword [ebp - 0x420], ecx
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x424], str.RequestId
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
mov dword [ebp - 0x418], str.Message
mov dword [ebp - 0x414], str.An_error_occurred_while_querying_for_the_Server_Certification_Context.
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], 0x647bf4
call fcn.00415509
push eax
push dword [ebp - 0x400]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x41c]
push eax
push str._HttpWin__sendInternal
push ecx
mov ecx, 0x1141443
call fcn.004c65db
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040968b
lea ecx, [ebp - 0x454]
call fcn.00410ed4
cmp dword [ebp - 0x408], 0
je 0x4c3e7e
push 1
push 0xc
call fcn.00410233
mov edx, eax
test edx, edx
je 0x4c3e6f
mov ecx, dword [ebp - 0x408]
mov dword [edx + 4], ebx
mov dword [edx], 0x647ad8
mov dword [edx + 8], ecx
jmp 0x4c3e71
mov edx, ebx
test edx, edx
je 0x4c3e7e
mov ecx, dword [esi + 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp - 0x404]
mov ecx, dword [ebp - 0x40c]
mov dword [esi + 0x70], ecx
mov ecx, dword [ebp - 0x42c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x74], ecx
cmp eax, 7
jne 0x4c3eab
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
cdq
mov ecx, edx
jmp 0x4c3eb1
mov eax, dword [ebp - 0x40c]
mov esi, dword [ebp - 0x404]
mov dword [edi], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp 0x4c34df
mov dword [edi], 6
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [ebp - 0x534]
call fcn.004b264d
mov eax, edi
call fcn.00573e00
ret 0x10