Function at 0x49ef30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x264
mov eax, dword [0x509040]
xor eax, esp
mov dword [esp + 0x260], eax
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x274]
push ebx
movzx ebx, word [esp + 0x280]
push ebp
mov ebp, dword [esp + 0x270]
push esi
mov esi, dword [esp + 0x278]
push edi
mov edi, dword [esp + 0x288]
push 0x1ff
mov dword [esp + 0x18], eax
lea eax, [esp + 0x75]
push 0
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x7c], 0
call sub.VCRUNTIME140.dll_memset
movzx eax, bx
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x50]
push 0xa
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x58], 0
push eax
movq qword [esp + 0x5d], xmm0
mov byte [esp + 0x65], 0
mov dword [esp + 0x48], 0
call fcn.0049faa0
add esp, 0x18
test eax, eax
je 0x49efee
push str.Excessive_alt_svc_header__ignoring.
push ebp
call fcn.0049ccf0
add esp, 8
jmp 0x49f47e
lea eax, [esp + 0x44]
push str.clear
push eax
call fcn.004a07b0
add esp, 8
test eax, eax
je 0x49f018
push ebx
push edi
push dword [esp + 0x30]
push esi
call fcn.0049f730
add esp, 0x10
jmp 0x49f47e
mov esi, dword [esp + 0x14]
cmp byte [esi], 0x3d
jne 0x49f47e
lea eax, [esp + 0x44]
push 0x4e323c
push eax
call fcn.004a07b0
add esp, 8
test eax, eax
je 0x49f046
mov eax, 8
mov dword [esp + 0x24], eax
jmp 0x49f08a
lea eax, [esp + 0x44]
push 0x4e3240
push eax
call fcn.004a07b0
add esp, 8
test eax, eax
je 0x49f067
mov eax, 0x10
mov dword [esp + 0x24], eax
jmp 0x49f08a
lea eax, [esp + 0x44]
push 0x4e3244
push eax
call fcn.004a07b0
add esp, 8
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, 0x20
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x1c]
cmp byte [esi + 1], 0x22
jne 0x49f47e
mov ecx, 0x15180
mov dword [esp + 0x20], 0x4ee7f6
mov dword [esp + 0x3c], ecx
xor al, al
lea ecx, [esi + 2]
mov byte [esp + 0x13], al
mov esi, ecx
mov byte [esp + 0x12], 1
xor bl, bl
mov al, byte [esi]
cmp al, 0x3a
je 0x49f12a
test al, al
je 0x49f0e9
cmp al, 0x30
jl 0x49f0c9
cmp al, 0x39
jle 0x49f0e1
cmp al, 0x61
jl 0x49f0d1
cmp al, 0x7a
jle 0x49f0e1
cmp al, 0x41
jl 0x49f0d9
cmp al, 0x5a
jle 0x49f0e1
cmp al, 0x2e
je 0x49f0e1
cmp al, 0x2d
jne 0x49f0e9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x49f0c1
mov edi, esi
sub edi, ecx
je 0x49f115
cmp edi, 0x200
jae 0x49f115
push edi
push ecx
lea eax, [esp + 0x78]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x7c]
mov byte [esp + edi + 0x7c], 0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x49f12e
push str.Excessive_alt_svc_host_name__ignoring.
push ebp
call fcn.0049ccf0
add esp, 8
mov byte [esp + 0x12], 0
jmp 0x49f12e
mov dword [esp + 0x20], edi
cmp byte [esi], 0x3a
jne 0x49f194
mov al, byte [esi + 1]
inc esi
cmp al, 0x30
jl 0x49f17d
cmp al, 0x39
jg 0x49f17d
push 0xa
lea eax, [esp + 0x1c]
push eax
push esi
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
add esp, 0xc
test eax, eax
je 0x49f181
cmp eax, 0xffff
ja 0x49f181
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x49f181
cmp byte [ecx], 0x22
jne 0x49f181
push eax
call fcn.0049e7c0
mov esi, dword [esp + 0x1c]
add esp, 4
movzx eax, ax
mov dword [esp + 0x34], eax
jmp 0x49f194
mov dword [esp + 0x18], esi
push str.Unknown_alt_svc_port_number__ignoring.
push ebp
call fcn.0049ccf0
add esp, 8
mov byte [esp + 0x12], 0
mov al, byte [esi]
inc esi
cmp al, 0x22
jne 0x49f47e
nop
mov byte [esp + 0x11], bl
mov al, byte [esi]
cmp al, 0x20
je 0x49f1ae
cmp al, 9
jne 0x49f1b1
inc esi
jmp 0x49f1a4
cmp al, 0x3b
jne 0x49f356
mov al, byte [esi + 1]
inc esi
mov dword [esp + 0x14], esi
test al, al
je 0x49f356
cmp al, 0xa
je 0x49f356
cmp al, 0xd
je 0x49f356
push 0x20
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0049faa0
movzx ecx, byte [esp + 0x5c]
xor edx, edx
mov esi, dword [esp + 0x20]
add esp, 0xc
test eax, eax
cmovne ecx, edx
mov byte [esp + 0x50], cl
mov cl, byte [esi]
test cl, cl
je 0x49f224
mov al, cl
nop dword [eax]
cmp al, 0x20
je 0x49f21a
mov cl, al
cmp al, 9
jne 0x49f224
mov cl, byte [esi + 1]
inc esi
mov al, cl
test al, al
jne 0x49f210
cmp cl, 0x3d
jne 0x49f47e
mov cl, byte [esi + 1]
inc esi
mov edx, esi
test cl, cl
je 0x49f47e
mov al, cl
mov edi, esi
mov ebx, esi
mov ebp, esi
cmp al, 0x20
je 0x49f251
mov edi, ebx
mov cl, al
mov edx, ebp
cmp al, 9
jne 0x49f265
mov cl, byte [edi + 1]
lea esi, [edi + 1]
mov al, cl
mov edi, esi
mov ebx, esi
mov ebp, esi
mov edx, esi
test al, al
jne 0x49f243
test cl, cl
je 0x49f47e
cmp cl, 0x22
jne 0x49f27c
inc esi
mov byte [esp + 0x11], 1
mov ebx, esi
jmp 0x49f28a
mov cl, byte [esp + 0x11]
mov ebx, edx
mov byte [esp + 0x11], cl
test cl, cl
je 0x49f2b5
mov cl, byte [esi]
mov esi, ebx
test cl, cl
je 0x49f2aa
mov al, cl
mov edx, ebx
mov cl, al
cmp al, 0x22
je 0x49f2aa
mov cl, byte [edx + 1]
lea esi, [edx + 1]
mov al, cl
mov edx, esi
test al, al
jne 0x49f296
inc esi
test cl, cl
je 0x49f47e
jmp 0x49f2dd
mov al, byte [esi]
mov ebx, edx
mov byte [esp + 0x11], cl
test al, al
je 0x49f2dd
mov byte [esp + 0x11], cl
cmp al, 0x20
je 0x49f2dd
cmp al, 9
je 0x49f2dd
cmp al, 0x3b
je 0x49f2dd
cmp al, 0x2c
je 0x49f2dd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x49f2c5
push 0xa
lea eax, [esp + 0x1c]
push eax
push ebx
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x18], ebx
mov bl, byte [esp + 0x11]
je 0x49f1a0
cmp edi, 0xffffffff
jae 0x49f1a0
lea eax, [esp + 0x50]
push eax
push 0x4e33a4
call fcn.004a07b0
add esp, 8
test eax, eax
je 0x49f325
mov dword [esp + 0x3c], edi
jmp 0x49f1a0
lea eax, [esp + 0x50]
push eax
push str.persist
call fcn.004a07b0
mov bl, byte [esp + 0x19]
add esp, 8
test eax, eax
je 0x49f1a0
cmp edi, 1
jne 0x49f1a0
mov byte [esp + 0x13], 1
jmp 0x49f1a0
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x49f436
cmp byte [esp + 0x12], 0
je 0x49f436
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov edi, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x49f395
push dword [esp + 0x38]
push edi
push dword [esp + 0x30]
push dword [esp + 0x4c]
call fcn.0049f730
add esp, 0x10
mov eax, dword [esp + 0x34]
movzx ebx, ax
mov eax, dword [esp + 0x38]
push ebx
movzx eax, ax
push eax
push ebp
push dword [esp + 0x34]
push dword [esp + 0x30]
push edi
call fcn.0049f680
mov edi, eax
add esp, 0x18
test edi, edi
je 0x49f436
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
add eax, dword [esp + 0x40]
mov dword [edi + 0x18], eax
mov al, byte [esp + 0x17]
adc edx, 0
mov byte [edi + 0x20], al
lea eax, [edi + 0x28]
push eax
mov eax, dword [esp + 0x48]
push edi
mov dword [edi + 0x1c], edx
push dword [eax + 8]
add eax, 4
push eax
call fcn.004a3140
add esp, 0x14
cmp ebp, 8
je 0x49f417
cmp ebp, 0x10
je 0x49f410
cmp ebp, 0x20
mov eax, 0x4ee7f6
mov ecx, 0x4e3244
cmove eax, ecx
jmp 0x49f41c
mov eax, 0x4e3240
jmp 0x49f41c
mov eax, 0x4e323c
mov ebp, dword [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x28]
push str.Added_alt_svc:__s:_d_over__s
push ebp
call fcn.0049ccf0
add esp, 0x14
jmp 0x49f43a
mov ebp, dword [esp + 0x1c]
cmp byte [esi], 0x2c
jne 0x49f460
push 0xa
lea eax, [esp + 0x48]
inc esi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.0049faa0
add esp, 0xc
test eax, eax
jne 0x49f47e
mov esi, dword [esp + 0x14]
mov al, byte [esi]
test al, al
je 0x49f47e
cmp al, 0x3b
je 0x49f47e
cmp al, 0xa
je 0x49f47e
cmp al, 0xd
je 0x49f47e
mov edi, dword [esp + 0x2c]
cmp al, 0x3d
je 0x49f025
mov ecx, dword [esp + 0x270]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004870f9
add esp, 0x264
ret