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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, edx
push esi
xor esi, esi
mov dword [esp + 0x1c], ebx
push edi
mov eax, dword [ebx + 0x2e0]
mov edi, ecx
xor cl, cl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x1c], edi
mov esi, dword [eax + 0x40]
mov dword [esp + 0x24], ecx
and esi, 3
je 0x4738a5
cmp byte [ebx + 0x2ab], cl
je 0x473858
cmp byte [ebx + 0x29d], cl
jne 0x4738a5
mov eax, dword [edi + 0x64]
test eax, eax
je 0x4738a5
test byte [eax + 0x78], 1
je 0x47388b
cmp dword [edi + 0x28c], 1
je 0x47388b
mov ecx, dword [edi + 0x288]
cmp ecx, 1
je 0x47387e
cmp ecx, 5
jne 0x473889
mov ecx, 1
mov dword [esp + 0x24], ecx
jmp 0x47388b
xor ecx, ecx
test eax, eax
je 0x4738a5
test byte [eax + 0x78], 2
je 0x4738a5
cmp dword [edi + 0x28c], 3
jl 0x4738a5
or ecx, 2
mov dword [esp + 0x24], ecx
test byte [edi + 0x478c], 0x28
je 0x4738b7
mov byte [esp + 0x15], 1
test esi, esi
jne 0x4738bc
mov byte [esp + 0x15], 0
cmp byte [ebx + 0x2a5], 0
je 0x4738d9
test byte [edi + 0x479c], 0x28
je 0x4738d9
test esi, esi
je 0x4738d9
mov byte [esp + 0x14], 1
jmp 0x4738df
xor al, al
mov byte [esp + 0x14], al
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
test cl, 1
je 0x473900
mov ecx, edi
call fcn.004804d0
test al, al
je 0x473900
and dword [esp + 0x24], 0xfffffffe
mov edx, dword [edi + 0x6c0]
mov ecx, ebx
call fcn.0047c070
mov esi, eax
test esi, esi
je 0x474145
mov ecx, dword [esi]
cmp ecx, 2
je 0x47392d
mov eax, dword [edi + 0x64]
test eax, eax
je 0x47392d
mov eax, dword [eax + 0xc0]
jmp 0x47392f
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
cmp ecx, 1
jne 0x473943
mov eax, str.can_pipeline
jmp 0x473953
cmp ecx, 2
mov eax, str.can_multiplex
mov edx, str.serially
cmovne eax, edx
cmp byte [ebx + 0x29f], 0
je 0x473964
mov ecx, dword [ebx + 0xb4]
jmp 0x47396a
mov ecx, dword [ebx + 0xa0]
push eax
push esi
push ecx
push str.Found_bundle_for_host__s:__p___s__n
push edi
call fcn.0046c560
add esp, 0x14
cmp dword [esp + 0x24], 0
je 0x4739f5
mov eax, dword [esi]
test eax, eax
jg 0x4739b4
jne 0x47399e
cmp byte [edi + 0x4ef], 0
je 0x47399e
push str.Server_doesnt_support_multi_use_yet__wait_n
push edi
jmp 0x474137
push str.Server_doesnt_support_multi_use__yet__n
push edi
call fcn.0046c560
add esp, 8
mov dword [esp + 0x24], 0
mov ecx, dword [esi]
cmp ecx, 1
jne 0x4739ce
mov eax, dword [edi + 0x64]
test eax, eax
je 0x4739c7
test byte [eax + 0x78], cl
jne 0x4739ce
push str.Could_pipeline__but_not_asked_to__n
jmp 0x4739e4
cmp ecx, 2
jne 0x4739f5
mov eax, dword [edi + 0x64]
test eax, eax
je 0x4739df
test byte [eax + 0x78], cl
jne 0x4739f5
push str.Could_multiplex__but_not_asked_to__n
push edi
call fcn.0046c560
mov dword [esp + 0x2c], 0
add esp, 8
mov eax, dword [esi + 8]
test eax, eax
je 0x474145
mov esi, dword [eax]
mov ecx, 1
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x32c]
add eax, dword [esi + 0x33c]
jne 0x473a87
cmp byte [esi + 0x48], al
jne 0x473a87
mov eax, dword [esi + 0x2e0]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x473a39
push ecx
push esi
call eax
add esp, 8
and al, 1
jmp 0x473a5d
mov ecx, dword [esi + 0x1a8]
or edx, 0xffffffff
push 0
push 0
push 0xffffffffffffffff
mov byte [esp + 0x1f], 1
call fcn.0046ebd0
add esp, 0xc
neg eax
sbb al, al
and al, byte [esp + 0x13]
test al, al
je 0x473a82
push dword [esi + 0x4c]
mov dword [esi], edi
push str.Connection__ld_seems_to_be_dead__n
push edi
call fcn.0046c560
add esp, 0xc
mov dl, 1
mov ecx, esi
call fcn.00473090
jmp 0x4740fb
mov ecx, 1
mov eax, dword [esi + 0x32c]
add eax, dword [esi + 0x33c]
cmp dword [esp + 0x24], 0
mov dword [esp + 0x34], eax
je 0x473b0d
cmp byte [esi + 0x2ab], 0
je 0x473ab4
cmp byte [esi + 0x29d], 0
jne 0x4740fb
cmp byte [esi + 0x2b9], 0
jne 0x473b4a
mov eax, dword [esi + 0x320]
test eax, eax
je 0x473acf
mov eax, dword [eax]
jmp 0x473ad1
xor eax, eax
mov ecx, dword [esi + 0x330]
test ecx, ecx
je 0x473adf
mov ecx, dword [ecx]
jmp 0x473ae1
xor ecx, ecx
test eax, eax
je 0x473af8
mov edx, esi
mov ecx, eax
call fcn.00473190
test al, 1
je 0x4740fb
jmp 0x473b4a
test ecx, ecx
je 0x473b4a
mov edx, esi
call fcn.00473190
test al, 1
je 0x4740fb
jmp 0x473b4a
test eax, eax
jne 0x4740fb
cmp byte [esi + 0x60], al
jne 0x473b30
push dword [esi + 0x4c]
push str.Connection__ld_is_still_name_resolving__cant_reuse_n
push edi
call fcn.0046c560
add esp, 0xc
jmp 0x4740fb
cmp dword [esi + 0x1a8], 0xffffffff
je 0x4740c3
cmp byte [esi + 0x29d], 0
jne 0x4740c3
mov edx, dword [ebx + 0x2e0]
mov ecx, dword [esi + 0x2e0]
mov ebx, dword [edx + 0x44]
mov edi, ebx
mov eax, dword [ecx + 0x44]
and edi, 1
and eax, 1
mov dword [esp + 0x30], edi
cmp edi, eax
je 0x473b8a
mov ecx, dword [ecx + 0x40]
call fcn.00477b00
cmp eax, dword [edx + 0x40]
jne 0x4740eb
cmp byte [esi + 0x29c], 0
je 0x4740eb
mov ecx, dword [esp + 0x20]
mov dh, byte [ecx + 0x2a2]
mov byte [esp + 0x13], dh
cmp dh, byte [esi + 0x2a2]
jne 0x4740f1
mov al, byte [ecx + 0x2a3]
cmp al, byte [esi + 0x2a3]
jne 0x4740f1
test al, al
je 0x473bdb
lea edx, [esi + 0xbc]
add ecx, 0xbc
call fcn.00473550
test al, al
je 0x4740eb
mov dh, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x29f]
mov byte [esp + 0x16], al
cmp al, byte [esi + 0x29f]
jne 0x4740eb
mov al, byte [ecx + 0x2a0]
mov byte [esp + 0x17], al
cmp al, byte [esi + 0x2a0]
jne 0x4740eb
test dh, dh
je 0x473c9b
lea edx, [esi + 0xdc]
add ecx, 0xdc
call fcn.00473550
test al, al
je 0x4740eb
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x2ad]
cmp al, byte [esi + 0x2ad]
jne 0x4740f1
cmp dword [ecx + 0xf0], 2
jne 0x473c97
test edi, edi
je 0x473c6d
lea edx, [esi + 0x274]
add ecx, 0x274
call fcn.0047aa00
test al, al
je 0x4740eb
cmp dword [esi + 0x220], 2
jmp 0x473c8d
lea edx, [esi + 0x24c]
add ecx, 0x24c
call fcn.0047aa00
test al, al
je 0x4740eb
cmp dword [esi + 0x1f0], 2
jne 0x4740eb
mov ecx, dword [esp + 0x20]
mov dh, byte [esp + 0x13]
cmp dword [esp + 0x24], 0
jne 0x473cac
cmp byte [esi + 0x48], 0
jne 0x4740eb
mov ecx, dword [ecx + 0x550]
test ecx, ecx
jne 0x473cc3
mov eax, dword [esp + 0x20]
cmp word [eax + 0x554], cx
je 0x473d30
mov edi, dword [esp + 0x20]
mov ax, word [esi + 0x554]
cmp ax, word [edi + 0x554]
jne 0x4740f5
mov eax, dword [esi + 0x558]
cmp eax, dword [edi + 0x558]
mov edi, dword [esp + 0x30]
jne 0x4740eb
test ecx, ecx
je 0x473d30
mov eax, dword [esi + 0x550]
test eax, eax
je 0x4740eb
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x473d23
test dl, dl
je 0x473d1f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x473d23
add eax, 2
add ecx, 2
test dl, dl
jne 0x473d03
xor eax, eax
jmp 0x473d28
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4740eb
test bl, bl
mov ebx, dword [esp + 0x20]
js 0x473dad
mov ecx, dword [esi + 0x170]
mov eax, dword [ebx + 0x170]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x473d64
test dl, dl
je 0x473d60
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x473d64
add eax, 2
add ecx, 2
test dl, dl
jne 0x473d44
xor eax, eax
jmp 0x473d69
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4740f7
mov ecx, dword [esi + 0x174]
mov eax, dword [ebx + 0x174]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x473da0
test dl, dl
je 0x473d9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x473da0
add eax, 2
add ecx, 2
test dl, dl
jne 0x473d80
xor eax, eax
jmp 0x473da5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4740f7
test dh, dh
je 0x473dc2
test edi, edi
jne 0x473dc2
cmp byte [ebx + 0x2ad], 0
je 0x473ea9
mov ecx, dword [esp + 0x20]
mov ebx, dword [esi + 0x2e0]
mov eax, dword [ecx + 0x2e0]
mov edx, dword [ebx]
mov ecx, dword [eax]
call fcn.0049a5a0
test eax, eax
jne 0x473e09
mov ecx, dword [ebx + 0x40]
call fcn.00477b00
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x2e0]
cmp eax, dword [ecx + 0x40]
jne 0x4740f7
cmp byte [esi + 0x29c], 0
je 0x4740f7
jmp 0x473e0d
mov ebx, dword [esp + 0x20]
cmp byte [esp + 0x16], 0
je 0x473e2d
mov edx, dword [esi + 0xb4]
mov ecx, dword [ebx + 0xb4]
call fcn.0049a5a0
test eax, eax
je 0x4740f7
cmp byte [esp + 0x17], 0
je 0x473e46
mov eax, dword [ebx + 0x104]
cmp eax, dword [esi + 0x104]
jne 0x4740f7
mov edx, dword [esi + 0xa0]
mov ecx, dword [ebx + 0xa0]
call fcn.0049a5a0
test eax, eax
je 0x4740f7
mov eax, dword [ebx + 0x100]
cmp eax, dword [esi + 0x100]
jne 0x4740f7
test edi, edi
je 0x473ea9
lea edx, [esi + 0x24c]
lea ecx, [ebx + 0x24c]
call fcn.0047aa00
test al, al
je 0x4740f7
cmp dword [esi + 0x1f0], 2
je 0x473ea9
mov edi, dword [esp + 0x1c]
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x4740ff
cmp byte [esp + 0x15], 0
je 0x473f2e
mov ecx, dword [esi + 0x170]
mov eax, dword [ebx + 0x170]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x473ee0
test dl, dl
je 0x473edc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x473ee0
add eax, 2
add ecx, 2
test dl, dl
jne 0x473ec0
xor eax, eax
jmp 0x473ee5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4740f7
mov ecx, dword [esi + 0x174]
mov eax, dword [ebx + 0x174]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x473f20
test dl, dl
je 0x473f1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x473f20
add eax, 2
add ecx, 2
test dl, dl
jne 0x473f00
xor eax, eax
jmp 0x473f25
sbb eax, eax
or eax, 1
test eax, eax
je 0x473f3b
jmp 0x4740f7
cmp dword [esi + 0x354], 0
jne 0x4740f7
mov al, byte [esp + 0x14]
test al, al
je 0x474027
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x4740f7
mov edx, dword [esi + 0xf8]
test edx, edx
je 0x4740f7
mov ecx, dword [ebx + 0xf4]
nop dword [eax]
mov bl, byte [ecx]
cmp bl, byte [eax]
jne 0x473f90
test bl, bl
je 0x473f8c
mov bl, byte [ecx + 1]
cmp bl, byte [eax + 1]
jne 0x473f90
add ecx, 2
add eax, 2
test bl, bl
jne 0x473f70
xor eax, eax
jmp 0x473f95
sbb eax, eax
or eax, 1
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x4740f7
mov eax, dword [ebx + 0xf8]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x473fc7
test cl, cl
je 0x473fc3
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x473fc7
add eax, 2
add edx, 2
test cl, cl
jne 0x473fa7
xor eax, eax
jmp 0x473fcc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4740f7
mov al, byte [esp + 0x14]
mov cl, byte [esp + 0x15]
test cl, cl
jne 0x474085
test al, al
jne 0x474085
cmp dword [esp + 0x24], 0
je 0x47411a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47411a
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x474036
cmp eax, ecx
jb 0x474036
mov edi, dword [esp + 0x1c]
push eax
push str.Pipe_is_full__skip___zu__n
push edi
call fcn.0046c560
add esp, 0xc
jmp 0x4740fb
cmp dword [esi + 0x36c], 0
jne 0x4740f7
jmp 0x473fd8
mov edi, dword [esp + 0x1c]
mov edx, esi
mov ecx, edi
call fcn.00480300
test al, al
je 0x47405a
push str.Penalized__skip_n
push edi
call fcn.0046c560
add esp, 8
jmp 0x4740fb
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47410c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
cmp eax, dword [esp + 0x38]
jae 0x4740ff
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], eax
jmp 0x4740ff
mov dword [esp + 0x2c], esi
test cl, cl
je 0x474096
cmp dword [esi + 0x354], 0
jne 0x4740a3
test al, al
je 0x4740f7
cmp dword [esi + 0x36c], 0
je 0x4740f7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov byte [eax], 1
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x474120
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x4c]
mov eax, dword [esp + 0x1c]
cmp byte [esi + 0x29d], 0
movzx eax, al
cmove eax, ecx
push str.Connection__ld_isnt_open_enough__cant_reuse_n
push edi
mov dword [esp + 0x24], eax
call fcn.0046c560
add esp, 0xc
jmp 0x4740fb
mov ebx, dword [esp + 0x20]
jmp 0x4740f7
mov ebx, ecx
jmp 0x4740f7
mov ebx, edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4740ad
jmp 0x473a00
push str.Multiplexed_connection_found__n
push edi
call fcn.0046c560
add esp, 8
mov ecx, dword [esp + 0x18]
jmp 0x4740b1
test cl, cl
je 0x474145
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x4ef], 0
je 0x474145
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set_n
push eax
call fcn.0046c560
mov eax, dword [ebp + 0x10]
add esp, 8
mov byte [eax], 1
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret