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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x5bfd00]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
push 0x100000
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
push 0
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
call fcn.004f8d70
lea eax, [esp + 0x20]
push eax
push edi
push ebx
call fcn.004c7680
mov ebx, dword [esp + 0x2c]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4c6df2
or ebp, 0xffffffff
jmp 0x4c710a
push esi
push 0
push 0
push dword [esp + 0x8c]
lea eax, [ebx + 0x44]
push ebp
push eax
call fcn.005090e0
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x24], ebp
test ebp, ebp
js 0x4c710a
cmp byte [ebx + 0x68], 0
je 0x4c710a
push edi
push dword [ebx + 0x44]
lea eax, [esp + 0x48]
push eax
call fcn.004c0660
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x4c6e42
or ebp, 0xffffffff
jmp 0x4c710a
lea eax, [ebx + 0x44]
push eax
call fcn.00509080
lea eax, [esp + 0x44]
push eax
call fcn.004f8a90
mov esi, eax
mov dword [esp + 0x30], esi
lea ecx, [esi + esi*4]
shl ecx, 2
push ecx
call dword [0x5bf140]
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4c6e85
mov esi, dword [esp + 0x1c]
or ebp, 0xffffffff
mov dword [esi], 0x1b
jmp 0x4c710a
test esi, esi
je 0x4c6ecf
mov ebx, dword [esp + 0x28]
lea esi, [eax + 4]
xor ebp, ebp
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.004f8b50
inc ebp
lea esi, [esi + 0x14]
add esp, 8
mov ecx, dword [eax]
mov dword [esi - 0x18], ecx
mov ecx, dword [eax + 8]
mov dword [esi - 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi - 0x14], ecx
mov eax, dword [eax + 0xc]
mov dword [esi - 0xc], eax
mov byte [esi - 8], 0
cmp ebp, ebx
jb 0x4c6e92
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.004c68f0
mov eax, dword [esp + 0x18]
push dword [eax]
call fcn.004fd290
add esp, 0xc
test eax, eax
jne 0x4c6efe
push str.send_request_NOT_allowed__via_nghttp2_
push dword [esp + 0x30]
push edi
call fcn.004af8c0
add esp, 0xc
movzx eax, byte [edi + 0xd8e]
dec eax
cmp eax, 3
ja case.default.0x4c6f0b
jmp dword [eax*4 + 0x4c7160]
mov ecx, dword [edi + 0xca0]
mov eax, ecx
mov edx, dword [edi + 0xca4]
and eax, edx
cmp eax, 0xffffffff
je 0x4c6f35
mov dword [ebx + 0x90], ecx
mov dword [ebx + 0x94], edx
jmp 0x4c6f49
mov dword [ebx + 0x90], 0xffffffff
mov dword [ebx + 0x94], 0xffffffff
mov dword [esp + 0x3c], 0x4c8bf0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
jmp 0x4c6f75
mov dword [ebx + 0x90], 0
xor eax, eax
mov dword [ebx + 0x94], 0
push edi
push eax
push esi
push dword [esp + 0x2c]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
call fcn.005074a0
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
jns 0x4c6fc6
push eax
push eax
call fcn.00507ec0
add esp, 4
push eax
push str.send:_nghttp2_submit_request_error___s__u
push dword [esp + 0x38]
push edi
call fcn.004af8c0
mov esi, dword [esp + 0x30]
add esp, 0x14
or ebp, 0xffffffff
mov dword [esi], 0x37
jmp 0x4c710a
cmp byte [edi + 0x6e3], 0
je 0x4c7057
push dword [edi + 0xce4]
mov dword [esp + 0x14], 0
push eax
push str._HTTP_2____d__OPENED_stream_for__s
push edi
call fcn.004af830
add esp, 0x10
test esi, esi
je 0x4c7053
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
add esi, 8
mov ebp, dword [esp + 0x18]
push dword [esi - 4]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push dword [esi - 8]
push edx
push ebp
lea eax, [ecx + edx]
add dword [esp + 0x24], eax
push str._HTTP_2____d____.s:__.s_
push edi
call fcn.004af830
add esp, 0x1c
lea esi, [esi + 0x14]
sub ebx, 1
jne 0x4c7003
cmp dword [esp + 0x10], 0xea60
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
jbe 0x4c7053
push 0xea60
push str._HTTP_2__Warning:_The_cumulative_length_of_all_headers_exceeds__d_bytes_and_that_could_cause_the_stream_to_be_rejected.
push edi
call fcn.004af830
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov dword [ebx + 0xac], 0xa00000
mov ecx, dword [edi + 0x228]
mov eax, ecx
mov edx, dword [edi + 0x22c]
or eax, edx
je 0x4c70d5
sub ecx, 1
push 0
push 0x4000
sbb edx, 0
push edx
push ecx
call fcn.00563e90
mov esi, eax
mov eax, edx
add esi, 1
adc eax, 0
mov dword [esp + 0x24], eax
js 0x4c70b3
jg 0x4c70a0
cmp esi, 4
jb 0x4c70b3
push 0
push 2
push eax
push esi
call fcn.00563e90
mov ecx, eax
mov eax, dword [esp + 0x24]
jmp 0x4c70ba
mov ecx, 1
xor edx, edx
add esi, ecx
adc eax, edx
test eax, eax
jg 0x4c70d5
jl 0x4c70cc
cmp esi, 0x280
jae 0x4c70d5
shl esi, 0xe
mov dword [ebx + 0xac], esi
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x1c]
sub eax, ebp
je 0x4c710a
push esi
push eax
mov eax, dword [esp + 0x38]
add eax, ebp
push eax
lea eax, [ebx + 0x24]
push eax
call fcn.005087f0
add esp, 0x10
test eax, eax
jns 0x4c7108
mov dword [esi], 0x37
or ebp, 0xffffffff
jmp 0x4c710a
add ebp, eax
test ebx, ebx
je 0x4c7112
mov eax, dword [ebx]
jmp 0x4c7115
or eax, 0xffffffff
push dword [esi]
push ebp
push eax
push str.__d__submit_____zd___d
push dword [esp + 0x3c]
push edi
call fcn.004af8c0
push dword [esp + 0x38]
call dword [0x5bf144]
mov eax, dword [esp + 0x50]
mov dword [eax], ebx
lea eax, [esp + 0x5c]
push eax
call fcn.004f8aa0
mov ecx, dword [esp + 0x88]
add esp, 0x20
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00563360
add esp, 0x5c
ret