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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 0x5f0]
push esi
xor ecx, ecx
mov ebx, 3
xor esi, esi
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
test byte [eax + 0x40], bl
je 0x49555a
cmp dword [ebp + 0x578], ecx
je 0x49553b
cmp dword [ebp + 0x550], ecx
jne 0x49555a
mov ecx, dword [edi + 0x78]
push ecx
call fcn.004969e0
add esp, 4
test eax, eax
je 0x495558
cmp dword [edi + 0x85c], ebx
jl 0x495558
mov esi, 2
xor ecx, ecx
mov al, 0x28
mov dword [esp + 0x38], esi
test byte [edi + 0xef0], al
je 0x49557b
mov edx, dword [ebp + 0x5f0]
mov dword [esp + 0x10], 1
test byte [edx + 0x40], bl
jne 0x49557f
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x544], ecx
je 0x4955a2
test byte [edi + 0xf08], al
je 0x4955a2
mov eax, dword [ebp + 0x5f0]
mov dword [esp + 0x28], 1
test byte [eax + 0x40], bl
jne 0x4955a6
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [edx], ecx
mov dword [eax], ecx
mov edx, dword [edi + 0xe30]
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebp
call fcn.004a1fe0
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x495d5d
mov ebx, eax
cmp dword [ebx], 2
mov eax, str.can_multiplex
je 0x4955e4
mov eax, str.serially
push eax
mov eax, dword [esp + 0x30]
push ebx
push eax
push str.Found_bundle_for_host__s:__p___s__n
push edi
call fcn.00499d70
add esp, 0x14
test esi, esi
je 0x4956a5
cmp dword [ebx], 0
jne 0x49565f
cmp dword [edi + 0xc48], 0
je 0x495649
push str.Server_doesnt_support_multiplex_yet__wait_n
push edi
call fcn.00499d70
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx], 1
cmp dword [edi + 0x80], 0
je 0x495d9d
push 5
push edi
call fcn.004a2ae0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
push str.Server_doesnt_support_multiplex__yet__n
push edi
call fcn.00499d70
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 2
jne 0x49568a
mov edx, dword [edi + 0x78]
push edx
call fcn.004969e0
add esp, 4
test eax, eax
jne 0x49568a
push str.Could_multiplex__but_not_asked_to__n
push edi
call fcn.00499d70
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [ebx], 0xffffffff
jne 0x4956a5
push str.Can_not_multiplex__even_if_we_wanted_to__n
push edi
call fcn.00499d70
add esp, 8
mov dword [esp + 0x38], 0
mov ebx, dword [ebx + 8]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x495d5d
jmp 0x4956c0
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
cmp dword [esi + 0x5b0], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
jne 0x495ce3
cmp dword [esi + 0x550], 0
jne 0x495ce3
mov edi, dword [esp + 0x34]
mov eax, edi
call fcn.004928c0
test eax, eax
je 0x495753
mov eax, dword [esi + 0x2b4]
test eax, eax
je 0x49571c
push eax
push edi
call fcn.004c29d0
add esp, 8
mov dword [esi + 0x2b4], 0
push esi
call fcn.004c31e0
push esi
call fcn.004c2bb0
mov ecx, dword [esi + 0x5f0]
mov dword [esi], edi
mov eax, dword [ecx + 0x30]
add esp, 8
test eax, eax
je 0x495742
push 1
push esi
call eax
add esp, 8
call fcn.00492680
mov eax, esi
call fcn.00495110
jmp 0x495ce3
mov edx, dword [esp + 0x24]
cmp dword [edx], 2
jne 0x495766
mov eax, dword [esi + 0x65c]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jne 0x4957ca
cmp dword [esp + 0x1c], 0
jne 0x495ce3
cmp byte [esi + 0x2c4], 0
jne 0x49579d
mov ecx, dword [esi + 0x2b0]
push ecx
mov edx, edi
push str.Connection__ld_is_still_name_resolving__cant_reuse_n
push edx
call fcn.00499d70
add esp, 0xc
jmp 0x495ce3
cmp dword [esi + 0x420], 0xffffffff
jne 0x4957ca
mov eax, dword [esi + 0x2b0]
push eax
mov ecx, edi
push str.Connection__ld_isnt_open_enough__cant_reuse_n
push ecx
mov dword [esp + 0x2c], 1
call fcn.00499d70
add esp, 0xc
jmp 0x495ce3
mov eax, dword [ebp + 0x8ac]
test eax, eax
je 0x49581d
mov ecx, dword [esi + 0x8ac]
test ecx, ecx
je 0x495ce3
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495802
test dl, dl
je 0x4957fe
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495802
add eax, 2
add ecx, 2
test dl, dl
jne 0x4957e2
xor eax, eax
jmp 0x495807
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495ce3
mov edx, dword [ebp + 0x5b8]
cmp edx, dword [esi + 0x5b8]
jmp 0x495824
cmp dword [esi + 0x8ac], 0
jne 0x495ce3
mov eax, dword [esi + 0x5f0]
mov ecx, dword [ebp + 0x5f0]
mov edx, dword [eax + 0x48]
xor edx, dword [ecx + 0x48]
test dl, 1
je 0x49585a
mov eax, dword [eax + 0x44]
cmp eax, dword [ecx + 0x40]
jne 0x495ce3
cmp dword [esi + 0x5bc], 0
je 0x495ce3
mov ecx, dword [ebp + 0x53c]
cmp ecx, dword [esi + 0x53c]
jne 0x495ce3
mov eax, dword [ebp + 0x540]
cmp eax, dword [esi + 0x540]
jne 0x495ce3
test eax, eax
je 0x49589f
lea edx, [ebp + 0x324]
lea edi, [esi + 0x324]
push edx
call fcn.00492740
add esp, 4
test eax, eax
je 0x495ce3
mov eax, dword [ebp + 0x55c]
cmp eax, dword [esi + 0x55c]
jne 0x495ce3
mov ecx, dword [ebp + 0x560]
cmp ecx, dword [esi + 0x560]
jne 0x495ce3
cmp dword [ebp + 0x53c], 0
je 0x495962
lea eax, [esi + 0x344]
lea ecx, [ebp + 0x344]
call fcn.00492710
test eax, eax
je 0x495ce3
mov edx, dword [ebp + 0x548]
cmp edx, dword [esi + 0x548]
jne 0x495ce3
cmp dword [ebp + 0x358], 2
jne 0x495962
mov eax, dword [ebp + 0x5f0]
test byte [eax + 0x48], 1
je 0x495937
lea ecx, [esi + 0x4ec]
push ecx
lea edx, [ebp + 0x4ec]
push edx
call fcn.00490810
add esp, 8
test eax, eax
je 0x495ce3
cmp dword [esi + 0x488], 2
jmp 0x49595c
lea eax, [esi + 0x4ac]
push eax
lea ecx, [ebp + 0x4ac]
push ecx
call fcn.00490810
add esp, 8
test eax, eax
je 0x495ce3
cmp dword [esi + 0x468], 2
jne 0x495ce3
cmp dword [esp + 0x38], 0
jne 0x49596e
cmp dword [esi], 0
jmp 0x49597d
mov eax, dword [esi]
test eax, eax
je 0x495983
mov edx, dword [ebp]
mov eax, dword [eax + 0x78]
cmp eax, dword [edx + 0x78]
jne 0x495ce3
mov ecx, dword [ebp + 0x894]
test ecx, ecx
jne 0x495996
cmp word [ebp + 0x898], cx
je 0x4959fd
mov dx, word [esi + 0x898]
cmp dx, word [ebp + 0x898]
jne 0x495ce3
mov eax, dword [esi + 0x89c]
cmp eax, dword [ebp + 0x89c]
jne 0x495ce3
test ecx, ecx
je 0x4959fd
mov eax, dword [esi + 0x894]
test eax, eax
je 0x495ce3
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4959f0
test dl, dl
je 0x4959ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4959f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4959d0
xor eax, eax
jmp 0x4959f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495ce3
mov edi, dword [ebp + 0x5f0]
mov ebx, dword [edi + 0x48]
test bl, bl
js 0x495a7d
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495a36
test dl, dl
je 0x495a32
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495a36
add eax, 2
add ecx, 2
test dl, dl
jne 0x495a16
xor eax, eax
jmp 0x495a3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495ce3
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495a70
test dl, dl
je 0x495a6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495a70
add eax, 2
add ecx, 2
test dl, dl
jne 0x495a50
xor eax, eax
jmp 0x495a75
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495ce3
test bl, 1
jne 0x495a98
cmp dword [ebp + 0x53c], 0
je 0x495a98
cmp dword [ebp + 0x548], 0
je 0x495b87
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ecx]
mov eax, dword [edi]
push edx
push eax
call fcn.004a28f0
add esp, 8
test eax, eax
jne 0x495ad5
mov ecx, dword [esi + 0x5f0]
mov edx, dword [ebp + 0x5f0]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x40]
jne 0x495ce3
cmp dword [esi + 0x5bc], 0
je 0x495ce3
cmp dword [ebp + 0x55c], 0
je 0x495afc
mov ecx, dword [esi + 0x31c]
mov edx, dword [ebp + 0x31c]
push ecx
push edx
call fcn.004a28f0
add esp, 8
test eax, eax
je 0x495ce3
cmp dword [ebp + 0x560], 0
je 0x495b17
mov eax, dword [ebp + 0x36c]
cmp eax, dword [esi + 0x36c]
jne 0x495ce3
mov ecx, dword [esi + 0x304]
mov edx, dword [ebp + 0x304]
push ecx
push edx
call fcn.004a28f0
add esp, 8
test eax, eax
je 0x495ce3
mov eax, dword [ebp + 0x368]
cmp eax, dword [esi + 0x368]
jne 0x495ce3
mov ecx, dword [ebp + 0x5f0]
test byte [ecx + 0x48], 1
je 0x495b87
lea edx, [esi + 0x4ac]
push edx
lea eax, [ebp + 0x4ac]
push eax
call fcn.00490810
add esp, 8
test eax, eax
je 0x495ce3
cmp dword [esi + 0x468], 2
je 0x495b87
mov dword [esp + 0x20], 1
jmp 0x495ce3
cmp dword [esp + 0x10], 0
je 0x495c14
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495bc0
test dl, dl
je 0x495bbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495bc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x495ba0
xor eax, eax
jmp 0x495bc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495bfe
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495bf5
test dl, dl
je 0x495bf1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495bf5
add eax, 2
add ecx, 2
test dl, dl
jne 0x495bd5
xor eax, eax
jmp 0x495bfa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x495c21
cmp dword [esi + 0x66c], 0
jne 0x495ce3
mov dword [esp + 0x18], esi
jmp 0x495ce3
cmp dword [esi + 0x66c], 0
jne 0x495ce3
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x495cac
mov edx, dword [esi + 0x35c]
test edx, edx
je 0x495ce3
mov edi, dword [esi + 0x360]
test edi, edi
je 0x495ce3
mov eax, dword [ebp + 0x35c]
nop
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x495c70
test cl, cl
je 0x495c6c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x495c70
add eax, 2
add edx, 2
test cl, cl
jne 0x495c50
xor eax, eax
jmp 0x495c75
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x495ce3
mov eax, dword [ebp + 0x360]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495ca1
test dl, dl
je 0x495c9d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495ca1
add eax, 2
add ecx, 2
test dl, dl
jne 0x495c81
xor eax, eax
jmp 0x495ca6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x495cb5
jmp 0x495ce3
cmp dword [esi + 0x670], 0
jne 0x495ce3
cmp dword [esp + 0x10], 0
jne 0x495cc0
test ebx, ebx
je 0x495cf4
cmp dword [esp + 0x10], 0
mov edi, esi
mov dword [esp + 0x18], edi
je 0x495cd6
cmp dword [esi + 0x66c], 0
jne 0x495d18
test ebx, ebx
je 0x495ce3
cmp dword [esi + 0x670], 0
jne 0x495d18
cmp dword [esp + 0x14], 0
jne 0x4956c0
mov edi, dword [esp + 0x18]
jmp 0x495d22
cmp dword [esp + 0x38], 0
mov edi, esi
je 0x495d22
cmp dword [esp + 0x1c], 0
je 0x495d22
mov ecx, dword [esp + 0x34]
push str.Multiplexed_connection_found__n
push ecx
call fcn.00499d70
add esp, 8
jmp 0x495d22
mov edx, dword [esp + 0x40]
mov dword [edx], 1
test edi, edi
je 0x495d5d
mov esi, dword [esp + 0x34]
push edi
push esi
mov dword [edi], esi
call fcn.00496a30
add esp, 8
cmp dword [esi + 0x80], 0
je 0x495d4a
push 5
push esi
call fcn.004a2ae0
add esp, 8
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x80], 0
je 0x495d75
push 5
push esi
call fcn.004a2ae0
add esp, 8
cmp dword [esp + 0x20], 0
je 0x495d9d
cmp dword [esi + 0xc48], 0
je 0x495d9d
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set_n
push esi
call fcn.00499d70
mov ecx, dword [esp + 0x4c]
mov dword [ecx], 1
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret