Function at 0x49d810
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0x90], eax
mov ecx, dword [0x546b6c]
test ecx, ecx
je 0x49d8c4
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049d810
mov ebx, eax
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x84]
push eax
push edi
call fcn.0050e3e0
add esp, 8
lea ecx, [esp + 0x20]
push edi
push 0xe0
push str.OpenDownload
push 1
call fcn.00455540
lea ecx, [esp + 0x5c]
push 0x530900
push str.SetStatusCallback_failed
call fcn.004147c0
lea ecx, [esp + 0x20]
call fcn.00455590
cmp byte [edi + 0xb], 0
jns 0x49d917
push dword [esp + 0x84]
call fcn.004dfb35
add esp, 4
jmp 0x49d917
mov ecx, esi
call fcn.0049d750
xor ebx, ebx
dec ebx
lea edi, [esp + 0x7c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
sub esp, 0x14
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], str.Yandex.Browser_lite_installer
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, edi
push eax
call fcn.00499930
mov eax, dword [edi + 4]
test eax, eax
je 0x49da80
push 0x49dd40
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
je 0x49d864
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, esi
add esi, 0x1c
mov dword [esp + 4], eax
lea edi, [eax + 0x38]
lea ebx, [esp + 0x20]
push ebx
call fcn.005101c0
add esp, 4
cmp byte [ebx + 0xb], 0
jns 0x49d942
mov ebx, dword [esp + 0x20]
push esi
push edi
push 0x80000000
xor eax, eax
dec eax
push eax
push ebx
mov edi, dword [ebp + 8]
push edi
push dword [esp + 0x98]
call fcn.0049b650
add esp, 0x1c
lea ecx, [esp + 0x18]
push eax
call fcn.00499930
cmp byte [esp + 0x2b], 0
jns 0x49d97e
push dword [esp + 0x20]
call fcn.004dfb35
add esp, 4
cmp dword [esi], 0
mov ebx, dword [ebp + 0xc]
je 0x49db00
mov dword [esp + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0xc]
push eax
push esi
call fcn.0050e3e0
add esp, 8
lea ecx, [esp + 0x20]
push esi
push 0xea
push str.OpenDownload
push 1
call fcn.00455540
lea esi, [esp + 0x28]
lea ecx, [esp + 0x5c]
push 0x530918
push str.An_attempt_to_open_url
call fcn.004147c0
mov ecx, esi
push edi
call fcn.0041ef60
mov esi, eax
add esi, 0x34
mov ecx, esi
push 0x530931
push str._generated_an_exception
call fcn.004147c0
lea ebx, [esp + 0x84]
mov eax, dword [esp + 4]
push dword [eax]
push ebx
call fcn.004dcea0
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x49da19
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov ecx, esi
push eax
push ebx
call fcn.00478310
cmp byte [esp + 0x8f], 0
jns 0x49da3b
push dword [esp + 0x84]
call fcn.004dfb35
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00455590
cmp byte [esp + 0x17], 0
jns 0x49da57
push dword [esp + 0xc]
call fcn.004dfb35
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x18]
call fcn.00499950
lea ecx, [esp + 0x7c]
call fcn.00499950
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
jmp 0x49d85a
lea ecx, [esp + 0x20]
mov edx, str.internet_open_
call fcn.0049dc60
lea edi, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x49daa1
push dword [edi]
call fcn.004dfb35
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [edi], xmm0
xor ebx, ebx
jmp 0x49da62
push 0
push dword [esp + 0x84]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
lea ecx, [esp + 0x20]
mov edx, str.internet_open_url_
call fcn.0049dc60
mov eax, dword [esp + 4]
lea edi, [eax + 0x10]
cmp byte [eax + 0x1b], 0
jns 0x49daea
push dword [edi]
call fcn.004dfb35
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [edi], xmm0
jmp 0x49da57
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49dab6
mov ecx, dword [ebx + 4]
test ecx, ecx
mov esi, dword [esp + 4]
je 0x49db6b
xor edx, edx
push edx
push edx
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetSetFilePointer]
cmp eax, dword [ebx + 4]
je 0x49db6b
lea ecx, [esp + 0x20]
mov edx, str.internet_set_file_pointer_
call fcn.0049dc60
lea edi, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x49db46
push dword [edi]
call fcn.004dfb35
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [edi], xmm0
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x53a380]
mov ecx, ebx
call edi
mov edi, dword [ebp + 8]
push 0
push dword [esp + 0x84]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
test edi, edi
je 0x49dc44
lea ecx, [esi + 4]
mov dword [esp + 8], ecx
push edi
call fcn.00478d00
mov eax, dword [esi + 0x48]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x548b80]
bt edx, ecx
jae 0x49dbb1
push eax
call fcn.004a02a0
add esp, 4
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x548b80]
bt ecx, eax
lea edi, [esp + 0x7c]
jae 0x49dc36
push ebx
call fcn.004a0180
add esp, 4
mov dword [esi + 0x48], ebx
lea ecx, [esi + 0x4c]
push edi
call fcn.004999a0
add esi, 0x54
mov ecx, esi
lea eax, [esp + 0x18]
push eax
call fcn.004999a0
lea esi, [esp + 0x20]
mov ecx, esi
push 0x102
push str.OpenDownload
push 0
call fcn.00455190
lea edi, [esp + 0x28]
lea ecx, [esp + 0x5c]
push 0x530978
push str.Connection_established:
call fcn.004147c0
mov ecx, edi
push dword [esp + 8]
call fcn.00414700
mov ecx, esi
call fcn.004553c0
mov bl, 1
jmp 0x49da59
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x550b80], 1
jmp 0x49dbd4
push str....._third_partylibc_srcinclude_string:2706:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
push 0x521354
call fcn.0044d640
int3