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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
xor edi, edi
mov byte [esp + 0x12], 0
mov eax, dword [ebp + 0x548]
xor esi, esi
mov dword [esp + 0x18], edi
test byte [eax + 0x40], 3
je 0x494d9a
cmp byte [ebp + 0x515], 0
je 0x494d76
cmp byte [ebp + 0x508], 0
jne 0x494d9a
mov ebx, dword [esp + 0x2c]
push dword [ebx + 0x78]
call fcn.0048b9d0
add esp, 4
test al, al
je 0x494d9e
cmp dword [ebx + 0x844], 3
mov eax, 2
cmovge esi, eax
jmp 0x494d9e
mov ebx, dword [esp + 0x2c]
test esi, esi
setne al
test byte [ebx + 0xd70], 0x28
mov byte [esp + 0x30], al
je 0x494dc0
mov eax, dword [ebp + 0x548]
test byte [eax + 0x40], 3
je 0x494dc0
mov al, 1
jmp 0x494dc2
xor al, al
cmp byte [ebp + 0x511], 0
mov byte [esp + 0x13], al
je 0x494deb
test byte [ebx + 0xd80], 0x28
je 0x494deb
mov eax, dword [ebp + 0x548]
test byte [eax + 0x40], 3
je 0x494deb
mov byte [esp + 0x11], 1
jmp 0x494df1
xor al, al
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x38]
mov byte [eax], 0
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0xcd0]
push ebp
call fcn.00492f10
mov edi, eax
add esp, 0xc
mov dword [esp + 0x24], edi
test edi, edi
je 0x495612
cmp dword [edi], 2
mov eax, str.serially
mov ecx, str.can_multiplex
cmovne ecx, eax
push ecx
push edi
push dword [esp + 0x28]
push str.Found_bundle_for_host__s:__p___s__n
push ebx
call fcn.00499dc0
add esp, 0x14
test esi, esi
je 0x494ed7
cmp dword [edi], 0
jne 0x494e94
cmp byte [ebx + 0xb25], 0
je 0x494e80
push str.Server_doesnt_support_multiplex_yet__wait_n
push ebx
call fcn.00499dc0
mov eax, dword [esp + 0x44]
push ebx
mov byte [eax], 1
call fcn.00493450
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push str.Server_doesnt_support_multiplex__yet__n
push ebx
call fcn.00499dc0
add esp, 8
xor al, al
mov byte [esp + 0x30], al
cmp dword [edi], 2
jne 0x494ebc
push dword [ebx + 0x78]
call fcn.0048b9d0
add esp, 4
test al, al
jne 0x494ebc
push str.Could_multiplex__but_not_asked_to__n
push ebx
call fcn.00499dc0
add esp, 8
xor al, al
mov byte [esp + 0x30], al
cmp dword [edi], 0xffffffff
jne 0x494ed7
push str.Can_not_multiplex__even_if_we_wanted_to__n
push ebx
call fcn.00499dc0
add esp, 8
xor cl, cl
mov byte [esp + 0x30], cl
jmp 0x494edb
mov cl, byte [esp + 0x30]
mov esi, dword [edi + 8]
test esi, esi
je 0x495612
mov edi, dword [esi]
xor eax, eax
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
cmp byte [edi + 0x526], al
jne 0x495439
cmp byte [edi + 0x508], al
jne 0x495439
mov edx, dword [esp + 0x24]
cmp dword [edx], 2
jne 0x494f20
mov eax, dword [edi + 0x5dc]
mov dword [esp + 0x1c], eax
test cl, cl
jne 0x494f74
test eax, eax
jne 0x495439
cmp byte [edi + 0x2c4], al
jne 0x494f4d
push dword [edi + 0x2b0]
push str.Connection__ld_is_still_name_resolving__cant_reuse_n
push ebx
call fcn.00499dc0
add esp, 0xc
jmp 0x495435
cmp dword [edi + 0x420], 0xffffffff
jne 0x494f74
push dword [edi + 0x2b0]
mov byte [esp + 0x16], 1
push str.Connection__ld_isnt_open_enough__cant_reuse_n
push ebx
call fcn.00499dc0
add esp, 0xc
jmp 0x495435
mov ecx, dword [ebp + 0x7e8]
mov eax, dword [edi + 0x7e8]
test ecx, ecx
je 0x494fcb
test eax, eax
je 0x495435
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x494fb0
test dl, dl
je 0x494fac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x494fb0
add ecx, 2
add eax, 2
test dl, dl
jne 0x494f90
xor eax, eax
jmp 0x494fb5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x495435
mov al, byte [ebp + 0x7ec]
cmp al, byte [edi + 0x7ec]
jmp 0x494fcd
test eax, eax
jne 0x495435
mov ecx, dword [edi + 0x548]
mov edx, dword [ebp + 0x548]
mov eax, dword [ecx + 0x44]
xor eax, dword [edx + 0x44]
test al, 1
je 0x49500a
push dword [ecx + 0x40]
call fcn.00497e80
add esp, 4
cmp eax, dword [edx + 0x40]
jne 0x495435
cmp byte [edi + 0x7ed], 0
je 0x495435
mov al, byte [ebp + 0x50e]
cmp al, byte [edi + 0x50e]
jne 0x495435
mov al, byte [ebp + 0x50f]
cmp al, byte [edi + 0x50f]
jne 0x495435
test al, al
je 0x49512e
mov eax, dword [ebp + 0x338]
cmp eax, dword [edi + 0x338]
jne 0x495435
mov eax, dword [ebp + 0x334]
cmp eax, dword [edi + 0x334]
jne 0x495435
push dword [edi + 0x32c]
push dword [ebp + 0x32c]
call fcn.0049e140
add esp, 8
test eax, eax
je 0x495435
mov esi, dword [edi + 0x33c]
xor ecx, ecx
mov edx, dword [ebp + 0x33c]
test esi, esi
sete cl
xor eax, eax
test edx, edx
sete al
cmp eax, ecx
jne 0x495431
test edx, edx
je 0x4950cd
test esi, esi
je 0x4950cd
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4950c0
test al, al
je 0x4950bc
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4950c0
add edx, 2
add esi, 2
test al, al
jne 0x4950a0
xor eax, eax
jmp 0x4950c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x495431
mov esi, dword [edi + 0x340]
xor ecx, ecx
mov edx, dword [ebp + 0x340]
test esi, esi
sete cl
xor eax, eax
test edx, edx
sete al
cmp eax, ecx
jne 0x495431
test edx, edx
je 0x49512a
test esi, esi
je 0x49512a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x495117
test al, al
je 0x495113
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x495117
add edx, 2
add esi, 2
test al, al
jne 0x4950f7
xor eax, eax
jmp 0x49511c
sbb eax, eax
or eax, 1
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x495435
jmp 0x49512e
mov esi, dword [esp + 0x14]
mov al, byte [ebp + 0x50b]
cmp al, byte [edi + 0x50b]
jne 0x495435
mov al, byte [ebp + 0x50c]
cmp al, byte [edi + 0x50c]
jne 0x495435
cmp byte [ebp + 0x50e], 0
je 0x495218
mov eax, dword [ebp + 0x358]
cmp eax, dword [edi + 0x358]
jne 0x495435
mov eax, dword [ebp + 0x354]
cmp eax, dword [edi + 0x354]
jne 0x495435
push dword [edi + 0x34c]
push dword [ebp + 0x34c]
call fcn.0049e140
add esp, 8
test eax, eax
je 0x495435
mov al, byte [ebp + 0x517]
cmp al, byte [edi + 0x517]
jne 0x495435
cmp dword [ebp + 0x358], 2
jne 0x495218
mov eax, dword [ebp + 0x548]
test byte [eax + 0x44], 1
je 0x4951ed
lea eax, [edi + 0x4d8]
push eax
lea eax, [ebp + 0x4d8]
push eax
call fcn.004942b0
add esp, 8
test al, al
je 0x495435
cmp dword [edi + 0x488], 2
jmp 0x495212
lea eax, [edi + 0x4ac]
push eax
lea eax, [ebp + 0x4ac]
push eax
call fcn.004942b0
add esp, 8
test al, al
je 0x495435
cmp dword [edi + 0x468], 2
jne 0x495435
mov cl, byte [esp + 0x30]
test cl, cl
jne 0x49522b
cmp dword [edi], 0
jne 0x495439
jmp 0x495240
mov eax, dword [edi]
test eax, eax
je 0x495240
mov ecx, dword [ebp]
mov eax, dword [eax + 0x78]
cmp eax, dword [ecx + 0x78]
jne 0x495435
mov ecx, dword [ebp + 0x7cc]
test ecx, ecx
jne 0x495253
cmp word [ebp + 0x7d0], cx
je 0x4952bd
mov ax, word [edi + 0x7d0]
cmp ax, word [ebp + 0x7d0]
jne 0x495435
mov eax, dword [edi + 0x7d4]
cmp eax, dword [ebp + 0x7d4]
jne 0x495435
test ecx, ecx
je 0x4952bd
mov eax, dword [edi + 0x7cc]
test eax, eax
je 0x495435
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4952b0
test dl, dl
je 0x4952ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4952b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x495290
xor eax, eax
jmp 0x4952b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x495435
mov esi, dword [ebp + 0x548]
mov ebx, dword [esi + 0x44]
test bl, bl
js 0x49533d
mov ecx, dword [edi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4952f6
test dl, dl
je 0x4952f2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4952f6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4952d6
xor eax, eax
jmp 0x4952fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49542d
mov ecx, dword [edi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495330
test dl, dl
je 0x49532c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495330
add eax, 2
add ecx, 2
test dl, dl
jne 0x495310
xor eax, eax
jmp 0x495335
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49542d
cmp byte [ebp + 0x50e], 0
je 0x495358
test bl, 1
jne 0x495358
cmp byte [ebp + 0x517], 0
je 0x495446
mov eax, dword [edi + 0x548]
push dword [eax]
push dword [esi]
call fcn.0049e170
add esp, 8
test eax, eax
jne 0x49539b
mov eax, dword [edi + 0x548]
push dword [eax + 0x40]
call fcn.00497e80
mov ecx, dword [ebp + 0x548]
add esp, 4
cmp eax, dword [ecx + 0x40]
jne 0x49542d
cmp byte [edi + 0x7ed], 0
je 0x49542d
cmp byte [ebp + 0x50b], 0
je 0x4953bc
push dword [edi + 0x31c]
push dword [ebp + 0x31c]
call fcn.0049e170
add esp, 8
test eax, eax
je 0x49542d
cmp byte [ebp + 0x50c], 0
je 0x4953d3
mov eax, dword [ebp + 0x36c]
cmp eax, dword [edi + 0x36c]
jne 0x49542d
push dword [edi + 0x304]
push dword [ebp + 0x304]
call fcn.0049e170
add esp, 8
test eax, eax
je 0x49542d
mov eax, dword [ebp + 0x368]
cmp eax, dword [edi + 0x368]
jne 0x49542d
mov eax, dword [ebp + 0x548]
test byte [eax + 0x44], 1
je 0x495446
lea eax, [edi + 0x4ac]
push eax
lea eax, [ebp + 0x4ac]
push eax
call fcn.004942b0
add esp, 8
test al, al
je 0x49542d
cmp dword [edi + 0x468], 2
je 0x495446
mov byte [esp + 0x12], 1
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov cl, byte [esp + 0x30]
test esi, esi
jne 0x494ee6
jmp 0x4955cc
mov bh, byte [esp + 0x13]
test bh, bh
je 0x4954e0
mov ecx, dword [edi + 0x3d8]
mov eax, dword [ebp + 0x3d8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x495480
test dl, dl
je 0x49547c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x495480
add eax, 2
add ecx, 2
test dl, dl
jne 0x495460
xor eax, eax
jmp 0x495485
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4954be
mov ecx, dword [edi + 0x3dc]
mov eax, dword [ebp + 0x3dc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4954b5
test dl, dl
je 0x4954b1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4954b5
add eax, 2
add ecx, 2
test dl, dl
jne 0x495495
xor eax, eax
jmp 0x4954ba
sbb eax, eax
or eax, 1
test eax, eax
je 0x4954ed
cmp dword [edi + 0x5ec], 0
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov cl, byte [esp + 0x30]
jne 0x495439
mov dword [esp + 0x18], edi
jmp 0x495439
cmp dword [edi + 0x5ec], 0
jne 0x49542d
mov al, byte [esp + 0x11]
test al, al
je 0x495586
mov eax, dword [edi + 0x35c]
test eax, eax
je 0x49542d
mov edx, dword [edi + 0x360]
test edx, edx
je 0x49542d
mov ecx, dword [ebp + 0x35c]
nop dword [eax + eax]
mov bl, byte [ecx]
cmp bl, byte [eax]
jne 0x495540
test bl, bl
je 0x49553c
mov bl, byte [ecx + 1]
cmp bl, byte [eax + 1]
jne 0x495540
add ecx, 2
add eax, 2
test bl, bl
jne 0x495520
xor eax, eax
jmp 0x495545
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49542d
mov eax, dword [ebp + 0x360]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x495573
test cl, cl
je 0x49556f
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x495573
add eax, 2
add edx, 2
test cl, cl
jne 0x495553
xor eax, eax
jmp 0x495578
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49542d
mov al, byte [esp + 0x11]
jmp 0x495593
cmp dword [edi + 0x5f0], 0
jne 0x49542d
test bh, bh
jne 0x49559b
test al, al
je 0x4955ef
mov dword [esp + 0x18], edi
test bh, bh
je 0x4955ac
cmp dword [edi + 0x5ec], 0
jne 0x4955c1
test al, al
je 0x49542d
cmp dword [edi + 0x5f0], 0
je 0x49542d
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov byte [eax], 1
mov edi, dword [esp + 0x18]
test edi, edi
je 0x495612
push ebx
mov dword [edi], ebx
call fcn.00493450
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [eax], edi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov al, byte [esp + 0x30]
mov ebx, dword [esp + 0x2c]
test al, al
je 0x4955d0
cmp dword [esp + 0x1c], 0
je 0x4955d0
push str.Multiplexed_connection_found__n
push ebx
call fcn.00499dc0
add esp, 8
jmp 0x4955d0
push ebx
call fcn.00493450
add esp, 4
cmp byte [esp + 0x12], 0
je 0x495640
cmp byte [ebx + 0xb25], 0
je 0x495640
push str.Found_pending_candidate_for_reuse_and_CURLOPT_PIPEWAIT_is_set_n
push ebx
call fcn.00499dc0
mov eax, dword [esp + 0x44]
add esp, 8
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x18
ret