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

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x3c]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x50]
add edi, ebx
mov dword [esp + 0x10], ebx
cmp byte [esi + 0x20], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
je 0x49b339
pop edi
pop esi
pop ebp
mov eax, 0xfffffdf5
pop ebx
add esp, 0x2c
ret
push dword [esi + 0x5c]
call fcn.0049fa90
push dword [esi + 0x58]
call fcn.0049fa90
mov eax, dword [esp + 0x50]
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
mov dword [eax], ebp
add esp, 8
cmp ebx, edi
jne 0x49b364
test ebp, ebp
je 0x49b786
mov ecx, dword [esi + 0x78]
xor ebp, ebp
cmp ecx, 0xc
ja case.default.0x49b36e
jmp dword [ecx*4 + 0x49b91c]
mov al, byte [ebx]
and al, 0xe0
cmp al, 0x20
jne 0x49b7b3
mov dl, byte [ebx]
mov al, dl
and al, 0xe0
cmp al, 0x20
jne 0x49b3aa
cmp ecx, 2
je 0x49b7b3
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 3
mov dword [esi + 0x60], ebp
mov dword [esi + 0x70], ebp
jmp case.default.0x49b36e
test dl, dl
jns 0x49b3c4
mov dword [esi + 0x74], 1
mov dword [esi + 0x78], 4
mov dword [esi + 0x60], ebp
mov dword [esi + 0x70], ebp
jmp case.default.0x49b36e
cmp dl, 0x40
je 0x49b3dc
test dl, dl
je 0x49b3dc
cmp dl, 0x10
je 0x49b3dc
mov eax, 4
lea ecx, [eax - 1]
jmp 0x49b3e6
mov eax, 5
mov ecx, 2
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
movzx eax, byte [ebx]
shr al, 6
and al, 1
mov byte [esi + 0x7d], al
movzx eax, byte [ebx]
and al, 0xf0
cmp al, 0x10
sete al
mov byte [esi + 0x7e], al
cmp ecx, 2
jne 0x49b40a
inc ebx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x70], ebp
jmp case.default.0x49b36e
mov eax, dword [esi + 0x6c]
lea ecx, [esp + 0x40]
push 5
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
push ebx
push dword [esi + 0x70]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x70]
push dword [esi + 0x60]
mov dword [esp + 0x54], ebp
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00499880
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x49b7b3
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmovae eax, dword [esp + 0x18]
cmp ecx, eax
ja 0x49b7b3
mov dword [esi + 0x60], ecx
test edi, edi
js 0x49b7b8
add ebx, edi
cmp dword [esp + 0x40], ebp
je 0x49b8ff
push 0
push esi
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x18], ecx
call fcn.0049a280
mov edi, dword [esp + 0x54]
mov dword [esi + 0x78], 1
jmp 0x49b355
cmp dword [esi + 0x74], 1
jne 0x49b4b1
mov ecx, 7
jmp 0x49b4c0
xor ecx, ecx
cmp byte [esi + 0x7d], cl
setne cl
lea ecx, [ecx*2 + 4]
mov eax, dword [esi + 0xc]
push ecx
push edi
add eax, 0x3d
mov dword [esp + 0x48], ebp
push ebx
push dword [esi + 0x70]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x50]
push dword [esi + 0x60]
lea eax, [esi + 0x70]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00499880
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x49b7b3
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
ja 0x49b7b3
mov dword [esi + 0x60], eax
test edi, edi
js 0x49b7b8
add ebx, edi
cmp dword [esp + 0x40], ebp
je 0x49b8ff
test eax, eax
je 0x49b7b3
cmp dword [esi + 0x74], 1
je 0x49b7c6
mov edi, dword [esp + 0x4c]
dec eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x78], 9
jmp case.default.0x49b36e
mov al, byte [ebx]
shr al, 7
mov byte [esi + 0x7c], al
mov dword [esi + 0x78], 6
mov dword [esi + 0x60], ebp
mov dword [esi + 0x70], ebp
push 7
push edi
push ebx
push dword [esi + 0x70]
lea eax, [esi + 0x70]
mov dword [esp + 0x50], ebp
push dword [esi + 0x60]
lea ecx, [esp + 0x54]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00499880
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x49b7b3
mov eax, dword [esp + 0x24]
cmp eax, 0x10000
ja 0x49b7b3
mov dword [esi + 0x60], eax
test edi, edi
js 0x49b7b8
add ebx, edi
cmp dword [esp + 0x40], ebp
je 0x49b8ff
cmp byte [esi + 0x7c], 0
lea edi, [esi + 0x50]
je 0x49b5ce
lea eax, [esi + 0x24]
push eax
call fcn.0049fcb0
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 7
jmp 0x49b5d3
mov ecx, 8
push dword [esp + 0x50]
inc eax
mov dword [esi + 0x78], ecx
push eax
push edi
call fcn.0049faf0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x49b7b8
mov eax, dword [esi + 0x50]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x28]
push eax
call fcn.0049c250
mov edi, dword [esp + 0x58]
add esp, 0xc
jmp case.default.0x49b36e
mov ecx, dword [esi + 0x60]
mov edx, edi
sub edx, ebx
cmp edx, ecx
sbb eax, eax
inc eax
cmp edx, ecx
push eax
lea eax, [ecx + ebx]
cmovb eax, edi
sub eax, ebx
push eax
push ebx
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.0049fbd0
mov edi, eax
add esp, 0x14
test edi, edi
js 0x49b7b8
lea eax, [esi + 0x24]
push eax
call fcn.0049fcc0
add esp, 4
test eax, eax
jne 0x49b7b3
sub dword [esi + 0x60], edi
add ebx, edi
cmp dword [esi + 0x60], ebp
jne 0x49b8ff
mov eax, dword [esi + 0x34]
mov byte [eax], 0
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x50]
sub ecx, dword [esi + 0x30]
mov edi, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x78], 9
jmp case.default.0x49b36e
sub edi, ebx
cmp edi, dword [esi + 0x60]
cmovae edi, dword [esi + 0x60]
push edi
push ebx
push dword [esi + 0x34]
call fcn.00499120
mov ecx, eax
add esp, 0xc
mov dword [esi + 0x34], ecx
mov eax, dword [esi + 0x60]
sub eax, edi
mov dword [esi + 0x60], eax
test edi, edi
js 0x49b7b8
add ebx, edi
test eax, eax
jne 0x49b8ff
mov byte [ecx], al
jmp 0x49b668
mov al, byte [ebx]
shr al, 7
mov byte [esi + 0x7c], al
mov dword [esi + 0x78], 0xa
mov dword [esi + 0x60], ebp
mov dword [esi + 0x70], ebp
push 7
push edi
push ebx
push dword [esi + 0x70]
lea eax, [esi + 0x70]
mov dword [esp + 0x50], ebp
push dword [esi + 0x60]
lea ecx, [esp + 0x54]
push ecx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00499880
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x49b7b3
mov eax, dword [esp + 0x28]
cmp eax, 0x10000
ja 0x49b7b3
mov dword [esi + 0x60], eax
test edi, edi
js 0x49b7b8
add ebx, edi
cmp dword [esp + 0x40], ebp
je 0x49b8ff
cmp byte [esi + 0x7c], 0
lea ebp, [esi + 0x54]
je 0x49b748
lea eax, [esi + 0x24]
push eax
call fcn.0049fcb0
mov eax, dword [esi + 0x60]
add esp, 4
add eax, eax
mov ecx, 0xb
jmp 0x49b74d
mov ecx, 0xc
push dword [esp + 0x50]
inc eax
mov dword [esi + 0x78], ecx
push eax
push ebp
call fcn.0049faf0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x49b7b8
mov eax, dword [ebp]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [esi + 0x3c]
push eax
call fcn.0049c250
lea ebp, [edi + 1]
add esp, 0xc
mov edi, dword [esp + 0x4c]
jmp case.default.0x49b36e
cmp dword [esp + 0x54], 0
je 0x49b86a
mov eax, dword [esi + 0x78]
cmp eax, 2
je 0x49b79e
cmp eax, 1
jne 0x49b7b3
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
or dword [ecx], 1
sub ebx, dword [esp + 4]
mov eax, ebx
pop ebx
add esp, 0x2c
ret
mov edi, 0xfffffdf5
mov eax, edi
mov byte [esi + 0x20], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
lea edi, [eax - 1]
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0xc]
add eax, 0x3d
cmp edi, eax
jb 0x49b7ed
push 0x516
push str.C:Program_Files_vcpkg_buildtrees_nghttp2_src_v1.59.0_5cff2b10cc.cleanlib_nghttp2_hd.c
push str.INDEX_RANGE_VALID_context__idx_
call fcn.004df729
add esp, 0xc
cmp edi, 0x3d
jb 0x49b823
add edi, 0xffffffc3
cmp edi, dword [esi + 0xc]
jb 0x49b811
push 0x262
push str.C:Program_Files_vcpkg_buildtrees_nghttp2_src_v1.59.0_5cff2b10cc.cleanlib_nghttp2_hd.c
push str.idx___ringbuf__len
call fcn.004df729
add esp, 0xc
mov ecx, dword [esi + 8]
mov eax, dword [esi]
add ecx, edi
and ecx, dword [esi + 4]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax]
jmp 0x49b855
mov ecx, edi
mov byte [esp + 0x38], 0
shl ecx, 4
add ecx, edi
lea eax, [ecx*4 + 0x51a120]
mov dword [esp + 0x2c], eax
lea eax, [ecx*4 + 0x51a134]
mov dword [esp + 0x30], eax
mov eax, dword [ecx*4 + 0x51a15c]
mov dword [esp + 0x34], eax
movups xmm0, xmmword [esp + 0x2c]
mov eax, dword [esp + 0x44]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x48]
mov dword [esi + 0x78], 2
or dword [eax], 2
sub ebx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x2c
ret
push edi
push ebx
lea eax, [esi + 0x3c]
push eax
push esi
call fcn.0049a480
mov edi, eax
add esp, 0x10
test edi, edi
js 0x49b7b8
add ebx, edi
cmp dword [esi + 0x60], ebp
jne 0x49b8ff
mov eax, dword [esi + 0x48]
push dword [esp + 0x44]
mov byte [eax], 0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x54]
sub ecx, dword [esi + 0x44]
push esi
mov dword [eax + 0xc], ecx
cmp dword [esi + 0x74], 2
jne 0x49b8bc
call fcn.0049a400
jmp 0x49b8c1
call fcn.0049a370
mov edi, eax
add esp, 8
test edi, edi
jne 0x49b7b8
jmp 0x49b85c
sub edi, ebx
cmp edi, dword [esi + 0x60]
cmovae edi, dword [esi + 0x60]
push edi
push ebx
push dword [esi + 0x48]
call fcn.00499120
mov dword [esi + 0x48], eax
add esp, 0xc
mov ecx, dword [esi + 0x60]
sub ecx, edi
mov dword [esi + 0x60], ecx
test edi, edi
js 0x49b7b8
add ebx, edi
test ecx, ecx
je 0x49b89b
cmp dword [esp + 0x54], ebp
je 0x49b86a
mov edi, 0xfffffdf5
mov byte [esi + 0x20], 1
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret