Function at 0x4943c0
Capabilities:
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560bb6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x318
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x278], xmm0
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x278], 0x5e52a4
mov dword [ebp - 0x274], 0
sub esp, 8
mov dword [ebp - 4], 0
mov eax, esp
lea ecx, [ebp - 0x278]
mov edi, 1
mov dword [ebp - 0x288], edi
push 0x20119
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [eax], str.SOFTWAREMcAfeeWebAdvisor
mov dword [eax + 4], 0x1a
call fcn.0041b060
test eax, eax
jne 0x49453d
lea eax, [ebp - 0x288]
push eax
sub esp, 8
lea ecx, [ebp - 0x278]
mov eax, esp
mov dword [eax], str.AdhocTelemetryAWS
mov dword [eax + 4], 0x11
call fcn.00430040
mov dword [ebp - 0x284], eax
test eax, eax
je 0x494537
cmp eax, 2
je 0x494537
call fcn.0045b3b0
push 2
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x23c], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x238], 0x48
call fcn.00418540
mov edx, str.Querying_AdhocTelemetryAWS_value_failed:
lea ecx, [ebp - 0x328]
call fcn.004185a0
lea ecx, [ebp - 0x328]
call fcn.0043d470
lea edx, [ebp - 0x284]
lea ecx, [ebp - 0x328]
call fcn.0043d500
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x49453d
mov edi, dword [ebp - 0x288]
cmp edi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x274]
sete byte [ebp - 0x27d]
mov dword [ebp - 0x278], 0x5e52a4
test eax, eax
je 0x494569
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x27d], 0
jne 0x4945e0
call fcn.0045b3b0
push 3
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x274], 0x15e
call fcn.00418540
lea ecx, [ebp - 0xb8]
call fcn.004963c0
lea ecx, [ebp - 0x60]
call fcn.00459e90
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
mov al, 1
jmp 0x4951bd
cmp byte [esi + 0x4f0], 0
jne 0x49465a
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x274], 0x164
call fcn.00418540
mov edx, str.Failed_to_send_event_to_AWS__event_sender_not_initialized_for_AWS.
lea ecx, [ebp - 0xb8]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.00459e90
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x4951bb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x1f8], xmm0
mov word [ebp - 0x1ea], ax
movlpd qword [ebp - 0x1e8], xmm0
movlpd qword [ebp - 0x1e0], xmm0
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1d0], xmm0
movlpd qword [ebp - 0x1c8], xmm0
mov dword [ebp - 4], 4
movups xmmword [ebp - 0x1e8], xmm0
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], 0x400
mov byte [ebp - 4], 5
push 1
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], eax
call fcn.0050fd59
add esp, 4
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x14], 0x10
jb 0x4946fa
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0043e1e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x1c0], xmm0
mov word [ebp - 0x1b2], ax
movlpd qword [ebp - 0x1b0], xmm0
movlpd qword [ebp - 0x1a8], xmm0
movlpd qword [ebp - 0x1a0], xmm0
movlpd qword [ebp - 0x198], xmm0
movlpd qword [ebp - 0x190], xmm0
movups xmmword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], 0x400
mov byte [ebp - 4], 8
push 1
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
call fcn.0050fd59
add esp, 4
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x1c0]
call fcn.004392e0
xorps xmm0, xmm0
mov eax, 3
movups xmmword [ebp - 0x1c0], xmm0
mov word [ebp - 0x1b2], ax
lea eax, [ebp - 0x1f8]
push ecx
push eax
sub esp, 8
lea ecx, [ebp - 0x1c0]
mov eax, esp
mov dword [eax], 0x5f494c
mov dword [eax + 4], 4
call fcn.00439150
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0xa
push eax
call fcn.00490c50
test al, al
je 0x494857
cmp dword [ebp - 0x170], 0x10
lea eax, [ebp - 0x184]
mov ecx, str.NO_REGVALUE
cmovae eax, dword [ebp - 0x184]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x494842
test dl, dl
je 0x49483e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x494842
add eax, 2
add ecx, 2
test dl, dl
jne 0x494822
xor eax, eax
jmp 0x494847
sbb eax, eax
or eax, 1
test eax, eax
je 0x494857
cmp dword [ebp - 0x174], 0x100
jbe 0x494869
push 0x5f
push str.0Ywx4MUvRidmWf74nsIlBPIxJYIG9Nf0lSnge8SvgvY3RVy4E6gFLp3VDBcDO830QhXvfpgCb55sRtnVqKb2zUO3Vq7ko1b
lea ecx, [ebp - 0x184]
call fcn.00439c70
sub esp, 0x1c
lea eax, [ebp - 0x184]
mov ecx, esp
push eax
call fcn.004174e0
sub esp, 8
lea ecx, [ebp - 0x1c0]
mov eax, esp
mov dword [eax], str.PartitionKey
mov dword [eax + 4], 0xc
call fcn.0043c3d0
xorps xmm0, xmm0
movq qword [ebp - 0x15c], xmm0
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x15c], 0
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x158], 0x100
movups xmmword [ebp - 0x20c], xmm0
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x1fc], 0
movups xmmword [ebp - 0x21c], xmm0
mov dword [ebp - 0x21c], eax
movups xmmword [ebp - 0x218], xmm0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0x100
mov dword [ebp - 0x200], 0x144
mov byte [ebp - 0x1fc], 0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00495bf0
test al, al
jne 0x49499c
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x274], 0x188
call fcn.00418540
mov edx, str.Failed_to_initialize_buffer_for_AWS
lea ecx, [ebp - 0xb8]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.00459e90
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x4950dc
mov ecx, dword [ebp - 0x160]
lea eax, [ecx + 1]
cmp eax, dword [ebp - 0x15c]
jbe 0x4949c0
push 1
lea ecx, [ebp - 0x16c]
call fcn.0043e8e0
mov ecx, dword [ebp - 0x160]
lea eax, [ecx + 1]
xorps xmm0, xmm0
mov dword [ebp - 0x160], eax
mov byte [ecx], 0
mov edx, dword [ebp - 0x164]
mov ecx, edx
dec dword [ebp - 0x160]
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x494a00
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.00417cb0
mov byte [ebp - 4], 0xe
call fcn.0045b3b0
push 4
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x274], 0x18e
call fcn.00418540
mov edx, str.AWS_Adhoc_Telemetry_Payload_
lea ecx, [ebp - 0x328]
call fcn.004185a0
cmp dword [ebp - 0x128], 0x10
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x11c]
cmovae eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x11c], eax
call fcn.00418620
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
mov byte [ebp - 4], 0xe
lea edi, [esi + 0x4f4]
movzx eax, word [esi + 0x530]
add esp, 4
cmp dword [edi], 0
je 0x4957c6
cmp dword [edi + 4], 0
jne 0x4957c6
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x274], 0
push ecx
push eax
push dword [esi + 0x528]
xorps xmm0, xmm0
mov ecx, edi
movq qword [ebp - 0x27c], xmm0
call fcn.0049db10
test al, al
je 0x4957c6
mov dword [ebp - 0x238], esi
xor ecx, ecx
mov byte [ebp - 4], 0x14
cmp dword [esi + 0x524], 2
mov eax, 0x800000
cmove ecx, eax
cmp dword [esi + 0x568], 8
lea eax, [esi + 0x554]
jb 0x494b39
mov eax, dword [eax]
mov edx, dword [edi + 4]
test edx, edx
je 0x495732
cmp dword [esi + 0x4fc], 0
jne 0x495732
push ecx
push 0
push 0
push 0
push eax
push dword [esi + 0x584]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0x4fc], eax
test eax, eax
je 0x495732
mov dword [ebp - 0x274], esi
lea eax, [esi + 0x588]
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x494b8c
mov eax, dword [eax]
mov ecx, dword [esi + 0x4fc]
test ecx, ecx
je 0x49569e
push 0x40000000
push dword [esi + 0x598]
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x49569e
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0x19
call fcn.004924a0
mov dword [ebp - 0x240], 0
xorps xmm0, xmm0
movq qword [ebp - 0x248], xmm0
push ecx
lea ecx, [ebp - 0x258]
movups xmmword [ebp - 0x258], xmm0
test al, al
je 0x494c50
push 0x5e5018
push 0x5e4ff0
call fcn.00491bc0
mov byte [ebp - 4], 0x1a
jmp 0x494c63
push 0x5e5068
push 0x5e5040
call fcn.00491bc0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x258]
call fcn.00491eb0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x19
call fcn.00491de0
mov ecx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x124]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x154]
call fcn.00439c70
lea ecx, [ebp - 0x124]
call fcn.00495a90
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], 7
movups xmmword [ebp - 0x234], xmm0
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x154]
cmp dword [ebp - 0x140], 0x10
lea ecx, [ebp - 0x234]
push dword [ebp - 0x144]
cmovae eax, dword [ebp - 0x154]
push eax
call fcn.0049ba80
add esp, 8
test al, al
jne 0x494d70
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x11c], 0x1ad
call fcn.00418540
mov edx, str.Failed_to_convert_the__x_api_key_string_to_wide
lea ecx, [ebp - 0xb8]
call fcn.004185a0
lea ecx, [ebp - 0x60]
call fcn.00459e90
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x1d
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x494ff7
mov ecx, dword [ebp - 0x224]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xb
jb 0x49588e
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push ecx
cmovae eax, dword [ebp - 0x234]
push eax
push 0xb
push str.X_Api_Key:
push ecx
push dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
call fcn.0041c800
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
mov ecx, dword [esi + 0x4fc]
cmovae eax, dword [ebp - 0x270]
test ecx, ecx
je 0x495623
push 0x40000000
push dword [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
jne 0x495623
cmp dword [ebp - 0x128], 0x10
lea ecx, [ebp - 0x13c]
mov edx, dword [esi + 0x4fc]
cmovae ecx, dword [ebp - 0x13c]
test edx, edx
je 0x49542e
mov eax, dword [ebp - 0x12c]
push 0
push eax
push eax
push ecx
push 0xffffffffffffffff
push 0
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
jne 0x49542e
mov eax, dword [esi + 0x4fc]
test eax, eax
je 0x4953b3
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, 1
jne 0x4953b3
cmp dword [esi + 0x4fc], 0
jne 0x494e65
xor eax, eax
jmp 0x494eb8
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00512700
add esp, 0xc
mov dword [ebp - 0x11c], 0xff
lea eax, [ebp - 0x11c]
push 0
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0x13
push dword [esi + 0x4fc]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x494eb8
lea eax, [ebp - 0x118]
push eax
call fcn.0053e076
add esp, 4
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
call fcn.0045b3b0
push 4
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x11c], 0x1c8
call fcn.00418540
mov edx, str.AWS_Response_Code_received
lea ecx, [ebp - 0x328]
call fcn.004185a0
lea edx, [ebp - 0x284]
lea ecx, [ebp - 0x328]
call fcn.004186a0
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x22
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
mov byte [ebp - 4], 0x1e
add esp, 4
mov eax, dword [ebp - 0x288]
cmp dword [esi + 0x5a0], eax
je 0x4951dd
cmp dword [esi + 0x5a4], eax
je 0x4951dd
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x11c], 0x1cc
call fcn.00418540
mov edx, str.HTTP_status_error_for_AWS:
lea ecx, [ebp - 0x328]
call fcn.004185a0
lea edx, [ebp - 0x284]
lea ecx, [ebp - 0x328]
call fcn.004186a0
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x2d0]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004f7d4c
add esp, 4
lea ecx, [ebp - 0x270]
call fcn.00417680
lea ecx, [ebp - 0x234]
call fcn.00417680
mov ecx, dword [ebp - 0x140]
cmp ecx, 0x10
jb 0x49503c
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495032
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
mov eax, dword [esi + 0x4fc]
test eax, eax
je 0x495072
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x4fc], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x495087
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x128]
cmp ecx, 0x10
jb 0x4950c1
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4950b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
push dword [ebp - 0x210]
call fcn.00528310
add esp, 4
push 1
push dword [ebp - 0x214]
call fcn.0050fd95
push dword [ebp - 0x164]
call fcn.00528310
add esp, 0xc
push 1
push dword [ebp - 0x168]
call fcn.0050fd95
mov ecx, dword [ebp - 0x170]
add esp, 8
cmp ecx, 0x10
jb 0x49514f
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495145
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
push 1
push dword [ebp - 0x1ac]
call fcn.0050fd95
push dword [ebp - 0x1a0]
call fcn.00528310
add esp, 0xc
push 1
push dword [ebp - 0x1a4]
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0x1c0]
call fcn.004392e0
push 1
push dword [ebp - 0x1e4]
call fcn.0050fd95
push dword [ebp - 0x1d8]
call fcn.00528310
add esp, 0xc
push 1
push dword [ebp - 0x1dc]
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0x1f8]
call fcn.004392e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
lea ecx, [ebp - 0x270]
call fcn.00417680
lea ecx, [ebp - 0x234]
call fcn.00417680
mov ecx, dword [ebp - 0x140]
cmp ecx, 0x10
jb 0x49522d
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495223
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
mov eax, dword [esi + 0x4fc]
test eax, eax
je 0x495263
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x4fc], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x495278
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x128]
cmp ecx, 0x10
jb 0x4952b2
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4952a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
push dword [ebp - 0x210]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
call fcn.00528310
add esp, 4
push 1
push dword [ebp - 0x214]
call fcn.0050fd95
push dword [ebp - 0x164]
call fcn.00528310
add esp, 0xc
push 1
push dword [ebp - 0x168]
call fcn.0050fd95
mov ecx, dword [ebp - 0x170]
add esp, 8
cmp ecx, 0x10
jb 0x495340
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495336
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
push 1
push dword [ebp - 0x1ac]
call fcn.0050fd95
push dword [ebp - 0x1a0]
call fcn.00528310
add esp, 0xc
push 1
push dword [ebp - 0x1a4]
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0x1c0]
call fcn.004392e0
push 1
push dword [ebp - 0x1e4]
call fcn.0050fd95
push dword [ebp - 0x1d8]
call fcn.00528310
add esp, 0xc
push 1
push dword [ebp - 0x1dc]
call fcn.0050fd95
add esp, 8
lea ecx, [ebp - 0x1f8]
call fcn.004392e0
mov al, 1
jmp 0x4951bd
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x11c], 0x1c2
call fcn.00418540
mov edx, str.HTTP_receive_response_failed_for_AWS:
lea ecx, [ebp - 0x328]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x328]
call fcn.0043d580
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
mov byte [ebp - 4], 0x21
jmp 0x494fd3
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x11c], 0x1bc
call fcn.00418540
mov edx, str.HTTP_send_request_failed_for_AWS:
lea ecx, [ebp - 0x328]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x328]
call fcn.0043d580
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x20
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
lea ecx, [ebp - 0x270]
call fcn.00417680
lea ecx, [ebp - 0x234]
call fcn.00417680
mov ecx, dword [ebp - 0x140]
cmp ecx, 0x10
jb 0x49550d
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495503
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
mov eax, dword [esi + 0x4fc]
test eax, eax
je 0x495543
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x4fc], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x495558
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x128]
cmp ecx, 0x10
jb 0x495592
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495588
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
push ecx
push edx
call fcn.0050fd95
add esp, 8
push dword [ebp - 0x210]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
call fcn.00528310
add esp, 4
push 1
push dword [ebp - 0x214]
call fcn.0050fd95
push dword [ebp - 0x164]
call fcn.00528310
add esp, 0xc
push 1
push dword [ebp - 0x168]
call fcn.0050fd95
mov ecx, dword [ebp - 0x170]
add esp, 8
cmp ecx, 0x10
jb 0x49514f
mov edx, dword [ebp - 0x184]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495145
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
jmp 0x495145
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x11c], 0x1b6
call fcn.00418540
mov edx, str.HTTP_add_request_header_failed_for_AWS_x_api_key:
lea ecx, [ebp - 0x328]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x328]
call fcn.0043d580
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
mov byte [ebp - 4], 0x1f
jmp 0x494fd3
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x11c], 0x1a3
call fcn.00418540
mov edx, str.HTTP_add_request_header_failed_for_AWS_CONTENT_TYPE:
lea ecx, [ebp - 0x328]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x328]
call fcn.0043d580
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x17
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x495057
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x274], 0x19b
call fcn.00418540
mov edx, str.HTTP_open_request_failed_for_AWS:
lea ecx, [ebp - 0x328]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x328]
call fcn.0043d580
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x15
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
jmp 0x495072
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x328]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], str.EventSender.cpp
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x274], 0x192
call fcn.00418540
mov edx, str.HTTP_connection_failed_for_AWS:
lea ecx, [ebp - 0x328]
call fcn.004185a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x328]
call fcn.0043d580
lea ecx, [ebp - 0x2d0]
call fcn.00459e90
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x13
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
mov ecx, dword [ebp - 0x128]
add esp, 4
cmp ecx, 0x10
jb 0x495592
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495588
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495893
jmp 0x495588
call fcn.00415cd0
call fcn.0052865a
int3