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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x13], 0
mov eax, dword [edi + 0x1e8]
test byte [eax + 0x44], 3
je 0x4a7af8
cmp byte [edi + 0x1d6], 0
je 0x4a7ada
cmp byte [edi + 0x1ce], 0
jne 0x4a7af8
push dword [ebx + 0x7c]
call fcn.0049a680
add esp, 4
test al, al
je 0x4a7af8
cmp byte [ebx + 0xd8c], 3
mov eax, 2
cmovae esi, eax
test esi, esi
setne byte [esp + 0x28]
test byte [ebx + 0x980], 0x28
je 0x4a7b19
mov eax, dword [edi + 0x1e8]
mov byte [esp + 0x11], 1
test byte [eax + 0x44], 3
jne 0x4a7b1e
mov byte [esp + 0x11], 0
cmp byte [edi + 0x1ca], 0
je 0x4a7b43
test byte [ebx + 0x990], 0x28
je 0x4a7b43
mov eax, dword [edi + 0x1e8]
test byte [eax + 0x44], 3
je 0x4a7b43
mov byte [esp + 0x24], 1
jmp 0x4a7b49
xor al, al
mov byte [esp + 0x24], al
cmp byte [ebx + 0xd8c], 3
jne 0x4a7b63
mov eax, dword [edi + 0x1e8]
mov byte [esp + 0x12], 1
test byte [eax + 0x44], 1
jne 0x4a7b68
mov byte [esp + 0x12], 0
mov eax, dword [esp + 0x30]
mov byte [eax], 0
mov eax, dword [esp + 0x34]
mov byte [eax], 0
push dword [ebx + 0x898]
push edi
push ebx
call fcn.004a47d0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a8353
cmp dword [eax], 2
mov edx, str.serially
mov ecx, str.can_multiplex
cmovne ecx, edx
push ecx
push eax
push str.Found_bundle_for_host:__p___s_
push ebx
call fcn.004af830
add esp, 0x10
test esi, esi
mov esi, dword [esp + 0x18]
je 0x4a7c53
cmp dword [esi], ebp
jne 0x4a7c14
cmp byte [ebx + 0x6f3], 0
je 0x4a7c01
push str.Server_doesnt_support_multiplex_yet__wait
push ebx
call fcn.004af830
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax], 1
cmp dword [ebx + 0x84], ebp
je 0x4a8407
push 5
push ebx
call fcn.004b5d00
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Server_doesnt_support_multiplex__yet_
push ebx
call fcn.004af830
add esp, 8
mov byte [esp + 0x28], 0
cmp dword [esi], 2
jne 0x4a7c3b
push dword [ebx + 0x7c]
call fcn.0049a680
add esp, 4
test al, al
jne 0x4a7c3b
push str.Could_multiplex__but_not_asked_to
push ebx
call fcn.004af830
add esp, 8
mov byte [esp + 0x28], 0
cmp dword [esi], 0xffffffff
jne 0x4a7c53
push str.Can_not_multiplex__even_if_we_wanted_to
push ebx
call fcn.004af830
add esp, 8
mov byte [esp + 0x28], 0
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4a8353
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov esi, dword [esi]
mov eax, dword [eax + 8]
cmp byte [esi + 0x45a], 0
mov dword [esp + 0x1c], eax
jne 0x4a82f4
cmp byte [esi + 0x1ce], 0
jne 0x4a82f4
push ebx
push esi
call fcn.004aae30
add esp, 8
test al, al
je 0x4a7ca7
push 1
push esi
push ebx
call fcn.004a8b70
jmp 0x4a82f1
mov al, byte [ebx + 0x4c0]
test al, al
je 0x4a7cbd
cmp al, byte [esi + 0x458]
jne 0x4a82f4
mov eax, dword [esp + 0x18]
cmp dword [eax], 2
jne 0x4a7ccc
mov ebp, dword [esi + 0x248]
cmp byte [esp + 0x28], 0
jne 0x4a7ce8
test ebp, ebp
jne 0x4a82f4
cmp byte [esi + 0xb0], 0
je 0x4a82f4
push 0
push esi
call fcn.004af3d0
add esp, 8
test al, al
jne 0x4a7d15
push dword [esi + 0x3c]
mov byte [esp + 0x17], 1
push dword [esi + 0x38]
push str.Connection__I64d_isnt_open_enough__cant_reuse
push ebx
call fcn.004af830
add esp, 0x10
jmp 0x4a82f4
mov ecx, dword [edi + 0x42c]
mov eax, dword [esi + 0x42c]
test ecx, ecx
je 0x4a7d6b
test eax, eax
je 0x4a82f4
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4a7d50
test dl, dl
je 0x4a7d4c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4a7d50
add ecx, 2
add eax, 2
test dl, dl
jne 0x4a7d30
xor eax, eax
jmp 0x4a7d55
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a82f4
mov al, byte [edi + 0x1e3]
cmp al, byte [esi + 0x1e3]
jmp 0x4a7d6d
test eax, eax
jne 0x4a82f4
mov edx, dword [edi + 0x1e8]
mov ecx, dword [esi + 0x1e8]
mov eax, dword [edx + 0x4c]
xor eax, dword [ecx + 0x4c]
test al, 1
je 0x4a7da2
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x44]
jne 0x4a82f4
cmp byte [esi + 0x1e4], 0
je 0x4a82f4
mov al, byte [edi + 0x1c8]
cmp al, byte [esi + 0x1c8]
jne 0x4a82f4
mov al, byte [edi + 0x1c9]
cmp al, byte [esi + 0x1c9]
jne 0x4a82f4
test al, al
je 0x4a7e3c
mov al, byte [edi + 0x84]
cmp al, byte [esi + 0x84]
jne 0x4a82f4
mov eax, dword [edi + 0x80]
cmp eax, dword [esi + 0x80]
jne 0x4a82f4
push dword [esi + 0x78]
push dword [edi + 0x78]
call fcn.004b4d60
add esp, 8
test eax, eax
je 0x4a82f4
push dword [esi + 0x88]
push dword [edi + 0x88]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
push dword [esi + 0x8c]
push dword [edi + 0x8c]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
mov al, byte [edi + 0x1d1]
cmp al, byte [esi + 0x1d1]
jne 0x4a82f4
mov al, byte [edi + 0x1d2]
cmp al, byte [esi + 0x1d2]
jne 0x4a82f4
cmp byte [edi + 0x1c8], 0
je 0x4a7f12
mov al, byte [edi + 0xa4]
cmp al, byte [esi + 0xa4]
jne 0x4a82f4
mov eax, dword [edi + 0xa0]
cmp eax, dword [esi + 0xa0]
jne 0x4a82f4
push dword [esi + 0x98]
push dword [edi + 0x98]
call fcn.004b4d60
add esp, 8
test eax, eax
je 0x4a82f4
mov al, byte [edi + 0x1cb]
cmp al, byte [esi + 0x1cb]
jne 0x4a82f4
mov al, byte [edi + 0xa4]
cmp al, 2
je 0x4a7ecd
cmp al, 3
jne 0x4a7f12
cmp al, byte [esi + 0xa4]
jne 0x4a82f4
mov eax, dword [edi + 0x1e8]
test byte [eax + 0x4c], 1
je 0x4a7ef4
lea eax, [esi + 0x188]
push eax
lea eax, [edi + 0x188]
jmp 0x4a7f01
lea eax, [esi + 0x148]
push eax
lea eax, [edi + 0x148]
push eax
call fcn.004a68d0
add esp, 8
test al, al
je 0x4a82f4
cmp byte [esp + 0x12], 0
je 0x4a7f49
cmp byte [esi + 0x459], 0
jne 0x4a7f49
cmp byte [esp + 0x28], 0
je 0x4a7f50
cmp byte [ebx + 0x6f3], 0
jne 0x4a8385
push str.Server_upgrade_cannot_be_used
push ebx
call fcn.004af830
add esp, 8
jmp 0x4a82f4
cmp byte [esp + 0x28], 0
jne 0x4a7f59
cmp dword [esi + 0x248], 0
jmp 0x4a7f70
cmp dword [esi + 0x248], 0
je 0x4a7f76
mov eax, dword [esi + 0x23c]
mov eax, dword [eax]
mov eax, dword [eax + 0x7c]
cmp eax, dword [ebx + 0x7c]
jne 0x4a82f4
mov ecx, dword [edi + 0x430]
test ecx, ecx
jne 0x4a7f89
cmp word [edi + 0x450], cx
je 0x4a7ff0
mov ax, word [esi + 0x450]
cmp ax, word [edi + 0x450]
jne 0x4a82f4
mov ax, word [esi + 0x434]
cmp ax, word [edi + 0x434]
jne 0x4a82f4
test ecx, ecx
je 0x4a7ff0
mov eax, dword [esi + 0x430]
test eax, eax
je 0x4a82f4
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a7fe3
test dl, dl
je 0x4a7fdf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a7fe3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a7fc3
xor eax, eax
jmp 0x4a7fe8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a82f4
mov eax, dword [edi + 0x1e8]
test byte [eax + 0x4c], 0x80
jne 0x4a806c
push dword [esi + 0xe0]
push dword [edi + 0xe0]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
push dword [esi + 0xe4]
push dword [edi + 0xe4]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
push dword [esi + 0xec]
push dword [edi + 0xec]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
push dword [esi + 0xf0]
push dword [edi + 0xf0]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
mov al, byte [edi + 0x45b]
cmp al, byte [esi + 0x45b]
jne 0x4a82f4
mov ecx, dword [edi + 0x1e8]
test byte [ecx + 0x44], 3
je 0x4a80b2
mov al, byte [esi + 0x459]
cmp al, 0x14
jb 0x4a80a1
cmp byte [ebx + 0xd8c], 3
jb 0x4a82f4
cmp al, 0x1e
jb 0x4a80b2
cmp byte [ebx + 0xd8c], 0x1e
jb 0x4a82f4
test byte [ecx + 0x48], 0xc
je 0x4a8114
push dword [esi + 0x3d0]
push dword [edi + 0x3d0]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
push dword [esi + 0x3d4]
push dword [edi + 0x3d4]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
mov al, byte [edi + 0x420]
cmp al, byte [esi + 0x420]
jne 0x4a82f4
mov al, byte [edi + 0x421]
cmp al, byte [esi + 0x421]
jne 0x4a82f4
mov ecx, dword [edi + 0x1e8]
test byte [ecx + 0x4c], 1
jne 0x4a8136
cmp byte [edi + 0x1c8], 0
je 0x4a8136
cmp byte [edi + 0x1cb], 0
je 0x4a81fd
mov eax, dword [esi + 0x1e8]
push dword [eax]
push dword [ecx]
call fcn.004b4d60
add esp, 8
test eax, eax
jne 0x4a8171
mov eax, dword [esi + 0x1e8]
mov ecx, dword [edi + 0x1e8]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x44]
jne 0x4a82f4
cmp byte [esi + 0x1e4], 0
je 0x4a82f4
cmp byte [edi + 0x1d1], 0
je 0x4a8190
push dword [esi + 0x68]
push dword [edi + 0x68]
call fcn.004b4d60
add esp, 8
test eax, eax
je 0x4a82f4
cmp byte [edi + 0x1d2], 0
je 0x4a81ab
mov eax, dword [edi + 0x448]
cmp eax, dword [esi + 0x448]
jne 0x4a82f4
push dword [esi + 0x50]
push dword [edi + 0x50]
call fcn.004b4d60
add esp, 8
test eax, eax
je 0x4a82f4
mov eax, dword [edi + 0x444]
cmp eax, dword [esi + 0x444]
jne 0x4a82f4
mov eax, dword [edi + 0x1e8]
test byte [eax + 0x4c], 1
je 0x4a81fd
lea eax, [esi + 0x148]
push eax
lea eax, [edi + 0x148]
push eax
call fcn.004a68d0
add esp, 8
test al, al
je 0x4a82f4
cmp byte [esp + 0x11], 0
je 0x4a824c
push dword [esi + 0xe0]
push dword [edi + 0xe0]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a8234
push dword [esi + 0xe4]
push dword [edi + 0xe4]
call fcn.004b4cb0
add esp, 8
test eax, eax
je 0x4a8259
cmp dword [esi + 0x258], 0
jne 0x4a82f4
mov ebp, esi
mov dword [esp + 0x14], ebp
jmp 0x4a82f8
cmp dword [esi + 0x258], 0
jne 0x4a82f4
mov al, byte [esp + 0x24]
test al, al
je 0x4a8306
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4a82f4
cmp dword [esi + 0xac], 0
je 0x4a82f4
push eax
push dword [edi + 0xa8]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
push dword [esi + 0xac]
push dword [edi + 0xac]
call fcn.004b4cb0
add esp, 8
test eax, eax
jne 0x4a82f4
mov al, byte [esp + 0x24]
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x4a832c
test al, al
jne 0x4a832c
cmp byte [esp + 0x28], al
je 0x4a83ca
test ebp, ebp
je 0x4a83ca
cmp byte [esi + 0x1df], al
je 0x4a83b8
push 0
push esi
push ebx
call fcn.004af2a0
add esp, 0xc
cmp ebp, eax
jb 0x4a8311
push ebp
push str.MAX_CONCURRENT_STREAMS_reached__skip___zu_
push ebx
call fcn.004af830
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x4a7c62
jmp 0x4a8353
cmp dword [esi + 0x25c], 0
jne 0x4a82f4
jmp 0x4a82ab
push dword [ebx + 0x7c]
call fcn.0049a630
add esp, 4
cmp ebp, eax
jb 0x4a83b8
push ebp
push str.client_side_MAX_CONCURRENT_STREAMS_reached__skip___zu_
jmp 0x4a82eb
mov ebp, esi
mov dword [esp + 0x14], ebp
test cl, cl
je 0x4a833f
cmp dword [esi + 0x258], 0
jne 0x4a834c
test al, al
je 0x4a82f8
cmp dword [esi + 0x25c], 0
je 0x4a82f8
mov eax, dword [esp + 0x30]
mov byte [eax], 1
test ebp, ebp
je 0x4a83ce
push ebp
push ebx
call fcn.0049a050
add esp, 8
cmp dword [ebx + 0x84], 0
je 0x4a8375
push 5
push ebx
call fcn.004b5d00
add esp, 8
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [eax], ebp
mov al, 1
pop ebp
pop ebx
add esp, 0x10
ret
push str.Server_upgrade_doesnt_support_multiplex_yet__wait
push ebx
call fcn.004af830
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax], 1
cmp dword [ebx + 0x84], 0
je 0x4a8407
push 5
push ebx
call fcn.004b5d00
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Multiplexed_connection_found
push ebx
mov ebp, esi
call fcn.004af830
add esp, 8
jmp 0x4a8353
mov ebp, esi
jmp 0x4a8353
cmp dword [ebx + 0x84], 0
je 0x4a83e2
push 5
push ebx
call fcn.004b5d00
add esp, 8
cmp byte [esp + 0x13], 0
je 0x4a8407
cmp byte [ebx + 0x6f3], 0
je 0x4a8407
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set
push ebx
call fcn.004af830
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret